@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
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"settings",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Replace the services and environment from a kosuke.config.json document. Cross-service rules (unique ports, after references, one preview endpoint) are checked by the handler, not by the schema.",
|
|
9
|
+
"summary": "Replace the services and environment from a kosuke.config.json document. Cross-service rules (unique ports, after references, one preview endpoint) are checked by the handler, not by the schema. Only a workspace admin, in the browser: an API key, a connected app and every agent token get 403. Recorded in Change history.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -111,6 +111,5 @@ export const operation = {
|
|
|
111
111
|
},
|
|
112
112
|
"multipart": null,
|
|
113
113
|
"attachments": false,
|
|
114
|
-
"anonymous": false
|
|
115
|
-
"agents": "all"
|
|
114
|
+
"anonymous": false
|
|
116
115
|
};
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"settings",
|
|
7
7
|
"update"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write.
|
|
9
|
+
"summary": "Change setup commands, branches, working directory, sandbox tier, the Project QA Guide or deviceWritePaths, the device folders a Chat Session may write. Only a workspace admin, in the browser, changes setup commands, branches, working directory or sandbox tier: an API key or a connected app gets 403 until keys carry a project settings scope, and so does every agent token. Any member changes the QA Guide, and only a member's own API key or browser session changes deviceWritePaths. Each change is recorded in Change history.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId"
|
|
12
12
|
],
|
|
@@ -95,6 +95,5 @@ export const operation = {
|
|
|
95
95
|
},
|
|
96
96
|
"multipart": null,
|
|
97
97
|
"attachments": false,
|
|
98
|
-
"anonymous": false
|
|
99
|
-
"agents": "all"
|
|
98
|
+
"anonymous": false
|
|
100
99
|
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"prototypes",
|
|
6
6
|
"create"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Render a prototype from its prototype.json, content.css and content.js, attached as three files, and save it to a Chat Session's
|
|
8
|
+
"summary": "Render a prototype from its prototype.json, content.css and content.js, attached as three files, and save it to a Chat Session's files (projectId and sessionId) or a workspace's Files (workspaceId). A failed check answers 422 with the issues in details and saves nothing. A session token saves only to its own session, Sensei only to Files.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": null,
|
|
@@ -15,7 +15,7 @@ export const operation = {
|
|
|
15
15
|
"flag": "name",
|
|
16
16
|
"kind": "string",
|
|
17
17
|
"required": true,
|
|
18
|
-
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its
|
|
18
|
+
"description": "The page name: prototype- and two to five lowercase hyphenated words for a session (its file name), two to five words for Files (prototypes/<name>.html)."
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"name": "variants",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "post",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"sessions",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"files",
|
|
7
|
+
"attach"
|
|
8
8
|
],
|
|
9
|
-
"summary": "
|
|
9
|
+
"summary": "Point a Backlog session at a file of the project's Files, or at each file directly in a folder, without copying it: its agent reads the current version when it starts. Markdown, HTML, images and videos only. The batch is refused whole on another type, on a file this session's own agent wrote, and on a name that clashes with another of the session's attached files.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
|
@@ -19,7 +19,7 @@ export const operation = {
|
|
|
19
19
|
"flag": "file",
|
|
20
20
|
"kind": "string",
|
|
21
21
|
"required": true,
|
|
22
|
-
"description": "A path in the Files of the project's workspace, such as prototypes/board/a-columns.html. A folder
|
|
22
|
+
"description": "A path in the Files of the project's workspace, or in your Personal Files for a personal space, such as prototypes/board/a-columns.html. A folder attaches each file directly in it."
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
25
|
"required": true
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/files/{fileId}",
|
|
4
4
|
"command": [
|
|
5
5
|
"sessions",
|
|
6
6
|
"files",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read one file
|
|
9
|
+
"summary": "Read one file of the session, by its id or its name, such as `testing-checklist`, `qa-report.html` or `review`: 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.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
|
-
"sessionId"
|
|
13
|
-
|
|
14
|
-
"query": [
|
|
15
|
-
{
|
|
16
|
-
"name": "path",
|
|
17
|
-
"flag": "path",
|
|
18
|
-
"kind": "string",
|
|
19
|
-
"required": true,
|
|
20
|
-
"description": "Repository-relative path of the file to read."
|
|
21
|
-
}
|
|
12
|
+
"sessionId",
|
|
13
|
+
"fileId"
|
|
22
14
|
],
|
|
15
|
+
"query": [],
|
|
23
16
|
"body": null,
|
|
24
17
|
"multipart": null,
|
|
25
18
|
"attachments": false,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"sessions",
|
|
6
6
|
"files",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the files
|
|
9
|
+
"summary": "List the session's files: what its agent wrote, most recently changed first, a deleted one as a row that says who deleted it, then the files its ticket points at. Rows only: a body or a file url comes from reading one.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files/content",
|
|
4
|
+
"command": [
|
|
5
|
+
"sessions",
|
|
6
|
+
"sandbox-files",
|
|
7
|
+
"get"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read one file from the session's sandbox.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"projectId",
|
|
12
|
+
"sessionId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "path",
|
|
17
|
+
"flag": "path",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Repository-relative path of the file to read."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"body": null,
|
|
24
|
+
"multipart": null,
|
|
25
|
+
"attachments": false,
|
|
26
|
+
"anonymous": false,
|
|
27
|
+
"agents": "all"
|
|
28
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/
|
|
3
|
+
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files",
|
|
4
4
|
"command": [
|
|
5
5
|
"sessions",
|
|
6
|
-
"
|
|
6
|
+
"sandbox-files",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the session's
|
|
9
|
+
"summary": "List the files in the session's sandbox. Empty when the sandbox is not running.",
|
|
10
10
|
"pathParams": [
|
|
11
11
|
"projectId",
|
|
12
12
|
"sessionId"
|
|
@@ -3,7 +3,7 @@ export const operation = {
|
|
|
3
3
|
"path": "/api/projects/{projectId}/chat-sessions/{sessionId}/preview/files/content",
|
|
4
4
|
"command": [
|
|
5
5
|
"sessions",
|
|
6
|
-
"files",
|
|
6
|
+
"sandbox-files",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
9
|
"summary": "Write one file in the session's sandbox. Refused while a turn is running, and for binary content.",
|