@kosuke-ai/kosuke 1.0.0 → 1.0.2

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 (355) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +198 -1
  3. package/dist/agent/http.js +18 -0
  4. package/dist/agent/summary.js +419 -0
  5. package/dist/commands/agent.js +22 -0
  6. package/dist/commands/auth.js +117 -0
  7. package/dist/commands/integrations.js +310 -0
  8. package/dist/commands/skill-runs.js +230 -0
  9. package/dist/commands/watch.js +167 -0
  10. package/dist/generated/commands/activity/list.js +73 -0
  11. package/dist/generated/commands/crons/artifacts-list.js +57 -0
  12. package/dist/generated/commands/crons/create.js +65 -0
  13. package/dist/generated/commands/crons/delete.js +18 -0
  14. package/dist/generated/commands/crons/get.js +19 -0
  15. package/dist/generated/commands/crons/list.js +54 -0
  16. package/dist/generated/commands/crons/projects-resume.js +21 -0
  17. package/dist/generated/commands/crons/run.js +37 -0
  18. package/dist/generated/commands/crons/runs-artifacts-get.js +23 -0
  19. package/dist/generated/commands/crons/runs-artifacts-list.js +22 -0
  20. package/dist/generated/commands/crons/runs-cancel.js +21 -0
  21. package/dist/generated/commands/crons/runs-diagnostics.js +23 -0
  22. package/dist/generated/commands/crons/runs-get.js +21 -0
  23. package/dist/generated/commands/crons/runs-list.js +58 -0
  24. package/dist/generated/commands/crons/runs-messages.js +21 -0
  25. package/dist/generated/commands/crons/update.js +73 -0
  26. package/dist/generated/commands/deploy/cancel.js +18 -0
  27. package/dist/generated/commands/deploy/list.js +33 -0
  28. package/dist/generated/commands/deploy/message.js +32 -0
  29. package/dist/generated/commands/deploy/messages.js +18 -0
  30. package/dist/generated/commands/deploy/queue-delete.js +19 -0
  31. package/dist/generated/commands/deploy/queue-list.js +19 -0
  32. package/dist/generated/commands/deploy/queue-move.js +31 -0
  33. package/dist/generated/commands/deploy/queue-resume.js +19 -0
  34. package/dist/generated/commands/deploy/queue-send.js +20 -0
  35. package/dist/generated/commands/deploy/queue-steer.js +20 -0
  36. package/dist/generated/commands/deploy/queue-update.js +56 -0
  37. package/dist/generated/commands/deploy/run.js +65 -0
  38. package/dist/generated/commands/deploy/set-model.js +28 -0
  39. package/dist/generated/commands/devices/list.js +18 -0
  40. package/dist/generated/commands/devices/request.js +31 -0
  41. package/dist/generated/commands/files/delete.js +18 -0
  42. package/dist/generated/commands/files/get.js +19 -0
  43. package/dist/generated/commands/files/list.js +25 -0
  44. package/dist/generated/commands/files/mkdir.js +28 -0
  45. package/dist/generated/commands/files/move.js +35 -0
  46. package/dist/generated/commands/files/put.js +92 -0
  47. package/dist/generated/commands/github/repositories.js +16 -0
  48. package/dist/generated/commands/github/status.js +16 -0
  49. package/dist/generated/commands/index.js +656 -0
  50. package/dist/generated/commands/integrations/execute.js +49 -0
  51. package/dist/generated/commands/integrations/tools.js +70 -0
  52. package/dist/generated/commands/mac/apps.js +30 -0
  53. package/dist/generated/commands/mac/ax-tree.js +65 -0
  54. package/dist/generated/commands/mac/browser-connection-check.js +69 -0
  55. package/dist/generated/commands/mac/browser-connections.js +30 -0
  56. package/dist/generated/commands/mac/browser-profiles.js +36 -0
  57. package/dist/generated/commands/mac/browser-sign-in.js +79 -0
  58. package/dist/generated/commands/mac/browser.js +44 -0
  59. package/dist/generated/commands/mac/click.js +72 -0
  60. package/dist/generated/commands/mac/file-delete.js +37 -0
  61. package/dist/generated/commands/mac/file-list.js +37 -0
  62. package/dist/generated/commands/mac/file-move.js +44 -0
  63. package/dist/generated/commands/mac/file-read.js +37 -0
  64. package/dist/generated/commands/mac/file-write.js +50 -0
  65. package/dist/generated/commands/mac/key.js +58 -0
  66. package/dist/generated/commands/mac/open.js +43 -0
  67. package/dist/generated/commands/mac/screenshot.js +51 -0
  68. package/dist/generated/commands/mac/scroll.js +70 -0
  69. package/dist/generated/commands/mac/shell.js +51 -0
  70. package/dist/generated/commands/mac/tools.js +18 -0
  71. package/dist/generated/commands/mac/type.js +64 -0
  72. package/dist/generated/commands/mac/windows.js +30 -0
  73. package/dist/generated/commands/members/list.js +24 -0
  74. package/dist/generated/commands/models/list.js +16 -0
  75. package/dist/generated/commands/personal-tasks/create.js +72 -0
  76. package/dist/generated/commands/personal-tasks/delete.js +17 -0
  77. package/dist/generated/commands/personal-tasks/get.js +20 -0
  78. package/dist/generated/commands/personal-tasks/list.js +71 -0
  79. package/dist/generated/commands/personal-tasks/move.js +31 -0
  80. package/dist/generated/commands/personal-tasks/start.js +69 -0
  81. package/dist/generated/commands/personal-tasks/update.js +81 -0
  82. package/dist/generated/commands/preview/get.js +26 -0
  83. package/dist/generated/commands/preview/health.js +26 -0
  84. package/dist/generated/commands/preview/reset.js +28 -0
  85. package/dist/generated/commands/preview/share-create.js +37 -0
  86. package/dist/generated/commands/preview/share-delete.js +26 -0
  87. package/dist/generated/commands/preview/share-get.js +27 -0
  88. package/dist/generated/commands/preview/shared-artifact.js +19 -0
  89. package/dist/generated/commands/preview/shared.js +17 -0
  90. package/dist/generated/commands/projects/backlog-items-create.js +35 -0
  91. package/dist/generated/commands/projects/backlog-items-delete.js +19 -0
  92. package/dist/generated/commands/projects/backlog-items-list.js +19 -0
  93. package/dist/generated/commands/projects/backlog-items-send.js +20 -0
  94. package/dist/generated/commands/projects/backlog-items-update.js +42 -0
  95. package/dist/generated/commands/projects/batch-merging-add-member.js +30 -0
  96. package/dist/generated/commands/projects/batch-merging-eject.js +37 -0
  97. package/dist/generated/commands/projects/batch-merging-finish.js +30 -0
  98. package/dist/generated/commands/projects/batch-merging-get.js +19 -0
  99. package/dist/generated/commands/projects/batch-merging-set.js +32 -0
  100. package/dist/generated/commands/projects/branches.js +31 -0
  101. package/dist/generated/commands/projects/create.js +72 -0
  102. package/dist/generated/commands/projects/delete.js +17 -0
  103. package/dist/generated/commands/projects/env-vars-add.js +22 -0
  104. package/dist/generated/commands/projects/env-vars-remove.js +21 -0
  105. package/dist/generated/commands/projects/get.js +18 -0
  106. package/dist/generated/commands/projects/labels-color.js +37 -0
  107. package/dist/generated/commands/projects/labels-delete.js +50 -0
  108. package/dist/generated/commands/projects/labels-usage.js +27 -0
  109. package/dist/generated/commands/projects/labels.js +18 -0
  110. package/dist/generated/commands/projects/list.js +16 -0
  111. package/dist/generated/commands/projects/live-logs.js +34 -0
  112. package/dist/generated/commands/projects/live-query.js +30 -0
  113. package/dist/generated/commands/projects/live-traffic.js +27 -0
  114. package/dist/generated/commands/projects/live-write-status.js +20 -0
  115. package/dist/generated/commands/projects/live-write.js +37 -0
  116. package/dist/generated/commands/projects/qa-guide-get.js +19 -0
  117. package/dist/generated/commands/projects/qa-guide-set.js +40 -0
  118. package/dist/generated/commands/projects/releases.js +18 -0
  119. package/dist/generated/commands/projects/services-add.js +88 -0
  120. package/dist/generated/commands/projects/services-list.js +19 -0
  121. package/dist/generated/commands/projects/services-remove.js +19 -0
  122. package/dist/generated/commands/projects/services-update.js +82 -0
  123. package/dist/generated/commands/projects/settings-get.js +19 -0
  124. package/dist/generated/commands/projects/settings-import.js +99 -0
  125. package/dist/generated/commands/projects/settings-update.js +85 -0
  126. package/dist/generated/commands/projects/skills.js +39 -0
  127. package/dist/generated/commands/projects/switch-workflow.js +34 -0
  128. package/dist/generated/commands/projects/update.js +28 -0
  129. package/dist/generated/commands/projects/versions.js +18 -0
  130. package/dist/generated/commands/sensei/cards-close.js +43 -0
  131. package/dist/generated/commands/sensei/cards-mark-read.js +30 -0
  132. package/dist/generated/commands/sensei/cards-put.js +152 -0
  133. package/dist/generated/commands/sensei/cards-send-reply.js +30 -0
  134. package/dist/generated/commands/sensei/cards.js +38 -0
  135. package/dist/generated/commands/sensei/chat.js +23 -0
  136. package/dist/generated/commands/sensei/connect.js +57 -0
  137. package/dist/generated/commands/sensei/delegates-get.js +21 -0
  138. package/dist/generated/commands/sensei/delegates-note.js +46 -0
  139. package/dist/generated/commands/sensei/delegates-start.js +51 -0
  140. package/dist/generated/commands/sensei/delegates-stop.js +21 -0
  141. package/dist/generated/commands/sensei/describe.js +36 -0
  142. package/dist/generated/commands/sensei/device-requests-decide.js +48 -0
  143. package/dist/generated/commands/sensei/device-requests-list.js +27 -0
  144. package/dist/generated/commands/sensei/memory-get.js +19 -0
  145. package/dist/generated/commands/sensei/memory-put.js +55 -0
  146. package/dist/generated/commands/sensei/merge-rule.js +36 -0
  147. package/dist/generated/commands/sensei/merge.js +36 -0
  148. package/dist/generated/commands/sensei/messages-reply.js +44 -0
  149. package/dist/generated/commands/sensei/messages-reroute.js +37 -0
  150. package/dist/generated/commands/sensei/messages-send.js +98 -0
  151. package/dist/generated/commands/sensei/notifications-open.js +19 -0
  152. package/dist/generated/commands/sensei/reels-activity.js +16 -0
  153. package/dist/generated/commands/sensei/reels-proposals.js +24 -0
  154. package/dist/generated/commands/sensei/reels-ranks.js +16 -0
  155. package/dist/generated/commands/sensei/reels-skips.js +32 -0
  156. package/dist/generated/commands/sensei/repository.js +36 -0
  157. package/dist/generated/commands/sensei/review-approve.js +37 -0
  158. package/dist/generated/commands/sensei/review-ask.js +44 -0
  159. package/dist/generated/commands/sensei/review-context.js +32 -0
  160. package/dist/generated/commands/sensei/sessions-assess.js +71 -0
  161. package/dist/generated/commands/sensei/sessions-facts.js +26 -0
  162. package/dist/generated/commands/sensei/suggest.js +36 -0
  163. package/dist/generated/commands/sensei/thread-done.js +21 -0
  164. package/dist/generated/commands/sensei/thread-move.js +30 -0
  165. package/dist/generated/commands/sensei/thread-read.js +41 -0
  166. package/dist/generated/commands/sensei/thread-split.js +30 -0
  167. package/dist/generated/commands/sensei/threads.js +47 -0
  168. package/dist/generated/commands/sensei/tickets-merge.js +51 -0
  169. package/dist/generated/commands/sensei/widgets.js +15 -0
  170. package/dist/generated/commands/sessions/activate.js +33 -0
  171. package/dist/generated/commands/sessions/all.js +142 -0
  172. package/dist/generated/commands/sessions/app-stack-start.js +20 -0
  173. package/dist/generated/commands/sessions/artifacts-attach.js +31 -0
  174. package/dist/generated/commands/sessions/artifacts-get.js +21 -0
  175. package/dist/generated/commands/sessions/artifacts-list.js +20 -0
  176. package/dist/generated/commands/sessions/create.js +234 -0
  177. package/dist/generated/commands/sessions/delete.js +21 -0
  178. package/dist/generated/commands/sessions/desktop-control.js +35 -0
  179. package/dist/generated/commands/sessions/desktop-start.js +19 -0
  180. package/dist/generated/commands/sessions/desktop.js +19 -0
  181. package/dist/generated/commands/sessions/diff-comments-add.js +65 -0
  182. package/dist/generated/commands/sessions/diff-comments-delete.js +21 -0
  183. package/dist/generated/commands/sessions/diff-comments-list.js +21 -0
  184. package/dist/generated/commands/sessions/diff-comments-update.js +25 -0
  185. package/dist/generated/commands/sessions/diff-commits.js +20 -0
  186. package/dist/generated/commands/sessions/diff-files.js +20 -0
  187. package/dist/generated/commands/sessions/diff-patch.js +87 -0
  188. package/dist/generated/commands/sessions/edit-prompt.js +81 -0
  189. package/dist/generated/commands/sessions/files-get.js +28 -0
  190. package/dist/generated/commands/sessions/files-list.js +20 -0
  191. package/dist/generated/commands/sessions/files-write.js +42 -0
  192. package/dist/generated/commands/sessions/get.js +19 -0
  193. package/dist/generated/commands/sessions/git-commit-message.js +20 -0
  194. package/dist/generated/commands/sessions/git-commit.js +30 -0
  195. package/dist/generated/commands/sessions/git-push.js +20 -0
  196. package/dist/generated/commands/sessions/git-state.js +20 -0
  197. package/dist/generated/commands/sessions/go-ahead-clear.js +22 -0
  198. package/dist/generated/commands/sessions/go-ahead-set.js +40 -0
  199. package/dist/generated/commands/sessions/jobs-cancel.js +21 -0
  200. package/dist/generated/commands/sessions/jobs-get.js +21 -0
  201. package/dist/generated/commands/sessions/jobs-list.js +35 -0
  202. package/dist/generated/commands/sessions/labels-edit.js +45 -0
  203. package/dist/generated/commands/sessions/labels-set.js +45 -0
  204. package/dist/generated/commands/sessions/list.js +130 -0
  205. package/dist/generated/commands/sessions/mark-read.js +19 -0
  206. package/dist/generated/commands/sessions/message.js +33 -0
  207. package/dist/generated/commands/sessions/messages.js +41 -0
  208. package/dist/generated/commands/sessions/needs-you.js +16 -0
  209. package/dist/generated/commands/sessions/qa-clear.js +22 -0
  210. package/dist/generated/commands/sessions/qa-set.js +33 -0
  211. package/dist/generated/commands/sessions/queue-delete.js +23 -0
  212. package/dist/generated/commands/sessions/queue-list.js +20 -0
  213. package/dist/generated/commands/sessions/queue-move.js +32 -0
  214. package/dist/generated/commands/sessions/queue-resume.js +20 -0
  215. package/dist/generated/commands/sessions/queue-send.js +21 -0
  216. package/dist/generated/commands/sessions/queue-steer.js +21 -0
  217. package/dist/generated/commands/sessions/queue-update.js +57 -0
  218. package/dist/generated/commands/sessions/runtime-command.js +39 -0
  219. package/dist/generated/commands/sessions/search.js +24 -0
  220. package/dist/generated/commands/sessions/send.js +138 -0
  221. package/dist/generated/commands/sessions/steer.js +36 -0
  222. package/dist/generated/commands/sessions/sync.js +37 -0
  223. package/dist/generated/commands/sessions/title-generate.js +29 -0
  224. package/dist/generated/commands/sessions/update.js +118 -0
  225. package/dist/generated/commands/tasks/all.js +112 -0
  226. package/dist/generated/commands/tasks/create.js +230 -0
  227. package/dist/generated/commands/tasks/delete.js +18 -0
  228. package/dist/generated/commands/tasks/get.js +19 -0
  229. package/dist/generated/commands/tasks/labels.js +18 -0
  230. package/dist/generated/commands/tasks/list.js +114 -0
  231. package/dist/generated/commands/tasks/start.js +68 -0
  232. package/dist/generated/commands/tasks/update.js +136 -0
  233. package/dist/generated/commands/user/auth-token-revoke.js +16 -0
  234. package/dist/generated/commands/user/crons-artifacts-list.js +59 -0
  235. package/dist/generated/commands/user/crons-create.js +65 -0
  236. package/dist/generated/commands/user/crons-get.js +21 -0
  237. package/dist/generated/commands/user/crons-list.js +41 -0
  238. package/dist/generated/commands/user/crons-run.js +21 -0
  239. package/dist/generated/commands/user/crons-runs-artifacts-get.js +25 -0
  240. package/dist/generated/commands/user/crons-runs-artifacts-list.js +24 -0
  241. package/dist/generated/commands/user/crons-runs-get.js +23 -0
  242. package/dist/generated/commands/user/crons-runs-list.js +52 -0
  243. package/dist/generated/commands/user/crons-update.js +73 -0
  244. package/dist/generated/commands/user/files-delete.js +18 -0
  245. package/dist/generated/commands/user/files-get.js +19 -0
  246. package/dist/generated/commands/user/files-list.js +24 -0
  247. package/dist/generated/commands/user/files-mkdir.js +27 -0
  248. package/dist/generated/commands/user/files-move.js +35 -0
  249. package/dist/generated/commands/user/files-put.js +91 -0
  250. package/dist/generated/commands/user/integrations-linkedin-connect.js +35 -0
  251. package/dist/generated/commands/user/integrations-linkedin-list.js +17 -0
  252. package/dist/generated/commands/user/integrations-linkedin-reconnect.js +19 -0
  253. package/dist/generated/commands/user/integrations-list.js +16 -0
  254. package/dist/generated/commands/user/integrations-remove.js +19 -0
  255. package/dist/generated/commands/user/integrations-x-connect.js +35 -0
  256. package/dist/generated/commands/user/integrations-x-list.js +17 -0
  257. package/dist/generated/commands/user/integrations-x-reconnect.js +19 -0
  258. package/dist/generated/commands/user/memory-list.js +16 -0
  259. package/dist/generated/commands/user/memory-put.js +36 -0
  260. package/dist/generated/commands/user/plugins-list.js +28 -0
  261. package/dist/generated/commands/user/plugins-update.js +29 -0
  262. package/dist/generated/commands/user/profile.js +16 -0
  263. package/dist/generated/commands/user/push-devices-register.js +76 -0
  264. package/dist/generated/commands/user/push-devices-remove.js +26 -0
  265. package/dist/generated/commands/user/skills-create.js +33 -0
  266. package/dist/generated/commands/user/skills-delete.js +18 -0
  267. package/dist/generated/commands/user/skills-get.js +19 -0
  268. package/dist/generated/commands/user/skills-list.js +17 -0
  269. package/dist/generated/commands/user/skills-update.js +35 -0
  270. package/dist/generated/commands/user/subscriptions-delete.js +18 -0
  271. package/dist/generated/commands/user/subscriptions-get.js +17 -0
  272. package/dist/generated/commands/user/subscriptions-grok-change.js +20 -0
  273. package/dist/generated/commands/user/subscriptions-grok-get.js +18 -0
  274. package/dist/generated/commands/user/subscriptions-login-antigravity-cancel.js +34 -0
  275. package/dist/generated/commands/user/subscriptions-login-antigravity-complete.js +40 -0
  276. package/dist/generated/commands/user/subscriptions-login-antigravity-start.js +28 -0
  277. package/dist/generated/commands/user/subscriptions-login-claude-complete.js +34 -0
  278. package/dist/generated/commands/user/subscriptions-login-claude-start.js +29 -0
  279. package/dist/generated/commands/user/subscriptions-login-codex-complete.js +28 -0
  280. package/dist/generated/commands/user/subscriptions-login-codex-start.js +29 -0
  281. package/dist/generated/commands/user/subscriptions-login-muse-complete.js +28 -0
  282. package/dist/generated/commands/user/subscriptions-login-muse-start.js +29 -0
  283. package/dist/generated/commands/user/subscriptions-logins-delete.js +20 -0
  284. package/dist/generated/commands/user/subscriptions-logins-recheck.js +19 -0
  285. package/dist/generated/commands/user/subscriptions-set-default-model.js +33 -0
  286. package/dist/generated/commands/user/subscriptions-set-key.js +35 -0
  287. package/dist/generated/commands/user/subscriptions-token-usage.js +17 -0
  288. package/dist/generated/commands/user/subscriptions-usage.js +52 -0
  289. package/dist/generated/commands/workspaces/access-status.js +30 -0
  290. package/dist/generated/commands/workspaces/ai-provider-get.js +19 -0
  291. package/dist/generated/commands/workspaces/ai-provider-google-delete-method.js +33 -0
  292. package/dist/generated/commands/workspaces/ai-provider-google-get.js +20 -0
  293. package/dist/generated/commands/workspaces/ai-provider-google-remove.js +19 -0
  294. package/dist/generated/commands/workspaces/ai-provider-google-save.js +38 -0
  295. package/dist/generated/commands/workspaces/ai-provider-google-select-method.js +39 -0
  296. package/dist/generated/commands/workspaces/ai-provider-google-usage.js +39 -0
  297. package/dist/generated/commands/workspaces/ai-provider-login-antigravity-cancel.js +36 -0
  298. package/dist/generated/commands/workspaces/ai-provider-login-antigravity-complete.js +42 -0
  299. package/dist/generated/commands/workspaces/ai-provider-login-antigravity-start.js +30 -0
  300. package/dist/generated/commands/workspaces/ai-provider-logins-recheck.js +41 -0
  301. package/dist/generated/commands/workspaces/ai-provider-remove.js +57 -0
  302. package/dist/generated/commands/workspaces/ai-provider-set.js +21 -0
  303. package/dist/generated/commands/workspaces/ai-provider-token-usage.js +19 -0
  304. package/dist/generated/commands/workspaces/ai-provider-usage-claude.js +39 -0
  305. package/dist/generated/commands/workspaces/ai-provider-usage-codex.js +39 -0
  306. package/dist/generated/commands/workspaces/ai-provider-usage-coding-plan.js +32 -0
  307. package/dist/generated/commands/workspaces/ai-provider-usage-deepseek.js +32 -0
  308. package/dist/generated/commands/workspaces/ai-provider-usage-grok.js +39 -0
  309. package/dist/generated/commands/workspaces/ai-provider-usage-kimi-code.js +32 -0
  310. package/dist/generated/commands/workspaces/ai-provider-usage-muse.js +39 -0
  311. package/dist/generated/commands/workspaces/artifacts.js +26 -0
  312. package/dist/generated/commands/workspaces/credits.js +18 -0
  313. package/dist/generated/commands/workspaces/get.js +18 -0
  314. package/dist/generated/commands/workspaces/grok-change.js +21 -0
  315. package/dist/generated/commands/workspaces/grok-get.js +19 -0
  316. package/dist/generated/commands/workspaces/integrations-get.js +20 -0
  317. package/dist/generated/commands/workspaces/integrations-list.js +37 -0
  318. package/dist/generated/commands/workspaces/integrations-remove.js +19 -0
  319. package/dist/generated/commands/workspaces/list.js +16 -0
  320. package/dist/generated/commands/workspaces/members.js +26 -0
  321. package/dist/generated/commands/workspaces/plugins-list.js +30 -0
  322. package/dist/generated/commands/workspaces/plugins-update.js +30 -0
  323. package/dist/generated/commands/workspaces/provider-login-claude-complete.js +35 -0
  324. package/dist/generated/commands/workspaces/provider-login-claude-start.js +30 -0
  325. package/dist/generated/commands/workspaces/provider-login-codex-complete.js +29 -0
  326. package/dist/generated/commands/workspaces/provider-login-codex-start.js +30 -0
  327. package/dist/generated/commands/workspaces/provider-login-muse-complete.js +29 -0
  328. package/dist/generated/commands/workspaces/provider-login-muse-start.js +30 -0
  329. package/dist/generated/commands/workspaces/sandbox-limit.js +18 -0
  330. package/dist/generated/commands/workspaces/skills-create.js +35 -0
  331. package/dist/generated/commands/workspaces/skills-delete.js +19 -0
  332. package/dist/generated/commands/workspaces/skills-get.js +20 -0
  333. package/dist/generated/commands/workspaces/skills-list.js +19 -0
  334. package/dist/generated/commands/workspaces/skills-update.js +36 -0
  335. package/dist/generated/commands/workspaces/stop-sandboxes.js +28 -0
  336. package/dist/generated/commands/workspaces/timezone-set.js +29 -0
  337. package/dist/generated/commands/workspaces/usage.js +33 -0
  338. package/dist/generated/providers.js +31 -0
  339. package/dist/index.js +7 -0
  340. package/dist/integrations/api.js +136 -0
  341. package/dist/integrations/render.js +59 -0
  342. package/dist/program.js +73 -0
  343. package/dist/runtime/agent-tokens.js +39 -0
  344. package/dist/runtime/attach.js +199 -0
  345. package/dist/runtime/attachments.js +63 -0
  346. package/dist/runtime/client.js +188 -0
  347. package/dist/runtime/config.js +49 -0
  348. package/dist/runtime/credentials.js +32 -0
  349. package/dist/runtime/descriptor.js +7 -0
  350. package/dist/runtime/invoke.js +152 -0
  351. package/dist/runtime/job-watch.js +374 -0
  352. package/dist/runtime/runtime.js +46 -0
  353. package/dist/runtime/version.js +5 -0
  354. package/openapi.json +26313 -0
  355. package/package.json +46 -4
@@ -0,0 +1,19 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/files/{fileId}",
4
+ "command": [
5
+ "user",
6
+ "files",
7
+ "get"
8
+ ],
9
+ "summary": "Get an item of your personal Files. Text up to 1 MiB includes body; other files include downloadUrl and expiresAt. url always opens the item in your Files.",
10
+ "pathParams": [
11
+ "fileId"
12
+ ],
13
+ "query": [],
14
+ "body": null,
15
+ "multipart": null,
16
+ "attachments": false,
17
+ "anonymous": false,
18
+ "agents": "all"
19
+ };
@@ -0,0 +1,24 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/files",
4
+ "command": [
5
+ "user",
6
+ "files",
7
+ "list"
8
+ ],
9
+ "summary": "List a folder of your personal Files by id or path, with its breadcrumb and items, folders first. Omit folder for the root. Personal Files belong to you and no workspace, and only you see them; an agent reads those of the member it acts as.",
10
+ "pathParams": [],
11
+ "query": [
12
+ {
13
+ "name": "folder",
14
+ "flag": "folder",
15
+ "kind": "string",
16
+ "required": false
17
+ }
18
+ ],
19
+ "body": null,
20
+ "multipart": null,
21
+ "attachments": false,
22
+ "anonymous": false,
23
+ "agents": "all"
24
+ };
@@ -0,0 +1,27 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/files/folders",
4
+ "command": [
5
+ "user",
6
+ "files",
7
+ "mkdir"
8
+ ],
9
+ "summary": "Create a folder in your personal Files, with its missing parents. An existing folder is returned unchanged; a file with the same name is refused.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "path",
16
+ "flag": "path",
17
+ "kind": "string",
18
+ "required": true
19
+ }
20
+ ],
21
+ "required": true
22
+ },
23
+ "multipart": null,
24
+ "attachments": false,
25
+ "anonymous": false,
26
+ "agents": "all"
27
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "patch",
3
+ "path": "/api/user/files/{fileId}",
4
+ "command": [
5
+ "user",
6
+ "files",
7
+ "move"
8
+ ],
9
+ "summary": "Rename an item of your personal Files with name, move it with parentId (null for the root), or both. Name clashes and moving a folder into its descendants are refused.",
10
+ "pathParams": [
11
+ "fileId"
12
+ ],
13
+ "query": [],
14
+ "body": {
15
+ "fields": [
16
+ {
17
+ "name": "name",
18
+ "flag": "name",
19
+ "kind": "string",
20
+ "required": false
21
+ },
22
+ {
23
+ "name": "parentId",
24
+ "flag": "parent-id",
25
+ "kind": "string",
26
+ "required": false
27
+ }
28
+ ],
29
+ "required": true
30
+ },
31
+ "multipart": null,
32
+ "attachments": false,
33
+ "anonymous": false,
34
+ "agents": "all"
35
+ };
@@ -0,0 +1,91 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/files",
4
+ "command": [
5
+ "user",
6
+ "files",
7
+ "put"
8
+ ],
9
+ "summary": "Put a file in your personal Files by path, creating parent folders and replacing an existing file. Send text or exactly one attachment, at most 25 MiB. ifVersion refuses a stale replace. Alternatively provide name and parentId (null for the root).",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "path",
16
+ "flag": "path",
17
+ "kind": "string",
18
+ "required": false
19
+ },
20
+ {
21
+ "name": "parentId",
22
+ "flag": "parent-id",
23
+ "kind": "string",
24
+ "required": false
25
+ },
26
+ {
27
+ "name": "name",
28
+ "flag": "name",
29
+ "kind": "string",
30
+ "required": false
31
+ },
32
+ {
33
+ "name": "text",
34
+ "flag": "text",
35
+ "kind": "string",
36
+ "required": false
37
+ },
38
+ {
39
+ "name": "mediaType",
40
+ "flag": "media-type",
41
+ "kind": "string",
42
+ "required": false
43
+ },
44
+ {
45
+ "name": "ifVersion",
46
+ "flag": "if-version",
47
+ "kind": "integer",
48
+ "required": false
49
+ }
50
+ ],
51
+ "required": true
52
+ },
53
+ "multipart": [
54
+ {
55
+ "name": "path",
56
+ "flag": "path",
57
+ "kind": "string",
58
+ "required": false
59
+ },
60
+ {
61
+ "name": "parentId",
62
+ "flag": "parent-id",
63
+ "kind": "string",
64
+ "required": false
65
+ },
66
+ {
67
+ "name": "name",
68
+ "flag": "name",
69
+ "kind": "string",
70
+ "required": false
71
+ },
72
+ {
73
+ "name": "mediaType",
74
+ "flag": "media-type",
75
+ "kind": "string",
76
+ "required": false
77
+ },
78
+ {
79
+ "name": "ifVersion",
80
+ "flag": "if-version",
81
+ "kind": "string",
82
+ "required": false
83
+ }
84
+ ],
85
+ "attachments": {
86
+ "maxFiles": 10,
87
+ "maxBytes": 26214400
88
+ },
89
+ "anonymous": false,
90
+ "agents": "all"
91
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/integrations/linkedin/connections",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "linkedin",
8
+ "connect"
9
+ ],
10
+ "summary": "Connect LinkedIn in one allowed Chrome profile of one of your online Macs: creates the connection waiting for Sensei and sends Sensei the request as you, in a new Sensei thread, whose ID it answers. 404 MAC_NOT_FOUND or PROFILE_NOT_FOUND, 409 MAC_OFFLINE, PROFILE_OFF, or ALREADY_CONNECTED with details.connectionId.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": true,
20
+ "description": "The Mac's device ID, as Settings → Devices lists it."
21
+ },
22
+ {
23
+ "name": "profileId",
24
+ "flag": "profile-id",
25
+ "kind": "string",
26
+ "required": true,
27
+ "description": "The Chrome profile's ID on that Mac, such as Profile 6. It must be allowed."
28
+ }
29
+ ],
30
+ "required": true
31
+ },
32
+ "multipart": null,
33
+ "attachments": false,
34
+ "anonymous": false
35
+ };
@@ -0,0 +1,17 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/integrations/linkedin/connections",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "linkedin",
8
+ "list"
9
+ ],
10
+ "summary": "List your LinkedIn browser connections, oldest first: each is one LinkedIn account Sensei may act as in its browser, in one Chrome profile of one of your Macs, with what Sensei's last check saw. account is null while it waits for Sensei to read it on the page; device.removed is true once that Mac was removed.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": null,
14
+ "multipart": null,
15
+ "attachments": false,
16
+ "anonymous": false
17
+ };
@@ -0,0 +1,19 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/integrations/linkedin/connections/{connectionId}/reconnect",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "linkedin",
8
+ "reconnect"
9
+ ],
10
+ "summary": "Start the LinkedIn connection flow again for the same account, Mac and Chrome profile, in a new Sensei thread, whose ID it answers. The account stays: to use another one, remove the connection and connect again. 409 MAC_REMOVED when its Mac was removed.",
11
+ "pathParams": [
12
+ "connectionId"
13
+ ],
14
+ "query": [],
15
+ "body": null,
16
+ "multipart": null,
17
+ "attachments": false,
18
+ "anonymous": false
19
+ };
@@ -0,0 +1,16 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/integrations",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "list"
8
+ ],
9
+ "summary": "List personal integrations, including unavailable entries marked availability: restricted with no held connections, such as Gmail or Notion, with your own connections to each: label, status and whether a Reconnect is needed. They belong to you and follow you into every workspace you belong to. Never a credential or a connected-account identifier, and only a signed-in member or their own API key can read them: an agent token, a workspace admin and every other member cannot.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": null,
13
+ "multipart": null,
14
+ "attachments": false,
15
+ "anonymous": false
16
+ };
@@ -0,0 +1,19 @@
1
+ export const operation = {
2
+ "method": "delete",
3
+ "path": "/api/user/integrations/{toolkit}/connections/{connectionId}",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "remove"
8
+ ],
9
+ "summary": "Disconnect one of your own integration connections by toolkit slug and connection id, such as gmail and the id `user integrations list` returns: agents lose it at once, then Kosuke deletes the stored authorization, retrying in the background if needed. Revoking the authorization at the toolkit itself is not part of this. A connection that is not yours, or is already gone, answers 404.",
10
+ "pathParams": [
11
+ "toolkit",
12
+ "connectionId"
13
+ ],
14
+ "query": [],
15
+ "body": null,
16
+ "multipart": null,
17
+ "attachments": false,
18
+ "anonymous": false
19
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/integrations/x/connections",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "x",
8
+ "connect"
9
+ ],
10
+ "summary": "Connect X in one allowed Chrome profile of one of your online Macs: creates the connection waiting for Sensei and sends Sensei the request as you, in a new Sensei thread, whose ID it answers. 404 MAC_NOT_FOUND or PROFILE_NOT_FOUND, 409 MAC_OFFLINE, PROFILE_OFF, or ALREADY_CONNECTED with details.connectionId.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": true,
20
+ "description": "The Mac's device ID, as Settings → Devices lists it."
21
+ },
22
+ {
23
+ "name": "profileId",
24
+ "flag": "profile-id",
25
+ "kind": "string",
26
+ "required": true,
27
+ "description": "The Chrome profile's ID on that Mac, such as Profile 6. It must be allowed."
28
+ }
29
+ ],
30
+ "required": true
31
+ },
32
+ "multipart": null,
33
+ "attachments": false,
34
+ "anonymous": false
35
+ };
@@ -0,0 +1,17 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/integrations/x/connections",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "x",
8
+ "list"
9
+ ],
10
+ "summary": "List your X browser connections, oldest first: each is one X account Sensei may act as in its browser, in one Chrome profile of one of your Macs, with what Sensei's last check saw. account is null while it waits for Sensei to read it on the page; device.removed is true once that Mac was removed.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": null,
14
+ "multipart": null,
15
+ "attachments": false,
16
+ "anonymous": false
17
+ };
@@ -0,0 +1,19 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/integrations/x/connections/{connectionId}/reconnect",
4
+ "command": [
5
+ "user",
6
+ "integrations",
7
+ "x",
8
+ "reconnect"
9
+ ],
10
+ "summary": "Start the X connection flow again for the same account, Mac and Chrome profile, in a new Sensei thread, whose ID it answers. The account stays: to use another one, remove the connection and connect again. 409 MAC_REMOVED when its Mac was removed.",
11
+ "pathParams": [
12
+ "connectionId"
13
+ ],
14
+ "query": [],
15
+ "body": null,
16
+ "multipart": null,
17
+ "attachments": false,
18
+ "anonymous": false
19
+ };
@@ -0,0 +1,16 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/memory",
4
+ "command": [
5
+ "user",
6
+ "memory",
7
+ "list"
8
+ ],
9
+ "summary": "Read your private Memory files.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": null,
13
+ "multipart": null,
14
+ "attachments": false,
15
+ "anonymous": false
16
+ };
@@ -0,0 +1,36 @@
1
+ export const operation = {
2
+ "method": "put",
3
+ "path": "/api/user/memory/{file}",
4
+ "command": [
5
+ "user",
6
+ "memory",
7
+ "put"
8
+ ],
9
+ "summary": "Save a private Memory file at the revision you read.",
10
+ "pathParams": [
11
+ "file"
12
+ ],
13
+ "query": [],
14
+ "body": {
15
+ "fields": [
16
+ {
17
+ "name": "content",
18
+ "flag": "content",
19
+ "kind": "string",
20
+ "required": true,
21
+ "description": "The whole file, as Markdown."
22
+ },
23
+ {
24
+ "name": "ifRevision",
25
+ "flag": "if-revision",
26
+ "kind": "integer",
27
+ "required": true,
28
+ "description": "The revision you read the file at; 0 for a file never saved."
29
+ }
30
+ ],
31
+ "required": true
32
+ },
33
+ "multipart": null,
34
+ "attachments": false,
35
+ "anonymous": false
36
+ };
@@ -0,0 +1,28 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/plugins",
4
+ "command": [
5
+ "user",
6
+ "plugins",
7
+ "list"
8
+ ],
9
+ "summary": "List the plugins the Official Marketplaces offer, or one Provider's with provider=anthropic or provider=openai, with whether you have each on as a personal plugin, the last failed install in the chat sessions you are the assignee of, and the workspaces of yours that already have it on. Plugins that carry MCP servers or ChatGPT apps are not offered. Personal plugins follow you into every workspace you belong to, alongside its workspace plugins. From an agent token, those of the member it acts as, with only this workspace and, for a sandbox or a Cron Run, this project's sessions. From a Cron Run with no member behind it, none.",
10
+ "pathParams": [],
11
+ "query": [
12
+ {
13
+ "name": "provider",
14
+ "flag": "provider",
15
+ "kind": "string",
16
+ "required": false,
17
+ "choices": [
18
+ "anthropic",
19
+ "openai"
20
+ ]
21
+ }
22
+ ],
23
+ "body": null,
24
+ "multipart": null,
25
+ "attachments": false,
26
+ "anonymous": false,
27
+ "agents": "all"
28
+ };
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "patch",
3
+ "path": "/api/user/plugins/{pluginId}",
4
+ "command": [
5
+ "user",
6
+ "plugins",
7
+ "update"
8
+ ],
9
+ "summary": "Turn one of your personal plugins on or off by its plugin@marketplace id, as the list returns it, in every workspace at once. Chat sessions you are the assignee of install or remove it at their next turn. Answers 204.",
10
+ "pathParams": [
11
+ "pluginId"
12
+ ],
13
+ "query": [],
14
+ "body": {
15
+ "fields": [
16
+ {
17
+ "name": "enabled",
18
+ "flag": "enabled",
19
+ "kind": "boolean",
20
+ "required": true
21
+ }
22
+ ],
23
+ "required": true
24
+ },
25
+ "multipart": null,
26
+ "attachments": false,
27
+ "anonymous": false,
28
+ "agents": "all"
29
+ };
@@ -0,0 +1,16 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/user/profile",
4
+ "command": [
5
+ "user",
6
+ "profile"
7
+ ],
8
+ "summary": "Read your account: id, email, name, onboarding state, default model, auto-commit setting and Reply Style.",
9
+ "pathParams": [],
10
+ "query": [],
11
+ "body": null,
12
+ "multipart": null,
13
+ "attachments": false,
14
+ "anonymous": false,
15
+ "agents": "all"
16
+ };
@@ -0,0 +1,76 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/push/devices",
4
+ "command": [
5
+ "user",
6
+ "push-devices",
7
+ "register"
8
+ ],
9
+ "summary": "Register an iPhone or Apple Watch for push notifications with its hex APNs device token, the app bundle id it was issued to and its APNs environment. A token already registered moves to you. The Watch also sends its installationId and a generation it raises on every registration; one older than the registration already held for that installation answers 409. Both apps send their appVersion, which decides the notification categories they are sent. Called by the Kosuke iOS and Watch apps; answers 204.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "token",
16
+ "flag": "token",
17
+ "kind": "string",
18
+ "required": true
19
+ },
20
+ {
21
+ "name": "senseiAttemptId",
22
+ "flag": "sensei-attempt-id",
23
+ "kind": "string",
24
+ "required": false
25
+ },
26
+ {
27
+ "name": "platform",
28
+ "flag": "platform",
29
+ "kind": "string",
30
+ "required": true,
31
+ "choices": [
32
+ "ios",
33
+ "watchos"
34
+ ]
35
+ },
36
+ {
37
+ "name": "bundleId",
38
+ "flag": "bundle-id",
39
+ "kind": "string",
40
+ "required": true
41
+ },
42
+ {
43
+ "name": "environment",
44
+ "flag": "environment",
45
+ "kind": "string",
46
+ "required": true,
47
+ "choices": [
48
+ "production",
49
+ "sandbox"
50
+ ]
51
+ },
52
+ {
53
+ "name": "installationId",
54
+ "flag": "installation-id",
55
+ "kind": "string",
56
+ "required": false
57
+ },
58
+ {
59
+ "name": "generation",
60
+ "flag": "generation",
61
+ "kind": "integer",
62
+ "required": false
63
+ },
64
+ {
65
+ "name": "appVersion",
66
+ "flag": "app-version",
67
+ "kind": "string",
68
+ "required": false
69
+ }
70
+ ],
71
+ "required": true
72
+ },
73
+ "multipart": null,
74
+ "attachments": false,
75
+ "anonymous": false
76
+ };
@@ -0,0 +1,26 @@
1
+ export const operation = {
2
+ "method": "delete",
3
+ "path": "/api/push/devices",
4
+ "command": [
5
+ "user",
6
+ "push-devices",
7
+ "remove"
8
+ ],
9
+ "summary": "Stop push notifications to one of your devices, by its APNs device token. A token that is not yours, or not registered, is left alone; answers 204 either way.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "token",
16
+ "flag": "token",
17
+ "kind": "string",
18
+ "required": true
19
+ }
20
+ ],
21
+ "required": true
22
+ },
23
+ "multipart": null,
24
+ "attachments": false,
25
+ "anonymous": false
26
+ };
@@ -0,0 +1,33 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/user/skills",
4
+ "command": [
5
+ "user",
6
+ "skills",
7
+ "create"
8
+ ],
9
+ "summary": "Add a personal skill from its files. A SKILL.md is required; its frontmatter carries the kebab-case name, the description and an optional argument-hint. Text files only, 100 KiB each, 50 files and 1 MiB in all. Names are unique among your own personal skills. Answers 201 with the id of the new skill.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "files",
16
+ "flag": "files",
17
+ "kind": "json",
18
+ "required": true
19
+ },
20
+ {
21
+ "name": "enabled",
22
+ "flag": "enabled",
23
+ "kind": "boolean",
24
+ "required": false
25
+ }
26
+ ],
27
+ "required": true
28
+ },
29
+ "multipart": null,
30
+ "attachments": false,
31
+ "anonymous": false,
32
+ "agents": "all"
33
+ };