@kosuke-ai/cli 5.12.0 → 5.14.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.
@@ -95,76 +95,75 @@ import { operation as o93 } from './sessions/list.js';
95
95
  import { operation as o94 } from './sessions/mark-read.js';
96
96
  import { operation as o95 } from './sessions/messages.js';
97
97
  import { operation as o96 } from './sessions/needs-you.js';
98
- import { operation as o97 } from './sessions/qa-slot.js';
99
- import { operation as o98 } from './sessions/queue-delete.js';
100
- import { operation as o99 } from './sessions/queue-list.js';
101
- import { operation as o100 } from './sessions/queue-move.js';
102
- import { operation as o101 } from './sessions/queue-resume.js';
103
- import { operation as o102 } from './sessions/queue-send.js';
104
- import { operation as o103 } from './sessions/queue-steer.js';
105
- import { operation as o104 } from './sessions/queue-update.js';
106
- import { operation as o105 } from './sessions/runtime-command.js';
107
- import { operation as o106 } from './sessions/search.js';
108
- import { operation as o107 } from './sessions/send.js';
109
- import { operation as o108 } from './sessions/steer.js';
110
- import { operation as o109 } from './sessions/title-generate.js';
111
- import { operation as o110 } from './sessions/update.js';
112
- import { operation as o111 } from './user/auth-token-revoke.js';
113
- import { operation as o112 } from './user/plugins-list.js';
114
- import { operation as o113 } from './user/plugins-update.js';
115
- import { operation as o114 } from './user/profile.js';
116
- import { operation as o115 } from './user/push-devices-register.js';
117
- import { operation as o116 } from './user/push-devices-remove.js';
118
- import { operation as o117 } from './user/skills-create.js';
119
- import { operation as o118 } from './user/skills-delete.js';
120
- import { operation as o119 } from './user/skills-get.js';
121
- import { operation as o120 } from './user/skills-list.js';
122
- import { operation as o121 } from './user/skills-update.js';
123
- import { operation as o122 } from './user/subscriptions-delete.js';
124
- import { operation as o123 } from './user/subscriptions-get.js';
125
- import { operation as o124 } from './user/subscriptions-login-claude-complete.js';
126
- import { operation as o125 } from './user/subscriptions-login-claude-start.js';
127
- import { operation as o126 } from './user/subscriptions-login-codex-complete.js';
128
- import { operation as o127 } from './user/subscriptions-login-codex-start.js';
129
- import { operation as o128 } from './user/subscriptions-set-default-model.js';
130
- import { operation as o129 } from './user/subscriptions-set-key.js';
131
- import { operation as o130 } from './user/subscriptions-usage.js';
132
- import { operation as o131 } from './workspaces/access-status.js';
133
- import { operation as o132 } from './workspaces/ai-provider-get.js';
134
- import { operation as o133 } from './workspaces/ai-provider-remove.js';
135
- import { operation as o134 } from './workspaces/ai-provider-set.js';
136
- import { operation as o135 } from './workspaces/ai-provider-usage-claude.js';
137
- import { operation as o136 } from './workspaces/ai-provider-usage-codex.js';
138
- import { operation as o137 } from './workspaces/ai-provider-usage-coding-plan.js';
139
- import { operation as o138 } from './workspaces/artifacts.js';
140
- import { operation as o139 } from './workspaces/credits.js';
141
- import { operation as o140 } from './workspaces/get.js';
142
- import { operation as o141 } from './workspaces/getting-started-get.js';
143
- import { operation as o142 } from './workspaces/getting-started-update.js';
144
- import { operation as o143 } from './workspaces/integrations-sentry-get.js';
145
- import { operation as o144 } from './workspaces/integrations-sentry-remove.js';
146
- import { operation as o145 } from './workspaces/integrations-slack-get.js';
147
- import { operation as o146 } from './workspaces/lead-cards.js';
148
- import { operation as o147 } from './workspaces/lead-merge.js';
149
- import { operation as o148 } from './workspaces/lead-notifications-open.js';
150
- import { operation as o149 } from './workspaces/lead-proposals-create.js';
151
- import { operation as o150 } from './workspaces/lead-triage.js';
152
- import { operation as o151 } from './workspaces/list.js';
153
- import { operation as o152 } from './workspaces/members.js';
154
- import { operation as o153 } from './workspaces/plugins-list.js';
155
- import { operation as o154 } from './workspaces/plugins-update.js';
156
- import { operation as o155 } from './workspaces/provider-login-claude-complete.js';
157
- import { operation as o156 } from './workspaces/provider-login-claude-start.js';
158
- import { operation as o157 } from './workspaces/provider-login-codex-complete.js';
159
- import { operation as o158 } from './workspaces/provider-login-codex-start.js';
160
- import { operation as o159 } from './workspaces/sandbox-limit.js';
161
- import { operation as o160 } from './workspaces/skills-create.js';
162
- import { operation as o161 } from './workspaces/skills-delete.js';
163
- import { operation as o162 } from './workspaces/skills-get.js';
164
- import { operation as o163 } from './workspaces/skills-list.js';
165
- import { operation as o164 } from './workspaces/skills-update.js';
166
- import { operation as o165 } from './workspaces/stop-sandboxes.js';
167
- import { operation as o166 } from './workspaces/usage.js';
98
+ import { operation as o97 } from './sessions/queue-delete.js';
99
+ import { operation as o98 } from './sessions/queue-list.js';
100
+ import { operation as o99 } from './sessions/queue-move.js';
101
+ import { operation as o100 } from './sessions/queue-resume.js';
102
+ import { operation as o101 } from './sessions/queue-send.js';
103
+ import { operation as o102 } from './sessions/queue-steer.js';
104
+ import { operation as o103 } from './sessions/queue-update.js';
105
+ import { operation as o104 } from './sessions/runtime-command.js';
106
+ import { operation as o105 } from './sessions/search.js';
107
+ import { operation as o106 } from './sessions/send.js';
108
+ import { operation as o107 } from './sessions/steer.js';
109
+ import { operation as o108 } from './sessions/title-generate.js';
110
+ import { operation as o109 } from './sessions/update.js';
111
+ import { operation as o110 } from './user/auth-token-revoke.js';
112
+ import { operation as o111 } from './user/plugins-list.js';
113
+ import { operation as o112 } from './user/plugins-update.js';
114
+ import { operation as o113 } from './user/profile.js';
115
+ import { operation as o114 } from './user/push-devices-register.js';
116
+ import { operation as o115 } from './user/push-devices-remove.js';
117
+ import { operation as o116 } from './user/skills-create.js';
118
+ import { operation as o117 } from './user/skills-delete.js';
119
+ import { operation as o118 } from './user/skills-get.js';
120
+ import { operation as o119 } from './user/skills-list.js';
121
+ import { operation as o120 } from './user/skills-update.js';
122
+ import { operation as o121 } from './user/subscriptions-delete.js';
123
+ import { operation as o122 } from './user/subscriptions-get.js';
124
+ import { operation as o123 } from './user/subscriptions-login-claude-complete.js';
125
+ import { operation as o124 } from './user/subscriptions-login-claude-start.js';
126
+ import { operation as o125 } from './user/subscriptions-login-codex-complete.js';
127
+ import { operation as o126 } from './user/subscriptions-login-codex-start.js';
128
+ import { operation as o127 } from './user/subscriptions-set-default-model.js';
129
+ import { operation as o128 } from './user/subscriptions-set-key.js';
130
+ import { operation as o129 } from './user/subscriptions-usage.js';
131
+ import { operation as o130 } from './workspaces/access-status.js';
132
+ import { operation as o131 } from './workspaces/ai-provider-get.js';
133
+ import { operation as o132 } from './workspaces/ai-provider-remove.js';
134
+ import { operation as o133 } from './workspaces/ai-provider-set.js';
135
+ import { operation as o134 } from './workspaces/ai-provider-usage-claude.js';
136
+ import { operation as o135 } from './workspaces/ai-provider-usage-codex.js';
137
+ import { operation as o136 } from './workspaces/ai-provider-usage-coding-plan.js';
138
+ import { operation as o137 } from './workspaces/artifacts.js';
139
+ import { operation as o138 } from './workspaces/credits.js';
140
+ import { operation as o139 } from './workspaces/get.js';
141
+ import { operation as o140 } from './workspaces/getting-started-get.js';
142
+ import { operation as o141 } from './workspaces/getting-started-update.js';
143
+ import { operation as o142 } from './workspaces/integrations-sentry-get.js';
144
+ import { operation as o143 } from './workspaces/integrations-sentry-remove.js';
145
+ import { operation as o144 } from './workspaces/integrations-slack-get.js';
146
+ import { operation as o145 } from './workspaces/lead-cards.js';
147
+ import { operation as o146 } from './workspaces/lead-merge.js';
148
+ import { operation as o147 } from './workspaces/lead-notifications-open.js';
149
+ import { operation as o148 } from './workspaces/lead-proposals-create.js';
150
+ import { operation as o149 } from './workspaces/lead-triage.js';
151
+ import { operation as o150 } from './workspaces/list.js';
152
+ import { operation as o151 } from './workspaces/members.js';
153
+ import { operation as o152 } from './workspaces/plugins-list.js';
154
+ import { operation as o153 } from './workspaces/plugins-update.js';
155
+ import { operation as o154 } from './workspaces/provider-login-claude-complete.js';
156
+ import { operation as o155 } from './workspaces/provider-login-claude-start.js';
157
+ import { operation as o156 } from './workspaces/provider-login-codex-complete.js';
158
+ import { operation as o157 } from './workspaces/provider-login-codex-start.js';
159
+ import { operation as o158 } from './workspaces/sandbox-limit.js';
160
+ import { operation as o159 } from './workspaces/skills-create.js';
161
+ import { operation as o160 } from './workspaces/skills-delete.js';
162
+ import { operation as o161 } from './workspaces/skills-get.js';
163
+ import { operation as o162 } from './workspaces/skills-list.js';
164
+ import { operation as o163 } from './workspaces/skills-update.js';
165
+ import { operation as o164 } from './workspaces/stop-sandboxes.js';
166
+ import { operation as o165 } from './workspaces/usage.js';
168
167
  export const operations = [
169
168
  o0,
170
169
  o1,
@@ -332,5 +331,4 @@ export const operations = [
332
331
  o163,
333
332
  o164,
334
333
  o165,
335
- o166,
336
334
  ];
@@ -6,7 +6,7 @@ export const operation = {
6
6
  "lead-proposals",
7
7
  "create"
8
8
  ],
9
- "summary": "Open a Lead Card in your own Needs you that proposes one thing, with one line of why. kind start proposes starting a Backlog session, and is refused unless you are idle. 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, timezone and projectIds, and no sessionId) change nothing until you accept the card. Pass the body whole with --body.",
9
+ "summary": "Open a Lead Card in a member's Needs you that proposes one thing, with one line of why: 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. 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, timezone and projectIds, and no sessionId) change nothing until the member accepts the card. Pass the body whole with --body or --body-file.",
10
10
  "pathParams": [
11
11
  "workspaceId"
12
12
  ],
package/openapi.json CHANGED
@@ -3080,7 +3080,7 @@
3080
3080
  "/api/organizations/{workspaceId}/lead/proposals": {
3081
3081
  "post": {
3082
3082
  "operationId": "workspacesLeadProposalsCreate",
3083
- "summary": "Open a Lead Card in your own Needs you that proposes one thing, with one line of why. kind start proposes starting a Backlog session, and is refused unless you are idle. 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, timezone and projectIds, and no sessionId) change nothing until you accept the card. Pass the body whole with --body.",
3083
+ "summary": "Open a Lead Card in a member's Needs you that proposes one thing, with one line of why: 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. 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, timezone and projectIds, and no sessionId) change nothing until the member accepts the card. Pass the body whole with --body or --body-file.",
3084
3084
  "tags": ["workspaces"],
3085
3085
  "x-kosuke-command": ["workspaces", "lead-proposals", "create"],
3086
3086
  "x-kosuke-sandbox-token": true,
@@ -3111,6 +3111,11 @@
3111
3111
  "type": "string",
3112
3112
  "const": "start"
3113
3113
  },
3114
+ "memberId": {
3115
+ "description": "The member whose Lead gets the card, as the id `workspaces members` prints. Only a Cron Run may name another member; left out, the card is your own.",
3116
+ "type": "string",
3117
+ "minLength": 1
3118
+ },
3114
3119
  "projectId": {
3115
3120
  "type": "string",
3116
3121
  "format": "uuid",
@@ -3139,6 +3144,11 @@
3139
3144
  "type": "string",
3140
3145
  "const": "delete_ticket"
3141
3146
  },
3147
+ "memberId": {
3148
+ "description": "The member whose Lead gets the card, as the id `workspaces members` prints. Only a Cron Run may name another member; left out, the card is your own.",
3149
+ "type": "string",
3150
+ "minLength": 1
3151
+ },
3142
3152
  "projectId": {
3143
3153
  "type": "string",
3144
3154
  "format": "uuid",
@@ -3173,6 +3183,11 @@
3173
3183
  "type": "string",
3174
3184
  "const": "merge_tickets"
3175
3185
  },
3186
+ "memberId": {
3187
+ "description": "The member whose Lead gets the card, as the id `workspaces members` prints. Only a Cron Run may name another member; left out, the card is your own.",
3188
+ "type": "string",
3189
+ "minLength": 1
3190
+ },
3176
3191
  "projectId": {
3177
3192
  "type": "string",
3178
3193
  "format": "uuid",
@@ -3239,6 +3254,11 @@
3239
3254
  "type": "string",
3240
3255
  "const": "create_cron"
3241
3256
  },
3257
+ "memberId": {
3258
+ "description": "The member whose Lead gets the card, as the id `workspaces members` prints. Only a Cron Run may name another member; left out, the card is your own.",
3259
+ "type": "string",
3260
+ "minLength": 1
3261
+ },
3242
3262
  "projectId": {
3243
3263
  "type": "string",
3244
3264
  "format": "uuid",
@@ -8086,72 +8106,6 @@
8086
8106
  }
8087
8107
  }
8088
8108
  },
8089
- "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-slot": {
8090
- "post": {
8091
- "operationId": "sessionsQaSlot",
8092
- "summary": "Ask for the project's QA slot before a QA run: one session runs QA at a time per project. Answers granted, or the session's 1-based position among those waiting. Safe to repeat; a waiting session is resumed by the platform when its turn comes.",
8093
- "tags": ["sessions"],
8094
- "x-kosuke-command": ["sessions", "qa-slot"],
8095
- "x-kosuke-sandbox-token": true,
8096
- "x-kosuke-orchestrator-token": true,
8097
- "x-kosuke-cron-token": true,
8098
- "x-kosuke-lead-token": true,
8099
- "parameters": [
8100
- {
8101
- "name": "projectId",
8102
- "in": "path",
8103
- "required": true,
8104
- "schema": {
8105
- "type": "string",
8106
- "format": "uuid",
8107
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
8108
- }
8109
- },
8110
- {
8111
- "name": "sessionId",
8112
- "in": "path",
8113
- "required": true,
8114
- "schema": {
8115
- "type": "string",
8116
- "format": "uuid",
8117
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
8118
- }
8119
- }
8120
- ],
8121
- "responses": {
8122
- "2XX": {
8123
- "description": "Success envelope",
8124
- "content": {
8125
- "application/json": {
8126
- "schema": {
8127
- "$ref": "#/components/schemas/ApiSuccess"
8128
- }
8129
- }
8130
- }
8131
- },
8132
- "4XX": {
8133
- "description": "Error envelope",
8134
- "content": {
8135
- "application/json": {
8136
- "schema": {
8137
- "$ref": "#/components/schemas/ApiError"
8138
- }
8139
- }
8140
- }
8141
- },
8142
- "5XX": {
8143
- "description": "Error envelope",
8144
- "content": {
8145
- "application/json": {
8146
- "schema": {
8147
- "$ref": "#/components/schemas/ApiError"
8148
- }
8149
- }
8150
- }
8151
- }
8152
- }
8153
- }
8154
- },
8155
8109
  "/api/projects/{projectId}/chat-sessions/{sessionId}/queue": {
8156
8110
  "get": {
8157
8111
  "operationId": "sessionsQueueList",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosuke-ai/cli",
3
- "version": "5.12.0",
3
+ "version": "5.14.0",
4
4
  "description": "Kosuke platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,22 +0,0 @@
1
- export const operation = {
2
- "method": "post",
3
- "path": "/api/projects/{projectId}/chat-sessions/{sessionId}/qa-slot",
4
- "command": [
5
- "sessions",
6
- "qa-slot"
7
- ],
8
- "summary": "Ask for the project's QA slot before a QA run: one session runs QA at a time per project. Answers granted, or the session's 1-based position among those waiting. Safe to repeat; a waiting session is resumed by the platform when its turn comes.",
9
- "pathParams": [
10
- "projectId",
11
- "sessionId"
12
- ],
13
- "query": [],
14
- "body": null,
15
- "multipart": null,
16
- "attachments": false,
17
- "anonymous": false,
18
- "sandboxToken": true,
19
- "orchestratorToken": true,
20
- "cronToken": true,
21
- "leadToken": true
22
- };