@kosuke-ai/cli 5.11.0 → 5.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.
|
@@ -145,25 +145,26 @@ import { operation as o143 } from './workspaces/integrations-sentry-get.js';
|
|
|
145
145
|
import { operation as o144 } from './workspaces/integrations-sentry-remove.js';
|
|
146
146
|
import { operation as o145 } from './workspaces/integrations-slack-get.js';
|
|
147
147
|
import { operation as o146 } from './workspaces/lead-cards.js';
|
|
148
|
-
import { operation as o147 } from './workspaces/lead-
|
|
149
|
-
import { operation as o148 } from './workspaces/lead-
|
|
150
|
-
import { operation as o149 } from './workspaces/lead-
|
|
151
|
-
import { operation as o150 } from './workspaces/
|
|
152
|
-
import { operation as o151 } from './workspaces/
|
|
153
|
-
import { operation as o152 } from './workspaces/
|
|
154
|
-
import { operation as o153 } from './workspaces/plugins-
|
|
155
|
-
import { operation as o154 } from './workspaces/
|
|
156
|
-
import { operation as o155 } from './workspaces/provider-login-claude-
|
|
157
|
-
import { operation as o156 } from './workspaces/provider-login-
|
|
158
|
-
import { operation as o157 } from './workspaces/provider-login-codex-
|
|
159
|
-
import { operation as o158 } from './workspaces/
|
|
160
|
-
import { operation as o159 } from './workspaces/
|
|
161
|
-
import { operation as o160 } from './workspaces/skills-
|
|
162
|
-
import { operation as o161 } from './workspaces/skills-
|
|
163
|
-
import { operation as o162 } from './workspaces/skills-
|
|
164
|
-
import { operation as o163 } from './workspaces/skills-
|
|
165
|
-
import { operation as o164 } from './workspaces/
|
|
166
|
-
import { operation as o165 } from './workspaces/
|
|
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';
|
|
167
168
|
export const operations = [
|
|
168
169
|
o0,
|
|
169
170
|
o1,
|
|
@@ -331,4 +332,5 @@ export const operations = [
|
|
|
331
332
|
o163,
|
|
332
333
|
o164,
|
|
333
334
|
o165,
|
|
335
|
+
o166,
|
|
334
336
|
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/lead/merge",
|
|
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 your Merge tap on its Lead Card does. Refused with the reason when the pull request is not approved yet, or when its Merge card is not yours.",
|
|
9
|
+
"pathParams": [
|
|
10
|
+
"workspaceId"
|
|
11
|
+
],
|
|
12
|
+
"query": [],
|
|
13
|
+
"body": {
|
|
14
|
+
"fields": [
|
|
15
|
+
{
|
|
16
|
+
"name": "sessionId",
|
|
17
|
+
"flag": "session-id",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "The Chat Session whose pull request to queue."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"required": true
|
|
24
|
+
},
|
|
25
|
+
"multipart": null,
|
|
26
|
+
"attachments": false,
|
|
27
|
+
"anonymous": false,
|
|
28
|
+
"sandboxToken": false,
|
|
29
|
+
"orchestratorToken": false,
|
|
30
|
+
"cronToken": false,
|
|
31
|
+
"leadToken": true
|
|
32
|
+
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"workspaces",
|
|
6
6
|
"lead-triage"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Write the triage of your own open Lead Cards in a workspace: their order, one line of why per card, who reviews
|
|
8
|
+
"summary": "Write the triage of your own open Lead Cards in a workspace: their order, one line of why per card, who reviews a ready pull request, one notification, and the Welcome back sentence. Answers what was ranked, whether the notification went out, and every part it refused with the reason.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId"
|
|
11
11
|
],
|
|
@@ -31,7 +31,7 @@ export const operation = {
|
|
|
31
31
|
"flag": "picks",
|
|
32
32
|
"kind": "json",
|
|
33
33
|
"required": false,
|
|
34
|
-
"description": "Who reviews
|
|
34
|
+
"description": "Who reviews the pull request of a To approve card: every candidate but its author, at most 15. A JSON array."
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"name": "notify",
|
package/openapi.json
CHANGED
|
@@ -2941,6 +2941,77 @@
|
|
|
2941
2941
|
}
|
|
2942
2942
|
}
|
|
2943
2943
|
},
|
|
2944
|
+
"/api/organizations/{workspaceId}/lead/merge": {
|
|
2945
|
+
"post": {
|
|
2946
|
+
"operationId": "workspacesLeadMerge",
|
|
2947
|
+
"summary": "Put the pull request of one of your own Chat Sessions in the Merge Queue, as your Merge tap on its Lead Card does. Refused with the reason when the pull request is not approved yet, or when its Merge card is not yours.",
|
|
2948
|
+
"tags": ["workspaces"],
|
|
2949
|
+
"x-kosuke-command": ["workspaces", "lead-merge"],
|
|
2950
|
+
"x-kosuke-lead-token": true,
|
|
2951
|
+
"parameters": [
|
|
2952
|
+
{
|
|
2953
|
+
"name": "workspaceId",
|
|
2954
|
+
"in": "path",
|
|
2955
|
+
"required": true,
|
|
2956
|
+
"schema": {
|
|
2957
|
+
"type": "string",
|
|
2958
|
+
"minLength": 1
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
],
|
|
2962
|
+
"requestBody": {
|
|
2963
|
+
"required": true,
|
|
2964
|
+
"content": {
|
|
2965
|
+
"application/json": {
|
|
2966
|
+
"schema": {
|
|
2967
|
+
"type": "object",
|
|
2968
|
+
"properties": {
|
|
2969
|
+
"sessionId": {
|
|
2970
|
+
"type": "string",
|
|
2971
|
+
"format": "uuid",
|
|
2972
|
+
"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)$",
|
|
2973
|
+
"description": "The Chat Session whose pull request to queue."
|
|
2974
|
+
}
|
|
2975
|
+
},
|
|
2976
|
+
"required": ["sessionId"]
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
},
|
|
2981
|
+
"responses": {
|
|
2982
|
+
"2XX": {
|
|
2983
|
+
"description": "Success envelope",
|
|
2984
|
+
"content": {
|
|
2985
|
+
"application/json": {
|
|
2986
|
+
"schema": {
|
|
2987
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
"4XX": {
|
|
2993
|
+
"description": "Error envelope",
|
|
2994
|
+
"content": {
|
|
2995
|
+
"application/json": {
|
|
2996
|
+
"schema": {
|
|
2997
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
3001
|
+
},
|
|
3002
|
+
"5XX": {
|
|
3003
|
+
"description": "Error envelope",
|
|
3004
|
+
"content": {
|
|
3005
|
+
"application/json": {
|
|
3006
|
+
"schema": {
|
|
3007
|
+
"$ref": "#/components/schemas/ApiError"
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
3013
|
+
}
|
|
3014
|
+
},
|
|
2944
3015
|
"/api/organizations/{workspaceId}/lead/notifications/{notificationId}/open": {
|
|
2945
3016
|
"post": {
|
|
2946
3017
|
"operationId": "workspacesLeadNotificationsOpen",
|
|
@@ -3266,7 +3337,7 @@
|
|
|
3266
3337
|
"/api/organizations/{workspaceId}/lead/triage": {
|
|
3267
3338
|
"post": {
|
|
3268
3339
|
"operationId": "workspacesLeadTriage",
|
|
3269
|
-
"summary": "Write the triage of your own open Lead Cards in a workspace: their order, one line of why per card, who reviews
|
|
3340
|
+
"summary": "Write the triage of your own open Lead Cards in a workspace: their order, one line of why per card, who reviews a ready pull request, one notification, and the Welcome back sentence. Answers what was ranked, whether the notification went out, and every part it refused with the reason.",
|
|
3270
3341
|
"tags": ["workspaces"],
|
|
3271
3342
|
"x-kosuke-command": ["workspaces", "lead-triage"],
|
|
3272
3343
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3323,7 +3394,7 @@
|
|
|
3323
3394
|
}
|
|
3324
3395
|
},
|
|
3325
3396
|
"picks": {
|
|
3326
|
-
"description": "Who reviews
|
|
3397
|
+
"description": "Who reviews the pull request of a To approve card: every candidate but its author, at most 15. A JSON array.",
|
|
3327
3398
|
"maxItems": 50,
|
|
3328
3399
|
"type": "array",
|
|
3329
3400
|
"items": {
|
|
@@ -3335,7 +3406,7 @@
|
|
|
3335
3406
|
"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)$"
|
|
3336
3407
|
},
|
|
3337
3408
|
"reviewers": {
|
|
3338
|
-
"maxItems":
|
|
3409
|
+
"maxItems": 15,
|
|
3339
3410
|
"type": "array",
|
|
3340
3411
|
"items": {
|
|
3341
3412
|
"type": "object",
|
|
@@ -3353,22 +3424,6 @@
|
|
|
3353
3424
|
},
|
|
3354
3425
|
"required": ["id", "why"]
|
|
3355
3426
|
}
|
|
3356
|
-
},
|
|
3357
|
-
"merger": {
|
|
3358
|
-
"type": "object",
|
|
3359
|
-
"properties": {
|
|
3360
|
-
"id": {
|
|
3361
|
-
"type": "string",
|
|
3362
|
-
"minLength": 1,
|
|
3363
|
-
"description": "A member id from the candidates list."
|
|
3364
|
-
},
|
|
3365
|
-
"why": {
|
|
3366
|
-
"type": "string",
|
|
3367
|
-
"minLength": 1,
|
|
3368
|
-
"maxLength": 300
|
|
3369
|
-
}
|
|
3370
|
-
},
|
|
3371
|
-
"required": ["id", "why"]
|
|
3372
3427
|
}
|
|
3373
3428
|
},
|
|
3374
3429
|
"required": ["cardId"]
|