@kosuke-ai/kosuke 1.0.17 → 1.0.19
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/CHANGELOG.md +9 -0
- package/dist/generated/commands/index.js +78 -84
- package/dist/generated/commands/sessions/list--all.js +12 -1
- package/dist/generated/commands/user/profile-get.js +1 -1
- package/dist/runtime/aliases.js +0 -4
- package/openapi.json +14 -216
- package/package.json +4 -4
- package/dist/generated/commands/sessions/git-commit-message-create.js +0 -21
- package/dist/generated/commands/sessions/git-commit.js +0 -30
- package/dist/generated/commands/sessions/git-push.js +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.19
|
|
4
|
+
|
|
5
|
+
- Remove `kosuke sessions git commit`, `kosuke sessions git push` and `kosuke sessions git commit-message create`: the chat agent commits and pushes its own changes at the end of each turn, and `kosuke user profile get` no longer shows the Commits preference.
|
|
6
|
+
|
|
7
|
+
## 1.0.18
|
|
8
|
+
|
|
9
|
+
- Add scoped admin Sensei thread filtering and recorded event inspection.
|
|
10
|
+
- Add a sessions list kind filter for task sessions or persistent App chats, and match App project names when searching sessions.
|
|
11
|
+
|
|
3
12
|
## 1.0.17
|
|
4
13
|
|
|
5
14
|
- `sensei cards set` accepts LinkedIn and X conversations in the FYI digest's messages list.
|
|
@@ -250,87 +250,84 @@ import { operation as o248 } from './sessions/files-get.js';
|
|
|
250
250
|
import { operation as o249 } from './sessions/files-list.js';
|
|
251
251
|
import { operation as o250 } from './sessions/files-set.js';
|
|
252
252
|
import { operation as o251 } from './sessions/get.js';
|
|
253
|
-
import { operation as o252 } from './sessions/git-
|
|
254
|
-
import { operation as o253 } from './sessions/
|
|
255
|
-
import { operation as o254 } from './sessions/
|
|
256
|
-
import { operation as o255 } from './sessions/
|
|
257
|
-
import { operation as o256 } from './sessions/
|
|
258
|
-
import { operation as o257 } from './sessions/
|
|
259
|
-
import { operation as o258 } from './sessions/
|
|
260
|
-
import { operation as o259 } from './sessions/
|
|
261
|
-
import { operation as o260 } from './sessions/
|
|
262
|
-
import { operation as o261 } from './sessions/
|
|
263
|
-
import { operation as o262 } from './sessions/
|
|
264
|
-
import { operation as o263 } from './sessions/
|
|
265
|
-
import { operation as o264 } from './sessions/list
|
|
266
|
-
import { operation as o265 } from './sessions/
|
|
267
|
-
import { operation as o266 } from './sessions/
|
|
268
|
-
import { operation as o267 } from './sessions/
|
|
269
|
-
import { operation as o268 } from './sessions/
|
|
270
|
-
import { operation as o269 } from './sessions/
|
|
271
|
-
import { operation as o270 } from './sessions/qa-runs-
|
|
272
|
-
import { operation as o271 } from './sessions/qa-runs-
|
|
273
|
-
import { operation as o272 } from './sessions/qa-runs-
|
|
274
|
-
import { operation as o273 } from './sessions/qa-
|
|
275
|
-
import { operation as o274 } from './sessions/
|
|
276
|
-
import { operation as o275 } from './sessions/
|
|
277
|
-
import { operation as o276 } from './sessions/
|
|
278
|
-
import { operation as o277 } from './sessions/queue-
|
|
279
|
-
import { operation as o278 } from './sessions/queue-
|
|
280
|
-
import { operation as o279 } from './sessions/queue-
|
|
281
|
-
import { operation as o280 } from './sessions/queue-
|
|
282
|
-
import { operation as o281 } from './sessions/
|
|
283
|
-
import { operation as o282 } from './sessions/
|
|
284
|
-
import { operation as o283 } from './sessions/
|
|
285
|
-
import { operation as o284 } from './sessions/
|
|
286
|
-
import { operation as o285 } from './sessions/
|
|
287
|
-
import { operation as o286 } from './sessions/
|
|
288
|
-
import { operation as o287 } from './sessions/
|
|
289
|
-
import { operation as o288 } from './sessions/
|
|
290
|
-
import { operation as o289 } from './
|
|
291
|
-
import { operation as o290 } from './
|
|
292
|
-
import { operation as o291 } from './
|
|
293
|
-
import { operation as o292 } from './skills/
|
|
294
|
-
import { operation as o293 } from './skills/
|
|
295
|
-
import { operation as o294 } from './skills/
|
|
296
|
-
import { operation as o295 } from './skills/
|
|
297
|
-
import { operation as o296 } from './skills/
|
|
298
|
-
import { operation as o297 } from './skills/
|
|
299
|
-
import { operation as o298 } from './skills/
|
|
300
|
-
import { operation as o299 } from './
|
|
301
|
-
import { operation as o300 } from './
|
|
302
|
-
import { operation as o301 } from './
|
|
303
|
-
import { operation as o302 } from './tasks/
|
|
304
|
-
import { operation as o303 } from './tasks/
|
|
305
|
-
import { operation as o304 } from './tasks/
|
|
306
|
-
import { operation as o305 } from './tasks/
|
|
307
|
-
import { operation as o306 } from './tasks/
|
|
308
|
-
import { operation as o307 } from './tasks/
|
|
309
|
-
import { operation as o308 } from './tasks/
|
|
310
|
-
import { operation as o309 } from './tasks/
|
|
311
|
-
import { operation as o310 } from './tasks/
|
|
312
|
-
import { operation as o311 } from './tasks/
|
|
313
|
-
import { operation as o312 } from './tasks/
|
|
314
|
-
import { operation as o313 } from './tasks/
|
|
315
|
-
import { operation as o314 } from './tasks/
|
|
316
|
-
import { operation as o315 } from './
|
|
317
|
-
import { operation as o316 } from './
|
|
318
|
-
import { operation as o317 } from './
|
|
319
|
-
import { operation as o318 } from './user/
|
|
320
|
-
import { operation as o319 } from './user/
|
|
321
|
-
import { operation as o320 } from './
|
|
322
|
-
import { operation as o321 } from './
|
|
323
|
-
import { operation as o322 } from './
|
|
324
|
-
import { operation as o323 } from './workspaces/
|
|
325
|
-
import { operation as o324 } from './workspaces/
|
|
326
|
-
import { operation as o325 } from './workspaces/
|
|
327
|
-
import { operation as o326 } from './workspaces/
|
|
328
|
-
import { operation as o327 } from './workspaces/
|
|
329
|
-
import { operation as o328 } from './workspaces/
|
|
330
|
-
import { operation as o329 } from './workspaces/
|
|
331
|
-
import { operation as o330 } from './workspaces/sandboxes-stop.js';
|
|
332
|
-
import { operation as o331 } from './workspaces/timezone-set.js';
|
|
333
|
-
import { operation as o332 } from './workspaces/usage-get.js';
|
|
253
|
+
import { operation as o252 } from './sessions/git-state-get.js';
|
|
254
|
+
import { operation as o253 } from './sessions/go-ahead-delete.js';
|
|
255
|
+
import { operation as o254 } from './sessions/go-ahead-set.js';
|
|
256
|
+
import { operation as o255 } from './sessions/jobs-cancel.js';
|
|
257
|
+
import { operation as o256 } from './sessions/jobs-get.js';
|
|
258
|
+
import { operation as o257 } from './sessions/jobs-list.js';
|
|
259
|
+
import { operation as o258 } from './sessions/labels-set.js';
|
|
260
|
+
import { operation as o259 } from './sessions/labels-update.js';
|
|
261
|
+
import { operation as o260 } from './sessions/list.js';
|
|
262
|
+
import { operation as o261 } from './sessions/list--all.js';
|
|
263
|
+
import { operation as o262 } from './sessions/mark-read.js';
|
|
264
|
+
import { operation as o263 } from './sessions/messages-get.js';
|
|
265
|
+
import { operation as o264 } from './sessions/messages-list.js';
|
|
266
|
+
import { operation as o265 } from './sessions/prompt-update.js';
|
|
267
|
+
import { operation as o266 } from './sessions/pull-request-mark-ready.js';
|
|
268
|
+
import { operation as o267 } from './sessions/qa-runs-finish.js';
|
|
269
|
+
import { operation as o268 } from './sessions/qa-runs-fixes-create.js';
|
|
270
|
+
import { operation as o269 } from './sessions/qa-runs-get.js';
|
|
271
|
+
import { operation as o270 } from './sessions/qa-runs-results-create.js';
|
|
272
|
+
import { operation as o271 } from './sessions/qa-runs-start.js';
|
|
273
|
+
import { operation as o272 } from './sessions/qa-runs-stop.js';
|
|
274
|
+
import { operation as o273 } from './sessions/qa-set.js';
|
|
275
|
+
import { operation as o274 } from './sessions/queue-delete.js';
|
|
276
|
+
import { operation as o275 } from './sessions/queue-list.js';
|
|
277
|
+
import { operation as o276 } from './sessions/queue-move.js';
|
|
278
|
+
import { operation as o277 } from './sessions/queue-resume.js';
|
|
279
|
+
import { operation as o278 } from './sessions/queue-send.js';
|
|
280
|
+
import { operation as o279 } from './sessions/queue-steer.js';
|
|
281
|
+
import { operation as o280 } from './sessions/queue-update.js';
|
|
282
|
+
import { operation as o281 } from './sessions/review-set.js';
|
|
283
|
+
import { operation as o282 } from './sessions/runtime-commands-run.js';
|
|
284
|
+
import { operation as o283 } from './sessions/search.js';
|
|
285
|
+
import { operation as o284 } from './sessions/send.js';
|
|
286
|
+
import { operation as o285 } from './sessions/start.js';
|
|
287
|
+
import { operation as o286 } from './sessions/steer.js';
|
|
288
|
+
import { operation as o287 } from './sessions/sync.js';
|
|
289
|
+
import { operation as o288 } from './sessions/update.js';
|
|
290
|
+
import { operation as o289 } from './skills/create.js';
|
|
291
|
+
import { operation as o290 } from './skills/create--personal.js';
|
|
292
|
+
import { operation as o291 } from './skills/delete.js';
|
|
293
|
+
import { operation as o292 } from './skills/delete--personal.js';
|
|
294
|
+
import { operation as o293 } from './skills/get.js';
|
|
295
|
+
import { operation as o294 } from './skills/get--personal.js';
|
|
296
|
+
import { operation as o295 } from './skills/list.js';
|
|
297
|
+
import { operation as o296 } from './skills/list--personal.js';
|
|
298
|
+
import { operation as o297 } from './skills/update.js';
|
|
299
|
+
import { operation as o298 } from './skills/update--personal.js';
|
|
300
|
+
import { operation as o299 } from './tasks/create.js';
|
|
301
|
+
import { operation as o300 } from './tasks/create--personal.js';
|
|
302
|
+
import { operation as o301 } from './tasks/delete.js';
|
|
303
|
+
import { operation as o302 } from './tasks/delete--personal.js';
|
|
304
|
+
import { operation as o303 } from './tasks/get.js';
|
|
305
|
+
import { operation as o304 } from './tasks/get--personal.js';
|
|
306
|
+
import { operation as o305 } from './tasks/labels-list.js';
|
|
307
|
+
import { operation as o306 } from './tasks/list.js';
|
|
308
|
+
import { operation as o307 } from './tasks/list--all.js';
|
|
309
|
+
import { operation as o308 } from './tasks/list--personal.js';
|
|
310
|
+
import { operation as o309 } from './tasks/move.js';
|
|
311
|
+
import { operation as o310 } from './tasks/move--personal.js';
|
|
312
|
+
import { operation as o311 } from './tasks/start.js';
|
|
313
|
+
import { operation as o312 } from './tasks/start--personal.js';
|
|
314
|
+
import { operation as o313 } from './tasks/update.js';
|
|
315
|
+
import { operation as o314 } from './tasks/update--personal.js';
|
|
316
|
+
import { operation as o315 } from './user/api-keys-delete.js';
|
|
317
|
+
import { operation as o316 } from './user/profile-get.js';
|
|
318
|
+
import { operation as o317 } from './user/push-devices-create.js';
|
|
319
|
+
import { operation as o318 } from './user/push-devices-delete.js';
|
|
320
|
+
import { operation as o319 } from './user/usage-get.js';
|
|
321
|
+
import { operation as o320 } from './workspaces/artifacts-search.js';
|
|
322
|
+
import { operation as o321 } from './workspaces/credits-get.js';
|
|
323
|
+
import { operation as o322 } from './workspaces/get.js';
|
|
324
|
+
import { operation as o323 } from './workspaces/list.js';
|
|
325
|
+
import { operation as o324 } from './workspaces/members-list.js';
|
|
326
|
+
import { operation as o325 } from './workspaces/members-list--all.js';
|
|
327
|
+
import { operation as o326 } from './workspaces/sandbox-limit-get.js';
|
|
328
|
+
import { operation as o327 } from './workspaces/sandboxes-stop.js';
|
|
329
|
+
import { operation as o328 } from './workspaces/timezone-set.js';
|
|
330
|
+
import { operation as o329 } from './workspaces/usage-get.js';
|
|
334
331
|
export const operations = [
|
|
335
332
|
o0,
|
|
336
333
|
o1,
|
|
@@ -662,7 +659,4 @@ export const operations = [
|
|
|
662
659
|
o327,
|
|
663
660
|
o328,
|
|
664
661
|
o329,
|
|
665
|
-
o330,
|
|
666
|
-
o331,
|
|
667
|
-
o332,
|
|
668
662
|
];
|
|
@@ -11,6 +11,17 @@ export const operation = {
|
|
|
11
11
|
"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. Each session carries waitingForDeploy: true while it waits for the Deploy to finish, false once the Deploy ends, before its sandbox starts; goAheadSha and goAheadMerges, its go-ahead on its open pull request; and mergeRule, its Assignee's Merge rule.",
|
|
12
12
|
"pathParams": [],
|
|
13
13
|
"query": [
|
|
14
|
+
{
|
|
15
|
+
"name": "kind",
|
|
16
|
+
"flag": "kind",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Only task sessions, or persistent App chats. Omit for both.",
|
|
20
|
+
"choices": [
|
|
21
|
+
"tasks",
|
|
22
|
+
"apps"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
14
25
|
{
|
|
15
26
|
"name": "includePrompt",
|
|
16
27
|
"flag": "include-prompt",
|
|
@@ -102,7 +113,7 @@ export const operation = {
|
|
|
102
113
|
"flag": "q",
|
|
103
114
|
"kind": "string",
|
|
104
115
|
"required": false,
|
|
105
|
-
"description": "
|
|
116
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page, and Needs You with it."
|
|
106
117
|
},
|
|
107
118
|
{
|
|
108
119
|
"name": "createdBy",
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"profile",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read your account: id, email, name, onboarding state, default model,
|
|
9
|
+
"summary": "Read your account: id, email, name, onboarding state, default model, Reply Style and FYI digest interval.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": null,
|
package/dist/runtime/aliases.js
CHANGED
|
@@ -200,10 +200,6 @@ export const FORMER_COMMANDS = [
|
|
|
200
200
|
from: 'sessions files write',
|
|
201
201
|
operation: 'PUT /api/projects/{projectId}/chat-sessions/{sessionId}/preview/files/content',
|
|
202
202
|
},
|
|
203
|
-
{
|
|
204
|
-
from: 'sessions git commit-message',
|
|
205
|
-
operation: 'POST /api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit-message',
|
|
206
|
-
},
|
|
207
203
|
{
|
|
208
204
|
from: 'sessions git state',
|
|
209
205
|
operation: 'GET /api/projects/{projectId}/chat-sessions/{sessionId}/preview/git-state',
|
package/openapi.json
CHANGED
|
@@ -560,6 +560,17 @@
|
|
|
560
560
|
"x-kosuke-cron-token": true,
|
|
561
561
|
"x-kosuke-sensei-token": true,
|
|
562
562
|
"parameters": [
|
|
563
|
+
{
|
|
564
|
+
"name": "kind",
|
|
565
|
+
"in": "query",
|
|
566
|
+
"required": false,
|
|
567
|
+
"description": "Only task sessions, or persistent App chats. Omit for both.",
|
|
568
|
+
"schema": {
|
|
569
|
+
"description": "Only task sessions, or persistent App chats. Omit for both.",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"enum": ["tasks", "apps"]
|
|
572
|
+
}
|
|
573
|
+
},
|
|
563
574
|
{
|
|
564
575
|
"name": "includePrompt",
|
|
565
576
|
"in": "query",
|
|
@@ -687,9 +698,9 @@
|
|
|
687
698
|
"name": "q",
|
|
688
699
|
"in": "query",
|
|
689
700
|
"required": false,
|
|
690
|
-
"description": "
|
|
701
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page, and Needs You with it.",
|
|
691
702
|
"schema": {
|
|
692
|
-
"description": "
|
|
703
|
+
"description": "Sessions whose title contains this text, or App chats whose project name matches (spaces and hyphens are equivalent). Case-insensitive and trimmed. Narrows the count and every page, and Needs You with it.",
|
|
693
704
|
"type": "string"
|
|
694
705
|
}
|
|
695
706
|
},
|
|
@@ -13922,219 +13933,6 @@
|
|
|
13922
13933
|
}
|
|
13923
13934
|
}
|
|
13924
13935
|
},
|
|
13925
|
-
"/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit": {
|
|
13926
|
-
"post": {
|
|
13927
|
-
"operationId": "sessionsGitCommit",
|
|
13928
|
-
"summary": "Commit the uncommitted changes in the sandbox. Refused while a turn is running.",
|
|
13929
|
-
"tags": ["sessions"],
|
|
13930
|
-
"x-kosuke-command": ["sessions", "git", "commit"],
|
|
13931
|
-
"x-kosuke-sandbox-token": true,
|
|
13932
|
-
"x-kosuke-cron-token": true,
|
|
13933
|
-
"x-kosuke-sensei-token": true,
|
|
13934
|
-
"parameters": [
|
|
13935
|
-
{
|
|
13936
|
-
"name": "projectId",
|
|
13937
|
-
"in": "path",
|
|
13938
|
-
"required": true,
|
|
13939
|
-
"schema": {
|
|
13940
|
-
"type": "string",
|
|
13941
|
-
"format": "uuid",
|
|
13942
|
-
"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)$"
|
|
13943
|
-
}
|
|
13944
|
-
},
|
|
13945
|
-
{
|
|
13946
|
-
"name": "sessionId",
|
|
13947
|
-
"in": "path",
|
|
13948
|
-
"required": true,
|
|
13949
|
-
"schema": {
|
|
13950
|
-
"type": "string",
|
|
13951
|
-
"format": "uuid",
|
|
13952
|
-
"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)$"
|
|
13953
|
-
}
|
|
13954
|
-
}
|
|
13955
|
-
],
|
|
13956
|
-
"requestBody": {
|
|
13957
|
-
"required": true,
|
|
13958
|
-
"content": {
|
|
13959
|
-
"application/json": {
|
|
13960
|
-
"schema": {
|
|
13961
|
-
"type": "object",
|
|
13962
|
-
"properties": {
|
|
13963
|
-
"message": {
|
|
13964
|
-
"type": "string",
|
|
13965
|
-
"minLength": 1,
|
|
13966
|
-
"maxLength": 2000
|
|
13967
|
-
}
|
|
13968
|
-
},
|
|
13969
|
-
"required": ["message"]
|
|
13970
|
-
}
|
|
13971
|
-
}
|
|
13972
|
-
}
|
|
13973
|
-
},
|
|
13974
|
-
"responses": {
|
|
13975
|
-
"2XX": {
|
|
13976
|
-
"description": "Success envelope",
|
|
13977
|
-
"content": {
|
|
13978
|
-
"application/json": {
|
|
13979
|
-
"schema": {
|
|
13980
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
13981
|
-
}
|
|
13982
|
-
}
|
|
13983
|
-
}
|
|
13984
|
-
},
|
|
13985
|
-
"4XX": {
|
|
13986
|
-
"description": "Error envelope",
|
|
13987
|
-
"content": {
|
|
13988
|
-
"application/json": {
|
|
13989
|
-
"schema": {
|
|
13990
|
-
"$ref": "#/components/schemas/ApiError"
|
|
13991
|
-
}
|
|
13992
|
-
}
|
|
13993
|
-
}
|
|
13994
|
-
},
|
|
13995
|
-
"5XX": {
|
|
13996
|
-
"description": "Error envelope",
|
|
13997
|
-
"content": {
|
|
13998
|
-
"application/json": {
|
|
13999
|
-
"schema": {
|
|
14000
|
-
"$ref": "#/components/schemas/ApiError"
|
|
14001
|
-
}
|
|
14002
|
-
}
|
|
14003
|
-
}
|
|
14004
|
-
}
|
|
14005
|
-
}
|
|
14006
|
-
}
|
|
14007
|
-
},
|
|
14008
|
-
"/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit-message": {
|
|
14009
|
-
"post": {
|
|
14010
|
-
"operationId": "sessionsGitCommitMessageCreate",
|
|
14011
|
-
"summary": "Draft a commit message for the uncommitted changes. Needs a running sandbox.",
|
|
14012
|
-
"tags": ["sessions"],
|
|
14013
|
-
"x-kosuke-command": ["sessions", "git", "commit-message", "create"],
|
|
14014
|
-
"x-kosuke-sandbox-token": true,
|
|
14015
|
-
"x-kosuke-cron-token": true,
|
|
14016
|
-
"x-kosuke-sensei-token": true,
|
|
14017
|
-
"parameters": [
|
|
14018
|
-
{
|
|
14019
|
-
"name": "projectId",
|
|
14020
|
-
"in": "path",
|
|
14021
|
-
"required": true,
|
|
14022
|
-
"schema": {
|
|
14023
|
-
"type": "string",
|
|
14024
|
-
"format": "uuid",
|
|
14025
|
-
"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)$"
|
|
14026
|
-
}
|
|
14027
|
-
},
|
|
14028
|
-
{
|
|
14029
|
-
"name": "sessionId",
|
|
14030
|
-
"in": "path",
|
|
14031
|
-
"required": true,
|
|
14032
|
-
"schema": {
|
|
14033
|
-
"type": "string",
|
|
14034
|
-
"format": "uuid",
|
|
14035
|
-
"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)$"
|
|
14036
|
-
}
|
|
14037
|
-
}
|
|
14038
|
-
],
|
|
14039
|
-
"responses": {
|
|
14040
|
-
"2XX": {
|
|
14041
|
-
"description": "Success envelope",
|
|
14042
|
-
"content": {
|
|
14043
|
-
"application/json": {
|
|
14044
|
-
"schema": {
|
|
14045
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
14046
|
-
}
|
|
14047
|
-
}
|
|
14048
|
-
}
|
|
14049
|
-
},
|
|
14050
|
-
"4XX": {
|
|
14051
|
-
"description": "Error envelope",
|
|
14052
|
-
"content": {
|
|
14053
|
-
"application/json": {
|
|
14054
|
-
"schema": {
|
|
14055
|
-
"$ref": "#/components/schemas/ApiError"
|
|
14056
|
-
}
|
|
14057
|
-
}
|
|
14058
|
-
}
|
|
14059
|
-
},
|
|
14060
|
-
"5XX": {
|
|
14061
|
-
"description": "Error envelope",
|
|
14062
|
-
"content": {
|
|
14063
|
-
"application/json": {
|
|
14064
|
-
"schema": {
|
|
14065
|
-
"$ref": "#/components/schemas/ApiError"
|
|
14066
|
-
}
|
|
14067
|
-
}
|
|
14068
|
-
}
|
|
14069
|
-
}
|
|
14070
|
-
}
|
|
14071
|
-
}
|
|
14072
|
-
},
|
|
14073
|
-
"/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/push": {
|
|
14074
|
-
"post": {
|
|
14075
|
-
"operationId": "sessionsGitPush",
|
|
14076
|
-
"summary": "Push the session's branch to GitHub. Refused while a turn is running.",
|
|
14077
|
-
"tags": ["sessions"],
|
|
14078
|
-
"x-kosuke-command": ["sessions", "git", "push"],
|
|
14079
|
-
"x-kosuke-sandbox-token": true,
|
|
14080
|
-
"x-kosuke-cron-token": true,
|
|
14081
|
-
"x-kosuke-sensei-token": true,
|
|
14082
|
-
"parameters": [
|
|
14083
|
-
{
|
|
14084
|
-
"name": "projectId",
|
|
14085
|
-
"in": "path",
|
|
14086
|
-
"required": true,
|
|
14087
|
-
"schema": {
|
|
14088
|
-
"type": "string",
|
|
14089
|
-
"format": "uuid",
|
|
14090
|
-
"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)$"
|
|
14091
|
-
}
|
|
14092
|
-
},
|
|
14093
|
-
{
|
|
14094
|
-
"name": "sessionId",
|
|
14095
|
-
"in": "path",
|
|
14096
|
-
"required": true,
|
|
14097
|
-
"schema": {
|
|
14098
|
-
"type": "string",
|
|
14099
|
-
"format": "uuid",
|
|
14100
|
-
"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)$"
|
|
14101
|
-
}
|
|
14102
|
-
}
|
|
14103
|
-
],
|
|
14104
|
-
"responses": {
|
|
14105
|
-
"2XX": {
|
|
14106
|
-
"description": "Success envelope",
|
|
14107
|
-
"content": {
|
|
14108
|
-
"application/json": {
|
|
14109
|
-
"schema": {
|
|
14110
|
-
"$ref": "#/components/schemas/ApiSuccess"
|
|
14111
|
-
}
|
|
14112
|
-
}
|
|
14113
|
-
}
|
|
14114
|
-
},
|
|
14115
|
-
"4XX": {
|
|
14116
|
-
"description": "Error envelope",
|
|
14117
|
-
"content": {
|
|
14118
|
-
"application/json": {
|
|
14119
|
-
"schema": {
|
|
14120
|
-
"$ref": "#/components/schemas/ApiError"
|
|
14121
|
-
}
|
|
14122
|
-
}
|
|
14123
|
-
}
|
|
14124
|
-
},
|
|
14125
|
-
"5XX": {
|
|
14126
|
-
"description": "Error envelope",
|
|
14127
|
-
"content": {
|
|
14128
|
-
"application/json": {
|
|
14129
|
-
"schema": {
|
|
14130
|
-
"$ref": "#/components/schemas/ApiError"
|
|
14131
|
-
}
|
|
14132
|
-
}
|
|
14133
|
-
}
|
|
14134
|
-
}
|
|
14135
|
-
}
|
|
14136
|
-
}
|
|
14137
|
-
},
|
|
14138
13936
|
"/api/projects/{projectId}/chat-sessions/{sessionId}/prompt": {
|
|
14139
13937
|
"patch": {
|
|
14140
13938
|
"operationId": "sessionsPromptUpdate",
|
|
@@ -26624,7 +26422,7 @@
|
|
|
26624
26422
|
"/api/user/profile": {
|
|
26625
26423
|
"get": {
|
|
26626
26424
|
"operationId": "userProfileGet",
|
|
26627
|
-
"summary": "Read your account: id, email, name, onboarding state, default model,
|
|
26425
|
+
"summary": "Read your account: id, email, name, onboarding state, default model, Reply Style and FYI digest interval.",
|
|
26628
26426
|
"tags": ["user"],
|
|
26629
26427
|
"x-kosuke-command": ["user", "profile", "get"],
|
|
26630
26428
|
"x-kosuke-sandbox-token": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
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": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"vitest": "^4.1.12"
|
|
41
41
|
},
|
|
42
42
|
"kosukeRelease": {
|
|
43
|
-
"sourceCommit": "
|
|
44
|
-
"sourceIdentity": "
|
|
43
|
+
"sourceCommit": "e7f99a704e15743b8e34c5952386a22f8f5ba133",
|
|
44
|
+
"sourceIdentity": "6a55d0055a39039d102930ea34edfed906c3e66e5544457b6ef1ad780ffb811c",
|
|
45
45
|
"fragments": [
|
|
46
|
-
"
|
|
46
|
+
"remove-manual-git-r71xa5.json"
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit-message",
|
|
4
|
-
"command": [
|
|
5
|
-
"sessions",
|
|
6
|
-
"git",
|
|
7
|
-
"commit-message",
|
|
8
|
-
"create"
|
|
9
|
-
],
|
|
10
|
-
"summary": "Draft a commit message for the uncommitted changes. Needs a running sandbox.",
|
|
11
|
-
"pathParams": [
|
|
12
|
-
"projectId",
|
|
13
|
-
"sessionId"
|
|
14
|
-
],
|
|
15
|
-
"query": [],
|
|
16
|
-
"body": null,
|
|
17
|
-
"multipart": null,
|
|
18
|
-
"attachments": false,
|
|
19
|
-
"anonymous": false,
|
|
20
|
-
"agents": "all"
|
|
21
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/commit",
|
|
4
|
-
"command": [
|
|
5
|
-
"sessions",
|
|
6
|
-
"git",
|
|
7
|
-
"commit"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Commit the uncommitted changes in the sandbox. Refused while a turn is running.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId",
|
|
12
|
-
"sessionId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": {
|
|
16
|
-
"fields": [
|
|
17
|
-
{
|
|
18
|
-
"name": "message",
|
|
19
|
-
"flag": "message",
|
|
20
|
-
"kind": "string",
|
|
21
|
-
"required": true
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"required": true
|
|
25
|
-
},
|
|
26
|
-
"multipart": null,
|
|
27
|
-
"attachments": false,
|
|
28
|
-
"anonymous": false,
|
|
29
|
-
"agents": "all"
|
|
30
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const operation = {
|
|
2
|
-
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/git/push",
|
|
4
|
-
"command": [
|
|
5
|
-
"sessions",
|
|
6
|
-
"git",
|
|
7
|
-
"push"
|
|
8
|
-
],
|
|
9
|
-
"summary": "Push the session's branch to GitHub. Refused while a turn is running.",
|
|
10
|
-
"pathParams": [
|
|
11
|
-
"projectId",
|
|
12
|
-
"sessionId"
|
|
13
|
-
],
|
|
14
|
-
"query": [],
|
|
15
|
-
"body": null,
|
|
16
|
-
"multipart": null,
|
|
17
|
-
"attachments": false,
|
|
18
|
-
"anonymous": false,
|
|
19
|
-
"agents": "all"
|
|
20
|
-
};
|