@commandable/mcp 0.0.1

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.
Files changed (397) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +34 -0
  3. package/dist/cli/bin.d.ts +3 -0
  4. package/dist/cli/bin.d.ts.map +1 -0
  5. package/dist/cli/bin.js +7 -0
  6. package/dist/cli/bin.js.map +1 -0
  7. package/dist/cli/credentialManager.d.ts +19 -0
  8. package/dist/cli/credentialManager.d.ts.map +1 -0
  9. package/dist/cli/credentialManager.js +81 -0
  10. package/dist/cli/credentialManager.js.map +1 -0
  11. package/dist/cli/index.d.ts +2 -0
  12. package/dist/cli/index.d.ts.map +1 -0
  13. package/dist/cli/index.js +77 -0
  14. package/dist/cli/index.js.map +1 -0
  15. package/dist/cli/setup.d.ts +3 -0
  16. package/dist/cli/setup.d.ts.map +1 -0
  17. package/dist/cli/setup.js +194 -0
  18. package/dist/cli/setup.js.map +1 -0
  19. package/dist/crypto/encryption.d.ts +3 -0
  20. package/dist/crypto/encryption.d.ts.map +1 -0
  21. package/dist/crypto/encryption.js +29 -0
  22. package/dist/crypto/encryption.js.map +1 -0
  23. package/dist/db/client.d.ts +22 -0
  24. package/dist/db/client.d.ts.map +1 -0
  25. package/dist/db/client.js +43 -0
  26. package/dist/db/client.js.map +1 -0
  27. package/dist/db/credentialStore.d.ts +13 -0
  28. package/dist/db/credentialStore.d.ts.map +1 -0
  29. package/dist/db/credentialStore.js +57 -0
  30. package/dist/db/credentialStore.js.map +1 -0
  31. package/dist/db/integrationStore.d.ts +5 -0
  32. package/dist/db/integrationStore.d.ts.map +1 -0
  33. package/dist/db/integrationStore.js +65 -0
  34. package/dist/db/integrationStore.js.map +1 -0
  35. package/dist/db/migrate.d.ts +3 -0
  36. package/dist/db/migrate.d.ts.map +1 -0
  37. package/dist/db/migrate.js +88 -0
  38. package/dist/db/migrate.js.map +1 -0
  39. package/dist/db/schema.d.ts +911 -0
  40. package/dist/db/schema.d.ts.map +1 -0
  41. package/dist/db/schema.js +73 -0
  42. package/dist/db/schema.js.map +1 -0
  43. package/dist/errors/httpError.d.ts +6 -0
  44. package/dist/errors/httpError.d.ts.map +1 -0
  45. package/dist/errors/httpError.js +11 -0
  46. package/dist/errors/httpError.js.map +1 -0
  47. package/dist/index.d.ts +21 -0
  48. package/dist/index.d.ts.map +1 -0
  49. package/dist/index.js +21 -0
  50. package/dist/index.js.map +1 -0
  51. package/dist/integrations/actionsFactory.d.ts +12 -0
  52. package/dist/integrations/actionsFactory.d.ts.map +1 -0
  53. package/dist/integrations/actionsFactory.js +68 -0
  54. package/dist/integrations/actionsFactory.js.map +1 -0
  55. package/dist/integrations/catalog.d.ts +9 -0
  56. package/dist/integrations/catalog.d.ts.map +1 -0
  57. package/dist/integrations/catalog.js +80 -0
  58. package/dist/integrations/catalog.js.map +1 -0
  59. package/dist/integrations/dataLoader.d.ts +47 -0
  60. package/dist/integrations/dataLoader.d.ts.map +1 -0
  61. package/dist/integrations/dataLoader.js +126 -0
  62. package/dist/integrations/dataLoader.js.map +1 -0
  63. package/dist/integrations/getIntegration.d.ts +11 -0
  64. package/dist/integrations/getIntegration.d.ts.map +1 -0
  65. package/dist/integrations/getIntegration.js +22 -0
  66. package/dist/integrations/getIntegration.js.map +1 -0
  67. package/dist/integrations/googleServiceAccount.d.ts +6 -0
  68. package/dist/integrations/googleServiceAccount.d.ts.map +1 -0
  69. package/dist/integrations/googleServiceAccount.js +54 -0
  70. package/dist/integrations/googleServiceAccount.js.map +1 -0
  71. package/dist/integrations/providerRegistry.d.ts +2 -0
  72. package/dist/integrations/providerRegistry.d.ts.map +1 -0
  73. package/dist/integrations/providerRegistry.js +50 -0
  74. package/dist/integrations/providerRegistry.js.map +1 -0
  75. package/dist/integrations/proxy.d.ts +16 -0
  76. package/dist/integrations/proxy.d.ts.map +1 -0
  77. package/dist/integrations/proxy.js +331 -0
  78. package/dist/integrations/proxy.js.map +1 -0
  79. package/dist/integrations/sandbox.d.ts +7 -0
  80. package/dist/integrations/sandbox.d.ts.map +1 -0
  81. package/dist/integrations/sandbox.js +210 -0
  82. package/dist/integrations/sandbox.js.map +1 -0
  83. package/dist/integrations/tools.d.ts +3 -0
  84. package/dist/integrations/tools.d.ts.map +1 -0
  85. package/dist/integrations/tools.js +70 -0
  86. package/dist/integrations/tools.js.map +1 -0
  87. package/dist/mcp/server.d.ts +15 -0
  88. package/dist/mcp/server.d.ts.map +1 -0
  89. package/dist/mcp/server.js +50 -0
  90. package/dist/mcp/server.js.map +1 -0
  91. package/dist/mcp/toolAdapter.d.ts +17 -0
  92. package/dist/mcp/toolAdapter.d.ts.map +1 -0
  93. package/dist/mcp/toolAdapter.js +18 -0
  94. package/dist/mcp/toolAdapter.js.map +1 -0
  95. package/dist/types.d.ts +34 -0
  96. package/dist/types.d.ts.map +1 -0
  97. package/dist/types.js +2 -0
  98. package/dist/types.js.map +1 -0
  99. package/integration-data/README.md +52 -0
  100. package/integration-data/airtable/credentials.json +20 -0
  101. package/integration-data/airtable/credentials_hint.md +4 -0
  102. package/integration-data/airtable/handlers/create_record.js +12 -0
  103. package/integration-data/airtable/handlers/delete_record.js +7 -0
  104. package/integration-data/airtable/handlers/get_record.js +4 -0
  105. package/integration-data/airtable/handlers/get_table_schema.js +6 -0
  106. package/integration-data/airtable/handlers/list_bases.js +4 -0
  107. package/integration-data/airtable/handlers/list_records.js +25 -0
  108. package/integration-data/airtable/handlers/list_table_fields.js +6 -0
  109. package/integration-data/airtable/handlers/list_tables.js +4 -0
  110. package/integration-data/airtable/handlers/list_views.js +6 -0
  111. package/integration-data/airtable/handlers/search_records.js +6 -0
  112. package/integration-data/airtable/handlers/update_record.js +11 -0
  113. package/integration-data/airtable/manifest.json +83 -0
  114. package/integration-data/airtable/schemas/create_record.json +12 -0
  115. package/integration-data/airtable/schemas/delete_record.json +11 -0
  116. package/integration-data/airtable/schemas/empty.json +6 -0
  117. package/integration-data/airtable/schemas/get_record.json +11 -0
  118. package/integration-data/airtable/schemas/id_base.json +9 -0
  119. package/integration-data/airtable/schemas/id_base_table.json +10 -0
  120. package/integration-data/airtable/schemas/list_records.json +26 -0
  121. package/integration-data/airtable/schemas/search_records.json +12 -0
  122. package/integration-data/airtable/schemas/update_record.json +13 -0
  123. package/integration-data/github/credentials.json +20 -0
  124. package/integration-data/github/credentials_hint.md +7 -0
  125. package/integration-data/github/handlers/add_labels_to_issue.js +12 -0
  126. package/integration-data/github/handlers/close_issue.js +5 -0
  127. package/integration-data/github/handlers/comment_on_issue.js +5 -0
  128. package/integration-data/github/handlers/create_branch.js +33 -0
  129. package/integration-data/github/handlers/create_commit.js +91 -0
  130. package/integration-data/github/handlers/create_issue.js +10 -0
  131. package/integration-data/github/handlers/create_or_update_file.js +21 -0
  132. package/integration-data/github/handlers/create_pull_request.js +16 -0
  133. package/integration-data/github/handlers/create_repo.js +11 -0
  134. package/integration-data/github/handlers/delete_repo.js +6 -0
  135. package/integration-data/github/handlers/get_issue.js +4 -0
  136. package/integration-data/github/handlers/get_repo.js +4 -0
  137. package/integration-data/github/handlers/list_branches.js +4 -0
  138. package/integration-data/github/handlers/list_commits.js +12 -0
  139. package/integration-data/github/handlers/list_issues.js +12 -0
  140. package/integration-data/github/handlers/list_pull_requests.js +8 -0
  141. package/integration-data/github/handlers/list_repos_install.js +4 -0
  142. package/integration-data/github/handlers/list_repos_user.js +4 -0
  143. package/integration-data/github/handlers/merge_pull_request.js +14 -0
  144. package/integration-data/github/handlers/update_issue.js +15 -0
  145. package/integration-data/github/manifest.json +26 -0
  146. package/integration-data/github/schemas/add_labels_to_issue.json +12 -0
  147. package/integration-data/github/schemas/close_issue.json +10 -0
  148. package/integration-data/github/schemas/comment_on_issue.json +11 -0
  149. package/integration-data/github/schemas/create_branch.json +12 -0
  150. package/integration-data/github/schemas/create_commit.json +25 -0
  151. package/integration-data/github/schemas/create_issue.json +13 -0
  152. package/integration-data/github/schemas/create_or_update_file.json +15 -0
  153. package/integration-data/github/schemas/create_pull_request.json +15 -0
  154. package/integration-data/github/schemas/create_repo.json +12 -0
  155. package/integration-data/github/schemas/delete_repo.json +10 -0
  156. package/integration-data/github/schemas/empty.json +5 -0
  157. package/integration-data/github/schemas/get_issue.json +10 -0
  158. package/integration-data/github/schemas/get_repo.json +9 -0
  159. package/integration-data/github/schemas/list_commits.json +12 -0
  160. package/integration-data/github/schemas/list_issues.json +12 -0
  161. package/integration-data/github/schemas/list_pull_requests.json +10 -0
  162. package/integration-data/github/schemas/merge_pull_request.json +14 -0
  163. package/integration-data/github/schemas/owner_repo.json +9 -0
  164. package/integration-data/github/schemas/update_issue.json +15 -0
  165. package/integration-data/google-calendar/credentials.json +36 -0
  166. package/integration-data/google-calendar/credentials_hint.md +9 -0
  167. package/integration-data/google-calendar/handlers/create_event.js +6 -0
  168. package/integration-data/google-calendar/handlers/delete_acl.js +6 -0
  169. package/integration-data/google-calendar/handlers/delete_event.js +7 -0
  170. package/integration-data/google-calendar/handlers/freebusy_query.js +4 -0
  171. package/integration-data/google-calendar/handlers/get_acl.js +5 -0
  172. package/integration-data/google-calendar/handlers/get_calendar.js +4 -0
  173. package/integration-data/google-calendar/handlers/get_event.js +5 -0
  174. package/integration-data/google-calendar/handlers/insert_acl.js +6 -0
  175. package/integration-data/google-calendar/handlers/list_acl.js +5 -0
  176. package/integration-data/google-calendar/handlers/list_calendars.js +4 -0
  177. package/integration-data/google-calendar/handlers/list_colors.js +4 -0
  178. package/integration-data/google-calendar/handlers/list_events.js +21 -0
  179. package/integration-data/google-calendar/handlers/list_settings.js +4 -0
  180. package/integration-data/google-calendar/handlers/move_event.js +6 -0
  181. package/integration-data/google-calendar/handlers/patch_event.js +5 -0
  182. package/integration-data/google-calendar/handlers/quick_add.js +6 -0
  183. package/integration-data/google-calendar/handlers/update_acl.js +7 -0
  184. package/integration-data/google-calendar/handlers/update_event.js +5 -0
  185. package/integration-data/google-calendar/manifest.json +26 -0
  186. package/integration-data/google-calendar/schemas/create_event.json +34 -0
  187. package/integration-data/google-calendar/schemas/delete_acl.json +9 -0
  188. package/integration-data/google-calendar/schemas/empty.json +1 -0
  189. package/integration-data/google-calendar/schemas/freebusy_query.json +13 -0
  190. package/integration-data/google-calendar/schemas/get_acl.json +9 -0
  191. package/integration-data/google-calendar/schemas/id_calendar.json +8 -0
  192. package/integration-data/google-calendar/schemas/id_calendar_event.json +9 -0
  193. package/integration-data/google-calendar/schemas/insert_acl.json +18 -0
  194. package/integration-data/google-calendar/schemas/list_events.json +15 -0
  195. package/integration-data/google-calendar/schemas/move_event.json +10 -0
  196. package/integration-data/google-calendar/schemas/patch_event.json +10 -0
  197. package/integration-data/google-calendar/schemas/quick_add.json +9 -0
  198. package/integration-data/google-calendar/schemas/update_acl.json +10 -0
  199. package/integration-data/google-calendar/schemas/update_event.json +10 -0
  200. package/integration-data/google-docs/credentials.json +36 -0
  201. package/integration-data/google-docs/credentials_hint.md +9 -0
  202. package/integration-data/google-docs/handlers/append_text.js +12 -0
  203. package/integration-data/google-docs/handlers/batch_update.js +13 -0
  204. package/integration-data/google-docs/handlers/create_document.js +9 -0
  205. package/integration-data/google-docs/handlers/delete_first_match.js +50 -0
  206. package/integration-data/google-docs/handlers/get_document.js +12 -0
  207. package/integration-data/google-docs/handlers/get_document_structured.js +6 -0
  208. package/integration-data/google-docs/handlers/get_document_text.js +17 -0
  209. package/integration-data/google-docs/handlers/insert_inline_image_after_first_match.js +41 -0
  210. package/integration-data/google-docs/handlers/insert_page_break_after_first_match.js +49 -0
  211. package/integration-data/google-docs/handlers/insert_table_after_first_match.js +49 -0
  212. package/integration-data/google-docs/handlers/insert_text_after_first_match.js +51 -0
  213. package/integration-data/google-docs/handlers/replace_all_text.js +8 -0
  214. package/integration-data/google-docs/handlers/style_first_match.js +42 -0
  215. package/integration-data/google-docs/handlers/update_document_style.js +8 -0
  216. package/integration-data/google-docs/handlers/update_paragraph_style_for_first_match.js +48 -0
  217. package/integration-data/google-docs/manifest.json +58 -0
  218. package/integration-data/google-docs/schemas/append_text.json +10 -0
  219. package/integration-data/google-docs/schemas/apply_text_style.json +13 -0
  220. package/integration-data/google-docs/schemas/batch_update.json +16 -0
  221. package/integration-data/google-docs/schemas/create_document.json +8 -0
  222. package/integration-data/google-docs/schemas/delete_content_range.json +11 -0
  223. package/integration-data/google-docs/schemas/delete_first_match.json +10 -0
  224. package/integration-data/google-docs/schemas/get_document.json +11 -0
  225. package/integration-data/google-docs/schemas/get_document_structured.json +9 -0
  226. package/integration-data/google-docs/schemas/get_document_text.json +9 -0
  227. package/integration-data/google-docs/schemas/insert_inline_image.json +12 -0
  228. package/integration-data/google-docs/schemas/insert_inline_image_after_first_match.json +13 -0
  229. package/integration-data/google-docs/schemas/insert_page_break.json +10 -0
  230. package/integration-data/google-docs/schemas/insert_page_break_after_first_match.json +11 -0
  231. package/integration-data/google-docs/schemas/insert_table.json +12 -0
  232. package/integration-data/google-docs/schemas/insert_table_after_first_match.json +13 -0
  233. package/integration-data/google-docs/schemas/insert_text_after_first_match.json +12 -0
  234. package/integration-data/google-docs/schemas/insert_text_at.json +11 -0
  235. package/integration-data/google-docs/schemas/replace_all_text.json +12 -0
  236. package/integration-data/google-docs/schemas/style_first_match.json +12 -0
  237. package/integration-data/google-docs/schemas/update_document_style.json +11 -0
  238. package/integration-data/google-docs/schemas/update_paragraph_style.json +13 -0
  239. package/integration-data/google-docs/schemas/update_paragraph_style_for_first_match.json +12 -0
  240. package/integration-data/google-sheet/credentials.json +36 -0
  241. package/integration-data/google-sheet/credentials_hint.md +9 -0
  242. package/integration-data/google-sheet/handlers/append_values.js +18 -0
  243. package/integration-data/google-sheet/handlers/batch_clear_values.js +6 -0
  244. package/integration-data/google-sheet/handlers/batch_clear_values_by_data_filter.js +6 -0
  245. package/integration-data/google-sheet/handlers/batch_get_values.js +16 -0
  246. package/integration-data/google-sheet/handlers/batch_update.js +14 -0
  247. package/integration-data/google-sheet/handlers/batch_update_values.js +16 -0
  248. package/integration-data/google-sheet/handlers/batch_update_values_by_data_filter.js +16 -0
  249. package/integration-data/google-sheet/handlers/clear_values.js +6 -0
  250. package/integration-data/google-sheet/handlers/copy_to_spreadsheet.js +6 -0
  251. package/integration-data/google-sheet/handlers/create_spreadsheet.js +5 -0
  252. package/integration-data/google-sheet/handlers/get_developer_metadata.js +6 -0
  253. package/integration-data/google-sheet/handlers/get_spreadsheet.js +12 -0
  254. package/integration-data/google-sheet/handlers/get_spreadsheet_by_data_filter.js +10 -0
  255. package/integration-data/google-sheet/handlers/get_values.js +14 -0
  256. package/integration-data/google-sheet/handlers/get_values_by_data_filter.js +14 -0
  257. package/integration-data/google-sheet/handlers/search_developer_metadata.js +7 -0
  258. package/integration-data/google-sheet/handlers/update_values.js +16 -0
  259. package/integration-data/google-sheet/manifest.json +125 -0
  260. package/integration-data/google-sheet/schemas/append_values.json +16 -0
  261. package/integration-data/google-sheet/schemas/batch_clear_values.json +10 -0
  262. package/integration-data/google-sheet/schemas/batch_clear_values_by_data_filter.json +10 -0
  263. package/integration-data/google-sheet/schemas/batch_get_values.json +13 -0
  264. package/integration-data/google-sheet/schemas/batch_update.json +13 -0
  265. package/integration-data/google-sheet/schemas/batch_update_values.json +25 -0
  266. package/integration-data/google-sheet/schemas/batch_update_values_by_data_filter.json +25 -0
  267. package/integration-data/google-sheet/schemas/clear_values.json +10 -0
  268. package/integration-data/google-sheet/schemas/copy_to_spreadsheet.json +11 -0
  269. package/integration-data/google-sheet/schemas/create_spreadsheet.json +11 -0
  270. package/integration-data/google-sheet/schemas/get_developer_metadata.json +10 -0
  271. package/integration-data/google-sheet/schemas/get_spreadsheet.json +15 -0
  272. package/integration-data/google-sheet/schemas/get_spreadsheet_by_data_filter.json +11 -0
  273. package/integration-data/google-sheet/schemas/get_values.json +13 -0
  274. package/integration-data/google-sheet/schemas/get_values_by_data_filter.json +17 -0
  275. package/integration-data/google-sheet/schemas/search_developer_metadata.json +14 -0
  276. package/integration-data/google-sheet/schemas/update_values.json +15 -0
  277. package/integration-data/google-slides/credentials.json +36 -0
  278. package/integration-data/google-slides/credentials_hint.md +9 -0
  279. package/integration-data/google-slides/handlers/append_text_to_title_of_first_slide.js +17 -0
  280. package/integration-data/google-slides/handlers/batch_update.js +15 -0
  281. package/integration-data/google-slides/handlers/create_presentation.js +8 -0
  282. package/integration-data/google-slides/handlers/create_slide_after_first_match.js +20 -0
  283. package/integration-data/google-slides/handlers/get_page_thumbnail.js +12 -0
  284. package/integration-data/google-slides/handlers/get_presentation.js +6 -0
  285. package/integration-data/google-slides/handlers/insert_image_after_first_match.js +19 -0
  286. package/integration-data/google-slides/handlers/insert_shape_after_first_match.js +21 -0
  287. package/integration-data/google-slides/handlers/replace_text_first_match.js +9 -0
  288. package/integration-data/google-slides/handlers/set_background_color_for_slide_index.js +15 -0
  289. package/integration-data/google-slides/handlers/style_text_first_match.js +48 -0
  290. package/integration-data/google-slides/manifest.json +41 -0
  291. package/integration-data/google-slides/schemas/append_text_to_title_of_first_slide.json +11 -0
  292. package/integration-data/google-slides/schemas/batch_update.json +13 -0
  293. package/integration-data/google-slides/schemas/create_presentation.json +8 -0
  294. package/integration-data/google-slides/schemas/create_slide_after_first_match.json +11 -0
  295. package/integration-data/google-slides/schemas/get_page_thumbnail.json +12 -0
  296. package/integration-data/google-slides/schemas/get_presentation.json +9 -0
  297. package/integration-data/google-slides/schemas/insert_image_after_first_match.json +13 -0
  298. package/integration-data/google-slides/schemas/insert_shape_after_first_match.json +13 -0
  299. package/integration-data/google-slides/schemas/replace_text_first_match.json +12 -0
  300. package/integration-data/google-slides/schemas/set_background_color_for_slide_index.json +11 -0
  301. package/integration-data/google-slides/schemas/style_text_first_match.json +12 -0
  302. package/integration-data/new_integration_prompt.md +41 -0
  303. package/integration-data/notion/credentials.json +21 -0
  304. package/integration-data/notion/credentials_hint.md +5 -0
  305. package/integration-data/notion/handlers/append_block_children.js +7 -0
  306. package/integration-data/notion/handlers/create_comment.js +10 -0
  307. package/integration-data/notion/handlers/create_database.js +11 -0
  308. package/integration-data/notion/handlers/create_page.js +13 -0
  309. package/integration-data/notion/handlers/delete_block.js +8 -0
  310. package/integration-data/notion/handlers/get_me.js +4 -0
  311. package/integration-data/notion/handlers/list_block_children.js +10 -0
  312. package/integration-data/notion/handlers/list_comments.js +14 -0
  313. package/integration-data/notion/handlers/list_users.js +10 -0
  314. package/integration-data/notion/handlers/query_database.js +10 -0
  315. package/integration-data/notion/handlers/retrieve_block.js +4 -0
  316. package/integration-data/notion/handlers/retrieve_database.js +4 -0
  317. package/integration-data/notion/handlers/retrieve_page.js +4 -0
  318. package/integration-data/notion/handlers/retrieve_page_property_item.js +10 -0
  319. package/integration-data/notion/handlers/retrieve_user.js +4 -0
  320. package/integration-data/notion/handlers/search.js +11 -0
  321. package/integration-data/notion/handlers/update_block.js +7 -0
  322. package/integration-data/notion/handlers/update_database.js +10 -0
  323. package/integration-data/notion/handlers/update_page_properties.js +10 -0
  324. package/integration-data/notion/manifest.json +139 -0
  325. package/integration-data/notion/prompt.md +26 -0
  326. package/integration-data/notion/schemas/append_block_children.json +10 -0
  327. package/integration-data/notion/schemas/create_comment.json +18 -0
  328. package/integration-data/notion/schemas/create_database.json +18 -0
  329. package/integration-data/notion/schemas/create_page.json +22 -0
  330. package/integration-data/notion/schemas/delete_block.json +9 -0
  331. package/integration-data/notion/schemas/empty.json +6 -0
  332. package/integration-data/notion/schemas/id_block.json +9 -0
  333. package/integration-data/notion/schemas/id_database.json +9 -0
  334. package/integration-data/notion/schemas/id_page.json +9 -0
  335. package/integration-data/notion/schemas/id_user.json +9 -0
  336. package/integration-data/notion/schemas/list_block_children.json +11 -0
  337. package/integration-data/notion/schemas/list_comments.json +15 -0
  338. package/integration-data/notion/schemas/list_users.json +9 -0
  339. package/integration-data/notion/schemas/query_database.json +13 -0
  340. package/integration-data/notion/schemas/retrieve_page_property_item.json +12 -0
  341. package/integration-data/notion/schemas/search.json +27 -0
  342. package/integration-data/notion/schemas/update_block.json +10 -0
  343. package/integration-data/notion/schemas/update_database.json +13 -0
  344. package/integration-data/notion/schemas/update_page_properties.json +13 -0
  345. package/integration-data/trello/credentials.json +26 -0
  346. package/integration-data/trello/credentials_hint.md +4 -0
  347. package/integration-data/trello/handlers/add_checklist_to_card.js +5 -0
  348. package/integration-data/trello/handlers/add_member_to_card.js +5 -0
  349. package/integration-data/trello/handlers/archive_list.js +5 -0
  350. package/integration-data/trello/handlers/create_card.js +13 -0
  351. package/integration-data/trello/handlers/create_list.js +7 -0
  352. package/integration-data/trello/handlers/delete_card.js +9 -0
  353. package/integration-data/trello/handlers/get_board.js +4 -0
  354. package/integration-data/trello/handlers/get_board_cards.js +4 -0
  355. package/integration-data/trello/handlers/get_board_custom_fields.js +4 -0
  356. package/integration-data/trello/handlers/get_board_labels.js +4 -0
  357. package/integration-data/trello/handlers/get_board_lists.js +4 -0
  358. package/integration-data/trello/handlers/get_board_members.js +4 -0
  359. package/integration-data/trello/handlers/get_board_memberships.js +4 -0
  360. package/integration-data/trello/handlers/get_card.js +4 -0
  361. package/integration-data/trello/handlers/get_card_actions.js +4 -0
  362. package/integration-data/trello/handlers/get_card_attachments.js +4 -0
  363. package/integration-data/trello/handlers/get_card_checklists.js +4 -0
  364. package/integration-data/trello/handlers/get_card_custom_field_items.js +4 -0
  365. package/integration-data/trello/handlers/get_card_members.js +4 -0
  366. package/integration-data/trello/handlers/get_list.js +4 -0
  367. package/integration-data/trello/handlers/get_list_cards.js +4 -0
  368. package/integration-data/trello/handlers/get_member.js +4 -0
  369. package/integration-data/trello/handlers/get_member_boards.js +4 -0
  370. package/integration-data/trello/handlers/get_member_organizations.js +4 -0
  371. package/integration-data/trello/handlers/get_organization.js +4 -0
  372. package/integration-data/trello/handlers/get_organization_boards.js +4 -0
  373. package/integration-data/trello/handlers/move_card_to_list.js +5 -0
  374. package/integration-data/trello/handlers/remove_member_from_card.js +9 -0
  375. package/integration-data/trello/handlers/search.js +5 -0
  376. package/integration-data/trello/handlers/update_card.js +19 -0
  377. package/integration-data/trello/handlers/update_list.js +11 -0
  378. package/integration-data/trello/manifest.json +231 -0
  379. package/integration-data/trello/schemas/add_checklist_to_card.json +10 -0
  380. package/integration-data/trello/schemas/add_member_to_card.json +10 -0
  381. package/integration-data/trello/schemas/archive_list.json +9 -0
  382. package/integration-data/trello/schemas/create_card.json +13 -0
  383. package/integration-data/trello/schemas/create_list.json +11 -0
  384. package/integration-data/trello/schemas/delete_card.json +9 -0
  385. package/integration-data/trello/schemas/display_trello_cards.json +45 -0
  386. package/integration-data/trello/schemas/empty.json +5 -0
  387. package/integration-data/trello/schemas/get_member.json +5 -0
  388. package/integration-data/trello/schemas/id_board.json +8 -0
  389. package/integration-data/trello/schemas/id_card.json +8 -0
  390. package/integration-data/trello/schemas/id_list.json +8 -0
  391. package/integration-data/trello/schemas/id_org.json +8 -0
  392. package/integration-data/trello/schemas/move_card_to_list.json +10 -0
  393. package/integration-data/trello/schemas/remove_member_from_card.json +10 -0
  394. package/integration-data/trello/schemas/search.json +8 -0
  395. package/integration-data/trello/schemas/update_card.json +16 -0
  396. package/integration-data/trello/schemas/update_list.json +12 -0
  397. package/package.json +61 -0
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["block_id"],
5
+ "properties": {
6
+ "block_id": { "type": "string" },
7
+ "start_cursor": { "type": "string" },
8
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
9
+ },
10
+ "additionalProperties": false
11
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "block_id": { "type": "string" },
6
+ "discussion_id": { "type": "string" },
7
+ "start_cursor": { "type": "string" },
8
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
9
+ },
10
+ "anyOf": [
11
+ { "required": ["block_id"] },
12
+ { "required": ["discussion_id"] }
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "start_cursor": { "type": "string" },
6
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
7
+ },
8
+ "additionalProperties": false
9
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["database_id"],
5
+ "properties": {
6
+ "database_id": { "type": "string" },
7
+ "filter": { "type": ["object", "null"] },
8
+ "sorts": { "type": ["array", "null"], "items": { "type": "object" } },
9
+ "start_cursor": { "type": "string" },
10
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
11
+ },
12
+ "additionalProperties": false
13
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["page_id", "property_id"],
5
+ "properties": {
6
+ "page_id": { "type": "string" },
7
+ "property_id": { "type": "string" },
8
+ "start_cursor": { "type": "string" },
9
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
10
+ },
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["query"],
5
+ "properties": {
6
+ "query": { "type": "string" },
7
+ "filter": {
8
+ "type": "object",
9
+ "properties": {
10
+ "value": { "type": "string", "enum": ["page", "database"] },
11
+ "property": { "type": "string", "enum": ["object"] }
12
+ },
13
+ "additionalProperties": false
14
+ },
15
+ "sort": {
16
+ "type": "object",
17
+ "properties": {
18
+ "direction": { "type": "string", "enum": ["ascending", "descending"] },
19
+ "timestamp": { "type": "string", "enum": ["last_edited_time"] }
20
+ },
21
+ "additionalProperties": false
22
+ },
23
+ "start_cursor": { "type": "string" },
24
+ "page_size": { "type": "number", "minimum": 1, "maximum": 100 }
25
+ },
26
+ "additionalProperties": false
27
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["block_id", "body"],
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "block_id": { "type": "string" },
8
+ "body": { "type": "object" }
9
+ }
10
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["database_id"],
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "database_id": { "type": "string" },
8
+ "title": { "type": ["array", "null"], "items": { "type": "object" } },
9
+ "description": { "type": ["array", "null"], "items": { "type": "object" } },
10
+ "properties": { "type": ["object", "null"] },
11
+ "archived": { "type": ["boolean", "null"] }
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["page_id", "properties"],
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "page_id": { "type": "string" },
8
+ "properties": { "type": "object" },
9
+ "archived": { "type": ["boolean", "null"] },
10
+ "icon": { "type": ["object", "null"] },
11
+ "cover": { "type": ["object", "null"] }
12
+ }
13
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "schema": {
3
+ "type": "object",
4
+ "properties": {
5
+ "apiKey": {
6
+ "type": "string",
7
+ "title": "API Key",
8
+ "description": "Your Trello API key from https://trello.com/power-ups/admin"
9
+ },
10
+ "apiToken": {
11
+ "type": "string",
12
+ "title": "API Token",
13
+ "description": "Your Trello API token (\"token\" param). Generate one via Trello's authorize flow."
14
+ }
15
+ },
16
+ "required": ["apiKey", "apiToken"],
17
+ "additionalProperties": false
18
+ },
19
+ "injection": {
20
+ "query": {
21
+ "key": "{{apiKey}}",
22
+ "token": "{{apiToken}}"
23
+ }
24
+ }
25
+ }
26
+
@@ -0,0 +1,4 @@
1
+ 1. Go to `https://trello.com/power-ups/admin`
2
+ 2. Create a new app
3
+ 3. Navigate to **API Key** and copy your API key
4
+ 4. Click **Generate a Token** and copy the token value
@@ -0,0 +1,5 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ idCard: input.cardId, name: input.name })
3
+ const res = await integration.fetch(`/checklists?${params.toString()}`, { method: 'POST' })
4
+ return await res.json()
5
+ }
@@ -0,0 +1,5 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ value: input.memberId })
3
+ const res = await integration.fetch(`/cards/${encodeURIComponent(input.cardId)}/idMembers?${params.toString()}`, { method: 'POST' })
4
+ return await res.json()
5
+ }
@@ -0,0 +1,5 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ value: 'true' })
3
+ const res = await integration.fetch(`/lists/${encodeURIComponent(input.listId)}/closed?${params.toString()}`, { method: 'PUT' })
4
+ return await res.json()
5
+ }
@@ -0,0 +1,13 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams()
3
+ params.set('idList', input.idList)
4
+ params.set('name', input.name)
5
+ if (input.desc !== undefined)
6
+ params.set('desc', input.desc)
7
+ if (input.due !== undefined && input.due !== null)
8
+ params.set('due', input.due)
9
+ if (input.pos !== undefined && input.pos !== null)
10
+ params.set('pos', String(input.pos))
11
+ const res = await integration.fetch(`/cards?${params.toString()}`, { method: 'POST' })
12
+ return await res.json()
13
+ }
@@ -0,0 +1,7 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ idBoard: input.idBoard, name: input.name })
3
+ if (input.pos !== undefined && input.pos !== null)
4
+ params.set('pos', String(input.pos))
5
+ const res = await integration.fetch(`/lists?${params.toString()}`, { method: 'POST' })
6
+ return await res.json()
7
+ }
@@ -0,0 +1,9 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${encodeURIComponent(input.cardId)}`, { method: 'DELETE' })
3
+ try {
4
+ return await res.json()
5
+ }
6
+ catch {
7
+ return ''
8
+ }
9
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/cards`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/customFields`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/labels`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/lists`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/members`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/boards/${input.boardId}/memberships`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}/actions`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}/attachments`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}/checklists`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}/customFieldItems`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${input.cardId}/members`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/lists/${input.listId}`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/lists/${input.listId}/cards`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/members/me`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/members/me/boards`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/members/me/organizations`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/organizations/${input.orgId}`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,4 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/organizations/${input.orgId}/boards`)
3
+ return await res.json()
4
+ }
@@ -0,0 +1,5 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ value: input.listId })
3
+ const res = await integration.fetch(`/cards/${encodeURIComponent(input.cardId)}/idList?${params.toString()}`, { method: 'PUT' })
4
+ return await res.json()
5
+ }
@@ -0,0 +1,9 @@
1
+ async (input) => {
2
+ const res = await integration.fetch(`/cards/${encodeURIComponent(input.cardId)}/idMembers/${encodeURIComponent(input.memberId)}`, { method: 'DELETE' })
3
+ try {
4
+ return await res.json()
5
+ }
6
+ catch {
7
+ return ''
8
+ }
9
+ }
@@ -0,0 +1,5 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams({ query: input.query })
3
+ const res = await integration.fetch(`/search?${params.toString()}`)
4
+ return await res.json()
5
+ }
@@ -0,0 +1,19 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams()
3
+ if (input.name !== undefined && input.name !== null)
4
+ params.set('name', input.name)
5
+ if (input.desc !== undefined && input.desc !== null)
6
+ params.set('desc', input.desc)
7
+ if (input.due !== undefined)
8
+ params.set('due', input.due === null ? '' : input.due)
9
+ if (input.dueComplete !== undefined && input.dueComplete !== null)
10
+ params.set('dueComplete', String(input.dueComplete))
11
+ if (input.closed !== undefined && input.closed !== null)
12
+ params.set('closed', String(input.closed))
13
+ if (input.idList !== undefined && input.idList !== null)
14
+ params.set('idList', input.idList)
15
+ if (input.pos !== undefined && input.pos !== null)
16
+ params.set('pos', String(input.pos))
17
+ const res = await integration.fetch(`/cards/${encodeURIComponent(input.cardId)}?${params.toString()}`, { method: 'PUT' })
18
+ return await res.json()
19
+ }
@@ -0,0 +1,11 @@
1
+ async (input) => {
2
+ const params = new URLSearchParams()
3
+ if (input.name !== undefined && input.name !== null)
4
+ params.set('name', input.name)
5
+ if (input.closed !== undefined && input.closed !== null)
6
+ params.set('closed', String(input.closed))
7
+ if (input.pos !== undefined && input.pos !== null)
8
+ params.set('pos', String(input.pos))
9
+ const res = await integration.fetch(`/lists/${encodeURIComponent(input.listId)}?${params.toString()}`, { method: 'PUT' })
10
+ return await res.json()
11
+ }
@@ -0,0 +1,231 @@
1
+ {
2
+ "name": "trello",
3
+ "version": "0.1.0",
4
+ "displayCards": [
5
+ {
6
+ "name": "display_trello_cards",
7
+ "description": "Display one or more Trello cards as rich visual cards in the chat. Use this whenever you have fetched Trello card data and want to present it visually to the user instead of as plain text.",
8
+ "inputSchema": "schemas/display_trello_cards.json",
9
+ "component": "TrelloCard"
10
+ }
11
+ ],
12
+ "tools": [
13
+ {
14
+ "name": "get_member",
15
+ "description": "Fetch the current member profile.",
16
+ "inputSchema": "schemas/get_member.json",
17
+ "handler": "handlers/get_member.js",
18
+ "scope": "read"
19
+ },
20
+ {
21
+ "name": "get_member_boards",
22
+ "description": "List boards for the current member.",
23
+ "inputSchema": "schemas/empty.json",
24
+ "handler": "handlers/get_member_boards.js",
25
+ "scope": "read"
26
+ },
27
+ {
28
+ "name": "get_member_organizations",
29
+ "description": "List organizations (workspaces) for the current member.",
30
+ "inputSchema": "schemas/empty.json",
31
+ "handler": "handlers/get_member_organizations.js",
32
+ "scope": "read"
33
+ },
34
+ {
35
+ "name": "get_board",
36
+ "description": "Fetch a board by id.",
37
+ "inputSchema": "schemas/id_board.json",
38
+ "handler": "handlers/get_board.js",
39
+ "scope": "read"
40
+ },
41
+ {
42
+ "name": "get_board_lists",
43
+ "description": "List lists on a board.",
44
+ "inputSchema": "schemas/id_board.json",
45
+ "handler": "handlers/get_board_lists.js",
46
+ "scope": "read"
47
+ },
48
+ {
49
+ "name": "get_board_cards",
50
+ "description": "List cards on a board.",
51
+ "inputSchema": "schemas/id_board.json",
52
+ "handler": "handlers/get_board_cards.js",
53
+ "scope": "read"
54
+ },
55
+ {
56
+ "name": "get_board_members",
57
+ "description": "List members on a board.",
58
+ "inputSchema": "schemas/id_board.json",
59
+ "handler": "handlers/get_board_members.js",
60
+ "scope": "read"
61
+ },
62
+ {
63
+ "name": "get_board_labels",
64
+ "description": "List labels on a board.",
65
+ "inputSchema": "schemas/id_board.json",
66
+ "handler": "handlers/get_board_labels.js",
67
+ "scope": "read"
68
+ },
69
+ {
70
+ "name": "get_board_custom_fields",
71
+ "description": "List custom fields on a board.",
72
+ "inputSchema": "schemas/id_board.json",
73
+ "handler": "handlers/get_board_custom_fields.js",
74
+ "scope": "read"
75
+ },
76
+ {
77
+ "name": "get_board_memberships",
78
+ "description": "List memberships for a board.",
79
+ "inputSchema": "schemas/id_board.json",
80
+ "handler": "handlers/get_board_memberships.js",
81
+ "scope": "read"
82
+ },
83
+ {
84
+ "name": "get_list",
85
+ "description": "Fetch a list by id.",
86
+ "inputSchema": "schemas/id_list.json",
87
+ "handler": "handlers/get_list.js",
88
+ "scope": "read"
89
+ },
90
+ {
91
+ "name": "get_list_cards",
92
+ "description": "List cards in a list.",
93
+ "inputSchema": "schemas/id_list.json",
94
+ "handler": "handlers/get_list_cards.js",
95
+ "scope": "read"
96
+ },
97
+ {
98
+ "name": "get_card",
99
+ "description": "Fetch a card by id.",
100
+ "inputSchema": "schemas/id_card.json",
101
+ "handler": "handlers/get_card.js",
102
+ "scope": "read"
103
+ },
104
+ {
105
+ "name": "get_card_members",
106
+ "description": "List members assigned to a card.",
107
+ "inputSchema": "schemas/id_card.json",
108
+ "handler": "handlers/get_card_members.js",
109
+ "scope": "read"
110
+ },
111
+ {
112
+ "name": "get_card_attachments",
113
+ "description": "List attachments on a card.",
114
+ "inputSchema": "schemas/id_card.json",
115
+ "handler": "handlers/get_card_attachments.js",
116
+ "scope": "read"
117
+ },
118
+ {
119
+ "name": "get_card_actions",
120
+ "description": "List actions (activity) on a card.",
121
+ "inputSchema": "schemas/id_card.json",
122
+ "handler": "handlers/get_card_actions.js",
123
+ "scope": "read"
124
+ },
125
+ {
126
+ "name": "get_card_checklists",
127
+ "description": "List checklists on a card.",
128
+ "inputSchema": "schemas/id_card.json",
129
+ "handler": "handlers/get_card_checklists.js",
130
+ "scope": "read"
131
+ },
132
+ {
133
+ "name": "get_card_custom_field_items",
134
+ "description": "Get custom field items on a card.",
135
+ "inputSchema": "schemas/id_card.json",
136
+ "handler": "handlers/get_card_custom_field_items.js",
137
+ "scope": "read"
138
+ },
139
+ {
140
+ "name": "get_organization",
141
+ "description": "Fetch an organization (workspace) by id.",
142
+ "inputSchema": "schemas/id_org.json",
143
+ "handler": "handlers/get_organization.js",
144
+ "scope": "read"
145
+ },
146
+ {
147
+ "name": "get_organization_boards",
148
+ "description": "List boards in an organization (workspace).",
149
+ "inputSchema": "schemas/id_org.json",
150
+ "handler": "handlers/get_organization_boards.js",
151
+ "scope": "read"
152
+ },
153
+ {
154
+ "name": "search",
155
+ "description": "Search across boards, cards, and members.",
156
+ "inputSchema": "schemas/search.json",
157
+ "handler": "handlers/search.js",
158
+ "scope": "read"
159
+ },
160
+ {
161
+ "name": "create_card",
162
+ "description": "Create a new card in a list.",
163
+ "inputSchema": "schemas/create_card.json",
164
+ "handler": "handlers/create_card.js",
165
+ "scope": "write"
166
+ },
167
+ {
168
+ "name": "update_card",
169
+ "description": "Update a card's fields (name, desc, due, list, etc).",
170
+ "inputSchema": "schemas/update_card.json",
171
+ "handler": "handlers/update_card.js",
172
+ "scope": "write"
173
+ },
174
+ {
175
+ "name": "delete_card",
176
+ "description": "Delete a card.",
177
+ "inputSchema": "schemas/delete_card.json",
178
+ "handler": "handlers/delete_card.js",
179
+ "scope": "write"
180
+ },
181
+ {
182
+ "name": "move_card_to_list",
183
+ "description": "Move a card to another list.",
184
+ "inputSchema": "schemas/move_card_to_list.json",
185
+ "handler": "handlers/move_card_to_list.js",
186
+ "scope": "write"
187
+ },
188
+ {
189
+ "name": "add_member_to_card",
190
+ "description": "Add a member to a card.",
191
+ "inputSchema": "schemas/add_member_to_card.json",
192
+ "handler": "handlers/add_member_to_card.js",
193
+ "scope": "write"
194
+ },
195
+ {
196
+ "name": "remove_member_from_card",
197
+ "description": "Remove a member from a card.",
198
+ "inputSchema": "schemas/remove_member_from_card.json",
199
+ "handler": "handlers/remove_member_from_card.js",
200
+ "scope": "write"
201
+ },
202
+ {
203
+ "name": "add_checklist_to_card",
204
+ "description": "Create a checklist on a card.",
205
+ "inputSchema": "schemas/add_checklist_to_card.json",
206
+ "handler": "handlers/add_checklist_to_card.js",
207
+ "scope": "write"
208
+ },
209
+ {
210
+ "name": "create_list",
211
+ "description": "Create a new list on a board.",
212
+ "inputSchema": "schemas/create_list.json",
213
+ "handler": "handlers/create_list.js",
214
+ "scope": "write"
215
+ },
216
+ {
217
+ "name": "update_list",
218
+ "description": "Update a list (name, pos, closed).",
219
+ "inputSchema": "schemas/update_list.json",
220
+ "handler": "handlers/update_list.js",
221
+ "scope": "write"
222
+ },
223
+ {
224
+ "name": "archive_list",
225
+ "description": "Archive a list (set closed=true).",
226
+ "inputSchema": "schemas/archive_list.json",
227
+ "handler": "handlers/archive_list.js",
228
+ "scope": "write"
229
+ }
230
+ ]
231
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["cardId", "name"],
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "cardId": { "type": "string" },
8
+ "name": { "type": "string" }
9
+ }
10
+ }