@kosuke-ai/cli 5.11.0 → 5.13.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.
- package/dist/generated/commands/index.js +21 -19
- package/dist/generated/commands/workspaces/lead-merge.js +32 -0
- package/dist/generated/commands/workspaces/lead-proposals-create.js +1 -1
- package/dist/generated/commands/workspaces/lead-triage.js +2 -2
- package/openapi.json +95 -20
- package/package.json +1 -1
|
@@ -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
|
+
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"lead-proposals",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Open a Lead Card in
|
|
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
|
],
|
|
@@ -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",
|
|
@@ -3009,7 +3080,7 @@
|
|
|
3009
3080
|
"/api/organizations/{workspaceId}/lead/proposals": {
|
|
3010
3081
|
"post": {
|
|
3011
3082
|
"operationId": "workspacesLeadProposalsCreate",
|
|
3012
|
-
"summary": "Open a Lead Card in
|
|
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.",
|
|
3013
3084
|
"tags": ["workspaces"],
|
|
3014
3085
|
"x-kosuke-command": ["workspaces", "lead-proposals", "create"],
|
|
3015
3086
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3040,6 +3111,11 @@
|
|
|
3040
3111
|
"type": "string",
|
|
3041
3112
|
"const": "start"
|
|
3042
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
|
+
},
|
|
3043
3119
|
"projectId": {
|
|
3044
3120
|
"type": "string",
|
|
3045
3121
|
"format": "uuid",
|
|
@@ -3068,6 +3144,11 @@
|
|
|
3068
3144
|
"type": "string",
|
|
3069
3145
|
"const": "delete_ticket"
|
|
3070
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
|
+
},
|
|
3071
3152
|
"projectId": {
|
|
3072
3153
|
"type": "string",
|
|
3073
3154
|
"format": "uuid",
|
|
@@ -3102,6 +3183,11 @@
|
|
|
3102
3183
|
"type": "string",
|
|
3103
3184
|
"const": "merge_tickets"
|
|
3104
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
|
+
},
|
|
3105
3191
|
"projectId": {
|
|
3106
3192
|
"type": "string",
|
|
3107
3193
|
"format": "uuid",
|
|
@@ -3168,6 +3254,11 @@
|
|
|
3168
3254
|
"type": "string",
|
|
3169
3255
|
"const": "create_cron"
|
|
3170
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
|
+
},
|
|
3171
3262
|
"projectId": {
|
|
3172
3263
|
"type": "string",
|
|
3173
3264
|
"format": "uuid",
|
|
@@ -3266,7 +3357,7 @@
|
|
|
3266
3357
|
"/api/organizations/{workspaceId}/lead/triage": {
|
|
3267
3358
|
"post": {
|
|
3268
3359
|
"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
|
|
3360
|
+
"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
3361
|
"tags": ["workspaces"],
|
|
3271
3362
|
"x-kosuke-command": ["workspaces", "lead-triage"],
|
|
3272
3363
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3323,7 +3414,7 @@
|
|
|
3323
3414
|
}
|
|
3324
3415
|
},
|
|
3325
3416
|
"picks": {
|
|
3326
|
-
"description": "Who reviews
|
|
3417
|
+
"description": "Who reviews the pull request of a To approve card: every candidate but its author, at most 15. A JSON array.",
|
|
3327
3418
|
"maxItems": 50,
|
|
3328
3419
|
"type": "array",
|
|
3329
3420
|
"items": {
|
|
@@ -3335,7 +3426,7 @@
|
|
|
3335
3426
|
"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
3427
|
},
|
|
3337
3428
|
"reviewers": {
|
|
3338
|
-
"maxItems":
|
|
3429
|
+
"maxItems": 15,
|
|
3339
3430
|
"type": "array",
|
|
3340
3431
|
"items": {
|
|
3341
3432
|
"type": "object",
|
|
@@ -3353,22 +3444,6 @@
|
|
|
3353
3444
|
},
|
|
3354
3445
|
"required": ["id", "why"]
|
|
3355
3446
|
}
|
|
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
3447
|
}
|
|
3373
3448
|
},
|
|
3374
3449
|
"required": ["cardId"]
|