@wirecat/slack-cli 0.0.0-stage → 0.1.0

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 (295) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/LICENSE +204 -0
  3. package/README.md +131 -2
  4. package/contracts/wirecat.json +5526 -0
  5. package/dist/bin/slack.d.ts +3 -0
  6. package/dist/bin/slack.d.ts.map +1 -0
  7. package/dist/bin/slack.js +40 -0
  8. package/dist/bin/slack.js.map +1 -0
  9. package/dist/bundle/agent-GOFXFUQP.js +37 -0
  10. package/dist/bundle/all-profiles-4C7VOT2D.js +320 -0
  11. package/dist/bundle/anthropic-ZD66TC5S.js +91 -0
  12. package/dist/bundle/app-server-QNCVEDMY.js +249 -0
  13. package/dist/bundle/bun-2FULBYXS.js +169 -0
  14. package/dist/bundle/bun-sqlite-PMS26ZUT.js +76 -0
  15. package/dist/bundle/chunk-2LB5BWC4.js +362 -0
  16. package/dist/bundle/chunk-2ZEYRHZV.js +18 -0
  17. package/dist/bundle/chunk-3IJ3THPV.js +7 -0
  18. package/dist/bundle/chunk-4HSVEQ3R.js +29 -0
  19. package/dist/bundle/chunk-4QPMHVM5.js +1007 -0
  20. package/dist/bundle/chunk-53LIHHXC.js +16 -0
  21. package/dist/bundle/chunk-5F36CXDM.js +794 -0
  22. package/dist/bundle/chunk-5LPREGD3.js +12636 -0
  23. package/dist/bundle/chunk-5R5YRYIP.js +1148 -0
  24. package/dist/bundle/chunk-5RSQTG7L.js +388 -0
  25. package/dist/bundle/chunk-5SXZETJF.js +170 -0
  26. package/dist/bundle/chunk-6PDQP5RM.js +50 -0
  27. package/dist/bundle/chunk-75BLNPN3.js +1197 -0
  28. package/dist/bundle/chunk-7BEO72EN.js +131 -0
  29. package/dist/bundle/chunk-7F6RNAIM.js +230 -0
  30. package/dist/bundle/chunk-AG7FP64Z.js +77 -0
  31. package/dist/bundle/chunk-B7ZM3FCB.js +61 -0
  32. package/dist/bundle/chunk-BRXTN5LJ.js +338 -0
  33. package/dist/bundle/chunk-CABZAU37.js +319 -0
  34. package/dist/bundle/chunk-CCOSG3F2.js +24616 -0
  35. package/dist/bundle/chunk-CDTZSFTN.js +58 -0
  36. package/dist/bundle/chunk-CMZBCWND.js +1246 -0
  37. package/dist/bundle/chunk-CRQEEJNF.js +185 -0
  38. package/dist/bundle/chunk-CWYU4R65.js +358 -0
  39. package/dist/bundle/chunk-CZFR6JQX.js +52 -0
  40. package/dist/bundle/chunk-D72URWJE.js +532 -0
  41. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  42. package/dist/bundle/chunk-DVHX7R54.js +4072 -0
  43. package/dist/bundle/chunk-DYKOG7QR.js +9596 -0
  44. package/dist/bundle/chunk-ECDI42G6.js +100 -0
  45. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  46. package/dist/bundle/chunk-ELY2TLCY.js +259 -0
  47. package/dist/bundle/chunk-ERRVUVKR.js +156 -0
  48. package/dist/bundle/chunk-FBWR4E5D.js +353 -0
  49. package/dist/bundle/chunk-GKS6KL57.js +6848 -0
  50. package/dist/bundle/chunk-H2COZZ55.js +2787 -0
  51. package/dist/bundle/chunk-HGXTEK7R.js +82 -0
  52. package/dist/bundle/chunk-HXLXM7HV.js +726 -0
  53. package/dist/bundle/chunk-IPP4N6HD.js +24 -0
  54. package/dist/bundle/chunk-IWTVR7S7.js +53 -0
  55. package/dist/bundle/chunk-IYJH75D4.js +63 -0
  56. package/dist/bundle/chunk-JCZLRT4Z.js +39 -0
  57. package/dist/bundle/chunk-JGRWMR5H.js +123 -0
  58. package/dist/bundle/chunk-JYRYQJBN.js +633 -0
  59. package/dist/bundle/chunk-KIKLDI74.js +161 -0
  60. package/dist/bundle/chunk-L4WO3XH6.js +2020 -0
  61. package/dist/bundle/chunk-LQDNUAK3.js +274 -0
  62. package/dist/bundle/chunk-LV5ONLQH.js +38 -0
  63. package/dist/bundle/chunk-M27Z23OZ.js +23 -0
  64. package/dist/bundle/chunk-M5XTZHXM.js +142 -0
  65. package/dist/bundle/chunk-MJBEGUIZ.js +76 -0
  66. package/dist/bundle/chunk-N4WOLGIV.js +2333 -0
  67. package/dist/bundle/chunk-N5K4OHPT.js +206 -0
  68. package/dist/bundle/chunk-NYAPUET7.js +108 -0
  69. package/dist/bundle/chunk-P4IFLOIK.js +218 -0
  70. package/dist/bundle/chunk-P6G2QTCD.js +288 -0
  71. package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
  72. package/dist/bundle/chunk-PU7R6XNV.js +80 -0
  73. package/dist/bundle/chunk-QLLBACDR.js +72 -0
  74. package/dist/bundle/chunk-QP7XN5KX.js +407 -0
  75. package/dist/bundle/chunk-QY2F6A3D.js +557 -0
  76. package/dist/bundle/chunk-RLIT7VAZ.js +66 -0
  77. package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
  78. package/dist/bundle/chunk-SKGAKI62.js +86 -0
  79. package/dist/bundle/chunk-SQMZP5MA.js +66653 -0
  80. package/dist/bundle/chunk-UB6NTICY.js +95 -0
  81. package/dist/bundle/chunk-UBHQO5HV.js +778 -0
  82. package/dist/bundle/chunk-UM4RKO24.js +106 -0
  83. package/dist/bundle/chunk-VAHFY732.js +1068 -0
  84. package/dist/bundle/chunk-VGDM4C3F.js +188 -0
  85. package/dist/bundle/chunk-VOUAKCPM.js +41181 -0
  86. package/dist/bundle/chunk-WCCFJ4Q6.js +3736 -0
  87. package/dist/bundle/chunk-WV6EXRDV.js +46 -0
  88. package/dist/bundle/chunk-WVAT5TGY.js +334 -0
  89. package/dist/bundle/chunk-WW76JMKE.js +1243 -0
  90. package/dist/bundle/chunk-XXOMUKC6.js +54 -0
  91. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  92. package/dist/bundle/chunk-YDO6RJ2P.js +1337 -0
  93. package/dist/bundle/chunk-ZBCFZCJW.js +388 -0
  94. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  95. package/dist/bundle/command-contract-BWGRUY6L.js +37 -0
  96. package/dist/bundle/command-server-entry-BATOWE3Y.js +166 -0
  97. package/dist/bundle/decode-MZQGYXJH.js +297 -0
  98. package/dist/bundle/definitions-3EONB23J.js +8600 -0
  99. package/dist/bundle/dispatch-NYC4ARWX.js +411 -0
  100. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  101. package/dist/bundle/dist-XZ65GRQ6.js +7577 -0
  102. package/dist/bundle/echarts-7OYGL2GW.js +42501 -0
  103. package/dist/bundle/embed-4I25DVKZ.js +38 -0
  104. package/dist/bundle/embedder-YXKQHAZO.js +111 -0
  105. package/dist/bundle/emoji-4LYX3GOS.js +4271 -0
  106. package/dist/bundle/failure-3YOVYZTX.js +25 -0
  107. package/dist/bundle/first-run-2VL2BOV7.js +29 -0
  108. package/dist/bundle/first-screen-C7FIWZL2.js +37 -0
  109. package/dist/bundle/instructions-UMNDHXG2.js +11 -0
  110. package/dist/bundle/mcp-V27RHILF.js +167 -0
  111. package/dist/bundle/meeting-combined-LS6XO4JH.js +24 -0
  112. package/dist/bundle/meeting-model-VIR465CY.js +25 -0
  113. package/dist/bundle/meeting-semantic-H5J3OOF2.js +22 -0
  114. package/dist/bundle/node-JJ3WDCNJ.js +2340 -0
  115. package/dist/bundle/node-PYFPGL4E.js +176 -0
  116. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  117. package/dist/bundle/node-sqlite-LFWPGDVP.js +74 -0
  118. package/dist/bundle/oauth-42VCSIVL.js +20 -0
  119. package/dist/bundle/open-XJ5R5LHC.js +23 -0
  120. package/dist/bundle/openai-RZBLV4HG.js +238 -0
  121. package/dist/bundle/process-DD6H3K7L.js +91 -0
  122. package/dist/bundle/program-33RT6DER.js +35421 -0
  123. package/dist/bundle/prompt-NQRDM5LY.js +17 -0
  124. package/dist/bundle/recognize-EM7H2IZS.js +26 -0
  125. package/dist/bundle/remote-Z6NU6QQA.js +31 -0
  126. package/dist/bundle/rerank-PNPCSPNF.js +52 -0
  127. package/dist/bundle/schemas-JMKNP4U3.js +2765 -0
  128. package/dist/bundle/serve-SQVGX76J.js +199 -0
  129. package/dist/bundle/server-NPJH45FZ.js +212 -0
  130. package/dist/bundle/server-Z4ZMGRAH.js +79 -0
  131. package/dist/bundle/slack.js +184 -0
  132. package/dist/bundle/sqlite-runtime-F3AJGAPN.js +20 -0
  133. package/dist/bundle/state-JT7ZFSXN.js +36 -0
  134. package/dist/bundle/store-FXGMHRF3.js +181 -0
  135. package/dist/bundle/store-J5ZL2USR.js +295 -0
  136. package/dist/bundle/store-maintenance-command-TIHOIKLZ.js +66 -0
  137. package/dist/bundle/surface-NW6T5OR6.js +65 -0
  138. package/dist/commands/api.d.ts +7 -0
  139. package/dist/commands/api.d.ts.map +1 -0
  140. package/dist/commands/api.js +49 -0
  141. package/dist/commands/api.js.map +1 -0
  142. package/dist/commands/comments.d.ts +3 -0
  143. package/dist/commands/comments.d.ts.map +1 -0
  144. package/dist/commands/comments.js +114 -0
  145. package/dist/commands/comments.js.map +1 -0
  146. package/dist/commands/doctor.d.ts +7 -0
  147. package/dist/commands/doctor.d.ts.map +1 -0
  148. package/dist/commands/doctor.js +53 -0
  149. package/dist/commands/doctor.js.map +1 -0
  150. package/dist/commands/session.d.ts +7 -0
  151. package/dist/commands/session.d.ts.map +1 -0
  152. package/dist/commands/session.js +26 -0
  153. package/dist/commands/session.js.map +1 -0
  154. package/dist/config.d.ts +24 -0
  155. package/dist/config.d.ts.map +1 -0
  156. package/dist/config.js +75 -0
  157. package/dist/config.js.map +1 -0
  158. package/dist/context.d.ts +59 -0
  159. package/dist/context.d.ts.map +1 -0
  160. package/dist/context.js +75 -0
  161. package/dist/context.js.map +1 -0
  162. package/dist/generated/definitions.d.ts +3 -0
  163. package/dist/generated/definitions.d.ts.map +1 -0
  164. package/dist/generated/definitions.js +8596 -0
  165. package/dist/generated/definitions.js.map +1 -0
  166. package/dist/generated/emoji.d.ts +2 -0
  167. package/dist/generated/emoji.d.ts.map +1 -0
  168. package/dist/generated/emoji.js +4265 -0
  169. package/dist/generated/emoji.js.map +1 -0
  170. package/dist/generated/manifest.d.ts +6 -0
  171. package/dist/generated/manifest.d.ts.map +1 -0
  172. package/dist/generated/manifest.js +6139 -0
  173. package/dist/generated/manifest.js.map +1 -0
  174. package/dist/generated/schemas.d.ts +631 -0
  175. package/dist/generated/schemas.d.ts.map +1 -0
  176. package/dist/generated/schemas.js +2426 -0
  177. package/dist/generated/schemas.js.map +1 -0
  178. package/dist/generated/types.d.ts +3220 -0
  179. package/dist/generated/types.d.ts.map +1 -0
  180. package/dist/generated/types.js +5 -0
  181. package/dist/generated/types.js.map +1 -0
  182. package/dist/identity.d.ts +29 -0
  183. package/dist/identity.d.ts.map +1 -0
  184. package/dist/identity.js +32 -0
  185. package/dist/identity.js.map +1 -0
  186. package/dist/index.d.ts +3 -0
  187. package/dist/index.d.ts.map +1 -0
  188. package/dist/index.js +3 -0
  189. package/dist/index.js.map +1 -0
  190. package/dist/messenger.d.ts +12 -0
  191. package/dist/messenger.d.ts.map +1 -0
  192. package/dist/messenger.js +184 -0
  193. package/dist/messenger.js.map +1 -0
  194. package/dist/program.d.ts +6 -0
  195. package/dist/program.d.ts.map +1 -0
  196. package/dist/program.js +116 -0
  197. package/dist/program.js.map +1 -0
  198. package/dist/reasons.d.ts +7 -0
  199. package/dist/reasons.d.ts.map +1 -0
  200. package/dist/reasons.js +20 -0
  201. package/dist/reasons.js.map +1 -0
  202. package/dist/sample/comments.d.ts +61 -0
  203. package/dist/sample/comments.d.ts.map +1 -0
  204. package/dist/sample/comments.js +39 -0
  205. package/dist/sample/comments.js.map +1 -0
  206. package/dist/sample/records.d.ts +16 -0
  207. package/dist/sample/records.d.ts.map +1 -0
  208. package/dist/sample/records.js +22 -0
  209. package/dist/sample/records.js.map +1 -0
  210. package/dist/sample/transport.d.ts +42 -0
  211. package/dist/sample/transport.d.ts.map +1 -0
  212. package/dist/sample/transport.js +153 -0
  213. package/dist/sample/transport.js.map +1 -0
  214. package/dist/setup/flow.d.ts +2 -0
  215. package/dist/setup/flow.d.ts.map +1 -0
  216. package/dist/setup/flow.js +83 -0
  217. package/dist/setup/flow.js.map +1 -0
  218. package/dist/setup/guide.d.ts +6 -0
  219. package/dist/setup/guide.d.ts.map +1 -0
  220. package/dist/setup/guide.js +13 -0
  221. package/dist/setup/guide.js.map +1 -0
  222. package/dist/setup/texts.d.ts +24 -0
  223. package/dist/setup/texts.d.ts.map +1 -0
  224. package/dist/setup/texts.js +24 -0
  225. package/dist/setup/texts.js.map +1 -0
  226. package/dist/slack/adapter.d.ts +36 -0
  227. package/dist/slack/adapter.d.ts.map +1 -0
  228. package/dist/slack/adapter.js +551 -0
  229. package/dist/slack/adapter.js.map +1 -0
  230. package/dist/slack/app-manifest.d.ts +25 -0
  231. package/dist/slack/app-manifest.d.ts.map +1 -0
  232. package/dist/slack/app-manifest.js +51 -0
  233. package/dist/slack/app-manifest.js.map +1 -0
  234. package/dist/slack/client.d.ts +45 -0
  235. package/dist/slack/client.d.ts.map +1 -0
  236. package/dist/slack/client.js +236 -0
  237. package/dist/slack/client.js.map +1 -0
  238. package/dist/slack/map.d.ts +429 -0
  239. package/dist/slack/map.d.ts.map +1 -0
  240. package/dist/slack/map.js +406 -0
  241. package/dist/slack/map.js.map +1 -0
  242. package/dist/slack/mrkdwn.d.ts +9 -0
  243. package/dist/slack/mrkdwn.d.ts.map +1 -0
  244. package/dist/slack/mrkdwn.js +56 -0
  245. package/dist/slack/mrkdwn.js.map +1 -0
  246. package/dist/slack/search.d.ts +24 -0
  247. package/dist/slack/search.d.ts.map +1 -0
  248. package/dist/slack/search.js +99 -0
  249. package/dist/slack/search.js.map +1 -0
  250. package/dist/slack/threads.d.ts +28 -0
  251. package/dist/slack/threads.d.ts.map +1 -0
  252. package/dist/slack/threads.js +56 -0
  253. package/dist/slack/threads.js.map +1 -0
  254. package/dist/slack/tokens.d.ts +17 -0
  255. package/dist/slack/tokens.d.ts.map +1 -0
  256. package/dist/slack/tokens.js +27 -0
  257. package/dist/slack/tokens.js.map +1 -0
  258. package/dist/slack/writes.d.ts +43 -0
  259. package/dist/slack/writes.d.ts.map +1 -0
  260. package/dist/slack/writes.js +277 -0
  261. package/dist/slack/writes.js.map +1 -0
  262. package/dist/version.d.ts +2 -0
  263. package/dist/version.d.ts.map +1 -0
  264. package/dist/version.js +2 -0
  265. package/dist/version.js.map +1 -0
  266. package/dist/wcat.d.ts +3 -0
  267. package/dist/wcat.d.ts.map +1 -0
  268. package/dist/wcat.js +4 -0
  269. package/dist/wcat.js.map +1 -0
  270. package/package.json +89 -4
  271. package/skills/slack-cli/SKILL.md +117 -0
  272. package/skills/slack-cli/references/api/api-admin.md +541 -0
  273. package/skills/slack-cli/references/api/api-api.md +13 -0
  274. package/skills/slack-cli/references/api/api-apps.md +78 -0
  275. package/skills/slack-cli/references/api/api-auth.md +18 -0
  276. package/skills/slack-cli/references/api/api-bots.md +12 -0
  277. package/skills/slack-cli/references/api/api-calls.md +68 -0
  278. package/skills/slack-cli/references/api/api-chat.md +123 -0
  279. package/skills/slack-cli/references/api/api-conversations.md +230 -0
  280. package/skills/slack-cli/references/api/api-dialog.md +13 -0
  281. package/skills/slack-cli/references/api/api-dnd.md +31 -0
  282. package/skills/slack-cli/references/api/api-emoji.md +8 -0
  283. package/skills/slack-cli/references/api/api-files.md +120 -0
  284. package/skills/slack-cli/references/api/api-migration.md +14 -0
  285. package/skills/slack-cli/references/api/api-pins.md +37 -0
  286. package/skills/slack-cli/references/api/api-reactions.md +58 -0
  287. package/skills/slack-cli/references/api/api-reminders.md +51 -0
  288. package/skills/slack-cli/references/api/api-search.md +18 -0
  289. package/skills/slack-cli/references/api/api-stars.md +42 -0
  290. package/skills/slack-cli/references/api/api-team.md +55 -0
  291. package/skills/slack-cli/references/api/api-usergroups.md +80 -0
  292. package/skills/slack-cli/references/api/api-users.md +101 -0
  293. package/skills/slack-cli/references/api/api-views.md +46 -0
  294. package/skills/slack-cli/references/api/api-workflows.md +36 -0
  295. package/skills/slack-cli/references/api.md +35 -0
@@ -0,0 +1,58 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: reactions
4
+
5
+ ## `slk api reactions add [options]`
6
+
7
+ - What: reactions\_add — write (POST /reactions.add)
8
+ - Call: `POST /reactions.add`, effect: write
9
+ - Permission keys: `reactions.add`
10
+ - Body: `ReactionsAddRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api reactions get [options]`
18
+
19
+ - What: reactions\_get — read (GET /reactions.get)
20
+ - Call: `GET /reactions.get`, effect: read
21
+ - Permission keys: `messages.list`
22
+
23
+ | Flag | Required | What |
24
+ |---|---|---|
25
+ | `--channel <value>` | no | Channel where the message to get reactions for was posted. |
26
+ | `--file <value>` | no | File to get reactions for. |
27
+ | `--file-comment <value>` | no | File comment to get reactions for. |
28
+ | `--full <value>` | no | If true always return the complete reaction list. |
29
+ | `--timestamp <value>` | no | Timestamp of the message to get reactions for. |
30
+
31
+ ## `slk api reactions list [options]`
32
+
33
+ - What: reactions\_list — read (GET /reactions.list)
34
+ - Call: `GET /reactions.list`, effect: read
35
+ - Permission keys: `messages.list`
36
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `items`; page size in `limit` (query)
37
+
38
+ | Flag | Required | What |
39
+ |---|---|---|
40
+ | `--user <value>` | no | Show reactions made by this user. Defaults to the authed user. |
41
+ | `--full <value>` | no | If true always return the complete reaction list. |
42
+ | `--count <value>` | no | count |
43
+ | `--page <value>` | no | page |
44
+ | `--cursor <value>` | no | Parameter for pagination. Set \`cursor\` equal to the \`next\_cursor\` attribute returned by the previous request's \`response\_metadata\`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more details. |
45
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. |
46
+ | `--all` | no | read every page, as the API pages it |
47
+
48
+ ## `slk api reactions remove [options]`
49
+
50
+ - What: reactions\_remove — destructive (POST /reactions.remove)
51
+ - Call: `POST /reactions.remove`, effect: destructive
52
+ - Permission keys: `reactions.remove`, `slack.delete`
53
+ - Body: `ReactionsRemoveRequest`
54
+
55
+ | Flag | Required | What |
56
+ |---|---|---|
57
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
58
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,51 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: reminders
4
+
5
+ ## `slk api reminders add [options]`
6
+
7
+ - What: reminders\_add — write (POST /reminders.add)
8
+ - Call: `POST /reminders.add`, effect: write
9
+ - Body: `RemindersAddRequest`
10
+
11
+ | Flag | Required | What |
12
+ |---|---|---|
13
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
14
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
15
+
16
+ ## `slk api reminders complete [options]`
17
+
18
+ - What: reminders\_complete — write (POST /reminders.complete)
19
+ - Call: `POST /reminders.complete`, effect: write
20
+ - Body: `RemindersCompleteRequest`
21
+
22
+ | Flag | Required | What |
23
+ |---|---|---|
24
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
25
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
26
+
27
+ ## `slk api reminders delete [options]`
28
+
29
+ - What: reminders\_delete — destructive (POST /reminders.delete)
30
+ - Call: `POST /reminders.delete`, effect: destructive
31
+ - Permission keys: `slack.delete`
32
+ - Body: `RemindersDeleteRequest`
33
+
34
+ | Flag | Required | What |
35
+ |---|---|---|
36
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
37
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
38
+
39
+ ## `slk api reminders info [options]`
40
+
41
+ - What: reminders\_info — read (GET /reminders.info)
42
+ - Call: `GET /reminders.info`, effect: read
43
+
44
+ | Flag | Required | What |
45
+ |---|---|---|
46
+ | `--reminder <value>` | no | The ID of the reminder |
47
+
48
+ ## `slk api reminders list`
49
+
50
+ - What: reminders\_list — read (GET /reminders.list)
51
+ - Call: `GET /reminders.list`, effect: read
@@ -0,0 +1,18 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: search
4
+
5
+ ## `slk api search-messages [options]`
6
+
7
+ - What: search\_messages — read (GET /search.messages)
8
+ - Call: `GET /search.messages`, effect: read
9
+ - Permission keys: `messages.list`
10
+
11
+ | Flag | Required | What |
12
+ |---|---|---|
13
+ | `--count <value>` | no | Pass the number of results you want per "page". Maximum of \`100\`. |
14
+ | `--highlight <value>` | no | Pass a value of \`true\` to enable query highlight markers (see below). |
15
+ | `--page <value>` | no | page |
16
+ | `--query <value>` | yes | Search query. |
17
+ | `--sort <value>` | no | Return matches sorted by either \`score\` or \`timestamp\`. |
18
+ | `--sort-dir <value>` | no | Change sort direction to ascending (\`asc\`) or descending (\`desc\`). |
@@ -0,0 +1,42 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: stars
4
+
5
+ ## `slk api stars add [options]`
6
+
7
+ - What: stars\_add — write (POST /stars.add)
8
+ - Call: `POST /stars.add`, effect: write
9
+ - Permission keys: `messages.star`
10
+ - Body: `StarsAddRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api stars list [options]`
18
+
19
+ - What: stars\_list — read (GET /stars.list)
20
+ - Call: `GET /stars.list`, effect: read
21
+ - Permission keys: `messages.list`
22
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `items`; page size in `limit` (query)
23
+
24
+ | Flag | Required | What |
25
+ |---|---|---|
26
+ | `--count <value>` | no | count |
27
+ | `--page <value>` | no | page |
28
+ | `--cursor <value>` | no | Parameter for pagination. Set \`cursor\` equal to the \`next\_cursor\` attribute returned by the previous request's \`response\_metadata\`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more details. |
29
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. |
30
+ | `--all` | no | read every page, as the API pages it |
31
+
32
+ ## `slk api stars remove [options]`
33
+
34
+ - What: stars\_remove — destructive (POST /stars.remove)
35
+ - Call: `POST /stars.remove`, effect: destructive
36
+ - Permission keys: `messages.unstar`, `slack.delete`
37
+ - Body: `StarsRemoveRequest`
38
+
39
+ | Flag | Required | What |
40
+ |---|---|---|
41
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
42
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,55 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: team
4
+
5
+ ## `slk api team access-logs [options]`
6
+
7
+ - What: team\_accessLogs — read (GET /team.accessLogs)
8
+ - Call: `GET /team.accessLogs`, effect: read
9
+
10
+ | Flag | Required | What |
11
+ |---|---|---|
12
+ | `--before <value>` | no | End of time range of logs to include in results (inclusive). |
13
+ | `--count <value>` | no | count |
14
+ | `--page <value>` | no | page |
15
+
16
+ ## `slk api team billable-info [options]`
17
+
18
+ - What: team\_billableInfo — read (GET /team.billableInfo)
19
+ - Call: `GET /team.billableInfo`, effect: read
20
+
21
+ | Flag | Required | What |
22
+ |---|---|---|
23
+ | `--user <value>` | no | A user to retrieve the billable information for. Defaults to all users. |
24
+
25
+ ## `slk api team info [options]`
26
+
27
+ - What: team\_info — read (GET /team.info)
28
+ - Call: `GET /team.info`, effect: read
29
+
30
+ | Flag | Required | What |
31
+ |---|---|---|
32
+ | `--team <value>` | no | Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels |
33
+
34
+ ## `slk api team integration-logs [options]`
35
+
36
+ - What: team\_integrationLogs — read (GET /team.integrationLogs)
37
+ - Call: `GET /team.integrationLogs`, effect: read
38
+
39
+ | Flag | Required | What |
40
+ |---|---|---|
41
+ | `--app-id <value>` | no | Filter logs to this Slack app. Defaults to all logs. |
42
+ | `--change-type <value>` | no | Filter logs with this change type. Defaults to all logs. |
43
+ | `--count <value>` | no | count |
44
+ | `--page <value>` | no | page |
45
+ | `--service-id <value>` | no | Filter logs to this service. Defaults to all logs. |
46
+ | `--user <value>` | no | Filter logs generated by this user’s actions. Defaults to all logs. |
47
+
48
+ ## `slk api team profile-get [options]`
49
+
50
+ - What: team\_profile\_get — read (GET /team.profile.get)
51
+ - Call: `GET /team.profile.get`, effect: read
52
+
53
+ | Flag | Required | What |
54
+ |---|---|---|
55
+ | `--visibility <value>` | no | Filter by visibility. |
@@ -0,0 +1,80 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: usergroups
4
+
5
+ ## `slk api usergroups create [options]`
6
+
7
+ - What: usergroups\_create — write (POST /usergroups.create)
8
+ - Call: `POST /usergroups.create`, effect: write
9
+ - Body: `UsergroupsCreateRequest`
10
+
11
+ | Flag | Required | What |
12
+ |---|---|---|
13
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
14
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
15
+
16
+ ## `slk api usergroups disable [options]`
17
+
18
+ - What: usergroups\_disable — destructive (POST /usergroups.disable)
19
+ - Call: `POST /usergroups.disable`, effect: destructive
20
+ - Permission keys: `slack.delete`
21
+ - Body: `UsergroupsDisableRequest`
22
+
23
+ | Flag | Required | What |
24
+ |---|---|---|
25
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
26
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
27
+
28
+ ## `slk api usergroups enable [options]`
29
+
30
+ - What: usergroups\_enable — write (POST /usergroups.enable)
31
+ - Call: `POST /usergroups.enable`, effect: write
32
+ - Body: `UsergroupsEnableRequest`
33
+
34
+ | Flag | Required | What |
35
+ |---|---|---|
36
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
37
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
38
+
39
+ ## `slk api usergroups list [options]`
40
+
41
+ - What: usergroups\_list — read (GET /usergroups.list)
42
+ - Call: `GET /usergroups.list`, effect: read
43
+
44
+ | Flag | Required | What |
45
+ |---|---|---|
46
+ | `--include-users <value>` | no | Include the list of users for each User Group. |
47
+ | `--include-count <value>` | no | Include the number of users in each User Group. |
48
+ | `--include-disabled <value>` | no | Include disabled User Groups. |
49
+
50
+ ## `slk api usergroups update [options]`
51
+
52
+ - What: usergroups\_update — write (POST /usergroups.update)
53
+ - Call: `POST /usergroups.update`, effect: write
54
+ - Body: `UsergroupsUpdateRequest`
55
+
56
+ | Flag | Required | What |
57
+ |---|---|---|
58
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
59
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
60
+
61
+ ## `slk api usergroups users-list [options]`
62
+
63
+ - What: usergroups\_users\_list — read (GET /usergroups.users.list)
64
+ - Call: `GET /usergroups.users.list`, effect: read
65
+
66
+ | Flag | Required | What |
67
+ |---|---|---|
68
+ | `--include-disabled <value>` | no | Allow results that involve disabled User Groups. |
69
+ | `--usergroup <value>` | yes | The encoded ID of the User Group to update. |
70
+
71
+ ## `slk api usergroups users-update [options]`
72
+
73
+ - What: usergroups\_users\_update — write (POST /usergroups.users.update)
74
+ - Call: `POST /usergroups.users.update`, effect: write
75
+ - Body: `UsergroupsUsersUpdateRequest`
76
+
77
+ | Flag | Required | What |
78
+ |---|---|---|
79
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
80
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,101 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: users
4
+
5
+ ## `slk api users conversations [options]`
6
+
7
+ - What: users\_conversations — read (GET /users.conversations)
8
+ - Call: `GET /users.conversations`, effect: read
9
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `channels`; page size in `limit` (query)
10
+
11
+ | Flag | Required | What |
12
+ |---|---|---|
13
+ | `--user <value>` | no | Browse conversations by a specific user ID's membership. Non-public channels are restricted to those where the calling user shares membership. |
14
+ | `--types <value>` | no | Mix and match channel types by providing a comma-separated list of any combination of \`public\_channel\`, \`private\_channel\`, \`mpim\`, \`im\` |
15
+ | `--exclude-archived <value>` | no | Set to \`true\` to exclude archived channels from the list |
16
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. |
17
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
18
+ | `--all` | no | read every page, as the API pages it |
19
+
20
+ ## `slk api users get-presence [options]`
21
+
22
+ - What: users\_getPresence — read (GET /users.getPresence)
23
+ - Call: `GET /users.getPresence`, effect: read
24
+
25
+ | Flag | Required | What |
26
+ |---|---|---|
27
+ | `--user <value>` | no | User to get presence info on. Defaults to the authed user. |
28
+
29
+ ## `slk api users identity`
30
+
31
+ - What: users\_identity — read (GET /users.identity)
32
+ - Call: `GET /users.identity`, effect: read
33
+
34
+ ## `slk api users info [options]`
35
+
36
+ - What: users\_info — read (GET /users.info)
37
+ - Call: `GET /users.info`, effect: read
38
+
39
+ | Flag | Required | What |
40
+ |---|---|---|
41
+ | `--include-locale <value>` | no | Set this to \`true\` to receive the locale for this user. Defaults to \`false\` |
42
+ | `--user <value>` | no | User to get info on |
43
+
44
+ ## `slk api users list [options]`
45
+
46
+ - What: users\_list — read (GET /users.list)
47
+ - Call: `GET /users.list`, effect: read
48
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `members`; page size in `limit` (query)
49
+
50
+ | Flag | Required | What |
51
+ |---|---|---|
52
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. Providing no \`limit\` value will result in Slack attempting to deliver you the entire result set. If the collection is too large you may experience \`limit\_required\` or HTTP 500 errors. |
53
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
54
+ | `--include-locale <value>` | no | Set this to \`true\` to receive the locale for users. Defaults to \`false\` |
55
+ | `--all` | no | read every page, as the API pages it |
56
+
57
+ ## `slk api users lookup-by-email [options]`
58
+
59
+ - What: users\_lookupByEmail — read (GET /users.lookupByEmail)
60
+ - Call: `GET /users.lookupByEmail`, effect: read
61
+
62
+ | Flag | Required | What |
63
+ |---|---|---|
64
+ | `--email <value>` | yes | An email address belonging to a user in the workspace |
65
+
66
+ ## `slk api users profile-get [options]`
67
+
68
+ - What: users\_profile\_get — read (GET /users.profile.get)
69
+ - Call: `GET /users.profile.get`, effect: read
70
+
71
+ | Flag | Required | What |
72
+ |---|---|---|
73
+ | `--include-labels <value>` | no | Include labels for each ID in custom profile fields |
74
+ | `--user <value>` | no | User to retrieve profile info for |
75
+
76
+ ## `slk api users profile-set [options]`
77
+
78
+ - What: users\_profile\_set — write (POST /users.profile.set)
79
+ - Call: `POST /users.profile.set`, effect: write
80
+ - Body: `UsersProfileSetRequest`
81
+
82
+ | Flag | Required | What |
83
+ |---|---|---|
84
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
85
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
86
+
87
+ ## `slk api users set-active`
88
+
89
+ - What: users\_setActive — write (POST /users.setActive)
90
+ - Call: `POST /users.setActive`, effect: write
91
+
92
+ ## `slk api users set-presence [options]`
93
+
94
+ - What: users\_setPresence — write (POST /users.setPresence)
95
+ - Call: `POST /users.setPresence`, effect: write
96
+ - Body: `UsersSetPresenceRequest`
97
+
98
+ | Flag | Required | What |
99
+ |---|---|---|
100
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
101
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,46 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: views
4
+
5
+ ## `slk api views open [options]`
6
+
7
+ - What: views\_open — write (GET /views.open)
8
+ - Call: `GET /views.open`, effect: write
9
+
10
+ | Flag | Required | What |
11
+ |---|---|---|
12
+ | `--trigger-id <value>` | yes | Exchange a trigger to post to the user. |
13
+ | `--view <value>` | yes | A \[view payload\](https://api.slack.com/reference/surfaces/views). This must be a JSON-encoded string. |
14
+
15
+ ## `slk api views publish [options]`
16
+
17
+ - What: views\_publish — write (GET /views.publish)
18
+ - Call: `GET /views.publish`, effect: write
19
+
20
+ | Flag | Required | What |
21
+ |---|---|---|
22
+ | `--user-id <value>` | yes | \`id\` of the user you want publish a view to. |
23
+ | `--view <value>` | yes | A \[view payload\](https://api.slack.com/reference/surfaces/views). This must be a JSON-encoded string. |
24
+ | `--hash <value>` | no | A string that represents view state to protect against possible race conditions. |
25
+
26
+ ## `slk api views push [options]`
27
+
28
+ - What: views\_push — write (GET /views.push)
29
+ - Call: `GET /views.push`, effect: write
30
+
31
+ | Flag | Required | What |
32
+ |---|---|---|
33
+ | `--trigger-id <value>` | yes | Exchange a trigger to post to the user. |
34
+ | `--view <value>` | yes | A \[view payload\](https://api.slack.com/reference/surfaces/views). This must be a JSON-encoded string. |
35
+
36
+ ## `slk api views update [options]`
37
+
38
+ - What: views\_update — write (GET /views.update)
39
+ - Call: `GET /views.update`, effect: write
40
+
41
+ | Flag | Required | What |
42
+ |---|---|---|
43
+ | `--view-id <value>` | no | A unique identifier of the view to be updated. Either \`view\_id\` or \`external\_id\` is required. |
44
+ | `--external-id <value>` | no | A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either \`view\_id\` or \`external\_id\` is required. |
45
+ | `--view <value>` | no | A \[view object\](https://api.slack.com/reference/surfaces/views). This must be a JSON-encoded string. |
46
+ | `--hash <value>` | no | A string that represents view state to protect against possible race conditions. |
@@ -0,0 +1,36 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: workflows
4
+
5
+ ## `slk api workflows step-completed [options]`
6
+
7
+ - What: workflows\_stepCompleted — write (GET /workflows.stepCompleted)
8
+ - Call: `GET /workflows.stepCompleted`, effect: write
9
+
10
+ | Flag | Required | What |
11
+ |---|---|---|
12
+ | `--workflow-step-execute-id <value>` | yes | Context identifier that maps to the correct workflow step execution. |
13
+ | `--outputs <value>` | no | Key-value object of outputs from your step. Keys of this object reflect the configured \`key\` properties of your \[\`outputs\`\](https://api.slack.com/reference/workflows/workflow\_step#output) array from your \`workflow\_step\` object. |
14
+
15
+ ## `slk api workflows step-failed [options]`
16
+
17
+ - What: workflows\_stepFailed — write (GET /workflows.stepFailed)
18
+ - Call: `GET /workflows.stepFailed`, effect: write
19
+
20
+ | Flag | Required | What |
21
+ |---|---|---|
22
+ | `--workflow-step-execute-id <value>` | yes | Context identifier that maps to the correct workflow step execution. |
23
+ | `--error <value>` | yes | A JSON-based object with a \`message\` property that should contain a human readable error message. |
24
+
25
+ ## `slk api workflows update-step [options]`
26
+
27
+ - What: workflows\_updateStep — write (GET /workflows.updateStep)
28
+ - Call: `GET /workflows.updateStep`, effect: write
29
+
30
+ | Flag | Required | What |
31
+ |---|---|---|
32
+ | `--workflow-step-edit-id <value>` | yes | A context identifier provided with \`view\_submission\` payloads used to call back to \`workflows.updateStep\`. |
33
+ | `--inputs <value>` | no | A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. \*\*Please note\*\*: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. \[Read more about variables in workflow steps here\](https://api.slack.com/workflows/steps#variables). |
34
+ | `--outputs <value>` | no | An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed. |
35
+ | `--step-name <value>` | no | An optional field that can be used to override the step name that is shown in the Workflow Builder. |
36
+ | `--step-image-url <value>` | no | An optional field that can be used to override app image that is shown in the Workflow Builder. |
@@ -0,0 +1,35 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API
4
+
5
+ Every operation of the Slack API this CLI offers is a command of its own. Read only the group
6
+ you need: `slk skill show api-<group>` prints it, as does the file `api/api-<group>.md` beside
7
+ this one. Each command lists its usage and flags as `--help` prints them.
8
+
9
+ Effects: `read` changes nothing; `write` changes the service; `destructive` deletes or overwrites there.
10
+
11
+ | Group | Read with | Commands | read | write | destructive |
12
+ |---|---|---|---|---|---|
13
+ | admin | `slk skill show api-admin` | 48 | 18 | 24 | 6 |
14
+ | api | `slk skill show api-api` | 1 | 1 | 0 | 0 |
15
+ | apps | `slk skill show api-apps` | 8 | 5 | 2 | 1 |
16
+ | auth | `slk skill show api-auth` | 2 | 1 | 0 | 1 |
17
+ | bots | `slk skill show api-bots` | 1 | 1 | 0 | 0 |
18
+ | calls | `slk skill show api-calls` | 6 | 1 | 4 | 1 |
19
+ | chat | `slk skill show api-chat` | 10 | 2 | 6 | 2 |
20
+ | conversations | `slk skill show api-conversations` | 18 | 5 | 10 | 3 |
21
+ | dialog | `slk skill show api-dialog` | 1 | 0 | 1 | 0 |
22
+ | dnd | `slk skill show api-dnd` | 4 | 2 | 2 | 0 |
23
+ | emoji | `slk skill show api-emoji` | 1 | 1 | 0 | 0 |
24
+ | files | `slk skill show api-files` | 9 | 4 | 2 | 3 |
25
+ | migration | `slk skill show api-migration` | 1 | 1 | 0 | 0 |
26
+ | pins | `slk skill show api-pins` | 3 | 1 | 1 | 1 |
27
+ | reactions | `slk skill show api-reactions` | 4 | 2 | 1 | 1 |
28
+ | reminders | `slk skill show api-reminders` | 5 | 2 | 2 | 1 |
29
+ | search | `slk skill show api-search` | 1 | 1 | 0 | 0 |
30
+ | stars | `slk skill show api-stars` | 3 | 1 | 1 | 1 |
31
+ | team | `slk skill show api-team` | 5 | 5 | 0 | 0 |
32
+ | usergroups | `slk skill show api-usergroups` | 7 | 2 | 4 | 1 |
33
+ | users | `slk skill show api-users` | 10 | 7 | 3 | 0 |
34
+ | views | `slk skill show api-views` | 4 | 0 | 4 | 0 |
35
+ | workflows | `slk skill show api-workflows` | 3 | 0 | 3 | 0 |