@commandable/mcp 0.0.1 → 0.0.4
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/README.md +25 -4
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +82 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +74 -51
- package/dist/cli/setup.js.map +1 -1
- package/dist/config/configApply.d.ts +16 -0
- package/dist/config/configApply.d.ts.map +1 -0
- package/dist/config/configApply.js +74 -0
- package/dist/config/configApply.js.map +1 -0
- package/dist/config/configLoader.d.ts +9 -0
- package/dist/config/configLoader.d.ts.map +1 -0
- package/dist/config/configLoader.js +75 -0
- package/dist/config/configLoader.js.map +1 -0
- package/dist/config/configSchema.d.ts +29 -0
- package/dist/config/configSchema.d.ts.map +1 -0
- package/dist/config/configSchema.js +17 -0
- package/dist/config/configSchema.js.map +1 -0
- package/dist/db/client.d.ts.map +1 -1
- package/dist/db/client.js +8 -1
- package/dist/db/client.js.map +1 -1
- package/dist/db/integrationStore.d.ts.map +1 -1
- package/dist/db/integrationStore.js +3 -0
- package/dist/db/integrationStore.js.map +1 -1
- package/dist/db/migrate.d.ts.map +1 -1
- package/dist/db/migrate.js +2 -0
- package/dist/db/migrate.js.map +1 -1
- package/dist/db/schema.d.ts +36 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +2 -0
- package/dist/db/schema.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/integrations/actionsFactory.js +1 -1
- package/dist/integrations/actionsFactory.js.map +1 -1
- package/dist/integrations/catalog.d.ts +3 -4
- package/dist/integrations/catalog.d.ts.map +1 -1
- package/dist/integrations/catalog.js +2 -37
- package/dist/integrations/catalog.js.map +1 -1
- package/dist/integrations/dataLoader.d.ts +2 -46
- package/dist/integrations/dataLoader.d.ts.map +1 -1
- package/dist/integrations/dataLoader.js +1 -125
- package/dist/integrations/dataLoader.js.map +1 -1
- package/dist/integrations/providerRegistry.d.ts.map +1 -1
- package/dist/integrations/providerRegistry.js +10 -6
- package/dist/integrations/providerRegistry.js.map +1 -1
- package/dist/integrations/proxy.d.ts.map +1 -1
- package/dist/integrations/proxy.js +24 -27
- package/dist/integrations/proxy.js.map +1 -1
- package/dist/mcp/auth.d.ts +18 -0
- package/dist/mcp/auth.d.ts.map +1 -0
- package/dist/mcp/auth.js +45 -0
- package/dist/mcp/auth.js.map +1 -0
- package/dist/mcp/handlers.d.ts +12 -0
- package/dist/mcp/handlers.d.ts.map +1 -0
- package/dist/mcp/handlers.js +39 -0
- package/dist/mcp/handlers.js.map +1 -0
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +2 -38
- package/dist/mcp/server.js.map +1 -1
- package/dist/types.d.ts +1 -7
- package/dist/types.d.ts.map +1 -1
- package/package.json +10 -7
- package/integration-data/README.md +0 -52
- package/integration-data/airtable/credentials.json +0 -20
- package/integration-data/airtable/credentials_hint.md +0 -4
- package/integration-data/airtable/handlers/create_record.js +0 -12
- package/integration-data/airtable/handlers/delete_record.js +0 -7
- package/integration-data/airtable/handlers/get_record.js +0 -4
- package/integration-data/airtable/handlers/get_table_schema.js +0 -6
- package/integration-data/airtable/handlers/list_bases.js +0 -4
- package/integration-data/airtable/handlers/list_records.js +0 -25
- package/integration-data/airtable/handlers/list_table_fields.js +0 -6
- package/integration-data/airtable/handlers/list_tables.js +0 -4
- package/integration-data/airtable/handlers/list_views.js +0 -6
- package/integration-data/airtable/handlers/search_records.js +0 -6
- package/integration-data/airtable/handlers/update_record.js +0 -11
- package/integration-data/airtable/manifest.json +0 -83
- package/integration-data/airtable/schemas/create_record.json +0 -12
- package/integration-data/airtable/schemas/delete_record.json +0 -11
- package/integration-data/airtable/schemas/empty.json +0 -6
- package/integration-data/airtable/schemas/get_record.json +0 -11
- package/integration-data/airtable/schemas/id_base.json +0 -9
- package/integration-data/airtable/schemas/id_base_table.json +0 -10
- package/integration-data/airtable/schemas/list_records.json +0 -26
- package/integration-data/airtable/schemas/search_records.json +0 -12
- package/integration-data/airtable/schemas/update_record.json +0 -13
- package/integration-data/github/credentials.json +0 -20
- package/integration-data/github/credentials_hint.md +0 -7
- package/integration-data/github/handlers/add_labels_to_issue.js +0 -12
- package/integration-data/github/handlers/close_issue.js +0 -5
- package/integration-data/github/handlers/comment_on_issue.js +0 -5
- package/integration-data/github/handlers/create_branch.js +0 -33
- package/integration-data/github/handlers/create_commit.js +0 -91
- package/integration-data/github/handlers/create_issue.js +0 -10
- package/integration-data/github/handlers/create_or_update_file.js +0 -21
- package/integration-data/github/handlers/create_pull_request.js +0 -16
- package/integration-data/github/handlers/create_repo.js +0 -11
- package/integration-data/github/handlers/delete_repo.js +0 -6
- package/integration-data/github/handlers/get_issue.js +0 -4
- package/integration-data/github/handlers/get_repo.js +0 -4
- package/integration-data/github/handlers/list_branches.js +0 -4
- package/integration-data/github/handlers/list_commits.js +0 -12
- package/integration-data/github/handlers/list_issues.js +0 -12
- package/integration-data/github/handlers/list_pull_requests.js +0 -8
- package/integration-data/github/handlers/list_repos_install.js +0 -4
- package/integration-data/github/handlers/list_repos_user.js +0 -4
- package/integration-data/github/handlers/merge_pull_request.js +0 -14
- package/integration-data/github/handlers/update_issue.js +0 -15
- package/integration-data/github/manifest.json +0 -26
- package/integration-data/github/schemas/add_labels_to_issue.json +0 -12
- package/integration-data/github/schemas/close_issue.json +0 -10
- package/integration-data/github/schemas/comment_on_issue.json +0 -11
- package/integration-data/github/schemas/create_branch.json +0 -12
- package/integration-data/github/schemas/create_commit.json +0 -25
- package/integration-data/github/schemas/create_issue.json +0 -13
- package/integration-data/github/schemas/create_or_update_file.json +0 -15
- package/integration-data/github/schemas/create_pull_request.json +0 -15
- package/integration-data/github/schemas/create_repo.json +0 -12
- package/integration-data/github/schemas/delete_repo.json +0 -10
- package/integration-data/github/schemas/empty.json +0 -5
- package/integration-data/github/schemas/get_issue.json +0 -10
- package/integration-data/github/schemas/get_repo.json +0 -9
- package/integration-data/github/schemas/list_commits.json +0 -12
- package/integration-data/github/schemas/list_issues.json +0 -12
- package/integration-data/github/schemas/list_pull_requests.json +0 -10
- package/integration-data/github/schemas/merge_pull_request.json +0 -14
- package/integration-data/github/schemas/owner_repo.json +0 -9
- package/integration-data/github/schemas/update_issue.json +0 -15
- package/integration-data/google-calendar/credentials.json +0 -36
- package/integration-data/google-calendar/credentials_hint.md +0 -9
- package/integration-data/google-calendar/handlers/create_event.js +0 -6
- package/integration-data/google-calendar/handlers/delete_acl.js +0 -6
- package/integration-data/google-calendar/handlers/delete_event.js +0 -7
- package/integration-data/google-calendar/handlers/freebusy_query.js +0 -4
- package/integration-data/google-calendar/handlers/get_acl.js +0 -5
- package/integration-data/google-calendar/handlers/get_calendar.js +0 -4
- package/integration-data/google-calendar/handlers/get_event.js +0 -5
- package/integration-data/google-calendar/handlers/insert_acl.js +0 -6
- package/integration-data/google-calendar/handlers/list_acl.js +0 -5
- package/integration-data/google-calendar/handlers/list_calendars.js +0 -4
- package/integration-data/google-calendar/handlers/list_colors.js +0 -4
- package/integration-data/google-calendar/handlers/list_events.js +0 -21
- package/integration-data/google-calendar/handlers/list_settings.js +0 -4
- package/integration-data/google-calendar/handlers/move_event.js +0 -6
- package/integration-data/google-calendar/handlers/patch_event.js +0 -5
- package/integration-data/google-calendar/handlers/quick_add.js +0 -6
- package/integration-data/google-calendar/handlers/update_acl.js +0 -7
- package/integration-data/google-calendar/handlers/update_event.js +0 -5
- package/integration-data/google-calendar/manifest.json +0 -26
- package/integration-data/google-calendar/schemas/create_event.json +0 -34
- package/integration-data/google-calendar/schemas/delete_acl.json +0 -9
- package/integration-data/google-calendar/schemas/empty.json +0 -1
- package/integration-data/google-calendar/schemas/freebusy_query.json +0 -13
- package/integration-data/google-calendar/schemas/get_acl.json +0 -9
- package/integration-data/google-calendar/schemas/id_calendar.json +0 -8
- package/integration-data/google-calendar/schemas/id_calendar_event.json +0 -9
- package/integration-data/google-calendar/schemas/insert_acl.json +0 -18
- package/integration-data/google-calendar/schemas/list_events.json +0 -15
- package/integration-data/google-calendar/schemas/move_event.json +0 -10
- package/integration-data/google-calendar/schemas/patch_event.json +0 -10
- package/integration-data/google-calendar/schemas/quick_add.json +0 -9
- package/integration-data/google-calendar/schemas/update_acl.json +0 -10
- package/integration-data/google-calendar/schemas/update_event.json +0 -10
- package/integration-data/google-docs/credentials.json +0 -36
- package/integration-data/google-docs/credentials_hint.md +0 -9
- package/integration-data/google-docs/handlers/append_text.js +0 -12
- package/integration-data/google-docs/handlers/batch_update.js +0 -13
- package/integration-data/google-docs/handlers/create_document.js +0 -9
- package/integration-data/google-docs/handlers/delete_first_match.js +0 -50
- package/integration-data/google-docs/handlers/get_document.js +0 -12
- package/integration-data/google-docs/handlers/get_document_structured.js +0 -6
- package/integration-data/google-docs/handlers/get_document_text.js +0 -17
- package/integration-data/google-docs/handlers/insert_inline_image_after_first_match.js +0 -41
- package/integration-data/google-docs/handlers/insert_page_break_after_first_match.js +0 -49
- package/integration-data/google-docs/handlers/insert_table_after_first_match.js +0 -49
- package/integration-data/google-docs/handlers/insert_text_after_first_match.js +0 -51
- package/integration-data/google-docs/handlers/replace_all_text.js +0 -8
- package/integration-data/google-docs/handlers/style_first_match.js +0 -42
- package/integration-data/google-docs/handlers/update_document_style.js +0 -8
- package/integration-data/google-docs/handlers/update_paragraph_style_for_first_match.js +0 -48
- package/integration-data/google-docs/manifest.json +0 -58
- package/integration-data/google-docs/schemas/append_text.json +0 -10
- package/integration-data/google-docs/schemas/apply_text_style.json +0 -13
- package/integration-data/google-docs/schemas/batch_update.json +0 -16
- package/integration-data/google-docs/schemas/create_document.json +0 -8
- package/integration-data/google-docs/schemas/delete_content_range.json +0 -11
- package/integration-data/google-docs/schemas/delete_first_match.json +0 -10
- package/integration-data/google-docs/schemas/get_document.json +0 -11
- package/integration-data/google-docs/schemas/get_document_structured.json +0 -9
- package/integration-data/google-docs/schemas/get_document_text.json +0 -9
- package/integration-data/google-docs/schemas/insert_inline_image.json +0 -12
- package/integration-data/google-docs/schemas/insert_inline_image_after_first_match.json +0 -13
- package/integration-data/google-docs/schemas/insert_page_break.json +0 -10
- package/integration-data/google-docs/schemas/insert_page_break_after_first_match.json +0 -11
- package/integration-data/google-docs/schemas/insert_table.json +0 -12
- package/integration-data/google-docs/schemas/insert_table_after_first_match.json +0 -13
- package/integration-data/google-docs/schemas/insert_text_after_first_match.json +0 -12
- package/integration-data/google-docs/schemas/insert_text_at.json +0 -11
- package/integration-data/google-docs/schemas/replace_all_text.json +0 -12
- package/integration-data/google-docs/schemas/style_first_match.json +0 -12
- package/integration-data/google-docs/schemas/update_document_style.json +0 -11
- package/integration-data/google-docs/schemas/update_paragraph_style.json +0 -13
- package/integration-data/google-docs/schemas/update_paragraph_style_for_first_match.json +0 -12
- package/integration-data/google-sheet/credentials.json +0 -36
- package/integration-data/google-sheet/credentials_hint.md +0 -9
- package/integration-data/google-sheet/handlers/append_values.js +0 -18
- package/integration-data/google-sheet/handlers/batch_clear_values.js +0 -6
- package/integration-data/google-sheet/handlers/batch_clear_values_by_data_filter.js +0 -6
- package/integration-data/google-sheet/handlers/batch_get_values.js +0 -16
- package/integration-data/google-sheet/handlers/batch_update.js +0 -14
- package/integration-data/google-sheet/handlers/batch_update_values.js +0 -16
- package/integration-data/google-sheet/handlers/batch_update_values_by_data_filter.js +0 -16
- package/integration-data/google-sheet/handlers/clear_values.js +0 -6
- package/integration-data/google-sheet/handlers/copy_to_spreadsheet.js +0 -6
- package/integration-data/google-sheet/handlers/create_spreadsheet.js +0 -5
- package/integration-data/google-sheet/handlers/get_developer_metadata.js +0 -6
- package/integration-data/google-sheet/handlers/get_spreadsheet.js +0 -12
- package/integration-data/google-sheet/handlers/get_spreadsheet_by_data_filter.js +0 -10
- package/integration-data/google-sheet/handlers/get_values.js +0 -14
- package/integration-data/google-sheet/handlers/get_values_by_data_filter.js +0 -14
- package/integration-data/google-sheet/handlers/search_developer_metadata.js +0 -7
- package/integration-data/google-sheet/handlers/update_values.js +0 -16
- package/integration-data/google-sheet/manifest.json +0 -125
- package/integration-data/google-sheet/schemas/append_values.json +0 -16
- package/integration-data/google-sheet/schemas/batch_clear_values.json +0 -10
- package/integration-data/google-sheet/schemas/batch_clear_values_by_data_filter.json +0 -10
- package/integration-data/google-sheet/schemas/batch_get_values.json +0 -13
- package/integration-data/google-sheet/schemas/batch_update.json +0 -13
- package/integration-data/google-sheet/schemas/batch_update_values.json +0 -25
- package/integration-data/google-sheet/schemas/batch_update_values_by_data_filter.json +0 -25
- package/integration-data/google-sheet/schemas/clear_values.json +0 -10
- package/integration-data/google-sheet/schemas/copy_to_spreadsheet.json +0 -11
- package/integration-data/google-sheet/schemas/create_spreadsheet.json +0 -11
- package/integration-data/google-sheet/schemas/get_developer_metadata.json +0 -10
- package/integration-data/google-sheet/schemas/get_spreadsheet.json +0 -15
- package/integration-data/google-sheet/schemas/get_spreadsheet_by_data_filter.json +0 -11
- package/integration-data/google-sheet/schemas/get_values.json +0 -13
- package/integration-data/google-sheet/schemas/get_values_by_data_filter.json +0 -17
- package/integration-data/google-sheet/schemas/search_developer_metadata.json +0 -14
- package/integration-data/google-sheet/schemas/update_values.json +0 -15
- package/integration-data/google-slides/credentials.json +0 -36
- package/integration-data/google-slides/credentials_hint.md +0 -9
- package/integration-data/google-slides/handlers/append_text_to_title_of_first_slide.js +0 -17
- package/integration-data/google-slides/handlers/batch_update.js +0 -15
- package/integration-data/google-slides/handlers/create_presentation.js +0 -8
- package/integration-data/google-slides/handlers/create_slide_after_first_match.js +0 -20
- package/integration-data/google-slides/handlers/get_page_thumbnail.js +0 -12
- package/integration-data/google-slides/handlers/get_presentation.js +0 -6
- package/integration-data/google-slides/handlers/insert_image_after_first_match.js +0 -19
- package/integration-data/google-slides/handlers/insert_shape_after_first_match.js +0 -21
- package/integration-data/google-slides/handlers/replace_text_first_match.js +0 -9
- package/integration-data/google-slides/handlers/set_background_color_for_slide_index.js +0 -15
- package/integration-data/google-slides/handlers/style_text_first_match.js +0 -48
- package/integration-data/google-slides/manifest.json +0 -41
- package/integration-data/google-slides/schemas/append_text_to_title_of_first_slide.json +0 -11
- package/integration-data/google-slides/schemas/batch_update.json +0 -13
- package/integration-data/google-slides/schemas/create_presentation.json +0 -8
- package/integration-data/google-slides/schemas/create_slide_after_first_match.json +0 -11
- package/integration-data/google-slides/schemas/get_page_thumbnail.json +0 -12
- package/integration-data/google-slides/schemas/get_presentation.json +0 -9
- package/integration-data/google-slides/schemas/insert_image_after_first_match.json +0 -13
- package/integration-data/google-slides/schemas/insert_shape_after_first_match.json +0 -13
- package/integration-data/google-slides/schemas/replace_text_first_match.json +0 -12
- package/integration-data/google-slides/schemas/set_background_color_for_slide_index.json +0 -11
- package/integration-data/google-slides/schemas/style_text_first_match.json +0 -12
- package/integration-data/new_integration_prompt.md +0 -41
- package/integration-data/notion/credentials.json +0 -21
- package/integration-data/notion/credentials_hint.md +0 -5
- package/integration-data/notion/handlers/append_block_children.js +0 -7
- package/integration-data/notion/handlers/create_comment.js +0 -10
- package/integration-data/notion/handlers/create_database.js +0 -11
- package/integration-data/notion/handlers/create_page.js +0 -13
- package/integration-data/notion/handlers/delete_block.js +0 -8
- package/integration-data/notion/handlers/get_me.js +0 -4
- package/integration-data/notion/handlers/list_block_children.js +0 -10
- package/integration-data/notion/handlers/list_comments.js +0 -14
- package/integration-data/notion/handlers/list_users.js +0 -10
- package/integration-data/notion/handlers/query_database.js +0 -10
- package/integration-data/notion/handlers/retrieve_block.js +0 -4
- package/integration-data/notion/handlers/retrieve_database.js +0 -4
- package/integration-data/notion/handlers/retrieve_page.js +0 -4
- package/integration-data/notion/handlers/retrieve_page_property_item.js +0 -10
- package/integration-data/notion/handlers/retrieve_user.js +0 -4
- package/integration-data/notion/handlers/search.js +0 -11
- package/integration-data/notion/handlers/update_block.js +0 -7
- package/integration-data/notion/handlers/update_database.js +0 -10
- package/integration-data/notion/handlers/update_page_properties.js +0 -10
- package/integration-data/notion/manifest.json +0 -139
- package/integration-data/notion/prompt.md +0 -26
- package/integration-data/notion/schemas/append_block_children.json +0 -10
- package/integration-data/notion/schemas/create_comment.json +0 -18
- package/integration-data/notion/schemas/create_database.json +0 -18
- package/integration-data/notion/schemas/create_page.json +0 -22
- package/integration-data/notion/schemas/delete_block.json +0 -9
- package/integration-data/notion/schemas/empty.json +0 -6
- package/integration-data/notion/schemas/id_block.json +0 -9
- package/integration-data/notion/schemas/id_database.json +0 -9
- package/integration-data/notion/schemas/id_page.json +0 -9
- package/integration-data/notion/schemas/id_user.json +0 -9
- package/integration-data/notion/schemas/list_block_children.json +0 -11
- package/integration-data/notion/schemas/list_comments.json +0 -15
- package/integration-data/notion/schemas/list_users.json +0 -9
- package/integration-data/notion/schemas/query_database.json +0 -13
- package/integration-data/notion/schemas/retrieve_page_property_item.json +0 -12
- package/integration-data/notion/schemas/search.json +0 -27
- package/integration-data/notion/schemas/update_block.json +0 -10
- package/integration-data/notion/schemas/update_database.json +0 -13
- package/integration-data/notion/schemas/update_page_properties.json +0 -13
- package/integration-data/trello/credentials.json +0 -26
- package/integration-data/trello/credentials_hint.md +0 -4
- package/integration-data/trello/handlers/add_checklist_to_card.js +0 -5
- package/integration-data/trello/handlers/add_member_to_card.js +0 -5
- package/integration-data/trello/handlers/archive_list.js +0 -5
- package/integration-data/trello/handlers/create_card.js +0 -13
- package/integration-data/trello/handlers/create_list.js +0 -7
- package/integration-data/trello/handlers/delete_card.js +0 -9
- package/integration-data/trello/handlers/get_board.js +0 -4
- package/integration-data/trello/handlers/get_board_cards.js +0 -4
- package/integration-data/trello/handlers/get_board_custom_fields.js +0 -4
- package/integration-data/trello/handlers/get_board_labels.js +0 -4
- package/integration-data/trello/handlers/get_board_lists.js +0 -4
- package/integration-data/trello/handlers/get_board_members.js +0 -4
- package/integration-data/trello/handlers/get_board_memberships.js +0 -4
- package/integration-data/trello/handlers/get_card.js +0 -4
- package/integration-data/trello/handlers/get_card_actions.js +0 -4
- package/integration-data/trello/handlers/get_card_attachments.js +0 -4
- package/integration-data/trello/handlers/get_card_checklists.js +0 -4
- package/integration-data/trello/handlers/get_card_custom_field_items.js +0 -4
- package/integration-data/trello/handlers/get_card_members.js +0 -4
- package/integration-data/trello/handlers/get_list.js +0 -4
- package/integration-data/trello/handlers/get_list_cards.js +0 -4
- package/integration-data/trello/handlers/get_member.js +0 -4
- package/integration-data/trello/handlers/get_member_boards.js +0 -4
- package/integration-data/trello/handlers/get_member_organizations.js +0 -4
- package/integration-data/trello/handlers/get_organization.js +0 -4
- package/integration-data/trello/handlers/get_organization_boards.js +0 -4
- package/integration-data/trello/handlers/move_card_to_list.js +0 -5
- package/integration-data/trello/handlers/remove_member_from_card.js +0 -9
- package/integration-data/trello/handlers/search.js +0 -5
- package/integration-data/trello/handlers/update_card.js +0 -19
- package/integration-data/trello/handlers/update_list.js +0 -11
- package/integration-data/trello/manifest.json +0 -231
- package/integration-data/trello/schemas/add_checklist_to_card.json +0 -10
- package/integration-data/trello/schemas/add_member_to_card.json +0 -10
- package/integration-data/trello/schemas/archive_list.json +0 -9
- package/integration-data/trello/schemas/create_card.json +0 -13
- package/integration-data/trello/schemas/create_list.json +0 -11
- package/integration-data/trello/schemas/delete_card.json +0 -9
- package/integration-data/trello/schemas/display_trello_cards.json +0 -45
- package/integration-data/trello/schemas/empty.json +0 -5
- package/integration-data/trello/schemas/get_member.json +0 -5
- package/integration-data/trello/schemas/id_board.json +0 -8
- package/integration-data/trello/schemas/id_card.json +0 -8
- package/integration-data/trello/schemas/id_list.json +0 -8
- package/integration-data/trello/schemas/id_org.json +0 -8
- package/integration-data/trello/schemas/move_card_to_list.json +0 -10
- package/integration-data/trello/schemas/remove_member_from_card.json +0 -10
- package/integration-data/trello/schemas/search.json +0 -8
- package/integration-data/trello/schemas/update_card.json +0 -16
- package/integration-data/trello/schemas/update_list.json +0 -12
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams()
|
|
3
|
-
if (input.sha)
|
|
4
|
-
params.set('sha', input.sha)
|
|
5
|
-
if (typeof input.path === 'string' && input.path.length > 0)
|
|
6
|
-
params.set('path', input.path)
|
|
7
|
-
if (input.author)
|
|
8
|
-
params.set('author', input.author)
|
|
9
|
-
const query = params.toString() ? `?${params.toString()}` : ''
|
|
10
|
-
const res = await integration.fetch(`/repos/${input.owner}/${input.repo}/commits${query}`)
|
|
11
|
-
return await res.json()
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams()
|
|
3
|
-
if (input.state)
|
|
4
|
-
params.set('state', input.state)
|
|
5
|
-
if (input.labels)
|
|
6
|
-
params.set('labels', input.labels)
|
|
7
|
-
if (input.assignee)
|
|
8
|
-
params.set('assignee', input.assignee)
|
|
9
|
-
const query = params.toString() ? `?${params.toString()}` : ''
|
|
10
|
-
const res = await integration.fetch(`/repos/${input.owner}/${input.repo}/issues${query}`)
|
|
11
|
-
return await res.json()
|
|
12
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams()
|
|
3
|
-
if (input.state)
|
|
4
|
-
params.set('state', input.state)
|
|
5
|
-
const query = params.toString() ? `?${params.toString()}` : ''
|
|
6
|
-
const res = await integration.fetch(`/repos/${input.owner}/${input.repo}/pulls${query}`)
|
|
7
|
-
return await res.json()
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const body = {
|
|
3
|
-
commit_title: input.commit_title,
|
|
4
|
-
commit_message: input.commit_message,
|
|
5
|
-
merge_method: input.merge_method || 'merge',
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const res = await integration.fetch(`/repos/${input.owner}/${input.repo}/pulls/${input.pull_number}/merge`, {
|
|
9
|
-
method: 'PUT',
|
|
10
|
-
body
|
|
11
|
-
})
|
|
12
|
-
return await res.json()
|
|
13
|
-
}
|
|
14
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const body = {}
|
|
3
|
-
if (input.title !== undefined)
|
|
4
|
-
body.title = input.title
|
|
5
|
-
if (input.body !== undefined)
|
|
6
|
-
body.body = input.body
|
|
7
|
-
if (input.state !== undefined)
|
|
8
|
-
body.state = input.state
|
|
9
|
-
if (input.assignees !== undefined)
|
|
10
|
-
body.assignees = input.assignees
|
|
11
|
-
if (input.labels !== undefined)
|
|
12
|
-
body.labels = input.labels
|
|
13
|
-
const res = await integration.fetch(`/repos/${input.owner}/${input.repo}/issues/${input.issue_number}`, { method: 'PATCH', body })
|
|
14
|
-
return await res.json()
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "github",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"tools": [
|
|
5
|
-
{ "name": "list_repos", "description": "List repositories for the authenticated user.", "inputSchema": "schemas/empty.json", "handler": "handlers/list_repos_user.js", "scope": "read" },
|
|
6
|
-
{ "name": "get_repo", "description": "Get a repository by owner and name.", "inputSchema": "schemas/get_repo.json", "handler": "handlers/get_repo.js", "scope": "read" },
|
|
7
|
-
{ "name": "list_issues", "description": "List issues for a repository.", "inputSchema": "schemas/list_issues.json", "handler": "handlers/list_issues.js", "scope": "read" },
|
|
8
|
-
{ "name": "get_issue", "description": "Get a specific issue by number.", "inputSchema": "schemas/get_issue.json", "handler": "handlers/get_issue.js", "scope": "read" },
|
|
9
|
-
{ "name": "list_pull_requests", "description": "List pull requests for a repository.", "inputSchema": "schemas/list_pull_requests.json", "handler": "handlers/list_pull_requests.js", "scope": "read" },
|
|
10
|
-
{ "name": "list_branches", "description": "List branches for a repository.", "inputSchema": "schemas/owner_repo.json", "handler": "handlers/list_branches.js", "scope": "read" },
|
|
11
|
-
{ "name": "list_commits", "description": "List commits for a repository.", "inputSchema": "schemas/list_commits.json", "handler": "handlers/list_commits.js", "scope": "read" },
|
|
12
|
-
|
|
13
|
-
{ "name": "create_repo", "description": "Create a new repository.", "inputSchema": "schemas/create_repo.json", "handler": "handlers/create_repo.js", "scope": "write" },
|
|
14
|
-
{ "name": "delete_repo", "description": "Delete a repository (requires delete_repo scope).", "inputSchema": "schemas/delete_repo.json", "handler": "handlers/delete_repo.js", "scope": "write" },
|
|
15
|
-
{ "name": "create_branch", "description": "Create a new branch in a repository.", "inputSchema": "schemas/create_branch.json", "handler": "handlers/create_branch.js", "scope": "write" },
|
|
16
|
-
{ "name": "create_or_update_file", "description": "Create or update a single file (content must be plain text; base64 handled internally).", "inputSchema": "schemas/create_or_update_file.json", "handler": "handlers/create_or_update_file.js", "scope": "write" },
|
|
17
|
-
{ "name": "create_commit", "description": "Create a commit with multiple files (content must be plain text; base64 handled internally).", "inputSchema": "schemas/create_commit.json", "handler": "handlers/create_commit.js", "scope": "write" },
|
|
18
|
-
{ "name": "create_pull_request", "description": "Create a pull request.", "inputSchema": "schemas/create_pull_request.json", "handler": "handlers/create_pull_request.js", "scope": "write" },
|
|
19
|
-
{ "name": "merge_pull_request", "description": "Merge a pull request.", "inputSchema": "schemas/merge_pull_request.json", "handler": "handlers/merge_pull_request.js", "scope": "write" },
|
|
20
|
-
{ "name": "create_issue", "description": "Create an issue in a repository.", "inputSchema": "schemas/create_issue.json", "handler": "handlers/create_issue.js", "scope": "write" },
|
|
21
|
-
{ "name": "update_issue", "description": "Update fields on an issue.", "inputSchema": "schemas/update_issue.json", "handler": "handlers/update_issue.js", "scope": "write" },
|
|
22
|
-
{ "name": "comment_on_issue", "description": "Add a comment to an issue.", "inputSchema": "schemas/comment_on_issue.json", "handler": "handlers/comment_on_issue.js", "scope": "write" },
|
|
23
|
-
{ "name": "add_labels_to_issue", "description": "Add labels to an issue or pull request.", "inputSchema": "schemas/add_labels_to_issue.json", "handler": "handlers/add_labels_to_issue.js", "scope": "write" },
|
|
24
|
-
{ "name": "close_issue", "description": "Close an issue.", "inputSchema": "schemas/close_issue.json", "handler": "handlers/close_issue.js", "scope": "write" }
|
|
25
|
-
]
|
|
26
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"issue_number": { "type": "number", "description": "The number of the issue" },
|
|
7
|
-
"labels": { "type": "array", "items": { "type": "string" }, "description": "The names of the labels to add" }
|
|
8
|
-
},
|
|
9
|
-
"required": ["owner", "repo", "issue_number", "labels"],
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
12
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"issue_number": { "type": "integer", "minimum": 1 },
|
|
7
|
-
"body": { "type": "string" }
|
|
8
|
-
},
|
|
9
|
-
"required": ["owner", "repo", "issue_number", "body"],
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"branch": { "type": "string", "description": "The name of the new branch" },
|
|
7
|
-
"from_branch": { "type": "string", "description": "The branch to create from. Defaults to the repository's default branch" }
|
|
8
|
-
},
|
|
9
|
-
"required": ["owner", "repo", "branch"],
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
12
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"branch": { "type": "string", "description": "The branch to commit to" },
|
|
7
|
-
"message": { "type": "string", "description": "The commit message" },
|
|
8
|
-
"files": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"description": "Array of files to add/update/delete in this commit",
|
|
11
|
-
"items": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"path": { "type": "string", "description": "File path in the repository" },
|
|
15
|
-
"content": { "type": "string", "description": "Plain text file content (omit to delete). Do NOT base64; encoding handled internally." },
|
|
16
|
-
"mode": { "type": "string", "enum": ["100644", "100755", "040000", "160000", "120000"], "description": "File mode (100644 for regular files, 100755 for executable)" }
|
|
17
|
-
},
|
|
18
|
-
"required": ["path"]
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": ["owner", "repo", "branch", "message", "files"],
|
|
23
|
-
"additionalProperties": false
|
|
24
|
-
}
|
|
25
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"title": { "type": "string" },
|
|
7
|
-
"body": { "type": "string" },
|
|
8
|
-
"assignees": { "type": "array", "items": { "type": "string" } },
|
|
9
|
-
"labels": { "type": "array", "items": { "type": "string" } }
|
|
10
|
-
},
|
|
11
|
-
"required": ["owner", "repo", "title"],
|
|
12
|
-
"additionalProperties": false
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"path": { "type": "string", "description": "Path to the file in the repository" },
|
|
7
|
-
"message": { "type": "string", "description": "The commit message" },
|
|
8
|
-
"content": { "type": "string", "description": "Plain text file content. Do NOT base64; encoding handled internally." },
|
|
9
|
-
"branch": { "type": "string", "description": "The branch name. Defaults to the repository's default branch" },
|
|
10
|
-
"sha": { "type": "string", "description": "Required if updating an existing file. The blob SHA of the file being replaced" }
|
|
11
|
-
},
|
|
12
|
-
"required": ["owner", "repo", "path", "message", "content"],
|
|
13
|
-
"additionalProperties": false
|
|
14
|
-
}
|
|
15
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"title": { "type": "string", "description": "The title of the pull request" },
|
|
7
|
-
"body": { "type": "string", "description": "The contents of the pull request" },
|
|
8
|
-
"head": { "type": "string", "description": "The name of the branch where your changes are implemented" },
|
|
9
|
-
"base": { "type": "string", "description": "The name of the branch you want the changes pulled into" },
|
|
10
|
-
"draft": { "type": "boolean", "description": "Whether to create the pull request as a draft" }
|
|
11
|
-
},
|
|
12
|
-
"required": ["owner", "repo", "title", "head", "base"],
|
|
13
|
-
"additionalProperties": false
|
|
14
|
-
}
|
|
15
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"name": { "type": "string", "description": "The name of the repository" },
|
|
5
|
-
"description": { "type": "string", "description": "A short description of the repository" },
|
|
6
|
-
"private": { "type": "boolean", "description": "Whether the repository is private", "default": false },
|
|
7
|
-
"auto_init": { "type": "boolean", "description": "Pass true to create an initial commit with empty README", "default": false }
|
|
8
|
-
},
|
|
9
|
-
"required": ["name"],
|
|
10
|
-
"additionalProperties": false
|
|
11
|
-
}
|
|
12
|
-
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" }
|
|
6
|
-
},
|
|
7
|
-
"required": ["owner", "repo"],
|
|
8
|
-
"additionalProperties": false
|
|
9
|
-
}
|
|
10
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"sha": { "type": "string" },
|
|
7
|
-
"path": { "type": "string" },
|
|
8
|
-
"author": { "type": "string" }
|
|
9
|
-
},
|
|
10
|
-
"required": ["owner", "repo"],
|
|
11
|
-
"additionalProperties": false
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" },
|
|
7
|
-
"labels": { "type": "string" },
|
|
8
|
-
"assignee": { "type": "string" }
|
|
9
|
-
},
|
|
10
|
-
"required": ["owner", "repo"],
|
|
11
|
-
"additionalProperties": false
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"state": { "type": "string", "enum": ["open", "closed", "all"], "default": "open" }
|
|
7
|
-
},
|
|
8
|
-
"required": ["owner", "repo"],
|
|
9
|
-
"additionalProperties": false
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string", "description": "The account owner of the repository" },
|
|
5
|
-
"repo": { "type": "string", "description": "The name of the repository" },
|
|
6
|
-
"pull_number": { "type": "number", "description": "The number of the pull request" },
|
|
7
|
-
"commit_title": { "type": "string", "description": "Title for the automatic commit message" },
|
|
8
|
-
"commit_message": { "type": "string", "description": "Extra detail to append to automatic commit message" },
|
|
9
|
-
"merge_method": { "type": "string", "enum": ["merge", "squash", "rebase"], "description": "Merge method to use. Default is 'merge'" }
|
|
10
|
-
},
|
|
11
|
-
"required": ["owner", "repo", "pull_number"],
|
|
12
|
-
"additionalProperties": false
|
|
13
|
-
}
|
|
14
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"owner": { "type": "string" },
|
|
5
|
-
"repo": { "type": "string" },
|
|
6
|
-
"issue_number": { "type": "integer", "minimum": 1 },
|
|
7
|
-
"title": { "type": "string" },
|
|
8
|
-
"body": { "type": "string" },
|
|
9
|
-
"state": { "type": "string", "enum": ["open", "closed"] },
|
|
10
|
-
"assignees": { "type": "array", "items": { "type": "string" } },
|
|
11
|
-
"labels": { "type": "array", "items": { "type": "string" } }
|
|
12
|
-
},
|
|
13
|
-
"required": ["owner", "repo", "issue_number"],
|
|
14
|
-
"additionalProperties": false
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": {
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"token": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"title": "OAuth Access Token (optional)",
|
|
8
|
-
"description": "Google OAuth access token to use as a Bearer token (typically short-lived)."
|
|
9
|
-
},
|
|
10
|
-
"serviceAccountJson": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"title": "Service Account JSON (recommended)",
|
|
13
|
-
"description": "Full service account key JSON (contents of the downloaded JSON file)."
|
|
14
|
-
},
|
|
15
|
-
"subject": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"title": "Subject / impersonated user (optional)",
|
|
18
|
-
"description": "Optional user email to impersonate when using Google Workspace domain-wide delegation."
|
|
19
|
-
},
|
|
20
|
-
"scopes": {
|
|
21
|
-
"type": "array",
|
|
22
|
-
"title": "OAuth scopes (optional)",
|
|
23
|
-
"description": "Optional override for OAuth scopes.",
|
|
24
|
-
"items": { "type": "string" }
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [],
|
|
28
|
-
"additionalProperties": false
|
|
29
|
-
},
|
|
30
|
-
"injection": {
|
|
31
|
-
"headers": {
|
|
32
|
-
"Authorization": "Bearer {{token}}"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Recommended: use a Google service account.
|
|
2
|
-
|
|
3
|
-
- Create a service account in Google Cloud
|
|
4
|
-
- Download a JSON key
|
|
5
|
-
- Paste the JSON into `serviceAccountJson` (or use `env:GOOGLE_SERVICE_ACCOUNT_JSON`)
|
|
6
|
-
|
|
7
|
-
Note: Calendar often needs Google Workspace domain-wide delegation if you want to impersonate a user (`subject`).
|
|
8
|
-
For simple setups, use a short-lived OAuth access token in `token`.
|
|
9
|
-
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/${encodeURIComponent(input.eventId)}`
|
|
3
|
-
const res = await integration.fetch(path, { method: 'DELETE' })
|
|
4
|
-
// Google Calendar delete returns 204 No Content, but proxy returns Response; handle empty body
|
|
5
|
-
try { return await res.json() }
|
|
6
|
-
catch { return { success: true } }
|
|
7
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams()
|
|
3
|
-
if (input.timeMin)
|
|
4
|
-
params.set('timeMin', input.timeMin)
|
|
5
|
-
if (input.timeMax)
|
|
6
|
-
params.set('timeMax', input.timeMax)
|
|
7
|
-
if (input.q)
|
|
8
|
-
params.set('q', input.q)
|
|
9
|
-
if (input.maxResults)
|
|
10
|
-
params.set('maxResults', String(input.maxResults))
|
|
11
|
-
if (input.pageToken)
|
|
12
|
-
params.set('pageToken', input.pageToken)
|
|
13
|
-
if (input.singleEvents !== undefined)
|
|
14
|
-
params.set('singleEvents', String(input.singleEvents))
|
|
15
|
-
if (input.orderBy)
|
|
16
|
-
params.set('orderBy', input.orderBy)
|
|
17
|
-
const qs = params.toString()
|
|
18
|
-
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events${qs ? `?${qs}` : ''}`
|
|
19
|
-
const res = await integration.fetch(path)
|
|
20
|
-
return await res.json()
|
|
21
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams({ destination: input.destination })
|
|
3
|
-
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/${encodeURIComponent(input.eventId)}/move?${params.toString()}`
|
|
4
|
-
const res = await integration.fetch(path, { method: 'POST' })
|
|
5
|
-
return await res.json()
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const params = new URLSearchParams({ text: input.text })
|
|
3
|
-
const path = `/calendars/${encodeURIComponent(input.calendarId)}/events/quickAdd?${params.toString()}`
|
|
4
|
-
const res = await integration.fetch(path, { method: 'POST' })
|
|
5
|
-
return await res.json()
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
async (input) => {
|
|
2
|
-
const { calendarId, ruleId, role } = input
|
|
3
|
-
const body = { role }
|
|
4
|
-
const path = `/calendars/${encodeURIComponent(calendarId)}/acl/${encodeURIComponent(ruleId)}`
|
|
5
|
-
const res = await integration.fetch(path, { method: 'PUT', body })
|
|
6
|
-
return await res.json()
|
|
7
|
-
}
|