@commandable/integration-data 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials-index.d.ts.map +1 -1
- package/dist/credentials-index.js +64 -0
- package/dist/credentials-index.js.map +1 -1
- package/integrations/github/__tests__/get_handlers.test.ts +202 -7
- package/integrations/github/__tests__/write_handlers.test.ts +171 -21
- package/integrations/github/handlers/create_commit.js +10 -2
- package/integrations/github/handlers/create_pull_request_review.js +10 -0
- package/integrations/github/handlers/create_release.js +14 -0
- package/integrations/github/handlers/delete_branch.js +8 -0
- package/integrations/github/handlers/delete_file.js +9 -0
- package/integrations/github/handlers/fork_repo.js +10 -0
- package/integrations/github/handlers/get_commit.js +8 -0
- package/integrations/github/handlers/get_file_contents.js +21 -0
- package/integrations/github/handlers/get_job_logs.js +6 -0
- package/integrations/github/handlers/get_latest_release.js +4 -0
- package/integrations/github/handlers/get_me.js +4 -0
- package/integrations/github/handlers/get_pull_request.js +4 -0
- package/integrations/github/handlers/get_pull_request_diff.js +8 -0
- package/integrations/github/handlers/get_repo_tree.js +12 -0
- package/integrations/github/handlers/get_workflow_run.js +4 -0
- package/integrations/github/handlers/list_branches.js +6 -1
- package/integrations/github/handlers/list_commits.js +5 -6
- package/integrations/github/handlers/list_issue_comments.js +8 -0
- package/integrations/github/handlers/list_issues.js +5 -6
- package/integrations/github/handlers/list_labels.js +8 -0
- package/integrations/github/handlers/list_pull_request_comments.js +8 -0
- package/integrations/github/handlers/list_pull_request_files.js +8 -0
- package/integrations/github/handlers/list_pull_requests.js +7 -2
- package/integrations/github/handlers/list_releases.js +8 -0
- package/integrations/github/handlers/list_tags.js +8 -0
- package/integrations/github/handlers/list_workflow_runs.js +11 -0
- package/integrations/github/handlers/request_pull_request_reviewers.js +10 -0
- package/integrations/github/handlers/search_code.js +8 -0
- package/integrations/github/handlers/search_issues.js +8 -0
- package/integrations/github/handlers/search_pull_requests.js +8 -0
- package/integrations/github/handlers/search_repos.js +10 -0
- package/integrations/github/handlers/update_pull_request.js +13 -0
- package/integrations/github/manifest.json +58 -20
- package/integrations/github/schemas/create_pull_request_review.json +17 -0
- package/integrations/github/schemas/create_release.json +16 -0
- package/integrations/github/schemas/delete_branch.json +10 -0
- package/integrations/github/schemas/delete_file.json +13 -0
- package/integrations/github/schemas/fork_repo.json +11 -0
- package/integrations/github/schemas/get_commit.json +12 -0
- package/integrations/github/schemas/get_file_contents.json +11 -0
- package/integrations/github/schemas/get_job_logs.json +10 -0
- package/integrations/github/schemas/get_pull_request.json +10 -0
- package/integrations/github/schemas/get_pull_request_diff.json +10 -0
- package/integrations/github/schemas/get_repo_tree.json +12 -0
- package/integrations/github/schemas/get_workflow_run.json +10 -0
- package/integrations/github/schemas/list_branches.json +12 -0
- package/integrations/github/schemas/list_commits.json +5 -3
- package/integrations/github/schemas/list_issue_comments.json +12 -0
- package/integrations/github/schemas/list_issues.json +4 -2
- package/integrations/github/schemas/list_labels.json +11 -0
- package/integrations/github/schemas/list_pull_request_comments.json +12 -0
- package/integrations/github/schemas/list_pull_request_files.json +12 -0
- package/integrations/github/schemas/list_pull_requests.json +7 -1
- package/integrations/github/schemas/list_releases.json +11 -0
- package/integrations/github/schemas/list_tags.json +11 -0
- package/integrations/github/schemas/list_workflow_runs.json +18 -0
- package/integrations/github/schemas/request_pull_request_reviewers.json +20 -0
- package/integrations/github/schemas/search_code.json +10 -0
- package/integrations/github/schemas/search_issues.json +10 -0
- package/integrations/github/schemas/search_pull_requests.json +10 -0
- package/integrations/github/schemas/search_repos.json +12 -0
- package/integrations/github/schemas/update_pull_request.json +15 -0
- package/integrations/google-calendar/__tests__/write_and_admin_handlers.test.ts +0 -13
- package/integrations/google-calendar/handlers/get_event.js +5 -1
- package/integrations/google-calendar/handlers/list_events.js +2 -0
- package/integrations/google-calendar/manifest.json +17 -18
- package/integrations/google-calendar/prompt.md +68 -0
- package/integrations/google-calendar/schemas/id_calendar_event.json +4 -2
- package/integrations/google-calendar/schemas/list_events.json +10 -8
- package/integrations/google-docs/__tests__/get_handlers.test.ts +4 -19
- package/integrations/google-docs/__tests__/write_handlers.test.ts +31 -48
- package/integrations/google-docs/handlers/read_document.js +189 -0
- package/integrations/google-docs/manifest.json +16 -31
- package/integrations/google-docs/prompt.md +49 -0
- package/integrations/google-docs/schemas/{get_document_text.json → read_document.json} +5 -2
- package/integrations/google-docs/todo.md +18 -0
- package/integrations/google-drive/__tests__/handlers.test.ts +43 -0
- package/integrations/google-drive/__tests__/usage_parity.test.ts +9 -0
- package/integrations/google-drive/handlers/get_file.js +2 -4
- package/integrations/google-drive/handlers/get_file_content.js +41 -0
- package/integrations/google-drive/handlers/list_files.js +15 -0
- package/integrations/google-drive/handlers/search_files.js +20 -0
- package/integrations/google-drive/handlers/share_file.js +20 -0
- package/integrations/google-drive/manifest.json +37 -10
- package/integrations/google-drive/prompt.md +59 -0
- package/integrations/google-drive/schemas/get_file.json +2 -2
- package/integrations/google-drive/schemas/get_file_content.json +11 -0
- package/integrations/google-drive/schemas/list_files.json +12 -0
- package/integrations/google-drive/schemas/search_files.json +14 -0
- package/integrations/google-drive/schemas/share_file.json +23 -0
- package/integrations/google-gmail/__tests__/get_handlers.test.ts +134 -0
- package/integrations/google-gmail/__tests__/usage_parity.test.ts +9 -0
- package/integrations/google-gmail/__tests__/write_and_admin_handlers.test.ts +211 -0
- package/integrations/google-gmail/credentials.json +57 -0
- package/integrations/google-gmail/credentials_hint_oauth_token.md +8 -0
- package/integrations/google-gmail/credentials_hint_service_account.md +10 -0
- package/integrations/google-gmail/handlers/create_draft_email.js +27 -0
- package/integrations/google-gmail/handlers/create_label.js +12 -0
- package/integrations/google-gmail/handlers/delete_draft.js +13 -0
- package/integrations/google-gmail/handlers/delete_label.js +13 -0
- package/integrations/google-gmail/handlers/delete_message.js +13 -0
- package/integrations/google-gmail/handlers/delete_thread.js +13 -0
- package/integrations/google-gmail/handlers/get_draft.js +6 -0
- package/integrations/google-gmail/handlers/get_label.js +6 -0
- package/integrations/google-gmail/handlers/get_message.js +14 -0
- package/integrations/google-gmail/handlers/get_profile.js +5 -0
- package/integrations/google-gmail/handlers/get_thread.js +14 -0
- package/integrations/google-gmail/handlers/list_drafts.js +15 -0
- package/integrations/google-gmail/handlers/list_labels.js +5 -0
- package/integrations/google-gmail/handlers/list_messages.js +19 -0
- package/integrations/google-gmail/handlers/list_threads.js +19 -0
- package/integrations/google-gmail/handlers/modify_message.js +11 -0
- package/integrations/google-gmail/handlers/modify_thread.js +11 -0
- package/integrations/google-gmail/handlers/read_email.js +56 -0
- package/integrations/google-gmail/handlers/send_draft.js +15 -0
- package/integrations/google-gmail/handlers/send_email.js +22 -0
- package/integrations/google-gmail/handlers/trash_message.js +6 -0
- package/integrations/google-gmail/handlers/trash_thread.js +6 -0
- package/integrations/google-gmail/handlers/untrash_message.js +6 -0
- package/integrations/google-gmail/handlers/untrash_thread.js +6 -0
- package/integrations/google-gmail/handlers/update_label.js +15 -0
- package/integrations/google-gmail/manifest.json +33 -0
- package/integrations/google-gmail/prompt.md +52 -0
- package/integrations/google-gmail/schemas/create_draft_email.json +16 -0
- package/integrations/google-gmail/schemas/create_label.json +26 -0
- package/integrations/google-gmail/schemas/get_message.json +20 -0
- package/integrations/{google-docs/schemas/get_document_structured.json → google-gmail/schemas/get_profile.json} +4 -2
- package/integrations/google-gmail/schemas/get_thread.json +20 -0
- package/integrations/google-gmail/schemas/id_draft.json +16 -0
- package/integrations/google-gmail/schemas/id_label.json +16 -0
- package/integrations/google-gmail/schemas/id_message.json +16 -0
- package/integrations/google-gmail/schemas/id_thread.json +16 -0
- package/integrations/google-gmail/schemas/list_drafts.json +30 -0
- package/integrations/{google-sheet/schemas/get_developer_metadata.json → google-gmail/schemas/list_labels.json} +4 -3
- package/integrations/google-gmail/schemas/list_messages.json +35 -0
- package/integrations/google-gmail/schemas/list_threads.json +35 -0
- package/integrations/google-gmail/schemas/modify_message.json +24 -0
- package/integrations/google-gmail/schemas/modify_thread.json +24 -0
- package/integrations/google-gmail/schemas/read_email.json +10 -0
- package/integrations/google-gmail/schemas/send_draft.json +29 -0
- package/integrations/google-gmail/schemas/send_email.json +17 -0
- package/integrations/google-gmail/schemas/update_label.json +33 -0
- package/integrations/google-sheet/__tests__/get_handlers.test.ts +6 -52
- package/integrations/google-sheet/__tests__/write_handlers.test.ts +0 -20
- package/integrations/google-sheet/handlers/get_spreadsheet.js +2 -0
- package/integrations/google-sheet/handlers/read_sheet.js +75 -0
- package/integrations/google-sheet/manifest.json +13 -62
- package/integrations/google-sheet/prompt.md +49 -0
- package/integrations/google-sheet/schemas/get_spreadsheet.json +5 -4
- package/integrations/google-sheet/schemas/read_sheet.json +21 -0
- package/integrations/google-slides/__tests__/get_handlers.test.ts +12 -9
- package/integrations/google-slides/handlers/read_presentation.js +51 -0
- package/integrations/google-slides/manifest.json +13 -13
- package/integrations/google-slides/prompt.md +56 -0
- package/integrations/new_integration_prompt.md +5 -1
- package/package.json +1 -1
- package/integrations/google-calendar/handlers/update_event.js +0 -5
- package/integrations/google-calendar/schemas/update_event.json +0 -10
- package/integrations/google-docs/handlers/get_document.js +0 -12
- package/integrations/google-docs/handlers/get_document_structured.js +0 -6
- package/integrations/google-docs/handlers/get_document_text.js +0 -17
- package/integrations/google-docs/schemas/get_document.json +0 -11
- package/integrations/google-sheet/handlers/batch_clear_values_by_data_filter.js +0 -6
- package/integrations/google-sheet/handlers/batch_get_values.js +0 -16
- package/integrations/google-sheet/handlers/batch_update_values_by_data_filter.js +0 -16
- package/integrations/google-sheet/handlers/get_developer_metadata.js +0 -6
- package/integrations/google-sheet/handlers/get_spreadsheet_by_data_filter.js +0 -10
- package/integrations/google-sheet/handlers/get_values.js +0 -14
- package/integrations/google-sheet/handlers/get_values_by_data_filter.js +0 -14
- package/integrations/google-sheet/handlers/search_developer_metadata.js +0 -7
- package/integrations/google-sheet/schemas/batch_clear_values_by_data_filter.json +0 -10
- package/integrations/google-sheet/schemas/batch_get_values.json +0 -13
- package/integrations/google-sheet/schemas/batch_update_values_by_data_filter.json +0 -25
- package/integrations/google-sheet/schemas/get_spreadsheet_by_data_filter.json +0 -11
- package/integrations/google-sheet/schemas/get_values.json +0 -13
- package/integrations/google-sheet/schemas/get_values_by_data_filter.json +0 -17
- package/integrations/google-sheet/schemas/search_developer_metadata.json +0 -14
- package/integrations/google-slides/handlers/get_presentation.js +0 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"pull_number": { "type": "integer", "description": "Pull request number" }
|
|
7
|
+
},
|
|
8
|
+
"required": ["owner", "repo", "pull_number"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner (user or org)" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"ref": { "type": "string", "description": "Branch name, tag, or commit SHA (defaults to HEAD)" },
|
|
7
|
+
"recursive": { "type": "boolean", "description": "Return the full recursive tree (all nested files). Default true.", "default": true },
|
|
8
|
+
"path_filter": { "type": "string", "description": "Optional path prefix to filter results (e.g. 'src/')" }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"run_id": { "type": "integer", "description": "Workflow run ID (obtain from list_workflow_runs)" }
|
|
7
|
+
},
|
|
8
|
+
"required": ["owner", "repo", "run_id"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"protected": { "type": "boolean", "description": "Filter to only protected branches" },
|
|
7
|
+
"page": { "type": "integer", "default": 1 },
|
|
8
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
"properties": {
|
|
4
4
|
"owner": { "type": "string" },
|
|
5
5
|
"repo": { "type": "string" },
|
|
6
|
-
"sha": { "type": "string" },
|
|
7
|
-
"path": { "type": "string" },
|
|
8
|
-
"author": { "type": "string" }
|
|
6
|
+
"sha": { "type": "string", "description": "Branch name, tag, or commit SHA to start listing from (defaults to default branch)" },
|
|
7
|
+
"path": { "type": "string", "description": "Filter commits that touch this file path" },
|
|
8
|
+
"author": { "type": "string", "description": "Filter by GitHub username or email address" },
|
|
9
|
+
"page": { "type": "integer", "default": 1 },
|
|
10
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
11
|
},
|
|
10
12
|
"required": ["owner", "repo"],
|
|
11
13
|
"additionalProperties": false
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"issue_number": { "type": "integer", "description": "Issue number" },
|
|
7
|
+
"page": { "type": "integer", "default": 1 },
|
|
8
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo", "issue_number"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
"owner": { "type": "string" },
|
|
5
5
|
"repo": { "type": "string" },
|
|
6
6
|
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" },
|
|
7
|
-
"labels": { "type": "string" },
|
|
8
|
-
"assignee": { "type": "string" }
|
|
7
|
+
"labels": { "type": "string", "description": "Comma-separated list of label names to filter by" },
|
|
8
|
+
"assignee": { "type": "string", "description": "Filter by assignee username, or 'none' for unassigned, '*' for any" },
|
|
9
|
+
"page": { "type": "integer", "default": 1 },
|
|
10
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
11
|
},
|
|
10
12
|
"required": ["owner", "repo"],
|
|
11
13
|
"additionalProperties": false
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"page": { "type": "integer", "default": 1 },
|
|
7
|
+
"per_page": { "type": "integer", "default": 100, "maximum": 100 }
|
|
8
|
+
},
|
|
9
|
+
"required": ["owner", "repo"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"pull_number": { "type": "integer", "description": "Pull request number" },
|
|
7
|
+
"page": { "type": "integer", "default": 1 },
|
|
8
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo", "pull_number"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"pull_number": { "type": "integer", "description": "Pull request number" },
|
|
7
|
+
"page": { "type": "integer", "default": 1 },
|
|
8
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["owner", "repo", "pull_number"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
"properties": {
|
|
4
4
|
"owner": { "type": "string" },
|
|
5
5
|
"repo": { "type": "string" },
|
|
6
|
-
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" }
|
|
6
|
+
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" },
|
|
7
|
+
"head": { "type": "string", "description": "Filter by head user/org and branch (e.g. 'user:my-branch')" },
|
|
8
|
+
"base": { "type": "string", "description": "Filter by base branch name (e.g. 'main')" },
|
|
9
|
+
"sort": { "type": "string", "enum": ["created", "updated", "popularity", "long-running"], "default": "created" },
|
|
10
|
+
"direction": { "type": "string", "enum": ["asc", "desc"], "default": "desc" },
|
|
11
|
+
"page": { "type": "integer", "default": 1 },
|
|
12
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
7
13
|
},
|
|
8
14
|
"required": ["owner", "repo"],
|
|
9
15
|
"additionalProperties": false
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"page": { "type": "integer", "default": 1 },
|
|
7
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
8
|
+
},
|
|
9
|
+
"required": ["owner", "repo"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"page": { "type": "integer", "default": 1 },
|
|
7
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
8
|
+
},
|
|
9
|
+
"required": ["owner", "repo"],
|
|
10
|
+
"additionalProperties": false
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"branch": { "type": "string", "description": "Filter runs by branch name" },
|
|
7
|
+
"status": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": ["queued", "in_progress", "completed", "action_required", "cancelled", "failure", "neutral", "skipped", "stale", "success", "timed_out", "waiting"],
|
|
10
|
+
"description": "Filter by run status or conclusion"
|
|
11
|
+
},
|
|
12
|
+
"event": { "type": "string", "description": "Filter by triggering event (e.g. 'push', 'pull_request', 'schedule', 'workflow_dispatch')" },
|
|
13
|
+
"page": { "type": "integer", "default": 1 },
|
|
14
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
15
|
+
},
|
|
16
|
+
"required": ["owner", "repo"],
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"pull_number": { "type": "integer", "description": "Pull request number" },
|
|
7
|
+
"reviewers": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": { "type": "string" },
|
|
10
|
+
"description": "GitHub usernames to request reviews from"
|
|
11
|
+
},
|
|
12
|
+
"team_reviewers": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": { "type": "string" },
|
|
15
|
+
"description": "Team slugs to request reviews from (org repos only)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": ["owner", "repo", "pull_number"],
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "GitHub code search query. Examples: 'useState repo:facebook/react language:typescript', 'console.log path:src/ language:javascript org:my-org'. Supports language, path, repo, org, and extension filters." },
|
|
5
|
+
"page": { "type": "integer", "default": 1 },
|
|
6
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
7
|
+
},
|
|
8
|
+
"required": ["query"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "GitHub issue search query (e.g. 'is:open is:issue label:bug repo:owner/repo', 'is:open assignee:@me', 'is:issue no:assignee'). Supports all GitHub search qualifiers." },
|
|
5
|
+
"page": { "type": "integer", "default": 1 },
|
|
6
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
7
|
+
},
|
|
8
|
+
"required": ["query"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "GitHub search query for PRs. Use 'is:pr' to scope to PRs (e.g. 'is:pr is:open author:octocat label:bug repo:owner/repo'). Supports all GitHub issue search qualifiers." },
|
|
5
|
+
"page": { "type": "integer", "default": 1 },
|
|
6
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
7
|
+
},
|
|
8
|
+
"required": ["query"],
|
|
9
|
+
"additionalProperties": false
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"query": { "type": "string", "description": "GitHub repository search query. Examples: 'machine learning language:python stars:>1000', 'topic:react', 'user:facebook is:public'. Supports stars, forks, language, topic, and many other qualifiers." },
|
|
5
|
+
"sort": { "type": "string", "enum": ["stars", "forks", "help-wanted-issues", "updated"], "description": "Sort repos by this field" },
|
|
6
|
+
"order": { "type": "string", "enum": ["asc", "desc"], "default": "desc" },
|
|
7
|
+
"page": { "type": "integer", "default": 1 },
|
|
8
|
+
"per_page": { "type": "integer", "default": 30, "maximum": 100 }
|
|
9
|
+
},
|
|
10
|
+
"required": ["query"],
|
|
11
|
+
"additionalProperties": false
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"owner": { "type": "string", "description": "Repository owner" },
|
|
5
|
+
"repo": { "type": "string", "description": "Repository name" },
|
|
6
|
+
"pull_number": { "type": "integer", "description": "Pull request number to update" },
|
|
7
|
+
"title": { "type": "string", "description": "New title for the PR" },
|
|
8
|
+
"body": { "type": "string", "description": "New description for the PR (markdown)" },
|
|
9
|
+
"state": { "type": "string", "enum": ["open", "closed"], "description": "Set to 'closed' to close the PR without merging" },
|
|
10
|
+
"base": { "type": "string", "description": "New base branch to merge into" },
|
|
11
|
+
"draft": { "type": "boolean", "description": "Set to true to convert to draft, false to mark ready for review" }
|
|
12
|
+
},
|
|
13
|
+
"required": ["owner", "repo", "pull_number"],
|
|
14
|
+
"additionalProperties": false
|
|
15
|
+
}
|
|
@@ -102,19 +102,6 @@ suite('google-calendar write & admin handlers (live)', () => {
|
|
|
102
102
|
const patched = await patch_event({ calendarId: ctx.calendarId, eventId: createdId, body: { summary: `CmdTest Updated ${Date.now()}` } })
|
|
103
103
|
expect(patched?.id).toBe(createdId)
|
|
104
104
|
|
|
105
|
-
// Also exercise full update (PUT)
|
|
106
|
-
const update_event = buildWrite('update_event')
|
|
107
|
-
const updated = await update_event({
|
|
108
|
-
calendarId: ctx.calendarId,
|
|
109
|
-
eventId: createdId,
|
|
110
|
-
body: {
|
|
111
|
-
summary: `CmdTest Updated (PUT) ${Date.now()}`,
|
|
112
|
-
start: { dateTime: patched?.start?.dateTime || new Date().toISOString() },
|
|
113
|
-
end: { dateTime: patched?.end?.dateTime || new Date(Date.now() + 3600000).toISOString() },
|
|
114
|
-
},
|
|
115
|
-
})
|
|
116
|
-
expect(updated?.id).toBe(createdId)
|
|
117
|
-
|
|
118
105
|
const delete_event = buildWrite('delete_event')
|
|
119
106
|
const del = await delete_event({ calendarId: ctx.calendarId, eventId: createdId })
|
|
120
107
|
expect(del?.success === true || del === '').toBe(true)
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
async (input) => {
|
|
2
|
-
const
|
|
2
|
+
const params = new URLSearchParams()
|
|
3
|
+
if (input.fields)
|
|
4
|
+
params.set('fields', input.fields)
|
|
5
|
+
const qs = params.toString()
|
|
6
|
+
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/${encodeURIComponent(input.eventId)}${qs ? `?${qs}` : ''}`
|
|
3
7
|
const res = await integration.fetch(path)
|
|
4
8
|
return await res.json()
|
|
5
9
|
}
|
|
@@ -14,6 +14,8 @@ async (input) => {
|
|
|
14
14
|
params.set('singleEvents', String(input.singleEvents))
|
|
15
15
|
if (input.orderBy)
|
|
16
16
|
params.set('orderBy', input.orderBy)
|
|
17
|
+
if (input.fields)
|
|
18
|
+
params.set('fields', input.fields)
|
|
17
19
|
const qs = params.toString()
|
|
18
20
|
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events${qs ? `?${qs}` : ''}`
|
|
19
21
|
const res = await integration.fetch(path)
|
|
@@ -2,25 +2,24 @@
|
|
|
2
2
|
"name": "google-calendar",
|
|
3
3
|
"version": "0.1.0",
|
|
4
4
|
"tools": [
|
|
5
|
-
{ "name": "list_calendars", "description": "List calendars
|
|
6
|
-
{ "name": "get_calendar", "description": "Get a calendar by ID.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/get_calendar.js", "scope": "read" },
|
|
7
|
-
{ "name": "list_events", "description": "List events in a calendar with optional time range and
|
|
8
|
-
{ "name": "get_event", "description": "Get a specific event by ID from a calendar.", "inputSchema": "schemas/id_calendar_event.json", "handler": "handlers/get_event.js", "scope": "read" },
|
|
9
|
-
{ "name": "list_colors", "description": "Get the color definitions for calendars and events.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_colors.js", "scope": "read" },
|
|
10
|
-
{ "name": "freebusy_query", "description": "Query free/busy
|
|
11
|
-
{ "name": "list_settings", "description": "List user settings.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_settings.js", "scope": "read" },
|
|
5
|
+
{ "name": "list_calendars", "description": "List all calendars in the authenticated user's calendar list, including the primary calendar and any subscribed or shared calendars. Returns calendar IDs needed for list_events, create_event, and other calendar-specific tools. The primary calendar has calendarId='primary'.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_calendars.js", "scope": "read" },
|
|
6
|
+
{ "name": "get_calendar", "description": "Get details for a specific calendar by ID, including its summary, description, timezone, and access role. Use list_calendars to find calendar IDs.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/get_calendar.js", "scope": "read" },
|
|
7
|
+
{ "name": "list_events", "description": "List events in a calendar with optional time range, text search, and pagination. Use calendarId='primary' for the user's main calendar. Set singleEvents=true and orderBy='startTime' to get recurring events expanded into individual instances in chronological order. Times must be RFC3339 format (e.g. '2024-01-15T09:00:00Z' or '2024-01-15T09:00:00-05:00'). Defaults to 25 results. Use pageToken from the response for the next page.", "inputSchema": "schemas/list_events.json", "handler": "handlers/list_events.js", "scope": "read" },
|
|
8
|
+
{ "name": "get_event", "description": "Get a specific event by its ID from a calendar. Returns full event details including summary, start, end, attendees, location, description, recurrence, and status. Use list_events to find event IDs.", "inputSchema": "schemas/id_calendar_event.json", "handler": "handlers/get_event.js", "scope": "read" },
|
|
9
|
+
{ "name": "list_colors", "description": "Get the set of color definitions available for calendars and events. Returns colorId values and their hex codes. Use colorId values in create_event or patch_event to color-code events.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_colors.js", "scope": "read" },
|
|
10
|
+
{ "name": "freebusy_query", "description": "Query free/busy availability for one or more calendars within a time range. Useful for finding open slots or checking if attendees are available. Provide timeMin, timeMax (RFC3339), and an items array of calendar IDs. Returns busy time blocks for each calendar.", "inputSchema": "schemas/freebusy_query.json", "handler": "handlers/freebusy_query.js", "scope": "read" },
|
|
11
|
+
{ "name": "list_settings", "description": "List the authenticated user's Google Calendar settings, such as timezone, date format, and notification preferences.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_settings.js", "scope": "read" },
|
|
12
12
|
|
|
13
|
-
{ "name": "create_event", "description": "Create
|
|
14
|
-
{ "name": "
|
|
15
|
-
{ "name": "
|
|
16
|
-
{ "name": "
|
|
17
|
-
{ "name": "
|
|
18
|
-
{ "name": "quick_add", "description": "Create an event using natural language text.", "inputSchema": "schemas/quick_add.json", "handler": "handlers/quick_add.js", "scope": "write" },
|
|
13
|
+
{ "name": "create_event", "description": "Create a new event in a calendar. Required fields: calendarId, summary, start, end. Use {dateTime, timeZone} for timed events (e.g. {\"dateTime\": \"2024-01-15T10:00:00\", \"timeZone\": \"America/New_York\"}) or {date} for all-day events (e.g. {\"date\": \"2024-01-15\"}). Optional fields: description, location, attendees (array of {email}), recurrence (RRULE strings), reminders, colorId, visibility. The calendarId field is extracted automatically; all other fields are sent as the event body.", "inputSchema": "schemas/create_event.json", "handler": "handlers/create_event.js", "scope": "write" },
|
|
14
|
+
{ "name": "patch_event", "description": "Partially update an event by providing only the fields to change. All other fields are preserved. Use this as the standard event update method. Provide changes in a 'body' object along with calendarId and eventId.", "inputSchema": "schemas/patch_event.json", "handler": "handlers/patch_event.js", "scope": "write" },
|
|
15
|
+
{ "name": "delete_event", "description": "Delete an event from a calendar. This permanently removes the event. For recurring events, this deletes only the specified instance. Use list_events to find event IDs.", "inputSchema": "schemas/id_calendar_event.json", "handler": "handlers/delete_event.js", "scope": "write" },
|
|
16
|
+
{ "name": "move_event", "description": "Move an event from one calendar to another. Provide the source calendarId, eventId, and the destination calendarId. Returns the updated event in the destination calendar.", "inputSchema": "schemas/move_event.json", "handler": "handlers/move_event.js", "scope": "write" },
|
|
17
|
+
{ "name": "quick_add", "description": "Create an event using a natural language text string. Parses the text to extract event details automatically. Examples: 'Meeting with Bob tomorrow at 3pm for 1 hour', 'Dentist appointment on Friday at 2pm', 'Weekly standup every Monday at 9am'. Requires calendarId (use 'primary') and text.", "inputSchema": "schemas/quick_add.json", "handler": "handlers/quick_add.js", "scope": "write" },
|
|
19
18
|
|
|
20
|
-
{ "name": "list_acl", "description": "List ACL rules for a calendar.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/list_acl.js", "scope": "admin" },
|
|
21
|
-
{ "name": "get_acl", "description": "Get a specific ACL rule by ID for a calendar.", "inputSchema": "schemas/get_acl.json", "handler": "handlers/get_acl.js", "scope": "admin" },
|
|
22
|
-
{ "name": "insert_acl", "description": "
|
|
23
|
-
{ "name": "update_acl", "description": "Update an ACL rule
|
|
24
|
-
{ "name": "delete_acl", "description": "
|
|
19
|
+
{ "name": "list_acl", "description": "List the Access Control List (ACL) rules for a calendar. Returns rules defining who has access and at what permission level (reader, writer, owner). Use get_calendar to find the calendarId.", "inputSchema": "schemas/id_calendar.json", "handler": "handlers/list_acl.js", "scope": "admin" },
|
|
20
|
+
{ "name": "get_acl", "description": "Get a specific ACL rule by its rule ID for a calendar. Use list_acl to find rule IDs.", "inputSchema": "schemas/get_acl.json", "handler": "handlers/get_acl.js", "scope": "admin" },
|
|
21
|
+
{ "name": "insert_acl", "description": "Add a new ACL rule to grant a user or group access to a calendar. Roles: 'reader' (view), 'writer' (view + edit events), 'owner' (full control). Scope must include type ('user', 'group', 'domain', or 'default') and optionally value (email or domain).", "inputSchema": "schemas/insert_acl.json", "handler": "handlers/insert_acl.js", "scope": "admin" },
|
|
22
|
+
{ "name": "update_acl", "description": "Update an existing ACL rule to change a user's or group's permission level on a calendar. Use list_acl to find the rule ID.", "inputSchema": "schemas/update_acl.json", "handler": "handlers/update_acl.js", "scope": "admin" },
|
|
23
|
+
{ "name": "delete_acl", "description": "Remove an ACL rule from a calendar, revoking the associated user's or group's access. Use list_acl to find the rule ID.", "inputSchema": "schemas/delete_acl.json", "handler": "handlers/delete_acl.js", "scope": "admin" }
|
|
25
24
|
]
|
|
26
25
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
## Calendar IDs
|
|
2
|
+
|
|
3
|
+
- Use `calendarId='primary'` for the authenticated user's main calendar
|
|
4
|
+
- Use `list_calendars` to discover other calendar IDs (work, shared, subscribed calendars)
|
|
5
|
+
- Calendar IDs typically look like email addresses (e.g. `user@example.com`) or opaque strings for subscribed calendars
|
|
6
|
+
|
|
7
|
+
## Date and time format
|
|
8
|
+
|
|
9
|
+
All times must be in RFC3339 format:
|
|
10
|
+
- Timed events: `'2024-01-15T10:00:00-05:00'` (with timezone offset) or `'2024-01-15T15:00:00Z'` (UTC)
|
|
11
|
+
- All-day events use date-only format: `'2024-01-15'`
|
|
12
|
+
|
|
13
|
+
## Creating events
|
|
14
|
+
|
|
15
|
+
For `create_event`, required fields are `calendarId`, `summary`, `start`, and `end`:
|
|
16
|
+
|
|
17
|
+
**Timed event:**
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"calendarId": "primary",
|
|
21
|
+
"summary": "Team Meeting",
|
|
22
|
+
"start": { "dateTime": "2024-01-15T10:00:00", "timeZone": "America/New_York" },
|
|
23
|
+
"end": { "dateTime": "2024-01-15T11:00:00", "timeZone": "America/New_York" }
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**All-day event:**
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"calendarId": "primary",
|
|
31
|
+
"summary": "Company Holiday",
|
|
32
|
+
"start": { "date": "2024-01-15" },
|
|
33
|
+
"end": { "date": "2024-01-16" }
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Note: For all-day events, `end.date` should be the day *after* the last day (exclusive end).
|
|
38
|
+
|
|
39
|
+
## Listing events in chronological order
|
|
40
|
+
|
|
41
|
+
To list upcoming events in start-time order (e.g. "what's on my calendar this week"):
|
|
42
|
+
- Set `singleEvents=true` to expand recurring events into individual instances
|
|
43
|
+
- Set `orderBy='startTime'` (requires `singleEvents=true`)
|
|
44
|
+
- Set `timeMin` to now (current ISO timestamp) and `timeMax` to the end of the desired range
|
|
45
|
+
|
|
46
|
+
## Quick add
|
|
47
|
+
|
|
48
|
+
`quick_add` parses natural language:
|
|
49
|
+
- `"Meeting with Bob tomorrow at 3pm for 1 hour"`
|
|
50
|
+
- `"Dentist appointment on Friday at 2pm"`
|
|
51
|
+
- `"Weekly standup every Monday at 9am"`
|
|
52
|
+
|
|
53
|
+
## Free/busy queries
|
|
54
|
+
|
|
55
|
+
Use `freebusy_query` to check availability before scheduling:
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"timeMin": "2024-01-15T00:00:00Z",
|
|
59
|
+
"timeMax": "2024-01-15T23:59:59Z",
|
|
60
|
+
"items": [{ "id": "primary" }, { "id": "colleague@example.com" }]
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Updating events
|
|
65
|
+
|
|
66
|
+
- Use `update_event` for a full replacement (all fields must be provided)
|
|
67
|
+
- Use `patch_event` for partial updates (only provide the fields you want to change in `body`)
|
|
68
|
+
- `patch_event` is preferred when modifying one or two fields to avoid accidentally clearing others
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2
3
|
"type": "object",
|
|
3
4
|
"properties": {
|
|
4
|
-
"calendarId": { "type": "string", "description": "Calendar ID
|
|
5
|
-
"eventId": { "type": "string", "description": "Event ID." }
|
|
5
|
+
"calendarId": { "type": "string", "description": "Calendar ID. Use 'primary' for the user's main calendar." },
|
|
6
|
+
"eventId": { "type": "string", "description": "Event ID. Obtained from list_events results." },
|
|
7
|
+
"fields": { "type": "string", "description": "Partial response fields selector to reduce response size. Example: 'id,summary,start,end,attendees'." }
|
|
6
8
|
},
|
|
7
9
|
"required": ["calendarId", "eventId"],
|
|
8
10
|
"additionalProperties": false
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2
3
|
"type": "object",
|
|
3
4
|
"properties": {
|
|
4
|
-
"calendarId": { "type": "string", "description": "Calendar ID
|
|
5
|
-
"timeMin": { "type": "string", "description": "RFC3339
|
|
6
|
-
"timeMax": { "type": "string", "description": "RFC3339
|
|
7
|
-
"q": { "type": "string", "description": "Free-text search query" },
|
|
8
|
-
"maxResults": { "type": "integer", "minimum": 1, "maximum": 2500 },
|
|
9
|
-
"pageToken": { "type": "string" },
|
|
10
|
-
"singleEvents": { "type": "boolean", "description": "Expand recurring events" },
|
|
11
|
-
"orderBy": { "type": "string", "enum": ["startTime", "updated"] }
|
|
5
|
+
"calendarId": { "type": "string", "description": "Calendar ID. Use 'primary' for the user's main calendar. Find other calendar IDs via list_calendars." },
|
|
6
|
+
"timeMin": { "type": "string", "description": "Start of the time range (RFC3339 format, e.g. '2024-01-15T00:00:00Z' or '2024-01-15T09:00:00-05:00'). Only events ending after this time are returned." },
|
|
7
|
+
"timeMax": { "type": "string", "description": "End of the time range (RFC3339 format). Only events starting before this time are returned." },
|
|
8
|
+
"q": { "type": "string", "description": "Free-text search query matching event summary, description, location, and attendee details." },
|
|
9
|
+
"maxResults": { "type": "integer", "minimum": 1, "maximum": 2500, "default": 25, "description": "Maximum number of events to return. Defaults to 25. Use pageToken from the response for the next page." },
|
|
10
|
+
"pageToken": { "type": "string", "description": "Page token from a previous list_events response to retrieve the next page of results." },
|
|
11
|
+
"singleEvents": { "type": "boolean", "description": "Expand recurring events into individual instances. Set to true with orderBy='startTime' to get events in chronological order." },
|
|
12
|
+
"orderBy": { "type": "string", "enum": ["startTime", "updated"], "description": "Sort order. 'startTime' requires singleEvents=true. 'updated' sorts by last modification time." },
|
|
13
|
+
"fields": { "type": "string", "description": "Partial response fields selector to reduce response size. Example: 'items(id,summary,start,end,attendees)'. See Calendar API fields reference." }
|
|
12
14
|
},
|
|
13
15
|
"required": ["calendarId"],
|
|
14
16
|
"additionalProperties": false
|
|
@@ -70,28 +70,13 @@ suiteOrSkip('google-docs read handlers (live)', () => {
|
|
|
70
70
|
await safeCleanup(async () => drive.write('delete_file')({ fileId: folderId }))
|
|
71
71
|
}, 60000)
|
|
72
72
|
|
|
73
|
-
it('
|
|
73
|
+
it('read_document returns markdown content', async () => {
|
|
74
74
|
if (!documentId)
|
|
75
75
|
return expect(true).toBe(true)
|
|
76
|
-
const handler = docs.read('
|
|
76
|
+
const handler = docs.read('read_document')
|
|
77
77
|
const result = await handler({ documentId })
|
|
78
|
-
expect(result?.documentId || result?.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
it('get_document_text returns plain text', async () => {
|
|
82
|
-
if (!documentId)
|
|
83
|
-
return expect(true).toBe(true)
|
|
84
|
-
const handler = docs.read('get_document_text')
|
|
85
|
-
const result = await handler({ documentId })
|
|
86
|
-
expect(typeof result?.text === 'string').toBe(true)
|
|
87
|
-
}, 30000)
|
|
88
|
-
|
|
89
|
-
it('get_document_structured returns body JSON', async () => {
|
|
90
|
-
if (!documentId)
|
|
91
|
-
return expect(true).toBe(true)
|
|
92
|
-
const handler = docs.read('get_document_structured')
|
|
93
|
-
const result = await handler({ documentId })
|
|
94
|
-
expect(result?.body || result?.documentId).toBeTruthy()
|
|
78
|
+
expect(result?.documentId || result?.title).toBeTruthy()
|
|
79
|
+
expect(typeof result?.markdown).toBe('string')
|
|
95
80
|
}, 30000)
|
|
96
81
|
})
|
|
97
82
|
}
|