@kosuke-ai/kosuke 1.0.7 → 1.0.9

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 (270) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +11 -11
  3. package/dist/agent/summary.js +2 -2
  4. package/dist/commands/agent.js +4 -3
  5. package/dist/commands/auth.js +6 -7
  6. package/dist/commands/hand-written.js +93 -0
  7. package/dist/commands/integrations.js +9 -12
  8. package/dist/commands/skill-runs.js +15 -12
  9. package/dist/commands/watch.js +5 -5
  10. package/dist/generated/commands/{user/crons-artifacts-list.js → crons/artifacts-list--personal.js} +3 -1
  11. package/dist/generated/commands/{user/crons-create.js → crons/create--personal.js} +4 -2
  12. package/dist/generated/commands/crons/create.js +3 -3
  13. package/dist/generated/commands/{user/crons-get.js → crons/get--personal.js} +3 -1
  14. package/dist/generated/commands/{user/crons-list.js → crons/list--personal.js} +3 -1
  15. package/dist/generated/commands/{user/crons-run.js → crons/run--personal.js} +3 -1
  16. package/dist/generated/commands/{user/crons-runs-artifacts-get.js → crons/runs-artifacts-get--personal.js} +3 -1
  17. package/dist/generated/commands/{user/crons-runs-artifacts-list.js → crons/runs-artifacts-list--personal.js} +3 -1
  18. package/dist/generated/commands/{user/crons-runs-get.js → crons/runs-get--personal.js} +3 -1
  19. package/dist/generated/commands/{user/crons-runs-list.js → crons/runs-list--personal.js} +3 -1
  20. package/dist/generated/commands/crons/{runs-messages.js → runs-messages-list.js} +2 -1
  21. package/dist/generated/commands/{user/crons-update.js → crons/update--personal.js} +4 -2
  22. package/dist/generated/commands/crons/update.js +2 -2
  23. package/dist/generated/commands/{deploy → deploys}/cancel.js +1 -1
  24. package/dist/generated/commands/{deploy → deploys}/list.js +1 -1
  25. package/dist/generated/commands/{deploy/message.js → deploys/messages-get.js} +4 -3
  26. package/dist/generated/commands/{deploy/messages.js → deploys/messages-list.js} +4 -3
  27. package/dist/generated/commands/{deploy/set-model.js → deploys/model-set.js} +3 -2
  28. package/dist/generated/commands/{deploy → deploys}/queue-delete.js +1 -1
  29. package/dist/generated/commands/{deploy → deploys}/queue-list.js +1 -1
  30. package/dist/generated/commands/{deploy → deploys}/queue-move.js +1 -1
  31. package/dist/generated/commands/{deploy → deploys}/queue-resume.js +1 -1
  32. package/dist/generated/commands/{deploy → deploys}/queue-send.js +1 -1
  33. package/dist/generated/commands/{deploy → deploys}/queue-steer.js +1 -1
  34. package/dist/generated/commands/{deploy → deploys}/queue-update.js +1 -1
  35. package/dist/generated/commands/{deploy/run.js → deploys/start.js} +2 -2
  36. package/dist/generated/commands/devices/list.js +1 -1
  37. package/dist/generated/commands/devices/{request.js → requests-create.js} +2 -1
  38. package/dist/generated/commands/{user/files-delete.js → files/delete--personal.js} +3 -1
  39. package/dist/generated/commands/{user/files-mkdir.js → files/folders-create--personal.js} +5 -2
  40. package/dist/generated/commands/files/{mkdir.js → folders-create.js} +2 -1
  41. package/dist/generated/commands/{user/files-get.js → files/get--personal.js} +3 -1
  42. package/dist/generated/commands/{user/files-list.js → files/list--personal.js} +3 -1
  43. package/dist/generated/commands/{user/files-move.js → files/move--personal.js} +3 -1
  44. package/dist/generated/commands/{user/files-put.js → files/set--personal.js} +4 -2
  45. package/dist/generated/commands/files/{put.js → set.js} +1 -1
  46. package/dist/generated/commands/github/{status.js → connection-get.js} +2 -1
  47. package/dist/generated/commands/github/{repositories.js → repositories-list.js} +2 -1
  48. package/dist/generated/commands/index.js +330 -324
  49. package/dist/generated/commands/{user/integrations-linkedin-connect.js → integrations/browser-connections-create--personal-network-linkedin.js} +9 -3
  50. package/dist/generated/commands/{user/integrations-x-connect.js → integrations/browser-connections-create--personal-network-x.js} +9 -3
  51. package/dist/generated/commands/{user/integrations-linkedin-list.js → integrations/browser-connections-list--personal-network-linkedin.js} +8 -2
  52. package/dist/generated/commands/{user/integrations-x-list.js → integrations/browser-connections-list--personal-network-x.js} +8 -2
  53. package/dist/generated/commands/{user/integrations-linkedin-reconnect.js → integrations/browser-connections-reconnect--personal-network-linkedin.js} +8 -2
  54. package/dist/generated/commands/{user/integrations-x-reconnect.js → integrations/browser-connections-reconnect--personal-network-x.js} +8 -2
  55. package/dist/generated/commands/{user/integrations-remove.js → integrations/connections-delete--personal.js} +6 -3
  56. package/dist/generated/commands/{workspaces/integrations-remove.js → integrations/connections-delete.js} +2 -2
  57. package/dist/generated/commands/{workspaces/integrations-get.js → integrations/connections-get.js} +1 -1
  58. package/dist/generated/commands/{user/integrations-list.js → integrations/connections-list--personal.js} +4 -1
  59. package/dist/generated/commands/{workspaces/integrations-list.js → integrations/connections-list.js} +1 -1
  60. package/dist/generated/commands/integrations/{execute.js → tools-call.js} +3 -1
  61. package/dist/generated/commands/integrations/{tools.js → tools-list.js} +3 -1
  62. package/dist/generated/commands/mac/{apps.js → apps-list.js} +2 -1
  63. package/dist/generated/commands/mac/{ax-tree.js → ax-tree-get.js} +3 -2
  64. package/dist/generated/commands/mac/{browser-connections.js → browser-connections-list.js} +3 -1
  65. package/dist/generated/commands/mac/{browser-connection-check.js → browser-connections-update.js} +6 -4
  66. package/dist/generated/commands/mac/{browser-sign-in.js → browser-login.js} +2 -1
  67. package/dist/generated/commands/mac/{browser-profiles.js → browser-profiles-list.js} +3 -1
  68. package/dist/generated/commands/mac/{browser.js → browser-run.js} +2 -1
  69. package/dist/generated/commands/mac/click.js +2 -2
  70. package/dist/generated/commands/mac/{file-delete.js → files-delete.js} +2 -1
  71. package/dist/generated/commands/mac/{file-read.js → files-get.js} +2 -1
  72. package/dist/generated/commands/mac/{file-list.js → files-list.js} +2 -1
  73. package/dist/generated/commands/mac/{file-move.js → files-move.js} +2 -1
  74. package/dist/generated/commands/mac/{file-write.js → files-set.js} +2 -1
  75. package/dist/generated/commands/mac/key.js +1 -1
  76. package/dist/generated/commands/mac/{screenshot.js → screenshots-create.js} +3 -2
  77. package/dist/generated/commands/mac/scroll.js +2 -2
  78. package/dist/generated/commands/mac/{tools.js → status-get.js} +2 -1
  79. package/dist/generated/commands/mac/type.js +2 -2
  80. package/dist/generated/commands/mac/{windows.js → windows-list.js} +2 -1
  81. package/dist/generated/commands/{user/plugins-list.js → plugins/list--personal.js} +3 -1
  82. package/dist/generated/commands/{workspaces/plugins-list.js → plugins/list.js} +0 -1
  83. package/dist/generated/commands/{user/plugins-update.js → plugins/update--personal.js} +3 -1
  84. package/dist/generated/commands/{workspaces/plugins-update.js → plugins/update.js} +0 -1
  85. package/dist/generated/commands/preview/{health.js → health-get.js} +2 -1
  86. package/dist/generated/commands/preview/{shared-artifact.js → shared-artifacts-get.js} +2 -1
  87. package/dist/generated/commands/preview/{shared.js → shared-get.js} +2 -1
  88. package/dist/generated/commands/projects/{batch-merging-add-member.js → batch-merging-members-create.js} +2 -1
  89. package/dist/generated/commands/projects/{batch-merging-eject.js → batch-merging-members-delete.js} +2 -1
  90. package/dist/generated/commands/projects/{branches.js → branches-list.js} +2 -1
  91. package/dist/generated/commands/projects/{env-vars-add.js → env-vars-create.js} +1 -1
  92. package/dist/generated/commands/projects/{env-vars-remove.js → env-vars-delete.js} +1 -1
  93. package/dist/generated/commands/projects/{labels.js → labels-list.js} +2 -1
  94. package/dist/generated/commands/projects/{labels-usage.js → labels-sessions-list.js} +2 -1
  95. package/dist/generated/commands/projects/{labels-color.js → labels-update.js} +1 -1
  96. package/dist/generated/commands/projects/{live-logs.js → live-logs-list.js} +2 -1
  97. package/dist/generated/commands/projects/{live-query.js → live-queries-run.js} +2 -1
  98. package/dist/generated/commands/projects/{live-traffic.js → live-traffic-get.js} +2 -1
  99. package/dist/generated/commands/projects/{live-write.js → live-writes-create.js} +2 -1
  100. package/dist/generated/commands/projects/{live-write-status.js → live-writes-get.js} +2 -1
  101. package/dist/generated/commands/projects/{releases.js → releases-list.js} +2 -1
  102. package/dist/generated/commands/projects/{services-add.js → services-create.js} +1 -1
  103. package/dist/generated/commands/projects/{services-remove.js → services-delete.js} +1 -1
  104. package/dist/generated/commands/projects/{settings-import.js → settings-set.js} +1 -1
  105. package/dist/generated/commands/projects/{skills.js → skills-list.js} +2 -1
  106. package/dist/generated/commands/projects/{versions.js → versions-list.js} +2 -1
  107. package/dist/generated/commands/projects/{switch-workflow.js → workflow-set.js} +2 -1
  108. package/dist/generated/commands/prototypes/create.js +69 -0
  109. package/dist/generated/commands/{workspaces/access-status.js → providers/access-get.js} +3 -2
  110. package/dist/generated/commands/{user/subscriptions-set-default-model.js → providers/default-model-set--personal.js} +6 -3
  111. package/dist/generated/commands/{user/subscriptions-delete.js → providers/delete--personal.js} +4 -2
  112. package/dist/generated/commands/{workspaces/ai-provider-remove.js → providers/delete.js} +2 -3
  113. package/dist/generated/commands/{user/subscriptions-get.js → providers/get--personal.js} +4 -2
  114. package/dist/generated/commands/{workspaces/ai-provider-get.js → providers/get.js} +1 -2
  115. package/dist/generated/commands/{workspaces/ai-provider-google-remove.js → providers/google-delete.js} +2 -3
  116. package/dist/generated/commands/{workspaces/ai-provider-google-get.js → providers/google-get.js} +1 -2
  117. package/dist/generated/commands/{workspaces/ai-provider-google-delete-method.js → providers/google-methods-delete.js} +3 -3
  118. package/dist/generated/commands/{workspaces/ai-provider-google-select-method.js → providers/google-methods-set.js} +3 -3
  119. package/dist/generated/commands/{workspaces/ai-provider-google-save.js → providers/google-set.js} +2 -3
  120. package/dist/generated/commands/{user/subscriptions-grok-get.js → providers/grok-get--personal.js} +4 -2
  121. package/dist/generated/commands/{workspaces → providers}/grok-get.js +1 -1
  122. package/dist/generated/commands/{user/subscriptions-grok-change.js → providers/grok-update--personal.js} +5 -3
  123. package/dist/generated/commands/{workspaces/grok-change.js → providers/grok-update.js} +2 -2
  124. package/dist/generated/commands/{user/subscriptions-set-key.js → providers/keys-set--personal.js} +6 -3
  125. package/dist/generated/commands/{user/subscriptions-login-antigravity-cancel.js → providers/logins-cancel--personal-provider-antigravity.js} +9 -4
  126. package/dist/generated/commands/{workspaces/ai-provider-login-antigravity-cancel.js → providers/logins-cancel--provider-antigravity.js} +8 -4
  127. package/dist/generated/commands/{user/subscriptions-login-antigravity-complete.js → providers/logins-complete--personal-provider-antigravity.js} +9 -4
  128. package/dist/generated/commands/{user/subscriptions-login-claude-complete.js → providers/logins-complete--personal-provider-claude-code.js} +9 -4
  129. package/dist/generated/commands/{user/subscriptions-login-codex-complete.js → providers/logins-complete--personal-provider-codex.js} +9 -4
  130. package/dist/generated/commands/{user/subscriptions-login-muse-complete.js → providers/logins-complete--personal-provider-muse-code.js} +9 -4
  131. package/dist/generated/commands/{workspaces/ai-provider-login-antigravity-complete.js → providers/logins-complete--provider-antigravity.js} +8 -4
  132. package/dist/generated/commands/{workspaces/provider-login-claude-complete.js → providers/logins-complete--provider-claude-code.js} +8 -3
  133. package/dist/generated/commands/{workspaces/provider-login-codex-complete.js → providers/logins-complete--provider-codex.js} +8 -3
  134. package/dist/generated/commands/{workspaces/provider-login-muse-complete.js → providers/logins-complete--provider-muse-code.js} +8 -3
  135. package/dist/generated/commands/{user/subscriptions-logins-delete.js → providers/logins-delete--personal.js} +4 -2
  136. package/dist/generated/commands/{user/subscriptions-logins-recheck.js → providers/logins-recheck--personal.js} +4 -2
  137. package/dist/generated/commands/{workspaces/ai-provider-logins-recheck.js → providers/logins-recheck.js} +1 -2
  138. package/dist/generated/commands/{user/subscriptions-login-antigravity-start.js → providers/logins-start--personal-provider-antigravity.js} +9 -4
  139. package/dist/generated/commands/{user/subscriptions-login-claude-start.js → providers/logins-start--personal-provider-claude-code.js} +9 -4
  140. package/dist/generated/commands/{user/subscriptions-login-codex-start.js → providers/logins-start--personal-provider-codex.js} +9 -4
  141. package/dist/generated/commands/{user/subscriptions-login-muse-start.js → providers/logins-start--personal-provider-muse-code.js} +9 -4
  142. package/dist/generated/commands/{workspaces/ai-provider-login-antigravity-start.js → providers/logins-start--provider-antigravity.js} +8 -4
  143. package/dist/generated/commands/{workspaces/provider-login-claude-start.js → providers/logins-start--provider-claude-code.js} +8 -3
  144. package/dist/generated/commands/{workspaces/provider-login-codex-start.js → providers/logins-start--provider-codex.js} +8 -3
  145. package/dist/generated/commands/{workspaces/provider-login-muse-start.js → providers/logins-start--provider-muse-code.js} +8 -3
  146. package/dist/generated/commands/{workspaces/ai-provider-set.js → providers/set.js} +1 -2
  147. package/dist/generated/commands/{user/subscriptions-token-usage.js → providers/token-usage-get--personal.js} +6 -3
  148. package/dist/generated/commands/{workspaces/ai-provider-token-usage.js → providers/token-usage-get.js} +3 -3
  149. package/dist/generated/commands/{user/subscriptions-usage.js → providers/usage-get--personal.js} +6 -3
  150. package/dist/generated/commands/{workspaces/ai-provider-google-usage.js → providers/usage-get--provider-antigravity.js} +9 -4
  151. package/dist/generated/commands/{workspaces/ai-provider-usage-claude.js → providers/usage-get--provider-claude-code.js} +8 -3
  152. package/dist/generated/commands/{workspaces/ai-provider-usage-codex.js → providers/usage-get--provider-codex.js} +8 -3
  153. package/dist/generated/commands/{workspaces/ai-provider-usage-coding-plan.js → providers/usage-get--provider-coding-plan.js} +8 -3
  154. package/dist/generated/commands/{workspaces/ai-provider-usage-deepseek.js → providers/usage-get--provider-deepseek-api.js} +8 -3
  155. package/dist/generated/commands/{workspaces/ai-provider-usage-grok.js → providers/usage-get--provider-grok.js} +8 -3
  156. package/dist/generated/commands/{workspaces/ai-provider-usage-kimi-code.js → providers/usage-get--provider-kimi-code.js} +8 -3
  157. package/dist/generated/commands/{workspaces/ai-provider-usage-muse.js → providers/usage-get--provider-muse-code.js} +8 -3
  158. package/dist/generated/commands/sensei/{cards.js → cards-list.js} +2 -1
  159. package/dist/generated/commands/sensei/{cards-send-reply.js → cards-reply.js} +1 -1
  160. package/dist/generated/commands/sensei/{cards-put.js → cards-set.js} +1 -1
  161. package/dist/generated/commands/sensei/{chat.js → chat-get.js} +2 -1
  162. package/dist/generated/commands/sensei/{connect.js → connect-buttons-create.js} +2 -1
  163. package/dist/generated/commands/sensei/delegates-list.js +25 -0
  164. package/dist/generated/commands/sensei/{delegates-note.js → delegates-notes-create.js} +2 -1
  165. package/dist/generated/commands/sensei/{describe.js → describe-cards-create.js} +2 -1
  166. package/dist/generated/commands/sensei/{device-requests-decide.js → device-requests-update.js} +1 -1
  167. package/dist/generated/commands/sensei/{memory-put.js → memory-set.js} +4 -2
  168. package/dist/generated/commands/sensei/{merge-rule.js → merge-rule-set.js} +2 -1
  169. package/dist/generated/commands/sensei/{messages-reroute.js → messages-move.js} +1 -1
  170. package/dist/generated/commands/sensei/messages-send.js +2 -2
  171. package/dist/generated/commands/sensei/{notifications-open.js → notifications-mark-read.js} +1 -1
  172. package/dist/generated/commands/sensei/{reels-activity.js → reels-activity-list.js} +2 -1
  173. package/dist/generated/commands/sensei/{reels-ranks.js → reels-ranks-list.js} +2 -1
  174. package/dist/generated/commands/sensei/{repository.js → repository-cards-create.js} +2 -1
  175. package/dist/generated/commands/sensei/{review-approve.js → review-approvals-create.js} +2 -1
  176. package/dist/generated/commands/sensei/{review-context.js → review-context-get.js} +2 -1
  177. package/dist/generated/commands/sensei/{review-ask.js → review-requests-create.js} +3 -2
  178. package/dist/generated/commands/sensei/{sessions-assess.js → sessions-assessments-create.js} +2 -1
  179. package/dist/generated/commands/sensei/{sessions-facts.js → sessions-facts-get.js} +2 -1
  180. package/dist/generated/commands/sensei/{suggest.js → suggestions-create.js} +2 -1
  181. package/dist/generated/commands/sensei/{thread-done.js → threads-close.js} +2 -2
  182. package/dist/generated/commands/sensei/{thread-read.js → threads-get.js} +2 -2
  183. package/dist/generated/commands/sensei/{threads.js → threads-list.js} +2 -1
  184. package/dist/generated/commands/sensei/{thread-move.js → threads-move.js} +1 -1
  185. package/dist/generated/commands/sensei/{thread-split.js → threads-split.js} +1 -1
  186. package/dist/generated/commands/sensei/{widgets.js → widgets-get.js} +2 -1
  187. package/dist/generated/commands/sessions/app-stack-start.js +2 -1
  188. package/dist/generated/commands/sessions/{artifacts-attach.js → artifacts-create.js} +1 -1
  189. package/dist/generated/commands/sessions/create.js +2 -2
  190. package/dist/generated/commands/sessions/{desktop-control.js → desktop-control-set.js} +3 -1
  191. package/dist/generated/commands/sessions/{desktop.js → desktop-get.js} +2 -1
  192. package/dist/generated/commands/sessions/desktop-start.js +2 -1
  193. package/dist/generated/commands/sessions/{diff-comments-add.js → diff-comments-create.js} +1 -1
  194. package/dist/generated/commands/sessions/{diff-commits.js → diff-commits-list.js} +2 -1
  195. package/dist/generated/commands/sessions/{diff-files.js → diff-files-list.js} +2 -1
  196. package/dist/generated/commands/sessions/{diff-patch.js → diff-patch-get.js} +2 -1
  197. package/dist/generated/commands/sessions/{files-write.js → files-set.js} +1 -1
  198. package/dist/generated/commands/sessions/get.js +1 -1
  199. package/dist/generated/commands/sessions/{git-commit-message.js → git-commit-message-create.js} +2 -1
  200. package/dist/generated/commands/sessions/{git-state.js → git-state-get.js} +2 -1
  201. package/dist/generated/commands/sessions/{go-ahead-clear.js → go-ahead-delete.js} +1 -1
  202. package/dist/generated/commands/sessions/{labels-edit.js → labels-update.js} +1 -1
  203. package/dist/generated/commands/sessions/{all.js → list--all.js} +4 -1
  204. package/dist/generated/commands/sessions/{message.js → messages-get.js} +4 -3
  205. package/dist/generated/commands/sessions/{messages.js → messages-list.js} +3 -2
  206. package/dist/generated/commands/sessions/{edit-prompt.js → prompt-update.js} +2 -1
  207. package/dist/generated/commands/sessions/pull-request-mark-ready.js +40 -0
  208. package/dist/generated/commands/sessions/qa-runs-finish.js +66 -0
  209. package/dist/generated/commands/sessions/qa-runs-fixes-create.js +65 -0
  210. package/dist/generated/commands/sessions/qa-runs-get.js +22 -0
  211. package/dist/generated/commands/sessions/qa-runs-results-create.js +45 -0
  212. package/dist/generated/commands/sessions/qa-runs-start.js +75 -0
  213. package/dist/generated/commands/sessions/qa-runs-stop.js +43 -0
  214. package/dist/generated/commands/sessions/qa-set.js +1 -1
  215. package/dist/generated/commands/sessions/review-set.js +53 -0
  216. package/dist/generated/commands/sessions/{runtime-command.js → runtime-commands-run.js} +2 -1
  217. package/dist/generated/commands/sessions/{activate.js → start.js} +1 -1
  218. package/dist/generated/commands/sessions/update.js +1 -1
  219. package/dist/generated/commands/{user/skills-create.js → skills/create--personal.js} +3 -1
  220. package/dist/generated/commands/{workspaces/skills-create.js → skills/create.js} +0 -1
  221. package/dist/generated/commands/{user/skills-delete.js → skills/delete--personal.js} +3 -1
  222. package/dist/generated/commands/{workspaces/skills-delete.js → skills/delete.js} +0 -1
  223. package/dist/generated/commands/{user/skills-get.js → skills/get--personal.js} +3 -1
  224. package/dist/generated/commands/{workspaces/skills-get.js → skills/get.js} +0 -1
  225. package/dist/generated/commands/{user/skills-list.js → skills/list--personal.js} +3 -1
  226. package/dist/generated/commands/{workspaces/skills-list.js → skills/list.js} +0 -1
  227. package/dist/generated/commands/{user/skills-update.js → skills/update--personal.js} +3 -1
  228. package/dist/generated/commands/{workspaces/skills-update.js → skills/update.js} +0 -1
  229. package/dist/generated/commands/{personal-tasks/create.js → tasks/create--personal.js} +5 -2
  230. package/dist/generated/commands/tasks/create.js +2 -2
  231. package/dist/generated/commands/{personal-tasks/delete.js → tasks/delete--personal.js} +4 -1
  232. package/dist/generated/commands/{personal-tasks/get.js → tasks/get--personal.js} +4 -1
  233. package/dist/generated/commands/tasks/{labels.js → labels-list.js} +2 -1
  234. package/dist/generated/commands/tasks/{all.js → list--all.js} +25 -1
  235. package/dist/generated/commands/{personal-tasks/list.js → tasks/list--personal.js} +4 -1
  236. package/dist/generated/commands/tasks/list.js +21 -0
  237. package/dist/generated/commands/{personal-tasks/move.js → tasks/move--personal.js} +4 -1
  238. package/dist/generated/commands/{personal-tasks/start.js → tasks/start--personal.js} +5 -2
  239. package/dist/generated/commands/tasks/start.js +1 -1
  240. package/dist/generated/commands/{personal-tasks/update.js → tasks/update--personal.js} +4 -1
  241. package/dist/generated/commands/tasks/update.js +1 -1
  242. package/dist/generated/commands/user/{auth-token-revoke.js → api-keys-delete.js} +2 -2
  243. package/dist/generated/commands/user/{profile.js → profile-get.js} +2 -1
  244. package/dist/generated/commands/user/{push-devices-register.js → push-devices-create.js} +1 -1
  245. package/dist/generated/commands/user/{push-devices-remove.js → push-devices-delete.js} +1 -1
  246. package/dist/generated/commands/workspaces/{artifacts.js → artifacts-search.js} +2 -1
  247. package/dist/generated/commands/workspaces/{credits.js → credits-get.js} +2 -1
  248. package/dist/generated/commands/{members/list.js → workspaces/members-list--all.js} +4 -0
  249. package/dist/generated/commands/workspaces/{members.js → members-list.js} +2 -1
  250. package/dist/generated/commands/workspaces/{sandbox-limit.js → sandbox-limit-get.js} +2 -1
  251. package/dist/generated/commands/workspaces/{stop-sandboxes.js → sandboxes-stop.js} +2 -1
  252. package/dist/generated/commands/workspaces/timezone-set.js +2 -1
  253. package/dist/generated/commands/workspaces/{usage.js → usage-get.js} +2 -1
  254. package/dist/integrations/api.js +1 -1
  255. package/dist/integrations/render.js +1 -1
  256. package/dist/program.js +15 -9
  257. package/dist/runtime/aliases.js +516 -0
  258. package/dist/runtime/attach.js +301 -55
  259. package/dist/runtime/former-commands.js +89 -0
  260. package/dist/runtime/job-watch.js +1 -1
  261. package/dist/runtime/variants.js +205 -0
  262. package/openapi.json +2309 -1132
  263. package/package.json +4 -6
  264. package/dist/generated/commands/crons/projects-resume.js +0 -21
  265. package/dist/generated/commands/crons/runs-diagnostics.js +0 -21
  266. package/dist/generated/commands/sessions/needs-you.js +0 -16
  267. package/dist/generated/commands/sessions/qa-clear.js +0 -22
  268. package/dist/generated/commands/sessions/title-generate.js +0 -29
  269. package/dist/generated/commands/user/memory-list.js +0 -17
  270. package/dist/generated/commands/user/memory-put.js +0 -37
@@ -0,0 +1,66 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs/{run}/finish",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "finish"
9
+ ],
10
+ "summary": "Finish a QA Run and record QA Passed when the whole checklist passed at the sandbox's clean HEAD; the answer's qaPassed says why not. A run that ends failed, blocked or incomplete clears a QA Passed the session's runs recorded at its head. Finishing again decides again. Only the session's own sandbox.",
11
+ "pathParams": [
12
+ "projectId",
13
+ "sessionId",
14
+ "run"
15
+ ],
16
+ "query": [],
17
+ "body": {
18
+ "fields": [
19
+ {
20
+ "name": "checklist",
21
+ "flag": "checklist",
22
+ "kind": "string",
23
+ "required": true,
24
+ "description": "The Testing Checklist as the sandbox holds it: `--checklist-file \"$ART/testing-checklist.md\"`.",
25
+ "file": true
26
+ },
27
+ {
28
+ "name": "notes",
29
+ "flag": "note",
30
+ "kind": "string",
31
+ "required": false,
32
+ "description": "A run-level note: a held-back section, a repair, a crash.",
33
+ "repeated": true
34
+ },
35
+ {
36
+ "name": "usage",
37
+ "flag": "usage",
38
+ "kind": "json",
39
+ "required": false,
40
+ "description": "The run's Delegated Run usage: `--usage-file <path>`.",
41
+ "file": true
42
+ },
43
+ {
44
+ "name": "acceptBlocked",
45
+ "flag": "accept-blocked",
46
+ "kind": "string",
47
+ "required": false,
48
+ "description": "The running Batch's session only: the BLOCKED item ids it accepts, comma separated."
49
+ },
50
+ {
51
+ "name": "why",
52
+ "flag": "why",
53
+ "kind": "string",
54
+ "required": false,
55
+ "description": "With --accept-blocked: one line on why the blocked items may merge."
56
+ }
57
+ ],
58
+ "required": true
59
+ },
60
+ "multipart": null,
61
+ "attachments": false,
62
+ "anonymous": false,
63
+ "agents": [
64
+ "sandboxToken"
65
+ ]
66
+ };
@@ -0,0 +1,65 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs/{run}/fixes",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "fixes",
9
+ "create"
10
+ ],
11
+ "summary": "Record a fix commit of a QA Run, a commit on HEAD after the run's start: unticks the FAILED items it targets for their retest and adds them to the selection. Only the session's own sandbox.",
12
+ "pathParams": [
13
+ "projectId",
14
+ "sessionId",
15
+ "run"
16
+ ],
17
+ "query": [],
18
+ "body": {
19
+ "fields": [
20
+ {
21
+ "name": "checklist",
22
+ "flag": "checklist",
23
+ "kind": "string",
24
+ "required": true,
25
+ "description": "The Testing Checklist as the sandbox holds it: `--checklist-file \"$ART/testing-checklist.md\"`.",
26
+ "file": true
27
+ },
28
+ {
29
+ "name": "section",
30
+ "flag": "section",
31
+ "kind": "string",
32
+ "required": true,
33
+ "description": "The section the fix is for."
34
+ },
35
+ {
36
+ "name": "sha",
37
+ "flag": "sha",
38
+ "kind": "string",
39
+ "required": true,
40
+ "description": "The full sha of the fix commit."
41
+ },
42
+ {
43
+ "name": "subject",
44
+ "flag": "subject",
45
+ "kind": "string",
46
+ "required": true,
47
+ "description": "The commit subject."
48
+ },
49
+ {
50
+ "name": "retest",
51
+ "flag": "retest",
52
+ "kind": "string",
53
+ "required": true,
54
+ "description": "The FAILED item ids the fix targets, comma separated; at least one."
55
+ }
56
+ ],
57
+ "required": true
58
+ },
59
+ "multipart": null,
60
+ "attachments": false,
61
+ "anonymous": false,
62
+ "agents": [
63
+ "sandboxToken"
64
+ ]
65
+ };
@@ -0,0 +1,22 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs/{run}",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "get"
9
+ ],
10
+ "summary": "Read a QA Run, or `latest`, as data: each section and item of the session's published Testing Checklist with its status and the outcome that explains it, the counts, the assessment, the history and the budget.",
11
+ "pathParams": [
12
+ "projectId",
13
+ "sessionId",
14
+ "run"
15
+ ],
16
+ "query": [],
17
+ "body": null,
18
+ "multipart": null,
19
+ "attachments": false,
20
+ "anonymous": false,
21
+ "agents": "all"
22
+ };
@@ -0,0 +1,45 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs/{run}/results",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "results",
9
+ "create"
10
+ ],
11
+ "summary": "Apply one section attempt a tester or prober wrote to a QA Run: stores it, ticks or tags its items and republishes the QA Report. The same result again changes nothing. Only the session's own sandbox.",
12
+ "pathParams": [
13
+ "projectId",
14
+ "sessionId",
15
+ "run"
16
+ ],
17
+ "query": [],
18
+ "body": {
19
+ "fields": [
20
+ {
21
+ "name": "checklist",
22
+ "flag": "checklist",
23
+ "kind": "string",
24
+ "required": true,
25
+ "description": "The Testing Checklist as the sandbox holds it: `--checklist-file \"$ART/testing-checklist.md\"`.",
26
+ "file": true
27
+ },
28
+ {
29
+ "name": "result",
30
+ "flag": "result",
31
+ "kind": "json",
32
+ "required": true,
33
+ "description": "One section attempt, as the tester wrote it: `--result-file <result path>`.",
34
+ "file": true
35
+ }
36
+ ],
37
+ "required": true
38
+ },
39
+ "multipart": null,
40
+ "attachments": false,
41
+ "anonymous": false,
42
+ "agents": [
43
+ "sandboxToken"
44
+ ]
45
+ };
@@ -0,0 +1,75 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "start"
9
+ ],
10
+ "summary": "Start a QA Run of the session's Testing Checklist, or continue the newest one when HEAD is its start or only its fixes moved it. Only the session's own sandbox. Answers the checklist to write back, the counts and the budget.",
11
+ "pathParams": [
12
+ "projectId",
13
+ "sessionId"
14
+ ],
15
+ "query": [],
16
+ "body": {
17
+ "fields": [
18
+ {
19
+ "name": "checklist",
20
+ "flag": "checklist",
21
+ "kind": "string",
22
+ "required": true,
23
+ "description": "The Testing Checklist as the sandbox holds it: `--checklist-file \"$ART/testing-checklist.md\"`.",
24
+ "file": true
25
+ },
26
+ {
27
+ "name": "head",
28
+ "flag": "head",
29
+ "kind": "string",
30
+ "required": true,
31
+ "description": "The commit the run tests: `git rev-parse HEAD`."
32
+ },
33
+ {
34
+ "name": "select",
35
+ "flag": "select",
36
+ "kind": "string",
37
+ "required": true,
38
+ "description": "The item ids to test, comma separated. '' only when every item already passed or there is none."
39
+ },
40
+ {
41
+ "name": "mode",
42
+ "flag": "mode",
43
+ "kind": "string",
44
+ "required": true,
45
+ "description": "`ship` under /kosuke:ship, else `standalone`.",
46
+ "choices": [
47
+ "ship",
48
+ "standalone"
49
+ ]
50
+ },
51
+ {
52
+ "name": "restart",
53
+ "flag": "restart",
54
+ "kind": "boolean",
55
+ "required": false,
56
+ "description": "Untick every item and start the QA Report over at v1. Only when asked."
57
+ },
58
+ {
59
+ "name": "sync",
60
+ "flag": "sync",
61
+ "kind": "json",
62
+ "required": false,
63
+ "description": "The sync scope with your `items` decisions: `--sync-file /tmp/qa/sync-scope.json`.",
64
+ "file": true
65
+ }
66
+ ],
67
+ "required": true
68
+ },
69
+ "multipart": null,
70
+ "attachments": false,
71
+ "anonymous": false,
72
+ "agents": [
73
+ "sandboxToken"
74
+ ]
75
+ };
@@ -0,0 +1,43 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-runs/{run}/block",
4
+ "command": [
5
+ "sessions",
6
+ "qa",
7
+ "runs",
8
+ "stop"
9
+ ],
10
+ "summary": "Block what is left of a QA Run's selection with the reason, and finish it. Records no pass. Only the session's own sandbox.",
11
+ "pathParams": [
12
+ "projectId",
13
+ "sessionId",
14
+ "run"
15
+ ],
16
+ "query": [],
17
+ "body": {
18
+ "fields": [
19
+ {
20
+ "name": "checklist",
21
+ "flag": "checklist",
22
+ "kind": "string",
23
+ "required": true,
24
+ "description": "The Testing Checklist as the sandbox holds it: `--checklist-file \"$ART/testing-checklist.md\"`.",
25
+ "file": true
26
+ },
27
+ {
28
+ "name": "reason",
29
+ "flag": "reason",
30
+ "kind": "string",
31
+ "required": true,
32
+ "description": "Why the rest of the selection could not be tested, specifically."
33
+ }
34
+ ],
35
+ "required": true
36
+ },
37
+ "multipart": null,
38
+ "attachments": false,
39
+ "anonymous": false,
40
+ "agents": [
41
+ "sandboxToken"
42
+ ]
43
+ };
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "qa",
7
7
  "set"
8
8
  ],
9
- "summary": "Record the commit QA passed on as the session's qaPassedSha. A session token may set only its own session. A pull request is done when qaPassedSha equals its head.",
9
+ "summary": "Record the commit QA passed on as the session's qaPassedSha: a member's override. A session token may only repeat the pass `sessions qa runs finish` recorded at that commit. A pull request is done when qaPassedSha equals its head.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "sessionId"
@@ -0,0 +1,53 @@
1
+ export const operation = {
2
+ "method": "put",
3
+ "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/review",
4
+ "command": [
5
+ "sessions",
6
+ "review",
7
+ "set"
8
+ ],
9
+ "summary": "Record a review's verdict for the sandbox's HEAD, with the head and tree Kosuke reads from the checkout. Refused (409) while HEAD is not the given head, while tracked files have uncommitted changes, or once the Turn stopped. Only the session's own sandbox.",
10
+ "pathParams": [
11
+ "projectId",
12
+ "sessionId"
13
+ ],
14
+ "query": [],
15
+ "body": {
16
+ "fields": [
17
+ {
18
+ "name": "verdict",
19
+ "flag": "verdict",
20
+ "kind": "string",
21
+ "required": true,
22
+ "description": "`Ship` with every finding fixed or none, `Do not ship` with one open, `Incomplete` when no reviewer answered.",
23
+ "choices": [
24
+ "Ship",
25
+ "Ship with open items",
26
+ "Do not ship",
27
+ "Incomplete"
28
+ ]
29
+ },
30
+ {
31
+ "name": "head",
32
+ "flag": "head",
33
+ "kind": "string",
34
+ "required": true,
35
+ "description": "The commit the review covers, after its fixes: `git rev-parse HEAD`."
36
+ },
37
+ {
38
+ "name": "run",
39
+ "flag": "run",
40
+ "kind": "integer",
41
+ "required": true,
42
+ "description": "The review's run: when it started, in epoch seconds (`cat /tmp/review/run`)."
43
+ }
44
+ ],
45
+ "required": true
46
+ },
47
+ "multipart": null,
48
+ "attachments": false,
49
+ "anonymous": false,
50
+ "agents": [
51
+ "sandboxToken"
52
+ ]
53
+ };
@@ -3,7 +3,8 @@ export const operation = {
3
3
  "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/runtime-commands",
4
4
  "command": [
5
5
  "sessions",
6
- "runtime-command"
6
+ "runtime-commands",
7
+ "run"
7
8
  ],
8
9
  "summary": "Run a runtime command on the agent session: clear starts a fresh conversation, compact summarizes it, with optional focus instructions. Queued Up next while a turn or another command is running. Compact waits for the sandbox and can take a minute.",
9
10
  "pathParams": [
@@ -3,7 +3,7 @@ export const operation = {
3
3
  "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/activate",
4
4
  "command": [
5
5
  "sessions",
6
- "activate"
6
+ "start"
7
7
  ],
8
8
  "summary": "Start a backlog session: queue its saved prompt as the first turn, which runs once the sandbox is ready. Answers before the sandbox exists; a sandbox that fails to start later leaves the session Active with a failed first turn. With --skill ship the first turn is /kosuke:ship on that prompt. From an agent (a sandbox, a Cron Run or Sensei) it is also refused with 403 ASSIGNED_TO_OTHER when another member is the Assignee; a ticket that is unassigned or assigned to Kosuke passes that check and meets the same project access and status checks as when a member starts it. From Sensei, the session moves to the thread of the Turn that started it.",
9
9
  "pathParams": [
@@ -102,7 +102,7 @@ export const operation = {
102
102
  "flag": "app-stack",
103
103
  "kind": "string",
104
104
  "required": false,
105
- "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with sessions app-stack-start. Fixed once the session starts.",
105
+ "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with `kosuke sessions app-stack start`. Fixed once the session starts.",
106
106
  "choices": [
107
107
  "start",
108
108
  "skip"
@@ -2,10 +2,12 @@ export const operation = {
2
2
  "method": "post",
3
3
  "path": "/api/user/skills",
4
4
  "command": [
5
- "user",
6
5
  "skills",
7
6
  "create"
8
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
9
11
  "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
12
  "pathParams": [],
11
13
  "query": [],
@@ -2,7 +2,6 @@ export const operation = {
2
2
  "method": "post",
3
3
  "path": "/api/organizations/{workspaceId}/skills",
4
4
  "command": [
5
- "workspaces",
6
5
  "skills",
7
6
  "create"
8
7
  ],
@@ -2,10 +2,12 @@ export const operation = {
2
2
  "method": "delete",
3
3
  "path": "/api/user/skills/{skillId}",
4
4
  "command": [
5
- "user",
6
5
  "skills",
7
6
  "delete"
8
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
9
11
  "summary": "Delete one of your personal skills. Running chat sessions drop it at their next turn.",
10
12
  "pathParams": [
11
13
  "skillId"
@@ -2,7 +2,6 @@ export const operation = {
2
2
  "method": "delete",
3
3
  "path": "/api/organizations/{workspaceId}/skills/{skillId}",
4
4
  "command": [
5
- "workspaces",
6
5
  "skills",
7
6
  "delete"
8
7
  ],
@@ -2,10 +2,12 @@ export const operation = {
2
2
  "method": "get",
3
3
  "path": "/api/user/skills/{skillId}",
4
4
  "command": [
5
- "user",
6
5
  "skills",
7
6
  "get"
8
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
9
11
  "summary": "Get one of your personal skills with every file it holds, SKILL.md included. From an agent token, one of the member it acts as. From a Cron Run with no member behind it, never one: it acts as Kosuke, which holds no personal skills.",
10
12
  "pathParams": [
11
13
  "skillId"
@@ -2,7 +2,6 @@ export const operation = {
2
2
  "method": "get",
3
3
  "path": "/api/organizations/{workspaceId}/skills/{skillId}",
4
4
  "command": [
5
- "workspaces",
6
5
  "skills",
7
6
  "get"
8
7
  ],
@@ -2,10 +2,12 @@ export const operation = {
2
2
  "method": "get",
3
3
  "path": "/api/user/skills",
4
4
  "command": [
5
- "user",
6
5
  "skills",
7
6
  "list"
8
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
9
11
  "summary": "List your personal skills: what each SKILL.md declares, how many files the skill holds, whether it is enabled, and the workspaces where it replaces an enabled workspace skill of the same name. Personal skills follow you into every workspace you belong to and reach the chat sessions you are the assignee of. From an agent token, those of the member it acts as, naming only this workspace. From a Cron Run with no member behind it, none.",
10
12
  "pathParams": [],
11
13
  "query": [],
@@ -2,7 +2,6 @@ export const operation = {
2
2
  "method": "get",
3
3
  "path": "/api/organizations/{workspaceId}/skills",
4
4
  "command": [
5
- "workspaces",
6
5
  "skills",
7
6
  "list"
8
7
  ],
@@ -2,10 +2,12 @@ export const operation = {
2
2
  "method": "patch",
3
3
  "path": "/api/user/skills/{skillId}",
4
4
  "command": [
5
- "user",
6
5
  "skills",
7
6
  "update"
8
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
9
11
  "summary": "Enable or disable one of your personal skills, or replace every file it holds; at least one of enabled and files. The switch applies in every workspace at once. Answers 204.",
10
12
  "pathParams": [
11
13
  "skillId"
@@ -2,7 +2,6 @@ export const operation = {
2
2
  "method": "patch",
3
3
  "path": "/api/organizations/{workspaceId}/skills/{skillId}",
4
4
  "command": [
5
- "workspaces",
6
5
  "skills",
7
6
  "update"
8
7
  ],
@@ -2,10 +2,13 @@ export const operation = {
2
2
  "method": "post",
3
3
  "path": "/api/personal-tasks",
4
4
  "command": [
5
- "personal-tasks",
5
+ "tasks",
6
6
  "create"
7
7
  ],
8
- "summary": "File a personal task: yours alone, in no workspace. From a Sensei Turn it joins the Turn’s thread unless threadId names another. Check personal-tasks list for one that covers it first.",
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
11
+ "summary": "File a personal task: yours alone, in no workspace. From a Sensei Turn it joins the Turn’s thread unless threadId names another. Check `kosuke tasks list personal` for one that covers it first.",
9
12
  "pathParams": [],
10
13
  "query": [],
11
14
  "body": {
@@ -96,7 +96,7 @@ export const operation = {
96
96
  "flag": "app-stack",
97
97
  "kind": "string",
98
98
  "required": false,
99
- "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with sessions app-stack-start. Fixed once the session starts.",
99
+ "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with `kosuke sessions app-stack start`. Fixed once the session starts.",
100
100
  "choices": [
101
101
  "start",
102
102
  "skip"
@@ -226,7 +226,7 @@ export const operation = {
226
226
  "flag": "app-stack",
227
227
  "kind": "string",
228
228
  "required": false,
229
- "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with sessions app-stack-start. Fixed once the session starts.",
229
+ "description": "start (default) runs the project's services when the sandbox boots. skip boots setup and the agent only; a member or the session's agent starts the services later with `kosuke sessions app-stack start`. Fixed once the session starts.",
230
230
  "choices": [
231
231
  "start",
232
232
  "skip"
@@ -2,9 +2,12 @@ export const operation = {
2
2
  "method": "delete",
3
3
  "path": "/api/personal-tasks/{taskId}",
4
4
  "command": [
5
- "personal-tasks",
5
+ "tasks",
6
6
  "delete"
7
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
8
11
  "summary": "Delete one of your personal tasks.",
9
12
  "pathParams": [
10
13
  "taskId"
@@ -2,9 +2,12 @@ export const operation = {
2
2
  "method": "get",
3
3
  "path": "/api/personal-tasks/{taskId}",
4
4
  "command": [
5
- "personal-tasks",
5
+ "tasks",
6
6
  "get"
7
7
  ],
8
+ "variant": {
9
+ "scope": "personal"
10
+ },
8
11
  "summary": "Get one of your personal tasks.",
9
12
  "pathParams": [
10
13
  "taskId"
@@ -3,7 +3,8 @@ export const operation = {
3
3
  "path": "/api/organizations/{workspaceId}/labels",
4
4
  "command": [
5
5
  "tasks",
6
- "labels"
6
+ "labels",
7
+ "list"
7
8
  ],
8
9
  "summary": "List the label names across a workspace's repositories, for the tasks list's labels filter.",
9
10
  "pathParams": [