@kosuke-ai/kosuke 1.0.91 → 1.0.93
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/crons/delete--personal.js +1 -1
- package/dist/generated/commands/crons/delete.js +1 -1
- package/dist/generated/commands/crons/{artifacts-list--personal.js → files-list--personal.js} +5 -5
- package/dist/generated/commands/crons/{artifacts-list.js → files-list.js} +5 -5
- package/dist/generated/commands/crons/runs-cancel.js +1 -1
- package/dist/generated/commands/crons/{runs-artifacts-get--personal.js → runs-files-get--personal.js} +4 -4
- package/dist/generated/commands/crons/{runs-artifacts-get.js → runs-files-get.js} +4 -4
- package/dist/generated/commands/crons/{runs-artifacts-list--personal.js → runs-files-list--personal.js} +3 -3
- package/dist/generated/commands/crons/{runs-artifacts-list.js → runs-files-list.js} +3 -3
- package/dist/generated/commands/crons/runs-get--personal.js +1 -1
- package/dist/generated/commands/deploys/queue-resume.js +2 -3
- package/dist/generated/commands/deploys/queue-send.js +2 -3
- package/dist/generated/commands/deploys/queue-steer.js +2 -3
- package/dist/generated/commands/deploys/queue-update.js +2 -3
- package/dist/generated/commands/deploys/start.js +2 -3
- package/dist/generated/commands/files/delete--personal.js +1 -1
- package/dist/generated/commands/files/delete.js +1 -1
- package/dist/generated/commands/files/move--personal.js +1 -1
- package/dist/generated/commands/files/move.js +1 -1
- package/dist/generated/commands/index.js +209 -209
- package/dist/generated/commands/preview/{shared-artifacts-get.js → shared-files-get.js} +4 -5
- package/dist/generated/commands/projects/env-vars-create.js +2 -3
- package/dist/generated/commands/projects/env-vars-delete.js +2 -3
- package/dist/generated/commands/projects/services-create.js +2 -3
- package/dist/generated/commands/projects/services-delete.js +2 -3
- package/dist/generated/commands/projects/services-update.js +2 -3
- package/dist/generated/commands/projects/settings-changes-list.js +20 -0
- package/dist/generated/commands/projects/settings-get.js +1 -1
- package/dist/generated/commands/projects/settings-set.js +2 -3
- package/dist/generated/commands/projects/settings-update.js +2 -3
- package/dist/generated/commands/prototypes/create.js +2 -2
- package/dist/generated/commands/sessions/{artifacts-create.js → files-attach.js} +5 -5
- package/dist/generated/commands/sessions/files-get.js +5 -12
- package/dist/generated/commands/sessions/files-list.js +2 -2
- package/dist/generated/commands/sessions/sandbox-files-get.js +28 -0
- package/dist/generated/commands/sessions/{artifacts-list.js → sandbox-files-list.js} +3 -3
- package/dist/generated/commands/sessions/{files-set.js → sandbox-files-set.js} +1 -1
- package/openapi.json +1084 -230
- package/package.json +4 -4
- package/dist/generated/commands/sessions/artifacts-get.js +0 -21
- package/dist/generated/commands/workspaces/artifacts-search.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.93
|
|
4
|
+
|
|
5
|
+
- Files replace Artifacts. Add `sessions files list|get|attach`, `crons runs files list|get`, `crons files list` and `preview shared-files get`, which replace the `artifacts` commands. Attaching points a ticket at a file instead of copying it. The sandbox source-tree commands moved from `sessions files list|get|set` to `sessions sandbox-files list|get|set`, because `sessions files` now means the session's Files. Installed CLIs keep working: the old routes stay served, deprecated.
|
|
6
|
+
|
|
7
|
+
## 1.0.92
|
|
8
|
+
|
|
9
|
+
- Only a workspace admin, in the browser, changes a project's setup commands, branches, working directory, sandbox tier, services or environment variables, imports its config or starts a deploy: `projects settings update`, `projects services create|update|delete`, `projects env-vars create|delete`, `projects settings set` and `deploys start` now answer 403 to an API key until keys carry a project settings scope. The QA Guide and deviceWritePaths keep their rules. New: `projects settings changes list` reads the project's Change history, every change that went through, with who made it and how; environment values are never kept.
|
|
10
|
+
|
|
3
11
|
## 1.0.91
|
|
4
12
|
|
|
5
13
|
- `kosuke user settings update` can turn the daily report system cron on or off.
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Delete one of your Personal Crons with its runs
|
|
11
|
+
"summary": "Delete one of your Personal Crons with its runs and their transcripts. Their files stay in Personal Files. A run still going is stopped first. Only you can, in the app or with your API key: a sandbox, a Cron Run, Sensei and a Connected App cannot. To keep it, pause it with enabled=false instead.",
|
|
12
12
|
"pathParams": [
|
|
13
13
|
"cronId"
|
|
14
14
|
],
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"crons",
|
|
6
6
|
"delete"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Delete a cron with its runs
|
|
8
|
+
"summary": "Delete a cron with its runs and their transcripts. Their files and the sessions its runs filed stay. The creator or a workspace admin only.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId",
|
|
11
11
|
"cronId"
|
package/dist/generated/commands/crons/{artifacts-list--personal.js → files-list--personal.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/user/crons/{cronId}/
|
|
3
|
+
"path": "/api/user/crons/{cronId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
|
-
"
|
|
6
|
+
"files",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
9
|
"variant": {
|
|
10
10
|
"scope": "personal"
|
|
11
11
|
},
|
|
12
|
-
"summary": "List the
|
|
12
|
+
"summary": "List the files a cron's runs wrote, across all of its runs, most recently changed first: each one's title, kind and version, with the run and the project it came from, and the total the filters keep. One row per file: the same name written by two runs is two rows. Rows only: a body or a file url comes from crons runs files get, with the row's runId. The project and kind filters each take several values and keep a file matching any of them.",
|
|
13
13
|
"pathParams": [
|
|
14
14
|
"cronId"
|
|
15
15
|
],
|
|
@@ -19,7 +19,7 @@ export const operation = {
|
|
|
19
19
|
"flag": "project",
|
|
20
20
|
"kind": "string",
|
|
21
21
|
"required": false,
|
|
22
|
-
"description": "Only the
|
|
22
|
+
"description": "Only the files of runs in these projects.",
|
|
23
23
|
"repeated": true
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -27,7 +27,7 @@ export const operation = {
|
|
|
27
27
|
"flag": "kind",
|
|
28
28
|
"kind": "string",
|
|
29
29
|
"required": false,
|
|
30
|
-
"description": "Only the
|
|
30
|
+
"description": "Only the files of these kinds.",
|
|
31
31
|
"choices": [
|
|
32
32
|
"markdown",
|
|
33
33
|
"html",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/crons/{cronId}/
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/crons/{cronId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
|
-
"
|
|
6
|
+
"files",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the
|
|
9
|
+
"summary": "List the files a cron's runs wrote, across all of its runs, most recently changed first: each one's title, kind and version, with the run and the project it came from, and the total the filters keep. One row per file: the same name written by two runs is two rows. Rows only: a body or a file url comes from crons runs files get, with the row's runId. The project and kind filters each take several values and keep a file matching any of them.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId",
|
|
12
12
|
"cronId"
|
|
@@ -17,7 +17,7 @@ export const operation = {
|
|
|
17
17
|
"flag": "project",
|
|
18
18
|
"kind": "string",
|
|
19
19
|
"required": false,
|
|
20
|
-
"description": "Only the
|
|
20
|
+
"description": "Only the files of runs in these projects.",
|
|
21
21
|
"repeated": true
|
|
22
22
|
},
|
|
23
23
|
{
|
|
@@ -25,7 +25,7 @@ export const operation = {
|
|
|
25
25
|
"flag": "kind",
|
|
26
26
|
"kind": "string",
|
|
27
27
|
"required": false,
|
|
28
|
-
"description": "Only the
|
|
28
|
+
"description": "Only the files of these kinds.",
|
|
29
29
|
"choices": [
|
|
30
30
|
"markdown",
|
|
31
31
|
"html",
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"runs",
|
|
7
7
|
"cancel"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Stop a run of a cron that is still going, the way Stop on its page does. The run ends cancelled; the
|
|
9
|
+
"summary": "Stop a run of a cron that is still going, the way Stop on its page does. The run ends cancelled; the files it stored and the sessions it filed stay, and its sandbox is removed. The creator or a workspace admin only.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"workspaceId",
|
|
12
12
|
"cronId",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/user/crons/{cronId}/runs/{runId}/
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs/{runId}/files/{fileId}",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
6
|
"runs",
|
|
7
|
-
"
|
|
7
|
+
"files",
|
|
8
8
|
"get"
|
|
9
9
|
],
|
|
10
10
|
"variant": {
|
|
11
11
|
"scope": "personal"
|
|
12
12
|
},
|
|
13
|
-
"summary": "Read one
|
|
13
|
+
"summary": "Read one file of a run of a cron, by its id or its name: a Markdown or HTML file carries its body, any other a presigned url, its media type and its size. A deleted one says who deleted it and holds no content.",
|
|
14
14
|
"pathParams": [
|
|
15
15
|
"cronId",
|
|
16
16
|
"runId",
|
|
17
|
-
"
|
|
17
|
+
"fileId"
|
|
18
18
|
],
|
|
19
19
|
"query": [],
|
|
20
20
|
"body": null,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/files/{fileId}",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
6
|
"runs",
|
|
7
|
-
"
|
|
7
|
+
"files",
|
|
8
8
|
"get"
|
|
9
9
|
],
|
|
10
|
-
"summary": "Read one
|
|
10
|
+
"summary": "Read one file of a run of a cron, by its id or its name: a Markdown or HTML file carries its body, any other a presigned url, its media type and its size. A deleted one says who deleted it and holds no content.",
|
|
11
11
|
"pathParams": [
|
|
12
12
|
"workspaceId",
|
|
13
13
|
"cronId",
|
|
14
14
|
"runId",
|
|
15
|
-
"
|
|
15
|
+
"fileId"
|
|
16
16
|
],
|
|
17
17
|
"query": [],
|
|
18
18
|
"body": null,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/user/crons/{cronId}/runs/{runId}/
|
|
3
|
+
"path": "/api/user/crons/{cronId}/runs/{runId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
6
|
"runs",
|
|
7
|
-
"
|
|
7
|
+
"files",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
10
|
"variant": {
|
|
11
11
|
"scope": "personal"
|
|
12
12
|
},
|
|
13
|
-
"summary": "List the
|
|
13
|
+
"summary": "List the files a run of a cron wrote, most recently changed first, a deleted one as a row that says who deleted it. Rows only: a body or a file url comes from reading one.",
|
|
14
14
|
"pathParams": [
|
|
15
15
|
"cronId",
|
|
16
16
|
"runId"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"crons",
|
|
6
6
|
"runs",
|
|
7
|
-
"
|
|
7
|
+
"files",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List the
|
|
10
|
+
"summary": "List the files a run of a cron wrote, most recently changed first, a deleted one as a row that says who deleted it. Rows only: a body or a file url comes from reading one.",
|
|
11
11
|
"pathParams": [
|
|
12
12
|
"workspaceId",
|
|
13
13
|
"cronId",
|
|
@@ -9,7 +9,7 @@ export const operation = {
|
|
|
9
9
|
"variant": {
|
|
10
10
|
"scope": "personal"
|
|
11
11
|
},
|
|
12
|
-
"summary": "Read one Personal Cron run: its kind, status, Model, report, repositories and filed sessions. A sandbox run has its Cron Agent transcript and
|
|
12
|
+
"summary": "Read one Personal Cron run: its kind, status, Model, report, repositories and filed sessions. A sandbox run has its Cron Agent transcript and files and threadId null. A thread run names the Sensei Thread holding its Turn.",
|
|
13
13
|
"pathParams": [
|
|
14
14
|
"cronId",
|
|
15
15
|
"runId"
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"queue",
|
|
7
7
|
"resume"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Resume the Deploy Chat's paused Up next. Its top message is sent as soon as the deploy is idle.",
|
|
9
|
+
"summary": "Resume the Deploy Chat's paused Up next. Its top message is sent as soon as the deploy is idle. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -14,6 +14,5 @@ export const operation = {
|
|
|
14
14
|
"body": null,
|
|
15
15
|
"multipart": null,
|
|
16
16
|
"attachments": false,
|
|
17
|
-
"anonymous": false
|
|
18
|
-
"agents": "all"
|
|
17
|
+
"anonymous": false
|
|
19
18
|
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"queue",
|
|
7
7
|
"send"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Send your own queued Deploy Chat message now, ahead of the rest of Up next. Only while the deploy agent is idle; it resumes a paused Up next.",
|
|
9
|
+
"summary": "Send your own queued Deploy Chat message now, ahead of the rest of Up next. Only while the deploy agent is idle; it resumes a paused Up next. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"queuedMessageId"
|
|
@@ -15,6 +15,5 @@ export const operation = {
|
|
|
15
15
|
"body": null,
|
|
16
16
|
"multipart": null,
|
|
17
17
|
"attachments": false,
|
|
18
|
-
"anonymous": false
|
|
19
|
-
"agents": "all"
|
|
18
|
+
"anonymous": false
|
|
20
19
|
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"queue",
|
|
7
7
|
"steer"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Send your own queued Deploy Chat message into the running deploy agent Turn as a steer, on any deploy model whose runtime takes one; the message stays queued when nothing can take it.",
|
|
9
|
+
"summary": "Send your own queued Deploy Chat message into the running deploy agent Turn as a steer, on any deploy model whose runtime takes one; the message stays queued when nothing can take it. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"queuedMessageId"
|
|
@@ -15,6 +15,5 @@ export const operation = {
|
|
|
15
15
|
"body": null,
|
|
16
16
|
"multipart": null,
|
|
17
17
|
"attachments": false,
|
|
18
|
-
"anonymous": false
|
|
19
|
-
"agents": "all"
|
|
18
|
+
"anonymous": false
|
|
20
19
|
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"queue",
|
|
7
7
|
"update"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Save an edit to your own queued Deploy Chat message, keeping its place in Up next. New files ride along as multipart.",
|
|
9
|
+
"summary": "Save an edit to your own queued Deploy Chat message, keeping its place in Up next. New files ride along as multipart. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"queuedMessageId"
|
|
@@ -53,6 +53,5 @@ export const operation = {
|
|
|
53
53
|
"maxBytes": 10485760,
|
|
54
54
|
"uploadPath": "/api/projects/{projectId}/attachments"
|
|
55
55
|
},
|
|
56
|
-
"anonymous": false
|
|
57
|
-
"agents": "all"
|
|
56
|
+
"anonymous": false
|
|
58
57
|
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"deploys",
|
|
6
6
|
"start"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Start a deploy (empty JSON body) or continue the current one with userResponse. While the deploy agent works, the message waits Up next; while the sandbox builds, it joins the agent's first turn as instructions. Attachments ride along as multipart, where the message is called content.",
|
|
8
|
+
"summary": "Start a deploy (empty JSON body) or continue the current one with userResponse. While the deploy agent works, the message waits Up next; while the sandbox builds, it joins the agent's first turn as instructions. Attachments ride along as multipart, where the message is called content. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. A started deploy is recorded in Change history.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"projectId"
|
|
11
11
|
],
|
|
@@ -61,6 +61,5 @@ export const operation = {
|
|
|
61
61
|
"maxBytes": 10485760,
|
|
62
62
|
"uploadPath": "/api/projects/{projectId}/attachments"
|
|
63
63
|
},
|
|
64
|
-
"anonymous": false
|
|
65
|
-
"agents": "all"
|
|
64
|
+
"anonymous": false
|
|
66
65
|
};
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Delete a file of your personal Files, or a folder and every item inside it. Agents cannot delete Files.",
|
|
11
|
+
"summary": "Delete a file of your personal Files, or a folder and every item inside it. Agents cannot delete Files. Folders Kosuke keeps and locked files refuse with 403.",
|
|
12
12
|
"pathParams": [
|
|
13
13
|
"fileId"
|
|
14
14
|
],
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"files",
|
|
6
6
|
"delete"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Delete a workspace file, or a folder and every item inside it. Agents cannot delete Files.",
|
|
8
|
+
"summary": "Delete a workspace file, or a folder and every item inside it. Agents cannot delete Files. Folders Kosuke keeps and locked files refuse with 403.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId",
|
|
11
11
|
"fileId"
|
|
@@ -8,7 +8,7 @@ export const operation = {
|
|
|
8
8
|
"variant": {
|
|
9
9
|
"scope": "personal"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Rename an item of your personal Files with name, move it with parentId (null for the root), or both. Name clashes and moving a folder into its descendants are refused.",
|
|
11
|
+
"summary": "Rename an item of your personal Files with name, move it with parentId (null for the root), or both. Name clashes and moving a folder into its descendants are refused. Folders Kosuke keeps and locked files refuse with 403.",
|
|
12
12
|
"pathParams": [
|
|
13
13
|
"fileId"
|
|
14
14
|
],
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"files",
|
|
6
6
|
"move"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Rename a workspace item with name, move it with parentId (null for the root), or both. Name clashes and moving a folder into its descendants are refused.",
|
|
8
|
+
"summary": "Rename a workspace item with name, move it with parentId (null for the root), or both. Name clashes and moving a folder into its descendants are refused. Folders Kosuke keeps and locked files refuse with 403.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId",
|
|
11
11
|
"fileId"
|