@kosuke-ai/kosuke 1.0.139 → 1.0.141
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 +8 -0
- package/dist/generated/commands/index.js +33 -25
- package/dist/generated/commands/tasks/thread-get--personal.js +25 -0
- package/dist/generated/commands/tasks/thread-get.js +22 -0
- package/dist/generated/commands/tasks/thread-move--personal.js +50 -0
- package/dist/generated/commands/tasks/thread-move.js +47 -0
- package/openapi.json +151 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.141
|
|
4
|
+
|
|
5
|
+
- Delegated Runs no longer have Turn Levels. A run that names providers to avoid goes to the other provider with the most quota left that has a model and effort at most a few points below the turn's own, on its cheapest such, and stays on the turn's own model when none has; a run that names a provider runs on it, on its cheapest such model or its strongest; a run that names a model takes exactly that model and effort. Strength and cost come from published Terminal-Bench 4.0 scores kept in the model list. Sensei free runs one model per Source.
|
|
6
|
+
|
|
7
|
+
## 1.0.140
|
|
8
|
+
|
|
9
|
+
- Add `kosuke tasks thread get` and `kosuke tasks thread move` to read and move a task's Sensei thread, as the app's Move to thread does.
|
|
10
|
+
|
|
3
11
|
## 1.0.139
|
|
4
12
|
|
|
5
13
|
- New `kosuke user plan get` shows your plan: who covers you when you belong to a paid workspace (its workspace, every paid workspace you belong to, and why it covers you), and how many Personal Crons you hold. A member of a paid workspace has no Personal Free limits, and their Personal Crons and Personal work run on and are billed to the workspace that covers them.
|
|
@@ -329,31 +329,35 @@ import { operation as o327 } from './tasks/move--personal.js';
|
|
|
329
329
|
import { operation as o328 } from './tasks/project-set.js';
|
|
330
330
|
import { operation as o329 } from './tasks/start.js';
|
|
331
331
|
import { operation as o330 } from './tasks/start--personal.js';
|
|
332
|
-
import { operation as o331 } from './tasks/
|
|
333
|
-
import { operation as o332 } from './tasks/
|
|
334
|
-
import { operation as o333 } from './
|
|
335
|
-
import { operation as o334 } from './
|
|
336
|
-
import { operation as o335 } from './
|
|
337
|
-
import { operation as o336 } from './
|
|
338
|
-
import { operation as o337 } from './user/
|
|
339
|
-
import { operation as o338 } from './user/
|
|
340
|
-
import { operation as o339 } from './user/
|
|
341
|
-
import { operation as o340 } from './user/
|
|
342
|
-
import { operation as o341 } from './user/
|
|
343
|
-
import { operation as o342 } from './
|
|
344
|
-
import { operation as o343 } from './
|
|
345
|
-
import { operation as o344 } from './
|
|
346
|
-
import { operation as o345 } from './
|
|
347
|
-
import { operation as o346 } from './workspaces/
|
|
348
|
-
import { operation as o347 } from './workspaces/
|
|
349
|
-
import { operation as o348 } from './workspaces/
|
|
350
|
-
import { operation as o349 } from './workspaces/
|
|
351
|
-
import { operation as o350 } from './workspaces/
|
|
352
|
-
import { operation as o351 } from './workspaces/
|
|
353
|
-
import { operation as o352 } from './workspaces/
|
|
354
|
-
import { operation as o353 } from './workspaces/
|
|
355
|
-
import { operation as o354 } from './workspaces/
|
|
356
|
-
import { operation as o355 } from './workspaces/
|
|
332
|
+
import { operation as o331 } from './tasks/thread-get.js';
|
|
333
|
+
import { operation as o332 } from './tasks/thread-get--personal.js';
|
|
334
|
+
import { operation as o333 } from './tasks/thread-move.js';
|
|
335
|
+
import { operation as o334 } from './tasks/thread-move--personal.js';
|
|
336
|
+
import { operation as o335 } from './tasks/update.js';
|
|
337
|
+
import { operation as o336 } from './tasks/update--personal.js';
|
|
338
|
+
import { operation as o337 } from './user/api-keys-delete.js';
|
|
339
|
+
import { operation as o338 } from './user/personal-space-get.js';
|
|
340
|
+
import { operation as o339 } from './user/plan-get.js';
|
|
341
|
+
import { operation as o340 } from './user/profile-get.js';
|
|
342
|
+
import { operation as o341 } from './user/push-devices-create.js';
|
|
343
|
+
import { operation as o342 } from './user/push-devices-delete.js';
|
|
344
|
+
import { operation as o343 } from './user/settings-get.js';
|
|
345
|
+
import { operation as o344 } from './user/settings-update.js';
|
|
346
|
+
import { operation as o345 } from './user/usage-get.js';
|
|
347
|
+
import { operation as o346 } from './workspaces/credits-get.js';
|
|
348
|
+
import { operation as o347 } from './workspaces/get.js';
|
|
349
|
+
import { operation as o348 } from './workspaces/list.js';
|
|
350
|
+
import { operation as o349 } from './workspaces/members-list.js';
|
|
351
|
+
import { operation as o350 } from './workspaces/members-list--all.js';
|
|
352
|
+
import { operation as o351 } from './workspaces/memory-get.js';
|
|
353
|
+
import { operation as o352 } from './workspaces/memory-set.js';
|
|
354
|
+
import { operation as o353 } from './workspaces/personal-runtime-get.js';
|
|
355
|
+
import { operation as o354 } from './workspaces/sandbox-hours-get.js';
|
|
356
|
+
import { operation as o355 } from './workspaces/sandbox-limit-get.js';
|
|
357
|
+
import { operation as o356 } from './workspaces/sandboxes-stop.js';
|
|
358
|
+
import { operation as o357 } from './workspaces/timezone-set.js';
|
|
359
|
+
import { operation as o358 } from './workspaces/usage-breakdown-get.js';
|
|
360
|
+
import { operation as o359 } from './workspaces/usage-get.js';
|
|
357
361
|
export const operations = [
|
|
358
362
|
o0,
|
|
359
363
|
o1,
|
|
@@ -711,4 +715,8 @@ export const operations = [
|
|
|
711
715
|
o353,
|
|
712
716
|
o354,
|
|
713
717
|
o355,
|
|
718
|
+
o356,
|
|
719
|
+
o357,
|
|
720
|
+
o358,
|
|
721
|
+
o359,
|
|
714
722
|
];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}/thread",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"thread",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"variant": {
|
|
10
|
+
"scope": "personal"
|
|
11
|
+
},
|
|
12
|
+
"personalSpace": true,
|
|
13
|
+
"summary": "The same, in your Personal space.",
|
|
14
|
+
"pathParams": [
|
|
15
|
+
"taskId"
|
|
16
|
+
],
|
|
17
|
+
"query": [],
|
|
18
|
+
"body": null,
|
|
19
|
+
"multipart": null,
|
|
20
|
+
"attachments": false,
|
|
21
|
+
"anonymous": false,
|
|
22
|
+
"agents": [
|
|
23
|
+
"senseiToken"
|
|
24
|
+
]
|
|
25
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}/thread",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"thread",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "The thread of your own Sensei a task is in, as the app's Move to thread shows it: `threadId` and `title`, both null for none.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"taskId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": null,
|
|
16
|
+
"multipart": null,
|
|
17
|
+
"attachments": false,
|
|
18
|
+
"anonymous": false,
|
|
19
|
+
"agents": [
|
|
20
|
+
"senseiToken"
|
|
21
|
+
]
|
|
22
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}/thread",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"thread",
|
|
7
|
+
"move"
|
|
8
|
+
],
|
|
9
|
+
"variant": {
|
|
10
|
+
"scope": "personal"
|
|
11
|
+
},
|
|
12
|
+
"personalSpace": true,
|
|
13
|
+
"summary": "The same, in your Personal space.",
|
|
14
|
+
"pathParams": [
|
|
15
|
+
"taskId"
|
|
16
|
+
],
|
|
17
|
+
"query": [],
|
|
18
|
+
"body": {
|
|
19
|
+
"fields": [
|
|
20
|
+
{
|
|
21
|
+
"name": "threadId",
|
|
22
|
+
"flag": "thread-id",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Your own Sensei thread to move it into, from `kosuke sensei threads list`."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "newThreadTitle",
|
|
29
|
+
"flag": "new-thread-title",
|
|
30
|
+
"kind": "string",
|
|
31
|
+
"required": false,
|
|
32
|
+
"description": "Make a new thread with this title and move the task into it."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "none",
|
|
36
|
+
"flag": "none",
|
|
37
|
+
"kind": "boolean",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Take the task out of any thread."
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"required": true
|
|
43
|
+
},
|
|
44
|
+
"multipart": null,
|
|
45
|
+
"attachments": false,
|
|
46
|
+
"anonymous": false,
|
|
47
|
+
"agents": [
|
|
48
|
+
"senseiToken"
|
|
49
|
+
]
|
|
50
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "post",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/tasks/{taskId}/thread",
|
|
4
|
+
"command": [
|
|
5
|
+
"tasks",
|
|
6
|
+
"thread",
|
|
7
|
+
"move"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Move a task, and its session's cards and news, into a thread of your own Sensei, a new thread, or none, as the app's Move to thread does. Give exactly one of --thread-id, --new-thread-title and --none.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"taskId"
|
|
13
|
+
],
|
|
14
|
+
"query": [],
|
|
15
|
+
"body": {
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "threadId",
|
|
19
|
+
"flag": "thread-id",
|
|
20
|
+
"kind": "string",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "Your own Sensei thread to move it into, from `kosuke sensei threads list`."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "newThreadTitle",
|
|
26
|
+
"flag": "new-thread-title",
|
|
27
|
+
"kind": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Make a new thread with this title and move the task into it."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "none",
|
|
33
|
+
"flag": "none",
|
|
34
|
+
"kind": "boolean",
|
|
35
|
+
"required": false,
|
|
36
|
+
"description": "Take the task out of any thread."
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"required": true
|
|
40
|
+
},
|
|
41
|
+
"multipart": null,
|
|
42
|
+
"attachments": false,
|
|
43
|
+
"anonymous": false,
|
|
44
|
+
"agents": [
|
|
45
|
+
"senseiToken"
|
|
46
|
+
]
|
|
47
|
+
};
|
package/openapi.json
CHANGED
|
@@ -10001,6 +10001,157 @@
|
|
|
10001
10001
|
}
|
|
10002
10002
|
}
|
|
10003
10003
|
},
|
|
10004
|
+
"/api/organizations/{workspaceId}/tasks/{taskId}/thread": {
|
|
10005
|
+
"get": {
|
|
10006
|
+
"operationId": "tasksThreadGet",
|
|
10007
|
+
"summary": "The thread of your own Sensei a task is in, as the app's Move to thread shows it: `threadId` and `title`, both null for none.",
|
|
10008
|
+
"tags": ["tasks"],
|
|
10009
|
+
"x-kosuke-command": ["tasks", "thread", "get"],
|
|
10010
|
+
"x-kosuke-personal-space": true,
|
|
10011
|
+
"x-kosuke-sensei-token": true,
|
|
10012
|
+
"parameters": [
|
|
10013
|
+
{
|
|
10014
|
+
"name": "workspaceId",
|
|
10015
|
+
"in": "path",
|
|
10016
|
+
"required": true,
|
|
10017
|
+
"schema": {
|
|
10018
|
+
"type": "string",
|
|
10019
|
+
"minLength": 1
|
|
10020
|
+
}
|
|
10021
|
+
},
|
|
10022
|
+
{
|
|
10023
|
+
"name": "taskId",
|
|
10024
|
+
"in": "path",
|
|
10025
|
+
"required": true,
|
|
10026
|
+
"schema": {
|
|
10027
|
+
"type": "string",
|
|
10028
|
+
"format": "uuid",
|
|
10029
|
+
"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)$"
|
|
10030
|
+
}
|
|
10031
|
+
}
|
|
10032
|
+
],
|
|
10033
|
+
"responses": {
|
|
10034
|
+
"2XX": {
|
|
10035
|
+
"description": "Success envelope",
|
|
10036
|
+
"content": {
|
|
10037
|
+
"application/json": {
|
|
10038
|
+
"schema": {
|
|
10039
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
10040
|
+
}
|
|
10041
|
+
}
|
|
10042
|
+
}
|
|
10043
|
+
},
|
|
10044
|
+
"4XX": {
|
|
10045
|
+
"description": "Error envelope",
|
|
10046
|
+
"content": {
|
|
10047
|
+
"application/json": {
|
|
10048
|
+
"schema": {
|
|
10049
|
+
"$ref": "#/components/schemas/ApiError"
|
|
10050
|
+
}
|
|
10051
|
+
}
|
|
10052
|
+
}
|
|
10053
|
+
},
|
|
10054
|
+
"5XX": {
|
|
10055
|
+
"description": "Error envelope",
|
|
10056
|
+
"content": {
|
|
10057
|
+
"application/json": {
|
|
10058
|
+
"schema": {
|
|
10059
|
+
"$ref": "#/components/schemas/ApiError"
|
|
10060
|
+
}
|
|
10061
|
+
}
|
|
10062
|
+
}
|
|
10063
|
+
}
|
|
10064
|
+
}
|
|
10065
|
+
},
|
|
10066
|
+
"post": {
|
|
10067
|
+
"operationId": "tasksThreadMove",
|
|
10068
|
+
"summary": "Move a task, and its session's cards and news, into a thread of your own Sensei, a new thread, or none, as the app's Move to thread does. Give exactly one of --thread-id, --new-thread-title and --none.",
|
|
10069
|
+
"tags": ["tasks"],
|
|
10070
|
+
"x-kosuke-command": ["tasks", "thread", "move"],
|
|
10071
|
+
"x-kosuke-personal-space": true,
|
|
10072
|
+
"x-kosuke-sensei-token": true,
|
|
10073
|
+
"parameters": [
|
|
10074
|
+
{
|
|
10075
|
+
"name": "workspaceId",
|
|
10076
|
+
"in": "path",
|
|
10077
|
+
"required": true,
|
|
10078
|
+
"schema": {
|
|
10079
|
+
"type": "string",
|
|
10080
|
+
"minLength": 1
|
|
10081
|
+
}
|
|
10082
|
+
},
|
|
10083
|
+
{
|
|
10084
|
+
"name": "taskId",
|
|
10085
|
+
"in": "path",
|
|
10086
|
+
"required": true,
|
|
10087
|
+
"schema": {
|
|
10088
|
+
"type": "string",
|
|
10089
|
+
"format": "uuid",
|
|
10090
|
+
"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)$"
|
|
10091
|
+
}
|
|
10092
|
+
}
|
|
10093
|
+
],
|
|
10094
|
+
"requestBody": {
|
|
10095
|
+
"required": true,
|
|
10096
|
+
"content": {
|
|
10097
|
+
"application/json": {
|
|
10098
|
+
"schema": {
|
|
10099
|
+
"type": "object",
|
|
10100
|
+
"properties": {
|
|
10101
|
+
"threadId": {
|
|
10102
|
+
"description": "Your own Sensei thread to move it into, from `kosuke sensei threads list`.",
|
|
10103
|
+
"type": "string"
|
|
10104
|
+
},
|
|
10105
|
+
"newThreadTitle": {
|
|
10106
|
+
"description": "Make a new thread with this title and move the task into it.",
|
|
10107
|
+
"type": "string",
|
|
10108
|
+
"minLength": 1,
|
|
10109
|
+
"maxLength": 200
|
|
10110
|
+
},
|
|
10111
|
+
"none": {
|
|
10112
|
+
"description": "Take the task out of any thread.",
|
|
10113
|
+
"type": "boolean"
|
|
10114
|
+
}
|
|
10115
|
+
},
|
|
10116
|
+
"additionalProperties": false
|
|
10117
|
+
}
|
|
10118
|
+
}
|
|
10119
|
+
}
|
|
10120
|
+
},
|
|
10121
|
+
"responses": {
|
|
10122
|
+
"2XX": {
|
|
10123
|
+
"description": "Success envelope",
|
|
10124
|
+
"content": {
|
|
10125
|
+
"application/json": {
|
|
10126
|
+
"schema": {
|
|
10127
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
10128
|
+
}
|
|
10129
|
+
}
|
|
10130
|
+
}
|
|
10131
|
+
},
|
|
10132
|
+
"4XX": {
|
|
10133
|
+
"description": "Error envelope",
|
|
10134
|
+
"content": {
|
|
10135
|
+
"application/json": {
|
|
10136
|
+
"schema": {
|
|
10137
|
+
"$ref": "#/components/schemas/ApiError"
|
|
10138
|
+
}
|
|
10139
|
+
}
|
|
10140
|
+
}
|
|
10141
|
+
},
|
|
10142
|
+
"5XX": {
|
|
10143
|
+
"description": "Error envelope",
|
|
10144
|
+
"content": {
|
|
10145
|
+
"application/json": {
|
|
10146
|
+
"schema": {
|
|
10147
|
+
"$ref": "#/components/schemas/ApiError"
|
|
10148
|
+
}
|
|
10149
|
+
}
|
|
10150
|
+
}
|
|
10151
|
+
}
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
},
|
|
10004
10155
|
"/api/organizations/{workspaceId}/tasks/{taskId}/transfer": {
|
|
10005
10156
|
"post": {
|
|
10006
10157
|
"operationId": "tasksProjectSet",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.141",
|
|
4
4
|
"description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "7e3b7b93847879cd2517e89a43f547c80d243964",
|
|
47
|
+
"sourceIdentity": "131700cbe0ff39f0abf6c5662c3baf0210ab60eb231377e2bf942a50e76e33f1",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"remove-turn-levels-ohbuig.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|