@kosuke-ai/kosuke 1.0.67 → 1.0.69
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 +12 -0
- package/dist/generated/commands/devices/locks-create.js +8 -1
- package/dist/generated/commands/index.js +16 -12
- package/dist/generated/commands/mac/shell.js +14 -0
- package/dist/generated/commands/projects/batch-merging-get.js +1 -1
- package/dist/generated/commands/projects/batch-merging-set.js +1 -1
- package/dist/generated/commands/sensei/cards-set.js +2 -2
- package/dist/generated/commands/user/settings-get.js +17 -0
- package/dist/generated/commands/user/settings-update.js +37 -0
- package/dist/generated/commands/workspaces/sandbox-limit-get.js +1 -16
- package/dist/integrations/api.js +1 -0
- package/dist/integrations/render.js +10 -3
- package/openapi.json +166 -27
- package/package.json +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.69
|
|
4
|
+
|
|
5
|
+
- Add `kosuke mac shell --no-screen` and `--build-slot`, for commands that drive no UI, and `kosuke devices locks create --build-slot` to wait for a build slot.
|
|
6
|
+
- `kosuke workspaces sandbox-limit get` no longer takes `--project-id` or `--session-id`: a warming pool sandbox holds no slot in any space.
|
|
7
|
+
- `kosuke sensei cards set` takes `media` on a quoted message or an evidence row, which draws the message's pictures on the card.
|
|
8
|
+
|
|
9
|
+
## 1.0.68
|
|
10
|
+
|
|
11
|
+
- `kosuke integrations list` prints the platform's line naming integrations you can still connect, even when none is connected yet.
|
|
12
|
+
- Add `kosuke user settings get` and `kosuke user settings update` to read and set your timezone and its source.
|
|
13
|
+
- `kosuke projects batch-merging get` reports `mode` alone and no longer shows `enabled`, whose `false` meant the merge train and read as off. `set --enabled` and `--no-enabled` still work.
|
|
14
|
+
|
|
3
15
|
## 1.0.67
|
|
4
16
|
|
|
5
17
|
- Add `kosuke integrations request` to send one request to a Composio toolkit's own API through your connection, for an action no listed tool does; `integrations list --toolkit` says whether a toolkit takes them and its API base URL.
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"locks",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "From a Chat Session, when a mac command answered MAC_BUSY: wait in the device’s line, first come, first served, until the device is this session’s, or the timeout passes. Answers granted true once it is yours: go on with your mac commands. Answers granted false with your position and heldBy (sensei or session) on timeout: run it again. Never call mac commands in a loop instead. Once done with the device, run devices locks delete.",
|
|
9
|
+
"summary": "From a Chat Session, when a mac command answered MAC_BUSY: wait in the device’s line, first come, first served, until the device is this session’s, or the timeout passes. Answers granted true once it is yours: go on with your mac commands. Answers granted false with your position and heldBy (sensei or session) on timeout: run it again. Never call mac commands in a loop instead. Once done with the device, run devices locks delete. While a QA run is open, the wait comes off its budget, up to 60 minutes per run, and lasts at most what is left of those 60 minutes: qaLine says the minutes waited and whether ceilingReached.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"deviceId"
|
|
12
12
|
],
|
|
@@ -19,6 +19,13 @@ export const operation = {
|
|
|
19
19
|
"kind": "integer",
|
|
20
20
|
"required": false,
|
|
21
21
|
"description": "How long to wait, in seconds: 300 by default, at most 600."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "buildSlot",
|
|
25
|
+
"flag": "build-slot",
|
|
26
|
+
"kind": "string",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Wait for this named build slot, one of 2 per device, instead of the screen. Answers granted true once it is yours: start the build with `kosuke mac shell --no-screen --build-slot <name>`."
|
|
22
29
|
}
|
|
23
30
|
],
|
|
24
31
|
"required": true
|
|
@@ -320,18 +320,20 @@ import { operation as o318 } from './user/personal-space-get.js';
|
|
|
320
320
|
import { operation as o319 } from './user/profile-get.js';
|
|
321
321
|
import { operation as o320 } from './user/push-devices-create.js';
|
|
322
322
|
import { operation as o321 } from './user/push-devices-delete.js';
|
|
323
|
-
import { operation as o322 } from './user/
|
|
324
|
-
import { operation as o323 } from './
|
|
325
|
-
import { operation as o324 } from './
|
|
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/
|
|
332
|
-
import { operation as o331 } from './workspaces/
|
|
333
|
-
import { operation as o332 } from './workspaces/
|
|
334
|
-
import { operation as o333 } from './workspaces/
|
|
323
|
+
import { operation as o322 } from './user/settings-get.js';
|
|
324
|
+
import { operation as o323 } from './user/settings-update.js';
|
|
325
|
+
import { operation as o324 } from './user/usage-get.js';
|
|
326
|
+
import { operation as o325 } from './workspaces/artifacts-search.js';
|
|
327
|
+
import { operation as o326 } from './workspaces/credits-get.js';
|
|
328
|
+
import { operation as o327 } from './workspaces/get.js';
|
|
329
|
+
import { operation as o328 } from './workspaces/list.js';
|
|
330
|
+
import { operation as o329 } from './workspaces/members-list.js';
|
|
331
|
+
import { operation as o330 } from './workspaces/members-list--all.js';
|
|
332
|
+
import { operation as o331 } from './workspaces/sandbox-limit-get.js';
|
|
333
|
+
import { operation as o332 } from './workspaces/sandboxes-stop.js';
|
|
334
|
+
import { operation as o333 } from './workspaces/timezone-set.js';
|
|
335
|
+
import { operation as o334 } from './workspaces/usage-breakdown-get.js';
|
|
336
|
+
import { operation as o335 } from './workspaces/usage-get.js';
|
|
335
337
|
export const operations = [
|
|
336
338
|
o0,
|
|
337
339
|
o1,
|
|
@@ -667,4 +669,6 @@ export const operations = [
|
|
|
667
669
|
o331,
|
|
668
670
|
o332,
|
|
669
671
|
o333,
|
|
672
|
+
o334,
|
|
673
|
+
o335,
|
|
670
674
|
];
|
|
@@ -37,6 +37,20 @@ export const operation = {
|
|
|
37
37
|
"kind": "integer",
|
|
38
38
|
"required": false,
|
|
39
39
|
"description": "60000 by default, at most 600000."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "screen",
|
|
43
|
+
"flag": "screen",
|
|
44
|
+
"kind": "boolean",
|
|
45
|
+
"required": false,
|
|
46
|
+
"description": "Send false (--no-screen) from a Chat Session for a command that drives no UI: it takes no screen lock and never joins the line. Never use it for a command that opens, focuses or films anything. Without it the call takes the screen."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "buildSlot",
|
|
50
|
+
"flag": "build-slot",
|
|
51
|
+
"kind": "string",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "With --no-screen, for a long build: holds the named build slot, one of 2 per device, for this call and a while after it. The next call naming it renews the slot. BUILD_SLOT_BUSY when both are taken: wait with `kosuke devices locks create <deviceId> --build-slot <name>`."
|
|
40
54
|
}
|
|
41
55
|
],
|
|
42
56
|
"required": true
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"batch-merging",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves;
|
|
9
|
+
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; mode alone says whether it is off, and the output has no enabled boolean), its Go-ahead under the merge train (goAhead member: a member gives each pull request the go-ahead; checks: a pull request whose required checks pass on its latest commit has it) and waitForQa (under checks, QA must pass too), how many go-ahead pull requests wait, and the run open now.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -30,7 +30,7 @@ export const operation = {
|
|
|
30
30
|
"flag": "enabled",
|
|
31
31
|
"kind": "boolean",
|
|
32
32
|
"required": false,
|
|
33
|
-
"description": "Older form of mode: true is batch, false is train. Give mode or enabled."
|
|
33
|
+
"description": "Older form of mode, still accepted: true is batch, false is train, never off. Give mode or enabled. Reads return mode alone."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "goAhead",
|
|
@@ -30,7 +30,7 @@ export const operation = {
|
|
|
30
30
|
"required": true,
|
|
31
31
|
"shape": [
|
|
32
32
|
"T[] (max 12), each T one of:",
|
|
33
|
-
"{type: \"text\", role?: \"message\"|\"draft\", text: string}",
|
|
33
|
+
"{type: \"text\", role?: \"message\"|\"draft\", text: string, media?: {eventId: string, parts: integer[] (max 10)}}",
|
|
34
34
|
"{type: \"facts\", rows: {label: string, value: string}[] (max 20)}",
|
|
35
35
|
"{type: \"qa_report\", status?: \"passed\"|\"failed\"|\"blocked\"|\"skipped\"|\"running\", reason?: string, passed: integer, total: integer, sections: {title: string, passed: integer, total: integer, note?: string}[] (max 30), failed: {section: string, item: string, reason: string}[] (max 30), links: {label: string, href: string}[] (max 8)}",
|
|
36
36
|
"{type: \"diff\", summary: string, text?: {current: string, proposed: string}, files: {path: string, added: integer, removed: integer}[] (max 50)}",
|
|
@@ -41,7 +41,7 @@ export const operation = {
|
|
|
41
41
|
"{type: \"merge_plan\", rows: {sessionId?: string, number: integer, title: string, headSha: string, action: \"merge\"|\"sync\"|\"wait\", why: string}[] (max 30)}",
|
|
42
42
|
"{type: \"deploy_variables\", deployJobId: string, pauseId: string}",
|
|
43
43
|
"{type: \"links\", items: {label: string, href: string}[] (max 8)}",
|
|
44
|
-
"{type: \"evidence\", artifacts?: ({sessionId: string, slug: string, caption?: string} | {cronId: string, runId: string, slug: string, caption?: string} | {fileId: string, version: integer, caption?: string})[] (max 2), rows: {state: \"passed\"|\"failed\"|\"waiting\"|\"info\", eventId?: string, label: string, result: string, open?: boolean, details?: {state: \"passed\"|\"failed\"|\"waiting\"|\"info\", name: string, note?: string, href?: string}[] (max 30)}[] (max 12)}",
|
|
44
|
+
"{type: \"evidence\", artifacts?: ({sessionId: string, slug: string, caption?: string} | {cronId: string, runId: string, slug: string, caption?: string} | {fileId: string, version: integer, caption?: string})[] (max 2), rows: {state: \"passed\"|\"failed\"|\"waiting\"|\"info\", eventId?: string, label: string, result: string, media?: {eventId: string, parts: integer[] (max 10)}, open?: boolean, details?: {state: \"passed\"|\"failed\"|\"waiting\"|\"info\", name: string, note?: string, href?: string}[] (max 30)}[] (max 12)}",
|
|
45
45
|
"{type: \"changes\", title: string, items: {change: \"removed\"|\"added\"|\"kept\", text: string}[] (max 20)}",
|
|
46
46
|
"{type: \"messages\", caption?: string, rows: {network: \"gmail\"|\"slack\"|\"telegram\"|\"whatsapp\"|\"linkedin\"|\"x\", sender: string, subject: string, count: integer, at: string, link?: string, connection?: string, conversation?: string}[] (max 12), older?: {conversations: integer, messages: integer}}",
|
|
47
47
|
"{type: \"person\", heading?: string, name: string, line?: string}",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/user/settings",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"settings",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read your stored timezone and its source (auto follows your device, manual is pinned), and the zone Kosuke resolves for you with where it came from.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": null,
|
|
13
|
+
"multipart": null,
|
|
14
|
+
"attachments": false,
|
|
15
|
+
"anonymous": false,
|
|
16
|
+
"agents": "all"
|
|
17
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "patch",
|
|
3
|
+
"path": "/api/user/settings",
|
|
4
|
+
"command": [
|
|
5
|
+
"user",
|
|
6
|
+
"settings",
|
|
7
|
+
"update"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Set your timezone, an IANA name such as Europe/Rome; an unknown or offset-only zone is refused. timeZone without timeZoneSource pins it (manual). timeZoneSource alone keeps the stored zone; manual with none stored is refused.",
|
|
10
|
+
"pathParams": [],
|
|
11
|
+
"query": [],
|
|
12
|
+
"body": {
|
|
13
|
+
"fields": [
|
|
14
|
+
{
|
|
15
|
+
"name": "timeZone",
|
|
16
|
+
"flag": "time-zone",
|
|
17
|
+
"kind": "string",
|
|
18
|
+
"required": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "timeZoneSource",
|
|
22
|
+
"flag": "time-zone-source",
|
|
23
|
+
"kind": "string",
|
|
24
|
+
"required": false,
|
|
25
|
+
"choices": [
|
|
26
|
+
"auto",
|
|
27
|
+
"manual"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"required": true
|
|
32
|
+
},
|
|
33
|
+
"multipart": null,
|
|
34
|
+
"attachments": false,
|
|
35
|
+
"anonymous": false,
|
|
36
|
+
"agents": "all"
|
|
37
|
+
};
|
|
@@ -10,22 +10,7 @@ export const operation = {
|
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId"
|
|
12
12
|
],
|
|
13
|
-
"query": [
|
|
14
|
-
{
|
|
15
|
-
"name": "projectId",
|
|
16
|
-
"flag": "project-id",
|
|
17
|
-
"kind": "string",
|
|
18
|
-
"required": false,
|
|
19
|
-
"description": "The project a new Todo task would start in. In a Personal space, that project's pool sandboxes still warming are left out: the task runs on one of them."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "sessionId",
|
|
23
|
-
"flag": "session-id",
|
|
24
|
-
"kind": "string",
|
|
25
|
-
"required": false,
|
|
26
|
-
"description": "The Todo task about to start, instead of projectId. Its project's warming pool sandboxes are left out only when the task will run on one: it has no sandbox yet and runs at its project's size."
|
|
27
|
-
}
|
|
28
|
-
],
|
|
13
|
+
"query": [],
|
|
29
14
|
"body": null,
|
|
30
15
|
"multipart": null,
|
|
31
16
|
"attachments": false,
|
package/dist/integrations/api.js
CHANGED
|
@@ -77,6 +77,7 @@ function parseOverview(data) {
|
|
|
77
77
|
tools,
|
|
78
78
|
toolTotal: tools ? count(data.toolTotal) : null,
|
|
79
79
|
note: oneLine(data.note, 400) || null,
|
|
80
|
+
offer: oneLine(data.offer, 1500) || null,
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
/** The platform's own sentence for a refusal, bounded; its status when it said nothing. */
|
|
@@ -22,15 +22,20 @@ function directRequestsLine({ toolkit, directRequests }) {
|
|
|
22
22
|
return `direct requests: available with \`kosuke integrations request ${toolkit}\`, for what no tool here does. API base URL: ${base}`;
|
|
23
23
|
}
|
|
24
24
|
export function renderOverview(overview, filtered) {
|
|
25
|
-
const { toolkits, tools, note } = overview;
|
|
25
|
+
const { toolkits, tools, note, offer: connectLine } = overview;
|
|
26
|
+
// Said whatever is connected: a tool that is missing reads as one Kosuke lacks without it.
|
|
27
|
+
const tail = [note, connectLine]
|
|
28
|
+
.filter(Boolean)
|
|
29
|
+
.map((line) => `\n\n${line}`)
|
|
30
|
+
.join('');
|
|
26
31
|
if (toolkits.length === 0 && overview.connectionTotal === 0) {
|
|
27
|
-
return filtered ? 'No connected tool matches
|
|
32
|
+
return `${filtered ? 'No connected tool matches.' : 'No integrations are connected.'}${tail}\n`;
|
|
28
33
|
}
|
|
29
34
|
// A browser site has connections and no tools, so a filter naming it still shows them.
|
|
30
35
|
const connected = toolkits.some((toolkit) => toolkit.browser && toolkit.connections.length > 0);
|
|
31
36
|
if (filtered && tools?.length === 0 && !connected) {
|
|
32
37
|
const direct = toolkits.filter((toolkit) => toolkit.directRequests).map(directRequestsLine);
|
|
33
|
-
return `${['No connected tool matches.', ...direct].join('\n')}\n`;
|
|
38
|
+
return `${['No connected tool matches.', ...direct].join('\n')}${tail}\n`;
|
|
34
39
|
}
|
|
35
40
|
const width = Math.max(0, ...(tools ?? []).map((tool) => tool.name.length));
|
|
36
41
|
const blocks = toolkits.map((toolkit) => {
|
|
@@ -64,6 +69,8 @@ export function renderOverview(overview, filtered) {
|
|
|
64
69
|
}
|
|
65
70
|
if (note)
|
|
66
71
|
out.push(note);
|
|
72
|
+
if (connectLine)
|
|
73
|
+
out.push(connectLine);
|
|
67
74
|
return `${out.join('\n\n')}\n`;
|
|
68
75
|
}
|
|
69
76
|
/** One connection per line, for a refusal that asks the caller to pick one. */
|
package/openapi.json
CHANGED
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
"/api/devices/{deviceId}/lock": {
|
|
958
958
|
"post": {
|
|
959
959
|
"operationId": "devicesLocksCreate",
|
|
960
|
-
"summary": "From a Chat Session, when a mac command answered MAC_BUSY: wait in the device’s line, first come, first served, until the device is this session’s, or the timeout passes. Answers granted true once it is yours: go on with your mac commands. Answers granted false with your position and heldBy (sensei or session) on timeout: run it again. Never call mac commands in a loop instead. Once done with the device, run devices locks delete.",
|
|
960
|
+
"summary": "From a Chat Session, when a mac command answered MAC_BUSY: wait in the device’s line, first come, first served, until the device is this session’s, or the timeout passes. Answers granted true once it is yours: go on with your mac commands. Answers granted false with your position and heldBy (sensei or session) on timeout: run it again. Never call mac commands in a loop instead. Once done with the device, run devices locks delete. While a QA run is open, the wait comes off its budget, up to 60 minutes per run, and lasts at most what is left of those 60 minutes: qaLine says the minutes waited and whether ceilingReached.",
|
|
961
961
|
"tags": ["devices"],
|
|
962
962
|
"x-kosuke-command": ["devices", "locks", "create"],
|
|
963
963
|
"x-kosuke-answer-timeout-ms": 630000,
|
|
@@ -985,6 +985,11 @@
|
|
|
985
985
|
"type": "integer",
|
|
986
986
|
"minimum": 1,
|
|
987
987
|
"maximum": 600
|
|
988
|
+
},
|
|
989
|
+
"buildSlot": {
|
|
990
|
+
"description": "Wait for this named build slot, one of 2 per device, instead of the screen. Answers granted true once it is yours: start the build with `kosuke mac shell --no-screen --build-slot <name>`.",
|
|
991
|
+
"type": "string",
|
|
992
|
+
"pattern": "^[a-z0-9-]{1,32}$"
|
|
988
993
|
}
|
|
989
994
|
}
|
|
990
995
|
}
|
|
@@ -2585,6 +2590,15 @@
|
|
|
2585
2590
|
"type": "integer",
|
|
2586
2591
|
"minimum": 1000,
|
|
2587
2592
|
"maximum": 600000
|
|
2593
|
+
},
|
|
2594
|
+
"screen": {
|
|
2595
|
+
"description": "Send false (--no-screen) from a Chat Session for a command that drives no UI: it takes no screen lock and never joins the line. Never use it for a command that opens, focuses or films anything. Without it the call takes the screen.",
|
|
2596
|
+
"type": "boolean"
|
|
2597
|
+
},
|
|
2598
|
+
"buildSlot": {
|
|
2599
|
+
"description": "With --no-screen, for a long build: holds the named build slot, one of 2 per device, for this call and a while after it. The next call naming it renews the slot. BUILD_SLOT_BUSY when both are taken: wait with `kosuke devices locks create <deviceId> --build-slot <name>`.",
|
|
2600
|
+
"type": "string",
|
|
2601
|
+
"pattern": "^[a-z0-9-]{1,32}$"
|
|
2588
2602
|
}
|
|
2589
2603
|
},
|
|
2590
2604
|
"required": ["command"]
|
|
@@ -7810,30 +7824,6 @@
|
|
|
7810
7824
|
"type": "string",
|
|
7811
7825
|
"minLength": 1
|
|
7812
7826
|
}
|
|
7813
|
-
},
|
|
7814
|
-
{
|
|
7815
|
-
"name": "projectId",
|
|
7816
|
-
"in": "query",
|
|
7817
|
-
"required": false,
|
|
7818
|
-
"description": "The project a new Todo task would start in. In a Personal space, that project's pool sandboxes still warming are left out: the task runs on one of them.",
|
|
7819
|
-
"schema": {
|
|
7820
|
-
"description": "The project a new Todo task would start in. In a Personal space, that project's pool sandboxes still warming are left out: the task runs on one of them.",
|
|
7821
|
-
"type": "string",
|
|
7822
|
-
"minLength": 1,
|
|
7823
|
-
"maxLength": 128
|
|
7824
|
-
}
|
|
7825
|
-
},
|
|
7826
|
-
{
|
|
7827
|
-
"name": "sessionId",
|
|
7828
|
-
"in": "query",
|
|
7829
|
-
"required": false,
|
|
7830
|
-
"description": "The Todo task about to start, instead of projectId. Its project's warming pool sandboxes are left out only when the task will run on one: it has no sandbox yet and runs at its project's size.",
|
|
7831
|
-
"schema": {
|
|
7832
|
-
"description": "The Todo task about to start, instead of projectId. Its project's warming pool sandboxes are left out only when the task will run on one: it has no sandbox yet and runs at its project's size.",
|
|
7833
|
-
"type": "string",
|
|
7834
|
-
"minLength": 1,
|
|
7835
|
-
"maxLength": 128
|
|
7836
|
-
}
|
|
7837
7827
|
}
|
|
7838
7828
|
],
|
|
7839
7829
|
"responses": {
|
|
@@ -10594,7 +10584,7 @@
|
|
|
10594
10584
|
"/api/projects/{projectId}/batch-merging": {
|
|
10595
10585
|
"get": {
|
|
10596
10586
|
"operationId": "projectsBatchMergingGet",
|
|
10597
|
-
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves;
|
|
10587
|
+
"summary": "Read the Merge agent's mode (train: the merge train, batch: Batch merging, off: the platform merges nothing and members merge themselves; mode alone says whether it is off, and the output has no enabled boolean), its Go-ahead under the merge train (goAhead member: a member gives each pull request the go-ahead; checks: a pull request whose required checks pass on its latest commit has it) and waitForQa (under checks, QA must pass too), how many go-ahead pull requests wait, and the run open now.",
|
|
10598
10588
|
"tags": ["projects"],
|
|
10599
10589
|
"x-kosuke-command": ["projects", "batch-merging", "get"],
|
|
10600
10590
|
"x-kosuke-sandbox-token": true,
|
|
@@ -10678,7 +10668,7 @@
|
|
|
10678
10668
|
"enum": ["train", "batch", "off"]
|
|
10679
10669
|
},
|
|
10680
10670
|
"enabled": {
|
|
10681
|
-
"description": "Older form of mode: true is batch, false is train. Give mode or enabled.",
|
|
10671
|
+
"description": "Older form of mode, still accepted: true is batch, false is train, never off. Give mode or enabled. Reads return mode alone.",
|
|
10682
10672
|
"type": "boolean"
|
|
10683
10673
|
},
|
|
10684
10674
|
"goAhead": {
|
|
@@ -20867,6 +20857,29 @@
|
|
|
20867
20857
|
"type": "string",
|
|
20868
20858
|
"minLength": 1,
|
|
20869
20859
|
"maxLength": 4000
|
|
20860
|
+
},
|
|
20861
|
+
"media": {
|
|
20862
|
+
"type": "object",
|
|
20863
|
+
"properties": {
|
|
20864
|
+
"eventId": {
|
|
20865
|
+
"type": "string",
|
|
20866
|
+
"format": "uuid",
|
|
20867
|
+
"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)$"
|
|
20868
|
+
},
|
|
20869
|
+
"parts": {
|
|
20870
|
+
"minItems": 1,
|
|
20871
|
+
"maxItems": 10,
|
|
20872
|
+
"type": "array",
|
|
20873
|
+
"items": {
|
|
20874
|
+
"type": "integer",
|
|
20875
|
+
"minimum": 0,
|
|
20876
|
+
"maximum": 9
|
|
20877
|
+
}
|
|
20878
|
+
}
|
|
20879
|
+
},
|
|
20880
|
+
"required": ["eventId", "parts"],
|
|
20881
|
+
"additionalProperties": false,
|
|
20882
|
+
"description": "The parts of an incoming message to draw: the event's id, and each part's place in its `parts`, from 0. Only a part with a `preview`."
|
|
20870
20883
|
}
|
|
20871
20884
|
},
|
|
20872
20885
|
"required": ["type", "text"]
|
|
@@ -21493,6 +21506,29 @@
|
|
|
21493
21506
|
"minLength": 1,
|
|
21494
21507
|
"maxLength": 200
|
|
21495
21508
|
},
|
|
21509
|
+
"media": {
|
|
21510
|
+
"type": "object",
|
|
21511
|
+
"properties": {
|
|
21512
|
+
"eventId": {
|
|
21513
|
+
"type": "string",
|
|
21514
|
+
"format": "uuid",
|
|
21515
|
+
"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)$"
|
|
21516
|
+
},
|
|
21517
|
+
"parts": {
|
|
21518
|
+
"minItems": 1,
|
|
21519
|
+
"maxItems": 10,
|
|
21520
|
+
"type": "array",
|
|
21521
|
+
"items": {
|
|
21522
|
+
"type": "integer",
|
|
21523
|
+
"minimum": 0,
|
|
21524
|
+
"maximum": 9
|
|
21525
|
+
}
|
|
21526
|
+
}
|
|
21527
|
+
},
|
|
21528
|
+
"required": ["eventId", "parts"],
|
|
21529
|
+
"additionalProperties": false,
|
|
21530
|
+
"description": "The parts of an incoming message to draw: the event's id, and each part's place in its `parts`, from 0. Only a part with a `preview`."
|
|
21531
|
+
},
|
|
21496
21532
|
"open": {
|
|
21497
21533
|
"type": "boolean"
|
|
21498
21534
|
},
|
|
@@ -27514,6 +27550,109 @@
|
|
|
27514
27550
|
}
|
|
27515
27551
|
}
|
|
27516
27552
|
},
|
|
27553
|
+
"/api/user/settings": {
|
|
27554
|
+
"get": {
|
|
27555
|
+
"operationId": "userSettingsGet",
|
|
27556
|
+
"summary": "Read your stored timezone and its source (auto follows your device, manual is pinned), and the zone Kosuke resolves for you with where it came from.",
|
|
27557
|
+
"tags": ["user"],
|
|
27558
|
+
"x-kosuke-command": ["user", "settings", "get"],
|
|
27559
|
+
"x-kosuke-sandbox-token": true,
|
|
27560
|
+
"x-kosuke-cron-token": true,
|
|
27561
|
+
"x-kosuke-sensei-token": true,
|
|
27562
|
+
"responses": {
|
|
27563
|
+
"2XX": {
|
|
27564
|
+
"description": "Success envelope",
|
|
27565
|
+
"content": {
|
|
27566
|
+
"application/json": {
|
|
27567
|
+
"schema": {
|
|
27568
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
27569
|
+
}
|
|
27570
|
+
}
|
|
27571
|
+
}
|
|
27572
|
+
},
|
|
27573
|
+
"4XX": {
|
|
27574
|
+
"description": "Error envelope",
|
|
27575
|
+
"content": {
|
|
27576
|
+
"application/json": {
|
|
27577
|
+
"schema": {
|
|
27578
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27579
|
+
}
|
|
27580
|
+
}
|
|
27581
|
+
}
|
|
27582
|
+
},
|
|
27583
|
+
"5XX": {
|
|
27584
|
+
"description": "Error envelope",
|
|
27585
|
+
"content": {
|
|
27586
|
+
"application/json": {
|
|
27587
|
+
"schema": {
|
|
27588
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27589
|
+
}
|
|
27590
|
+
}
|
|
27591
|
+
}
|
|
27592
|
+
}
|
|
27593
|
+
}
|
|
27594
|
+
},
|
|
27595
|
+
"patch": {
|
|
27596
|
+
"operationId": "userSettingsUpdate",
|
|
27597
|
+
"summary": "Set your timezone, an IANA name such as Europe/Rome; an unknown or offset-only zone is refused. timeZone without timeZoneSource pins it (manual). timeZoneSource alone keeps the stored zone; manual with none stored is refused.",
|
|
27598
|
+
"tags": ["user"],
|
|
27599
|
+
"x-kosuke-command": ["user", "settings", "update"],
|
|
27600
|
+
"x-kosuke-sandbox-token": true,
|
|
27601
|
+
"x-kosuke-cron-token": true,
|
|
27602
|
+
"x-kosuke-sensei-token": true,
|
|
27603
|
+
"requestBody": {
|
|
27604
|
+
"required": true,
|
|
27605
|
+
"content": {
|
|
27606
|
+
"application/json": {
|
|
27607
|
+
"schema": {
|
|
27608
|
+
"type": "object",
|
|
27609
|
+
"properties": {
|
|
27610
|
+
"timeZone": {
|
|
27611
|
+
"type": "string"
|
|
27612
|
+
},
|
|
27613
|
+
"timeZoneSource": {
|
|
27614
|
+
"type": "string",
|
|
27615
|
+
"enum": ["auto", "manual"]
|
|
27616
|
+
}
|
|
27617
|
+
}
|
|
27618
|
+
}
|
|
27619
|
+
}
|
|
27620
|
+
}
|
|
27621
|
+
},
|
|
27622
|
+
"responses": {
|
|
27623
|
+
"2XX": {
|
|
27624
|
+
"description": "Success envelope",
|
|
27625
|
+
"content": {
|
|
27626
|
+
"application/json": {
|
|
27627
|
+
"schema": {
|
|
27628
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
27629
|
+
}
|
|
27630
|
+
}
|
|
27631
|
+
}
|
|
27632
|
+
},
|
|
27633
|
+
"4XX": {
|
|
27634
|
+
"description": "Error envelope",
|
|
27635
|
+
"content": {
|
|
27636
|
+
"application/json": {
|
|
27637
|
+
"schema": {
|
|
27638
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27639
|
+
}
|
|
27640
|
+
}
|
|
27641
|
+
}
|
|
27642
|
+
},
|
|
27643
|
+
"5XX": {
|
|
27644
|
+
"description": "Error envelope",
|
|
27645
|
+
"content": {
|
|
27646
|
+
"application/json": {
|
|
27647
|
+
"schema": {
|
|
27648
|
+
"$ref": "#/components/schemas/ApiError"
|
|
27649
|
+
}
|
|
27650
|
+
}
|
|
27651
|
+
}
|
|
27652
|
+
}
|
|
27653
|
+
}
|
|
27654
|
+
}
|
|
27655
|
+
},
|
|
27517
27656
|
"/api/user/skills": {
|
|
27518
27657
|
"get": {
|
|
27519
27658
|
"operationId": "skillsListPersonal",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.69",
|
|
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,12 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "ceb4b3071267e04ddac57f358706982b15eb276f",
|
|
47
|
+
"sourceIdentity": "96dde612ee7758ae994f5e978b9811875197f23d1e7d3141e843fb6e2b71d812",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"mac-shell-no-screen-zipc5l.json",
|
|
50
|
+
"sandbox-limit-no-project-filter-c6pcx8.json",
|
|
51
|
+
"watched-message-media-wp0sty.json"
|
|
50
52
|
]
|
|
51
53
|
}
|
|
52
54
|
}
|