@kosuke-ai/cli 6.10.0 → 6.12.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 (189) hide show
  1. package/dist/generated/commands/activity/list.js +2 -2
  2. package/dist/generated/commands/crons/artifacts-list.js +1 -1
  3. package/dist/generated/commands/crons/create.js +1 -1
  4. package/dist/generated/commands/crons/delete.js +1 -1
  5. package/dist/generated/commands/crons/get.js +1 -1
  6. package/dist/generated/commands/crons/list.js +1 -1
  7. package/dist/generated/commands/crons/projects-resume.js +1 -1
  8. package/dist/generated/commands/crons/run.js +1 -1
  9. package/dist/generated/commands/crons/runs-artifacts-get.js +1 -1
  10. package/dist/generated/commands/crons/runs-artifacts-list.js +1 -1
  11. package/dist/generated/commands/crons/runs-cancel.js +1 -1
  12. package/dist/generated/commands/crons/runs-diagnostics.js +1 -1
  13. package/dist/generated/commands/crons/runs-get.js +1 -1
  14. package/dist/generated/commands/crons/runs-list.js +1 -1
  15. package/dist/generated/commands/crons/runs-messages.js +1 -1
  16. package/dist/generated/commands/crons/update.js +1 -1
  17. package/dist/generated/commands/deploy/cancel.js +1 -1
  18. package/dist/generated/commands/deploy/list.js +1 -1
  19. package/dist/generated/commands/deploy/messages.js +1 -1
  20. package/dist/generated/commands/deploy/queue-delete.js +1 -1
  21. package/dist/generated/commands/deploy/queue-list.js +1 -1
  22. package/dist/generated/commands/deploy/queue-move.js +1 -1
  23. package/dist/generated/commands/deploy/queue-resume.js +1 -1
  24. package/dist/generated/commands/deploy/queue-send.js +1 -1
  25. package/dist/generated/commands/deploy/queue-steer.js +1 -1
  26. package/dist/generated/commands/deploy/queue-update.js +1 -1
  27. package/dist/generated/commands/deploy/run.js +1 -1
  28. package/dist/generated/commands/deploy/set-model.js +1 -1
  29. package/dist/generated/commands/github/repositories.js +1 -1
  30. package/dist/generated/commands/github/status.js +1 -1
  31. package/dist/generated/commands/index.js +116 -118
  32. package/dist/generated/commands/integrations/execute.js +1 -1
  33. package/dist/generated/commands/integrations/tools.js +1 -1
  34. package/dist/generated/commands/models/list.js +1 -1
  35. package/dist/generated/commands/preview/get.js +1 -1
  36. package/dist/generated/commands/preview/health.js +1 -1
  37. package/dist/generated/commands/preview/reset.js +1 -1
  38. package/dist/generated/commands/preview/share-create.js +1 -1
  39. package/dist/generated/commands/preview/share-delete.js +1 -1
  40. package/dist/generated/commands/preview/share-get.js +1 -1
  41. package/dist/generated/commands/preview/shared-artifact.js +1 -1
  42. package/dist/generated/commands/preview/shared.js +1 -1
  43. package/dist/generated/commands/projects/branches.js +1 -1
  44. package/dist/generated/commands/projects/create.js +2 -2
  45. package/dist/generated/commands/projects/delete.js +1 -1
  46. package/dist/generated/commands/projects/env-vars-add.js +1 -1
  47. package/dist/generated/commands/projects/env-vars-remove.js +1 -1
  48. package/dist/generated/commands/projects/get.js +1 -1
  49. package/dist/generated/commands/projects/labels-color.js +1 -1
  50. package/dist/generated/commands/projects/labels-delete.js +1 -1
  51. package/dist/generated/commands/projects/labels-usage.js +1 -1
  52. package/dist/generated/commands/projects/labels.js +1 -1
  53. package/dist/generated/commands/projects/list.js +2 -2
  54. package/dist/generated/commands/projects/qa-guide-get.js +1 -1
  55. package/dist/generated/commands/projects/qa-guide-set.js +1 -1
  56. package/dist/generated/commands/projects/services-add.js +1 -1
  57. package/dist/generated/commands/projects/services-list.js +1 -1
  58. package/dist/generated/commands/projects/services-remove.js +1 -1
  59. package/dist/generated/commands/projects/services-update.js +1 -1
  60. package/dist/generated/commands/projects/settings-get.js +1 -1
  61. package/dist/generated/commands/projects/settings-import.js +1 -1
  62. package/dist/generated/commands/projects/settings-update.js +1 -1
  63. package/dist/generated/commands/projects/skills.js +1 -1
  64. package/dist/generated/commands/projects/update.js +1 -1
  65. package/dist/generated/commands/sensei/cards.js +27 -0
  66. package/dist/generated/commands/{workspaces/lead-merge.js → sensei/merge.js} +7 -9
  67. package/dist/generated/commands/{workspaces/lead-notifications-open.js → sensei/notifications-open.js} +5 -6
  68. package/dist/generated/commands/sensei/proposals-create.js +23 -0
  69. package/dist/generated/commands/{workspaces/lead-review-request.js → sensei/review-request.js} +8 -10
  70. package/dist/generated/commands/{workspaces/lead-session-send.js → sensei/session-send.js} +8 -10
  71. package/dist/generated/commands/{workspaces/lead-triage.js → sensei/triage.js} +8 -10
  72. package/dist/generated/commands/sessions/activate.js +1 -1
  73. package/dist/generated/commands/sessions/all.js +2 -2
  74. package/dist/generated/commands/sessions/artifacts-attach.js +3 -3
  75. package/dist/generated/commands/sessions/artifacts-get.js +1 -1
  76. package/dist/generated/commands/sessions/artifacts-list.js +1 -1
  77. package/dist/generated/commands/sessions/comments-add.js +1 -1
  78. package/dist/generated/commands/sessions/comments-delete.js +1 -1
  79. package/dist/generated/commands/sessions/comments-list.js +1 -1
  80. package/dist/generated/commands/sessions/comments-update.js +1 -1
  81. package/dist/generated/commands/sessions/create.js +15 -1
  82. package/dist/generated/commands/sessions/delete.js +1 -1
  83. package/dist/generated/commands/sessions/diff-comments-add.js +1 -1
  84. package/dist/generated/commands/sessions/diff-comments-delete.js +1 -1
  85. package/dist/generated/commands/sessions/diff-comments-list.js +1 -1
  86. package/dist/generated/commands/sessions/diff-comments-update.js +1 -1
  87. package/dist/generated/commands/sessions/diff-commits.js +1 -1
  88. package/dist/generated/commands/sessions/diff-files.js +1 -1
  89. package/dist/generated/commands/sessions/diff-patch.js +1 -1
  90. package/dist/generated/commands/sessions/edit-prompt.js +1 -1
  91. package/dist/generated/commands/sessions/files-get.js +1 -1
  92. package/dist/generated/commands/sessions/files-list.js +1 -1
  93. package/dist/generated/commands/sessions/files-write.js +1 -1
  94. package/dist/generated/commands/sessions/get.js +1 -1
  95. package/dist/generated/commands/sessions/git-commit-message.js +1 -1
  96. package/dist/generated/commands/sessions/git-commit.js +1 -1
  97. package/dist/generated/commands/sessions/git-push.js +1 -1
  98. package/dist/generated/commands/sessions/git-state.js +1 -1
  99. package/dist/generated/commands/sessions/jobs-cancel.js +1 -1
  100. package/dist/generated/commands/sessions/jobs-get.js +1 -1
  101. package/dist/generated/commands/sessions/jobs-list.js +1 -1
  102. package/dist/generated/commands/sessions/labels-edit.js +1 -1
  103. package/dist/generated/commands/sessions/labels-set.js +1 -1
  104. package/dist/generated/commands/sessions/list.js +1 -1
  105. package/dist/generated/commands/sessions/mark-read.js +1 -1
  106. package/dist/generated/commands/sessions/message.js +36 -0
  107. package/dist/generated/commands/sessions/messages.js +19 -4
  108. package/dist/generated/commands/sessions/needs-you.js +2 -2
  109. package/dist/generated/commands/sessions/queue-delete.js +1 -1
  110. package/dist/generated/commands/sessions/queue-list.js +1 -1
  111. package/dist/generated/commands/sessions/queue-move.js +1 -1
  112. package/dist/generated/commands/sessions/queue-resume.js +1 -1
  113. package/dist/generated/commands/sessions/queue-send.js +1 -1
  114. package/dist/generated/commands/sessions/queue-steer.js +1 -1
  115. package/dist/generated/commands/sessions/queue-update.js +1 -1
  116. package/dist/generated/commands/sessions/runtime-command.js +1 -1
  117. package/dist/generated/commands/sessions/search.js +2 -2
  118. package/dist/generated/commands/sessions/send.js +1 -1
  119. package/dist/generated/commands/sessions/steer.js +1 -1
  120. package/dist/generated/commands/sessions/sync.js +1 -1
  121. package/dist/generated/commands/sessions/title-generate.js +1 -1
  122. package/dist/generated/commands/sessions/update.js +1 -1
  123. package/dist/generated/commands/user/auth-token-revoke.js +1 -1
  124. package/dist/generated/commands/user/integrations-list.js +1 -1
  125. package/dist/generated/commands/user/integrations-remove.js +1 -1
  126. package/dist/generated/commands/user/plugins-list.js +1 -1
  127. package/dist/generated/commands/user/plugins-update.js +1 -1
  128. package/dist/generated/commands/user/profile.js +2 -2
  129. package/dist/generated/commands/user/push-devices-register.js +1 -1
  130. package/dist/generated/commands/user/push-devices-remove.js +1 -1
  131. package/dist/generated/commands/user/skills-create.js +1 -1
  132. package/dist/generated/commands/user/skills-delete.js +1 -1
  133. package/dist/generated/commands/user/skills-get.js +1 -1
  134. package/dist/generated/commands/user/skills-list.js +1 -1
  135. package/dist/generated/commands/user/skills-update.js +1 -1
  136. package/dist/generated/commands/user/subscriptions-delete.js +1 -1
  137. package/dist/generated/commands/user/subscriptions-get.js +1 -1
  138. package/dist/generated/commands/user/subscriptions-login-claude-complete.js +1 -1
  139. package/dist/generated/commands/user/subscriptions-login-claude-start.js +1 -1
  140. package/dist/generated/commands/user/subscriptions-login-codex-complete.js +1 -1
  141. package/dist/generated/commands/user/subscriptions-login-codex-start.js +1 -1
  142. package/dist/generated/commands/user/subscriptions-logins-delete.js +1 -1
  143. package/dist/generated/commands/user/subscriptions-logins-reorder.js +1 -1
  144. package/dist/generated/commands/user/subscriptions-set-default-model.js +1 -1
  145. package/dist/generated/commands/user/subscriptions-set-key.js +1 -1
  146. package/dist/generated/commands/user/subscriptions-usage.js +1 -1
  147. package/dist/generated/commands/workspaces/access-status.js +1 -1
  148. package/dist/generated/commands/workspaces/ai-provider-get.js +1 -1
  149. package/dist/generated/commands/workspaces/ai-provider-logins-reorder.js +1 -1
  150. package/dist/generated/commands/workspaces/ai-provider-remove.js +1 -1
  151. package/dist/generated/commands/workspaces/ai-provider-set.js +1 -1
  152. package/dist/generated/commands/workspaces/ai-provider-usage-claude.js +1 -1
  153. package/dist/generated/commands/workspaces/ai-provider-usage-codex.js +1 -1
  154. package/dist/generated/commands/workspaces/ai-provider-usage-coding-plan.js +1 -1
  155. package/dist/generated/commands/workspaces/ai-provider-usage-deepseek.js +1 -1
  156. package/dist/generated/commands/workspaces/ai-provider-usage-kimi-code.js +1 -1
  157. package/dist/generated/commands/workspaces/artifacts.js +1 -1
  158. package/dist/generated/commands/workspaces/credits.js +1 -1
  159. package/dist/generated/commands/workspaces/get.js +1 -1
  160. package/dist/generated/commands/workspaces/integrations-get.js +1 -1
  161. package/dist/generated/commands/workspaces/integrations-list.js +1 -1
  162. package/dist/generated/commands/workspaces/integrations-remove.js +1 -1
  163. package/dist/generated/commands/workspaces/integrations-slack-get.js +1 -1
  164. package/dist/generated/commands/workspaces/list.js +1 -1
  165. package/dist/generated/commands/workspaces/members.js +1 -1
  166. package/dist/generated/commands/workspaces/plugins-list.js +1 -1
  167. package/dist/generated/commands/workspaces/plugins-update.js +1 -1
  168. package/dist/generated/commands/workspaces/provider-login-claude-complete.js +1 -1
  169. package/dist/generated/commands/workspaces/provider-login-claude-start.js +1 -1
  170. package/dist/generated/commands/workspaces/provider-login-codex-complete.js +1 -1
  171. package/dist/generated/commands/workspaces/provider-login-codex-start.js +1 -1
  172. package/dist/generated/commands/workspaces/sandbox-limit.js +1 -1
  173. package/dist/generated/commands/workspaces/skills-create.js +1 -1
  174. package/dist/generated/commands/workspaces/skills-delete.js +1 -1
  175. package/dist/generated/commands/workspaces/skills-get.js +1 -1
  176. package/dist/generated/commands/workspaces/skills-list.js +1 -1
  177. package/dist/generated/commands/workspaces/skills-update.js +1 -1
  178. package/dist/generated/commands/workspaces/stop-sandboxes.js +1 -1
  179. package/dist/generated/commands/workspaces/timezone-set.js +1 -1
  180. package/dist/generated/commands/workspaces/usage.js +1 -1
  181. package/dist/program.js +4 -4
  182. package/dist/runtime/attach.js +46 -6
  183. package/dist/runtime/credentials.js +15 -7
  184. package/openapi.json +4327 -4221
  185. package/package.json +1 -1
  186. package/dist/generated/commands/workspaces/getting-started-get.js +0 -22
  187. package/dist/generated/commands/workspaces/getting-started-update.js +0 -36
  188. package/dist/generated/commands/workspaces/lead-cards.js +0 -21
  189. package/dist/generated/commands/workspaces/lead-proposals-create.js +0 -25
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "projects",
6
6
  "create"
7
7
  ],
8
- "summary": "Connect a GitHub repository as a project in a workspace.",
8
+ "summary": "Connect a GitHub repository as a project in a workspace. Its first Deploy starts by itself, as the caller's; sessions start once it lands.",
9
9
  "pathParams": [],
10
10
  "query": [],
11
11
  "body": {
@@ -37,5 +37,5 @@ export const operation = {
37
37
  "sandboxToken": true,
38
38
  "orchestratorToken": true,
39
39
  "cronToken": true,
40
- "leadToken": true
40
+ "senseiToken": true
41
41
  };
@@ -17,5 +17,5 @@ export const operation = {
17
17
  "sandboxToken": false,
18
18
  "orchestratorToken": false,
19
19
  "cronToken": false,
20
- "leadToken": false
20
+ "senseiToken": false
21
21
  };
@@ -21,5 +21,5 @@ export const operation = {
21
21
  "sandboxToken": true,
22
22
  "orchestratorToken": true,
23
23
  "cronToken": true,
24
- "leadToken": true
24
+ "senseiToken": true
25
25
  };
@@ -21,5 +21,5 @@ export const operation = {
21
21
  "sandboxToken": false,
22
22
  "orchestratorToken": false,
23
23
  "cronToken": false,
24
- "leadToken": false
24
+ "senseiToken": false
25
25
  };
@@ -17,5 +17,5 @@ export const operation = {
17
17
  "sandboxToken": true,
18
18
  "orchestratorToken": true,
19
19
  "cronToken": true,
20
- "leadToken": true
20
+ "senseiToken": true
21
21
  };
@@ -36,5 +36,5 @@ export const operation = {
36
36
  "sandboxToken": true,
37
37
  "orchestratorToken": true,
38
38
  "cronToken": true,
39
- "leadToken": true
39
+ "senseiToken": true
40
40
  };
@@ -50,5 +50,5 @@ export const operation = {
50
50
  "sandboxToken": false,
51
51
  "orchestratorToken": false,
52
52
  "cronToken": false,
53
- "leadToken": false
53
+ "senseiToken": false
54
54
  };
@@ -26,5 +26,5 @@ export const operation = {
26
26
  "sandboxToken": true,
27
27
  "orchestratorToken": true,
28
28
  "cronToken": true,
29
- "leadToken": true
29
+ "senseiToken": true
30
30
  };
@@ -17,5 +17,5 @@ export const operation = {
17
17
  "sandboxToken": true,
18
18
  "orchestratorToken": true,
19
19
  "cronToken": true,
20
- "leadToken": true
20
+ "senseiToken": true
21
21
  };
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "projects",
6
6
  "list"
7
7
  ],
8
- "summary": "List the projects you can reach. With an API key this spans every workspace you belong to; a browser session sees only its active workspace.",
8
+ "summary": "List the projects you can reach, across every workspace you belong to. An agent token sees only its own workspace.",
9
9
  "pathParams": [],
10
10
  "query": [],
11
11
  "body": null,
@@ -15,5 +15,5 @@ export const operation = {
15
15
  "sandboxToken": true,
16
16
  "orchestratorToken": true,
17
17
  "cronToken": true,
18
- "leadToken": true
18
+ "senseiToken": true
19
19
  };
@@ -18,5 +18,5 @@ export const operation = {
18
18
  "sandboxToken": true,
19
19
  "orchestratorToken": true,
20
20
  "cronToken": true,
21
- "leadToken": true
21
+ "senseiToken": true
22
22
  };
@@ -29,5 +29,5 @@ export const operation = {
29
29
  "sandboxToken": true,
30
30
  "orchestratorToken": true,
31
31
  "cronToken": true,
32
- "leadToken": true
32
+ "senseiToken": true
33
33
  };
@@ -87,5 +87,5 @@ export const operation = {
87
87
  "sandboxToken": true,
88
88
  "orchestratorToken": true,
89
89
  "cronToken": true,
90
- "leadToken": true
90
+ "senseiToken": true
91
91
  };
@@ -18,5 +18,5 @@ export const operation = {
18
18
  "sandboxToken": true,
19
19
  "orchestratorToken": true,
20
20
  "cronToken": true,
21
- "leadToken": true
21
+ "senseiToken": true
22
22
  };
@@ -19,5 +19,5 @@ export const operation = {
19
19
  "sandboxToken": false,
20
20
  "orchestratorToken": false,
21
21
  "cronToken": false,
22
- "leadToken": false
22
+ "senseiToken": false
23
23
  };
@@ -81,5 +81,5 @@ export const operation = {
81
81
  "sandboxToken": true,
82
82
  "orchestratorToken": true,
83
83
  "cronToken": true,
84
- "leadToken": true
84
+ "senseiToken": true
85
85
  };
@@ -18,5 +18,5 @@ export const operation = {
18
18
  "sandboxToken": true,
19
19
  "orchestratorToken": true,
20
20
  "cronToken": true,
21
- "leadToken": true
21
+ "senseiToken": true
22
22
  };
@@ -98,5 +98,5 @@ export const operation = {
98
98
  "sandboxToken": true,
99
99
  "orchestratorToken": true,
100
100
  "cronToken": true,
101
- "leadToken": true
101
+ "senseiToken": true
102
102
  };
@@ -84,5 +84,5 @@ export const operation = {
84
84
  "sandboxToken": true,
85
85
  "orchestratorToken": true,
86
86
  "cronToken": true,
87
- "leadToken": true
87
+ "senseiToken": true
88
88
  };
@@ -35,5 +35,5 @@ export const operation = {
35
35
  "sandboxToken": true,
36
36
  "orchestratorToken": true,
37
37
  "cronToken": true,
38
- "leadToken": true
38
+ "senseiToken": true
39
39
  };
@@ -27,5 +27,5 @@ export const operation = {
27
27
  "sandboxToken": true,
28
28
  "orchestratorToken": true,
29
29
  "cronToken": true,
30
- "leadToken": true
30
+ "senseiToken": true
31
31
  };
@@ -0,0 +1,27 @@
1
+ export const operation = {
2
+ "method": "get",
3
+ "path": "/api/sensei/cards",
4
+ "command": [
5
+ "sensei",
6
+ "cards"
7
+ ],
8
+ "summary": "List your open Sensei Cards in every workspace you belong to, in the order the triager ranked them, each naming its workspace, with how many wait in each workspace.",
9
+ "pathParams": [],
10
+ "query": [
11
+ {
12
+ "name": "workspace",
13
+ "flag": "workspace",
14
+ "kind": "string",
15
+ "required": false,
16
+ "description": "Only the cards of this workspace, by id. The counts still cover every workspace."
17
+ }
18
+ ],
19
+ "body": null,
20
+ "multipart": null,
21
+ "attachments": false,
22
+ "anonymous": false,
23
+ "sandboxToken": true,
24
+ "orchestratorToken": true,
25
+ "cronToken": true,
26
+ "senseiToken": true
27
+ };
@@ -1,14 +1,12 @@
1
1
  export const operation = {
2
2
  "method": "post",
3
- "path": "/api/organizations/{workspaceId}/lead/merge",
3
+ "path": "/api/sensei/merge",
4
4
  "command": [
5
- "workspaces",
6
- "lead-merge"
7
- ],
8
- "summary": "Put the pull request of one of your own Chat Sessions in the Merge Queue, as a Merge tap on a Lead Card does. Refused with the reason unless you are its Assignee and the pull request is open and approved.",
9
- "pathParams": [
10
- "workspaceId"
5
+ "sensei",
6
+ "merge"
11
7
  ],
8
+ "summary": "Put the pull request of one of your own Chat Sessions, in any workspace you belong to, in the Merge Queue, as a Merge tap on a Sensei Card does. Refused with the reason unless you are its Assignee and the pull request is open and approved.",
9
+ "pathParams": [],
12
10
  "query": [],
13
11
  "body": {
14
12
  "fields": [
@@ -17,7 +15,7 @@ export const operation = {
17
15
  "flag": "session-id",
18
16
  "kind": "string",
19
17
  "required": true,
20
- "description": "The Chat Session whose pull request to queue."
18
+ "description": "The Chat Session whose pull request to queue, in any workspace you belong to."
21
19
  }
22
20
  ],
23
21
  "required": true
@@ -28,5 +26,5 @@ export const operation = {
28
26
  "sandboxToken": false,
29
27
  "orchestratorToken": false,
30
28
  "cronToken": false,
31
- "leadToken": true
29
+ "senseiToken": true
32
30
  };
@@ -1,14 +1,13 @@
1
1
  export const operation = {
2
2
  "method": "post",
3
- "path": "/api/organizations/{workspaceId}/lead/notifications/{notificationId}/open",
3
+ "path": "/api/sensei/notifications/{notificationId}/open",
4
4
  "command": [
5
- "workspaces",
6
- "lead-notifications",
5
+ "sensei",
6
+ "notifications",
7
7
  "open"
8
8
  ],
9
- "summary": "Mark one of your Lead notifications as opened.",
9
+ "summary": "Mark one of your Sensei notifications, from any workspace, as opened.",
10
10
  "pathParams": [
11
- "workspaceId",
12
11
  "notificationId"
13
12
  ],
14
13
  "query": [],
@@ -19,5 +18,5 @@ export const operation = {
19
18
  "sandboxToken": true,
20
19
  "orchestratorToken": true,
21
20
  "cronToken": true,
22
- "leadToken": true
21
+ "senseiToken": true
23
22
  };
@@ -0,0 +1,23 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/sensei/proposals",
4
+ "command": [
5
+ "sensei",
6
+ "proposals",
7
+ "create"
8
+ ],
9
+ "summary": "Open a Sensei Card in a member's Needs you that proposes one thing, with one line of why, in the workspace of its projectId, which must be one you belong to: your own, or from a Cron Run the Needs you of the member memberId names. kind start proposes starting a Backlog session, and is refused unless that member is idle in every workspace. kind delete_ticket (with evidence), merge_tickets (with sessionIds, mergedContent and the promptRevision sessions get gave for each ticket in revisions) and create_cron (with name, prompt, crontab, read in the Workspace Timezone, and projectIds of that workspace, and no sessionId) change nothing until the member accepts the card. Pass the body whole with --body or --body-file.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": null,
14
+ "required": true
15
+ },
16
+ "multipart": null,
17
+ "attachments": false,
18
+ "anonymous": false,
19
+ "sandboxToken": true,
20
+ "orchestratorToken": true,
21
+ "cronToken": true,
22
+ "senseiToken": true
23
+ };
@@ -1,14 +1,12 @@
1
1
  export const operation = {
2
2
  "method": "post",
3
- "path": "/api/organizations/{workspaceId}/lead/review-requests",
3
+ "path": "/api/sensei/review-requests",
4
4
  "command": [
5
- "workspaces",
6
- "lead-review-request"
7
- ],
8
- "summary": "Ask again, as Kosuke, the reviewers one of your member’s Chat Sessions asked before, on its open pull request. Only the Lead calls it. In an Event Turn it names a fact of its batch about that session. A retry for the same fact or Turn asks nobody twice. Answers who GitHub took and the reason for each one it refused.",
9
- "pathParams": [
10
- "workspaceId"
5
+ "sensei",
6
+ "review-request"
11
7
  ],
8
+ "summary": "Ask again, as Kosuke, the reviewers one of your member’s Chat Sessions, in any workspace they belong to, asked before, on its open pull request. Only Sensei calls it. In an Event Turn it names a fact of its batch about that session. A retry for the same fact or Turn asks nobody twice. Answers who GitHub took and the reason for each one it refused.",
9
+ "pathParams": [],
12
10
  "query": [],
13
11
  "body": {
14
12
  "fields": [
@@ -17,14 +15,14 @@ export const operation = {
17
15
  "flag": "session-id",
18
16
  "kind": "string",
19
17
  "required": true,
20
- "description": "The Chat Session whose pull request to ask again. Its Assignee is your member."
18
+ "description": "The Chat Session whose pull request to ask again, in any workspace your member belongs to. Its Assignee is your member."
21
19
  },
22
20
  {
23
21
  "name": "factId",
24
22
  "flag": "fact-id",
25
23
  "kind": "string",
26
24
  "required": false,
27
- "description": "The Lead Fact the re-ask answers. Required in an Event Turn: one of its batch, about this session."
25
+ "description": "The Sensei Fact the re-ask answers. Required in an Event Turn: one of its batch, about this session."
28
26
  }
29
27
  ],
30
28
  "required": true
@@ -35,5 +33,5 @@ export const operation = {
35
33
  "sandboxToken": false,
36
34
  "orchestratorToken": false,
37
35
  "cronToken": false,
38
- "leadToken": true
36
+ "senseiToken": true
39
37
  };
@@ -1,14 +1,12 @@
1
1
  export const operation = {
2
2
  "method": "post",
3
- "path": "/api/organizations/{workspaceId}/lead/session-sends",
3
+ "path": "/api/sensei/session-sends",
4
4
  "command": [
5
- "workspaces",
6
- "lead-session-send"
7
- ],
8
- "summary": "Send a message into one of your member’s Chat Sessions as Kosuke, from the Lead, with an optional /kosuke:ship or /kosuke:sync-branch. Only the Lead calls it. In an Event Turn it names a fact of its batch about that session. One send per session per Turn, and at most 3 in a row with nothing new from a person or GitHub; a refusal comes back with its reason.",
9
- "pathParams": [
10
- "workspaceId"
5
+ "sensei",
6
+ "session-send"
11
7
  ],
8
+ "summary": "Send a message into one of your member’s Chat Sessions, in any workspace they belong to, as Kosuke, from Sensei, with an optional /kosuke:ship or /kosuke:sync-branch. Only Sensei calls it. In an Event Turn it names a fact of its batch about that session. One send per session per Turn, and at most 3 in a row with nothing new from a person or GitHub; a refusal comes back with its reason.",
9
+ "pathParams": [],
12
10
  "query": [],
13
11
  "body": {
14
12
  "fields": [
@@ -17,14 +15,14 @@ export const operation = {
17
15
  "flag": "session-id",
18
16
  "kind": "string",
19
17
  "required": true,
20
- "description": "The Chat Session to send into. Its Assignee is your member."
18
+ "description": "The Chat Session to send into, in any workspace your member belongs to. Its Assignee is your member."
21
19
  },
22
20
  {
23
21
  "name": "factId",
24
22
  "flag": "fact-id",
25
23
  "kind": "string",
26
24
  "required": false,
27
- "description": "The Lead Fact the send answers. Required in an Event Turn: one of its batch, about this session."
25
+ "description": "The Sensei Fact the send answers. Required in an Event Turn: one of its batch, about this session."
28
26
  },
29
27
  {
30
28
  "name": "content",
@@ -53,5 +51,5 @@ export const operation = {
53
51
  "sandboxToken": false,
54
52
  "orchestratorToken": false,
55
53
  "cronToken": false,
56
- "leadToken": true
54
+ "senseiToken": true
57
55
  };
@@ -1,14 +1,12 @@
1
1
  export const operation = {
2
2
  "method": "post",
3
- "path": "/api/organizations/{workspaceId}/lead/triage",
3
+ "path": "/api/sensei/triage",
4
4
  "command": [
5
- "workspaces",
6
- "lead-triage"
7
- ],
8
- "summary": "Write your own Lead Cards in a workspace: open, update and close them from the Lead Facts you received, put them in order, one line of why per card, one notification, and the Welcome back sentence. Answers the cards opened and closed, what was ranked, whether the notification went out, and every part it refused with the reason. Pass the body whole with --body or --body-file.",
9
- "pathParams": [
10
- "workspaceId"
5
+ "sensei",
6
+ "triage"
11
7
  ],
8
+ "summary": "Write your own Sensei Cards in every workspace you belong to: open, update and close them from the Sensei Facts you received, each in the workspace of its session or project, put them all in one order, one line of why per card, one notification, and the Welcome back sentence. Answers the cards opened, with their workspace, and closed, what was ranked, whether the notification went out, and every part it refused with the reason. Pass the body whole with --body or --body-file.",
9
+ "pathParams": [],
12
10
  "query": [],
13
11
  "body": {
14
12
  "fields": [
@@ -17,7 +15,7 @@ export const operation = {
17
15
  "flag": "open",
18
16
  "kind": "json",
19
17
  "required": false,
20
- "description": "Cards to open, or to update when you already have one open on that session with that key. Each names the facts it is basedOn, all yours and about its session, none older than the member's last answer. At most 4 parts and 6 actions. A JSON array."
18
+ "description": "Cards to open, or to update when you already have one open on that session, or that project for a project card, with that key. Each names its sessionId or, about a project's Deploy, its projectId, and opens in that session's or project's workspace, which must be one you belong to. Each names the facts it is basedOn, all yours and about the same session or project, none older than the member's last answer. At most 4 parts and 6 actions. A JSON array."
21
19
  },
22
20
  {
23
21
  "name": "close",
@@ -45,7 +43,7 @@ export const operation = {
45
43
  "flag": "notify",
46
44
  "kind": "json",
47
45
  "required": false,
48
- "description": "One notification for one open card: once per card, never for a skipped card, refused while the Lead is on screen. A JSON object."
46
+ "description": "One notification for one open card: once per card, never for a skipped card, refused while Sensei is on screen. A JSON object."
49
47
  },
50
48
  {
51
49
  "name": "welcome",
@@ -63,5 +61,5 @@ export const operation = {
63
61
  "sandboxToken": true,
64
62
  "orchestratorToken": true,
65
63
  "cronToken": true,
66
- "leadToken": true
64
+ "senseiToken": true
67
65
  };
@@ -39,5 +39,5 @@ export const operation = {
39
39
  "sandboxToken": true,
40
40
  "orchestratorToken": true,
41
41
  "cronToken": true,
42
- "leadToken": true
42
+ "senseiToken": true
43
43
  };
@@ -5,7 +5,7 @@ export const operation = {
5
5
  "sessions",
6
6
  "all"
7
7
  ],
8
- "summary": "List chat sessions across every workspace you belong to, each with its workspace, project, URL and Needs You reason. q narrows them to titles containing it, ids to the sessions it names. With needsYou, at most 100, most severe first. A browser session reads its active workspace only.",
8
+ "summary": "List chat sessions across every workspace you belong to, each with its workspace, project, URL and Needs You reason. q narrows them to titles containing it, ids to the sessions it names. With needsYou, at most 100, most severe first. An agent token reads its own workspace only.",
9
9
  "pathParams": [],
10
10
  "query": [
11
11
  {
@@ -114,5 +114,5 @@ export const operation = {
114
114
  "sandboxToken": true,
115
115
  "orchestratorToken": true,
116
116
  "cronToken": true,
117
- "leadToken": true
117
+ "senseiToken": true
118
118
  };
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "artifacts",
7
7
  "attach"
8
8
  ],
9
- "summary": "Copy one of your Lead's Prototypes onto a Backlog session as its own artifacts: the variant named, or every variant.",
9
+ "summary": "Copy one of your Sensei's Prototypes onto a Backlog session as its own artifacts: the variant named, or every variant.",
10
10
  "pathParams": [
11
11
  "projectId",
12
12
  "sessionId"
@@ -19,7 +19,7 @@ export const operation = {
19
19
  "flag": "prototype",
20
20
  "kind": "string",
21
21
  "required": true,
22
- "description": "The Prototype to copy, by the name the Lead wrote it under."
22
+ "description": "The Prototype to copy, by the name Sensei wrote it under."
23
23
  },
24
24
  {
25
25
  "name": "variant",
@@ -44,5 +44,5 @@ export const operation = {
44
44
  "sandboxToken": true,
45
45
  "orchestratorToken": true,
46
46
  "cronToken": true,
47
- "leadToken": true
47
+ "senseiToken": true
48
48
  };
@@ -20,5 +20,5 @@ export const operation = {
20
20
  "sandboxToken": true,
21
21
  "orchestratorToken": true,
22
22
  "cronToken": true,
23
- "leadToken": true
23
+ "senseiToken": true
24
24
  };
@@ -19,5 +19,5 @@ export const operation = {
19
19
  "sandboxToken": true,
20
20
  "orchestratorToken": true,
21
21
  "cronToken": true,
22
- "leadToken": true
22
+ "senseiToken": true
23
23
  };
@@ -35,5 +35,5 @@ export const operation = {
35
35
  "sandboxToken": true,
36
36
  "orchestratorToken": true,
37
37
  "cronToken": true,
38
- "leadToken": true
38
+ "senseiToken": true
39
39
  };
@@ -20,5 +20,5 @@ export const operation = {
20
20
  "sandboxToken": false,
21
21
  "orchestratorToken": false,
22
22
  "cronToken": false,
23
- "leadToken": false
23
+ "senseiToken": false
24
24
  };
@@ -19,5 +19,5 @@ export const operation = {
19
19
  "sandboxToken": true,
20
20
  "orchestratorToken": true,
21
21
  "cronToken": true,
22
- "leadToken": true
22
+ "senseiToken": true
23
23
  };
@@ -30,5 +30,5 @@ export const operation = {
30
30
  "sandboxToken": true,
31
31
  "orchestratorToken": true,
32
32
  "cronToken": true,
33
- "leadToken": true
33
+ "senseiToken": true
34
34
  };
@@ -77,6 +77,13 @@ export const operation = {
77
77
  "kind": "string",
78
78
  "required": false,
79
79
  "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
80
+ },
81
+ {
82
+ "name": "startWhenDeployed",
83
+ "flag": "start-when-deployed",
84
+ "kind": "boolean",
85
+ "required": false,
86
+ "description": "With status=backlog, from a member: when the project's first Deploy has not landed, Kosuke starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
80
87
  }
81
88
  ],
82
89
  "required": true
@@ -147,6 +154,13 @@ export const operation = {
147
154
  "kind": "string",
148
155
  "required": false,
149
156
  "description": "Why this session is being filed and what turned it up, in one line. Required from a sandbox or a Cron Run, ignored from anyone else."
157
+ },
158
+ {
159
+ "name": "startWhenDeployed",
160
+ "flag": "start-when-deployed",
161
+ "kind": "boolean",
162
+ "required": false,
163
+ "description": "With status=backlog, from a member: when the project's first Deploy has not landed, Kosuke starts the ticket with /kosuke:ship as its Assignee once it lands. The session's startWhenDeployedAt says whether it was marked; ignored otherwise."
150
164
  }
151
165
  ],
152
166
  "attachments": true,
@@ -154,5 +168,5 @@ export const operation = {
154
168
  "sandboxToken": true,
155
169
  "orchestratorToken": true,
156
170
  "cronToken": true,
157
- "leadToken": true
171
+ "senseiToken": true
158
172
  };
@@ -18,5 +18,5 @@ export const operation = {
18
18
  "sandboxToken": false,
19
19
  "orchestratorToken": false,
20
20
  "cronToken": false,
21
- "leadToken": false
21
+ "senseiToken": false
22
22
  };
@@ -64,5 +64,5 @@ export const operation = {
64
64
  "sandboxToken": true,
65
65
  "orchestratorToken": true,
66
66
  "cronToken": true,
67
- "leadToken": true
67
+ "senseiToken": true
68
68
  };
@@ -21,5 +21,5 @@ export const operation = {
21
21
  "sandboxToken": false,
22
22
  "orchestratorToken": false,
23
23
  "cronToken": false,
24
- "leadToken": false
24
+ "senseiToken": false
25
25
  };
@@ -20,5 +20,5 @@ export const operation = {
20
20
  "sandboxToken": true,
21
21
  "orchestratorToken": true,
22
22
  "cronToken": true,
23
- "leadToken": true
23
+ "senseiToken": true
24
24
  };
@@ -24,5 +24,5 @@ export const operation = {
24
24
  "sandboxToken": true,
25
25
  "orchestratorToken": true,
26
26
  "cronToken": true,
27
- "leadToken": true
27
+ "senseiToken": true
28
28
  };
@@ -19,5 +19,5 @@ export const operation = {
19
19
  "sandboxToken": true,
20
20
  "orchestratorToken": true,
21
21
  "cronToken": true,
22
- "leadToken": true
22
+ "senseiToken": true
23
23
  };
@@ -19,5 +19,5 @@ export const operation = {
19
19
  "sandboxToken": true,
20
20
  "orchestratorToken": true,
21
21
  "cronToken": true,
22
- "leadToken": true
22
+ "senseiToken": true
23
23
  };