@kosuke-ai/cli 5.6.2 → 5.6.3
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.
|
@@ -83,74 +83,75 @@ import { operation as o81 } from './sessions/git-state.js';
|
|
|
83
83
|
import { operation as o82 } from './sessions/jobs-cancel.js';
|
|
84
84
|
import { operation as o83 } from './sessions/jobs-get.js';
|
|
85
85
|
import { operation as o84 } from './sessions/jobs-list.js';
|
|
86
|
-
import { operation as o85 } from './sessions/labels-
|
|
87
|
-
import { operation as o86 } from './sessions/
|
|
88
|
-
import { operation as o87 } from './sessions/
|
|
89
|
-
import { operation as o88 } from './sessions/
|
|
90
|
-
import { operation as o89 } from './sessions/
|
|
91
|
-
import { operation as o90 } from './sessions/
|
|
92
|
-
import { operation as o91 } from './sessions/queue-
|
|
93
|
-
import { operation as o92 } from './sessions/queue-
|
|
94
|
-
import { operation as o93 } from './sessions/queue-
|
|
95
|
-
import { operation as o94 } from './sessions/queue-
|
|
96
|
-
import { operation as o95 } from './sessions/queue-
|
|
97
|
-
import { operation as o96 } from './sessions/queue-
|
|
98
|
-
import { operation as o97 } from './sessions/
|
|
99
|
-
import { operation as o98 } from './sessions/
|
|
100
|
-
import { operation as o99 } from './sessions/
|
|
101
|
-
import { operation as o100 } from './sessions/
|
|
102
|
-
import { operation as o101 } from './sessions/
|
|
103
|
-
import { operation as o102 } from './sessions/
|
|
104
|
-
import { operation as o103 } from './
|
|
105
|
-
import { operation as o104 } from './user/
|
|
106
|
-
import { operation as o105 } from './user/plugins-
|
|
107
|
-
import { operation as o106 } from './user/
|
|
108
|
-
import { operation as o107 } from './user/
|
|
109
|
-
import { operation as o108 } from './user/push-devices-
|
|
110
|
-
import { operation as o109 } from './user/
|
|
111
|
-
import { operation as o110 } from './user/skills-
|
|
112
|
-
import { operation as o111 } from './user/skills-
|
|
113
|
-
import { operation as o112 } from './user/skills-
|
|
114
|
-
import { operation as o113 } from './user/skills-
|
|
115
|
-
import { operation as o114 } from './user/
|
|
116
|
-
import { operation as o115 } from './user/subscriptions-
|
|
117
|
-
import { operation as o116 } from './user/subscriptions-
|
|
118
|
-
import { operation as o117 } from './user/subscriptions-login-claude-
|
|
119
|
-
import { operation as o118 } from './user/subscriptions-login-
|
|
120
|
-
import { operation as o119 } from './user/subscriptions-login-codex-
|
|
121
|
-
import { operation as o120 } from './user/subscriptions-
|
|
122
|
-
import { operation as o121 } from './user/subscriptions-set-
|
|
123
|
-
import { operation as o122 } from './user/subscriptions-
|
|
124
|
-
import { operation as o123 } from './
|
|
125
|
-
import { operation as o124 } from './workspaces/
|
|
126
|
-
import { operation as o125 } from './workspaces/ai-provider-
|
|
127
|
-
import { operation as o126 } from './workspaces/ai-provider-
|
|
128
|
-
import { operation as o127 } from './workspaces/ai-provider-
|
|
129
|
-
import { operation as o128 } from './workspaces/ai-provider-usage-
|
|
130
|
-
import { operation as o129 } from './workspaces/ai-provider-usage-
|
|
131
|
-
import { operation as o130 } from './workspaces/
|
|
132
|
-
import { operation as o131 } from './workspaces/
|
|
133
|
-
import { operation as o132 } from './workspaces/
|
|
134
|
-
import { operation as o133 } from './workspaces/getting-started-
|
|
135
|
-
import { operation as o134 } from './workspaces/
|
|
136
|
-
import { operation as o135 } from './workspaces/integrations-sentry-
|
|
137
|
-
import { operation as o136 } from './workspaces/integrations-
|
|
138
|
-
import { operation as o137 } from './workspaces/
|
|
139
|
-
import { operation as o138 } from './workspaces/
|
|
140
|
-
import { operation as o139 } from './workspaces/
|
|
141
|
-
import { operation as o140 } from './workspaces/plugins-
|
|
142
|
-
import { operation as o141 } from './workspaces/
|
|
143
|
-
import { operation as o142 } from './workspaces/provider-login-claude-
|
|
144
|
-
import { operation as o143 } from './workspaces/provider-login-
|
|
145
|
-
import { operation as o144 } from './workspaces/provider-login-codex-
|
|
146
|
-
import { operation as o145 } from './workspaces/
|
|
147
|
-
import { operation as o146 } from './workspaces/
|
|
148
|
-
import { operation as o147 } from './workspaces/skills-
|
|
149
|
-
import { operation as o148 } from './workspaces/skills-
|
|
150
|
-
import { operation as o149 } from './workspaces/skills-
|
|
151
|
-
import { operation as o150 } from './workspaces/skills-
|
|
152
|
-
import { operation as o151 } from './workspaces/
|
|
153
|
-
import { operation as o152 } from './workspaces/
|
|
86
|
+
import { operation as o85 } from './sessions/labels-edit.js';
|
|
87
|
+
import { operation as o86 } from './sessions/labels-set.js';
|
|
88
|
+
import { operation as o87 } from './sessions/list.js';
|
|
89
|
+
import { operation as o88 } from './sessions/mark-read.js';
|
|
90
|
+
import { operation as o89 } from './sessions/messages.js';
|
|
91
|
+
import { operation as o90 } from './sessions/needs-you.js';
|
|
92
|
+
import { operation as o91 } from './sessions/queue-delete.js';
|
|
93
|
+
import { operation as o92 } from './sessions/queue-list.js';
|
|
94
|
+
import { operation as o93 } from './sessions/queue-move.js';
|
|
95
|
+
import { operation as o94 } from './sessions/queue-resume.js';
|
|
96
|
+
import { operation as o95 } from './sessions/queue-send.js';
|
|
97
|
+
import { operation as o96 } from './sessions/queue-steer.js';
|
|
98
|
+
import { operation as o97 } from './sessions/queue-update.js';
|
|
99
|
+
import { operation as o98 } from './sessions/runtime-command.js';
|
|
100
|
+
import { operation as o99 } from './sessions/search.js';
|
|
101
|
+
import { operation as o100 } from './sessions/send.js';
|
|
102
|
+
import { operation as o101 } from './sessions/steer.js';
|
|
103
|
+
import { operation as o102 } from './sessions/title-generate.js';
|
|
104
|
+
import { operation as o103 } from './sessions/update.js';
|
|
105
|
+
import { operation as o104 } from './user/auth-token-revoke.js';
|
|
106
|
+
import { operation as o105 } from './user/plugins-list.js';
|
|
107
|
+
import { operation as o106 } from './user/plugins-update.js';
|
|
108
|
+
import { operation as o107 } from './user/profile.js';
|
|
109
|
+
import { operation as o108 } from './user/push-devices-register.js';
|
|
110
|
+
import { operation as o109 } from './user/push-devices-remove.js';
|
|
111
|
+
import { operation as o110 } from './user/skills-create.js';
|
|
112
|
+
import { operation as o111 } from './user/skills-delete.js';
|
|
113
|
+
import { operation as o112 } from './user/skills-get.js';
|
|
114
|
+
import { operation as o113 } from './user/skills-list.js';
|
|
115
|
+
import { operation as o114 } from './user/skills-update.js';
|
|
116
|
+
import { operation as o115 } from './user/subscriptions-delete.js';
|
|
117
|
+
import { operation as o116 } from './user/subscriptions-get.js';
|
|
118
|
+
import { operation as o117 } from './user/subscriptions-login-claude-complete.js';
|
|
119
|
+
import { operation as o118 } from './user/subscriptions-login-claude-start.js';
|
|
120
|
+
import { operation as o119 } from './user/subscriptions-login-codex-complete.js';
|
|
121
|
+
import { operation as o120 } from './user/subscriptions-login-codex-start.js';
|
|
122
|
+
import { operation as o121 } from './user/subscriptions-set-default-model.js';
|
|
123
|
+
import { operation as o122 } from './user/subscriptions-set-key.js';
|
|
124
|
+
import { operation as o123 } from './user/subscriptions-usage.js';
|
|
125
|
+
import { operation as o124 } from './workspaces/access-status.js';
|
|
126
|
+
import { operation as o125 } from './workspaces/ai-provider-get.js';
|
|
127
|
+
import { operation as o126 } from './workspaces/ai-provider-remove.js';
|
|
128
|
+
import { operation as o127 } from './workspaces/ai-provider-set.js';
|
|
129
|
+
import { operation as o128 } from './workspaces/ai-provider-usage-claude.js';
|
|
130
|
+
import { operation as o129 } from './workspaces/ai-provider-usage-codex.js';
|
|
131
|
+
import { operation as o130 } from './workspaces/ai-provider-usage-coding-plan.js';
|
|
132
|
+
import { operation as o131 } from './workspaces/credits.js';
|
|
133
|
+
import { operation as o132 } from './workspaces/get.js';
|
|
134
|
+
import { operation as o133 } from './workspaces/getting-started-get.js';
|
|
135
|
+
import { operation as o134 } from './workspaces/getting-started-update.js';
|
|
136
|
+
import { operation as o135 } from './workspaces/integrations-sentry-get.js';
|
|
137
|
+
import { operation as o136 } from './workspaces/integrations-sentry-remove.js';
|
|
138
|
+
import { operation as o137 } from './workspaces/integrations-slack-get.js';
|
|
139
|
+
import { operation as o138 } from './workspaces/list.js';
|
|
140
|
+
import { operation as o139 } from './workspaces/members.js';
|
|
141
|
+
import { operation as o140 } from './workspaces/plugins-list.js';
|
|
142
|
+
import { operation as o141 } from './workspaces/plugins-update.js';
|
|
143
|
+
import { operation as o142 } from './workspaces/provider-login-claude-complete.js';
|
|
144
|
+
import { operation as o143 } from './workspaces/provider-login-claude-start.js';
|
|
145
|
+
import { operation as o144 } from './workspaces/provider-login-codex-complete.js';
|
|
146
|
+
import { operation as o145 } from './workspaces/provider-login-codex-start.js';
|
|
147
|
+
import { operation as o146 } from './workspaces/sandbox-limit.js';
|
|
148
|
+
import { operation as o147 } from './workspaces/skills-create.js';
|
|
149
|
+
import { operation as o148 } from './workspaces/skills-delete.js';
|
|
150
|
+
import { operation as o149 } from './workspaces/skills-get.js';
|
|
151
|
+
import { operation as o150 } from './workspaces/skills-list.js';
|
|
152
|
+
import { operation as o151 } from './workspaces/skills-update.js';
|
|
153
|
+
import { operation as o152 } from './workspaces/stop-sandboxes.js';
|
|
154
|
+
import { operation as o153 } from './workspaces/usage.js';
|
|
154
155
|
export const operations = [
|
|
155
156
|
o0,
|
|
156
157
|
o1,
|
|
@@ -305,4 +306,5 @@ export const operations = [
|
|
|
305
306
|
o150,
|
|
306
307
|
o151,
|
|
307
308
|
o152,
|
|
309
|
+
o153,
|
|
308
310
|
];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "patch",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/labels",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"labels",
|
|
7
|
+
"edit"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. A sandbox may edit only its own session. A session with a pull request syncs them to it in the background while labelsSyncPending is true; one without gets them when its pull request opens.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "add",
|
|
19
|
+
"flag": "add",
|
|
20
|
+
"kind": "json",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "JSON array of labels the session gains. A name in both add and remove is added."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "remove",
|
|
26
|
+
"flag": "remove",
|
|
27
|
+
"kind": "json",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "JSON array of labels the session loses. A name it does not carry is ignored."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "color",
|
|
33
|
+
"flag": "color",
|
|
34
|
+
"kind": "string",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Six hex digits, with or without a leading #. Sets the initial project color only for newly created labels in add. Existing label colors stay unchanged."
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
"multipart": null,
|
|
42
|
+
"attachments": false,
|
|
43
|
+
"anonymous": false,
|
|
44
|
+
"sandboxToken": true,
|
|
45
|
+
"orchestratorToken": false,
|
|
46
|
+
"cronToken": false,
|
|
47
|
+
"leadToken": true
|
|
48
|
+
};
|
package/openapi.json
CHANGED
|
@@ -5503,6 +5503,106 @@
|
|
|
5503
5503
|
}
|
|
5504
5504
|
}
|
|
5505
5505
|
}
|
|
5506
|
+
},
|
|
5507
|
+
"patch": {
|
|
5508
|
+
"operationId": "sessionsLabelsEdit",
|
|
5509
|
+
"summary": "Add and remove Session Labels, leaving the session's other labels as they are. color sets the initial project color only for newly created labels in add; existing label colors stay unchanged. A sandbox may edit only its own session. A session with a pull request syncs them to it in the background while labelsSyncPending is true; one without gets them when its pull request opens.",
|
|
5510
|
+
"tags": ["sessions"],
|
|
5511
|
+
"x-kosuke-command": ["sessions", "labels", "edit"],
|
|
5512
|
+
"x-kosuke-sandbox-token": true,
|
|
5513
|
+
"x-kosuke-lead-token": true,
|
|
5514
|
+
"parameters": [
|
|
5515
|
+
{
|
|
5516
|
+
"name": "projectId",
|
|
5517
|
+
"in": "path",
|
|
5518
|
+
"required": true,
|
|
5519
|
+
"schema": {
|
|
5520
|
+
"type": "string",
|
|
5521
|
+
"format": "uuid",
|
|
5522
|
+
"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)$"
|
|
5523
|
+
}
|
|
5524
|
+
},
|
|
5525
|
+
{
|
|
5526
|
+
"name": "sessionId",
|
|
5527
|
+
"in": "path",
|
|
5528
|
+
"required": true,
|
|
5529
|
+
"schema": {
|
|
5530
|
+
"type": "string",
|
|
5531
|
+
"format": "uuid",
|
|
5532
|
+
"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)$"
|
|
5533
|
+
}
|
|
5534
|
+
}
|
|
5535
|
+
],
|
|
5536
|
+
"requestBody": {
|
|
5537
|
+
"required": true,
|
|
5538
|
+
"content": {
|
|
5539
|
+
"application/json": {
|
|
5540
|
+
"schema": {
|
|
5541
|
+
"type": "object",
|
|
5542
|
+
"properties": {
|
|
5543
|
+
"add": {
|
|
5544
|
+
"description": "JSON array of labels the session gains. A name in both add and remove is added.",
|
|
5545
|
+
"maxItems": 20,
|
|
5546
|
+
"type": "array",
|
|
5547
|
+
"items": {
|
|
5548
|
+
"type": "string",
|
|
5549
|
+
"minLength": 1,
|
|
5550
|
+
"maxLength": 50,
|
|
5551
|
+
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
|
|
5552
|
+
}
|
|
5553
|
+
},
|
|
5554
|
+
"remove": {
|
|
5555
|
+
"description": "JSON array of labels the session loses. A name it does not carry is ignored.",
|
|
5556
|
+
"maxItems": 20,
|
|
5557
|
+
"type": "array",
|
|
5558
|
+
"items": {
|
|
5559
|
+
"type": "string",
|
|
5560
|
+
"minLength": 1,
|
|
5561
|
+
"maxLength": 50,
|
|
5562
|
+
"pattern": "^[^\\x00-\\x1f\\x7f]+$"
|
|
5563
|
+
}
|
|
5564
|
+
},
|
|
5565
|
+
"color": {
|
|
5566
|
+
"description": "Six hex digits, with or without a leading #. Sets the initial project color only for newly created labels in add. Existing label colors stay unchanged.",
|
|
5567
|
+
"type": "string"
|
|
5568
|
+
}
|
|
5569
|
+
}
|
|
5570
|
+
}
|
|
5571
|
+
}
|
|
5572
|
+
}
|
|
5573
|
+
},
|
|
5574
|
+
"responses": {
|
|
5575
|
+
"2XX": {
|
|
5576
|
+
"description": "Success envelope",
|
|
5577
|
+
"content": {
|
|
5578
|
+
"application/json": {
|
|
5579
|
+
"schema": {
|
|
5580
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5583
|
+
}
|
|
5584
|
+
},
|
|
5585
|
+
"4XX": {
|
|
5586
|
+
"description": "Error envelope",
|
|
5587
|
+
"content": {
|
|
5588
|
+
"application/json": {
|
|
5589
|
+
"schema": {
|
|
5590
|
+
"$ref": "#/components/schemas/ApiError"
|
|
5591
|
+
}
|
|
5592
|
+
}
|
|
5593
|
+
}
|
|
5594
|
+
},
|
|
5595
|
+
"5XX": {
|
|
5596
|
+
"description": "Error envelope",
|
|
5597
|
+
"content": {
|
|
5598
|
+
"application/json": {
|
|
5599
|
+
"schema": {
|
|
5600
|
+
"$ref": "#/components/schemas/ApiError"
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5603
|
+
}
|
|
5604
|
+
}
|
|
5605
|
+
}
|
|
5506
5606
|
}
|
|
5507
5607
|
},
|
|
5508
5608
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/messages": {
|