Skip to content

Commit

Permalink
Fix readme files and scopes (#85)
Browse files Browse the repository at this point in the history
* Fix readme files and scopes
  • Loading branch information
OvidiuCode authored Oct 15, 2024
1 parent 1d44d08 commit e8efaca
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 23 deletions.
24 changes: 14 additions & 10 deletions actions/google-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,41 @@ Action Package interacting with Google Documents.

Possible actions with this package are:

- Get Document By Name
- Get Document By Name
- Get Document By Id
- Create Document
- Append To Document By Id
- Append To Document By Name

Please note that the current implementation return the documents in Extended Markdown.

## Prompts

```
Give me a one phrase summary of the Leo document.
```
Give me a one phrase summary of the Leo document.
```

> It seems there are multiple documents with similar names. Please specify which one you would like a summary of:
>
> * Leo Story Bis
> * Totally not Leo Story
> * Leo Story
>
>
> Let me know which one to proceed with!
```
Give me a one paragraph summary of the Leo Story
```
Give me a one paragraph summary of the Leo Story
```

> In "Leo Story," Leo, a curious and adventurous house cat, finds himself in the attic seeking refuge from a chaotic household situation caused by a burst water pipe. While exploring the attic, he inadvertently becomes a hero when he encounters a thief attempting to escape on the roof. Leo's brave confrontation with the thief, marked by a hiss and a leap, startles the intruder, leading to his capture by the police. This unexpected adventure not only brings excitement to Leo's otherwise peaceful day but also earns him the gratitude of his family, who were unaware of his courageous act until the police mentioned it.

The AI can parse Document URLs as well.
```
Give me a one phrase summary of https://docs.google.com/...
```
Give me a one phrase summary of https://docs.google.com/...
```

> The document titled "Leo Story" can be summarized in one phrase as:
> The document titled "Leo Story" can be summarized in one phrase as:
> **"A cat named Leo inadvertently helps catch a thief while seeking a quiet spot in the attic."**

Expand All @@ -46,4 +49,5 @@ This action package uses Google OAuth2 flow to authenticate user.
Scopes in use:

- https://www.googleapis.com/auth/drive.readonly (used when searching a document by name)
- https://www.googleapis.com/auth/documents.readonly (used when reading a document by ID)
- https://www.googleapis.com/auth/documents.readonly (used when reading a document by ID)
- https://www.googleapis.com/auth/drive.file (used when creating / updating a document)
14 changes: 7 additions & 7 deletions actions/google-mail/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).


## [1.1.1] - 2024-07-31
## [1.1.2] - 2024-10-08

### Changed

Expand All @@ -30,12 +30,12 @@ Description changed.

### Changed

- Can now create an formatted email by sending Markdown as the body. Affected actions: `Create Draft` and `Send Email`
- Can now create an formatted email by sending Markdown as the body. Affected actions: `Create Draft` and `Send Email`

## [1.0.0] - 2024-07-09

First version published, changelog tracking starts.

### Added
- Send email (to, subject, body, cc and bcc fields)
- Search for emails
Expand All @@ -47,7 +47,7 @@ First version published, changelog tracking starts.
- Send draft

### Changed

### Fixed

### Removed
### Removed
1 change: 1 addition & 0 deletions actions/google-mail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Possible actions with this package are:
- update draft
- list drafts
- send draft
- remove labels from emails that match a query

## Prompts

Expand Down
2 changes: 2 additions & 0 deletions actions/google-sheets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ Scopes in use:

- https://www.googleapis.com/auth/spreadsheets
- https://www.googleapis.com/auth/drive.file
- https://www.googleapis.com/auth/spreadsheets.readonly
- https://www.googleapis.com/auth/drive.readonly
17 changes: 16 additions & 1 deletion actions/hubspot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Create a new Ticket to address the delivery issues for Jaloo, set the priority a
```

> A new ticket has been successfully created to address the delivery issues for Jaloo. Here are the details:
>
>
> * Subject: Delivery Issues for Jaloo
> * Content: Addressing the delivery issues for Jaloo.
> * Priority: MEDIUM
Expand All @@ -105,3 +105,18 @@ Assign the Delivery Issues for Jaloo ticket to Tommi and make it high priority.
>
> Priority: HIGH
> Assigned to: Tommi
## Authorization

This action package uses OAuth2 flow to authenticate user.

Scopes in use:

- crm.objects.companies.write
- crm.objects.contacts.write
- crm.objects.deals.write
- tickets
- crm.objects.companies.read
- crm.objects.contacts.read
- crm.objects.deals.read
- crm.objects.custom.read
1 change: 1 addition & 0 deletions actions/microsoft-calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Possible actions with this package are:
- query events from the user's calendar
- create a new event
- update an existing event
- get mailbox timezone

## Prompts

Expand Down
1 change: 1 addition & 0 deletions actions/microsoft-excel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Action Package interacting Microsoft 365 Excel files
Possible actions with this package are:

- Create Workbook
- Add Worksheet to Workbook
- Get Workbook By Name
- Add Sheet
- Get Worksheet
Expand Down
2 changes: 1 addition & 1 deletion actions/microsoft-sharepoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Scopes in use:
- Files.Read.All
- Files.ReadWrite
- Sites.Read.All
- Sites.ReadWrite.All
- Sites.Manage.All

## Caveats

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "OAuth2Secret",
"provider": "microsoft",
"scopes": [
"Sites.ReadWrite.All"
"Sites.Manage.All"
],
"access_token": "<access-token-will-be-requested-by-vscode>"
}
Expand All @@ -45,11 +45,11 @@
"type": "OAuth2Secret",
"provider": "microsoft",
"scopes": [
"Sites.ReadWrite.All"
"Sites.Manage.All"
],
"description": "OAuth2 token to use for the operation."
}
},
"inputFileVersion": "v2"
}
}
}
2 changes: 1 addition & 1 deletion actions/pdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Action package for getting text from PDF documents.

Currently capable of reading text- and image-based PDF documents and finding "text" in the PDF returns matching text content including
Currently capable of reading text and image-based PDF documents and finding "text" in the PDF returns matching text content including
page number where text was found.

## Prompts
Expand Down

0 comments on commit e8efaca

Please sign in to comment.