@kosuke-ai/kosuke 1.0.92 → 1.0.94
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/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 +73 -75
- package/dist/generated/commands/preview/{shared-artifacts-get.js → shared-files-get.js} +4 -5
- 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/dist/runtime/thread-text.js +9 -0
- package/openapi.json +1026 -191
- 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.94
|
|
4
|
+
|
|
5
|
+
- Include card answer text when reading Sensei threads.
|
|
6
|
+
|
|
7
|
+
## 1.0.93
|
|
8
|
+
|
|
9
|
+
- 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.
|
|
10
|
+
|
|
3
11
|
## 1.0.92
|
|
4
12
|
|
|
5
13
|
- 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.
|
|
@@ -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"
|
|
@@ -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"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { operation as o0 } from './activity/list.js';
|
|
2
2
|
import { operation as o1 } from './attachments/create.js';
|
|
3
|
-
import { operation as o2 } from './crons/
|
|
4
|
-
import { operation as o3 } from './crons/
|
|
5
|
-
import { operation as o4 } from './crons/
|
|
6
|
-
import { operation as o5 } from './crons/
|
|
7
|
-
import { operation as o6 } from './crons/
|
|
8
|
-
import { operation as o7 } from './crons/
|
|
3
|
+
import { operation as o2 } from './crons/create.js';
|
|
4
|
+
import { operation as o3 } from './crons/create--personal.js';
|
|
5
|
+
import { operation as o4 } from './crons/delete.js';
|
|
6
|
+
import { operation as o5 } from './crons/delete--personal.js';
|
|
7
|
+
import { operation as o6 } from './crons/files-list.js';
|
|
8
|
+
import { operation as o7 } from './crons/files-list--personal.js';
|
|
9
9
|
import { operation as o8 } from './crons/get.js';
|
|
10
10
|
import { operation as o9 } from './crons/get--personal.js';
|
|
11
11
|
import { operation as o10 } from './crons/list.js';
|
|
12
12
|
import { operation as o11 } from './crons/list--personal.js';
|
|
13
13
|
import { operation as o12 } from './crons/run.js';
|
|
14
14
|
import { operation as o13 } from './crons/run--personal.js';
|
|
15
|
-
import { operation as o14 } from './crons/runs-
|
|
16
|
-
import { operation as o15 } from './crons/runs-
|
|
17
|
-
import { operation as o16 } from './crons/runs-
|
|
18
|
-
import { operation as o17 } from './crons/runs-
|
|
19
|
-
import { operation as o18 } from './crons/runs-
|
|
15
|
+
import { operation as o14 } from './crons/runs-cancel.js';
|
|
16
|
+
import { operation as o15 } from './crons/runs-files-get.js';
|
|
17
|
+
import { operation as o16 } from './crons/runs-files-get--personal.js';
|
|
18
|
+
import { operation as o17 } from './crons/runs-files-list.js';
|
|
19
|
+
import { operation as o18 } from './crons/runs-files-list--personal.js';
|
|
20
20
|
import { operation as o19 } from './crons/runs-get.js';
|
|
21
21
|
import { operation as o20 } from './crons/runs-get--personal.js';
|
|
22
22
|
import { operation as o21 } from './crons/runs-list.js';
|
|
@@ -101,8 +101,8 @@ import { operation as o99 } from './preview/sandbox-reset.js';
|
|
|
101
101
|
import { operation as o100 } from './preview/share-create.js';
|
|
102
102
|
import { operation as o101 } from './preview/share-delete.js';
|
|
103
103
|
import { operation as o102 } from './preview/share-get.js';
|
|
104
|
-
import { operation as o103 } from './preview/shared-
|
|
105
|
-
import { operation as o104 } from './preview/shared-get.js';
|
|
104
|
+
import { operation as o103 } from './preview/shared-get.js';
|
|
105
|
+
import { operation as o104 } from './preview/shared-files-get.js';
|
|
106
106
|
import { operation as o105 } from './projects/batch-merging-finish.js';
|
|
107
107
|
import { operation as o106 } from './projects/batch-merging-get.js';
|
|
108
108
|
import { operation as o107 } from './projects/batch-merging-members-create.js';
|
|
@@ -245,56 +245,56 @@ import { operation as o243 } from './sensei/writing-get.js';
|
|
|
245
245
|
import { operation as o244 } from './sensei/writing-set.js';
|
|
246
246
|
import { operation as o245 } from './sensei/writing-samples-create.js';
|
|
247
247
|
import { operation as o246 } from './sessions/app-stack-start.js';
|
|
248
|
-
import { operation as o247 } from './sessions/
|
|
249
|
-
import { operation as o248 } from './sessions/
|
|
250
|
-
import { operation as o249 } from './sessions/
|
|
251
|
-
import { operation as o250 } from './sessions/
|
|
252
|
-
import { operation as o251 } from './sessions/
|
|
253
|
-
import { operation as o252 } from './sessions/
|
|
254
|
-
import { operation as o253 } from './sessions/
|
|
255
|
-
import { operation as o254 } from './sessions/
|
|
256
|
-
import { operation as o255 } from './sessions/diff-comments-
|
|
257
|
-
import { operation as o256 } from './sessions/diff-
|
|
258
|
-
import { operation as o257 } from './sessions/diff-
|
|
259
|
-
import { operation as o258 } from './sessions/diff-
|
|
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/
|
|
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/
|
|
272
|
-
import { operation as o271 } from './sessions/
|
|
273
|
-
import { operation as o272 } from './sessions/
|
|
274
|
-
import { operation as o273 } from './sessions/
|
|
275
|
-
import { operation as o274 } from './sessions/
|
|
276
|
-
import { operation as o275 } from './sessions/
|
|
277
|
-
import { operation as o276 } from './sessions/list
|
|
278
|
-
import { operation as o277 } from './sessions/
|
|
279
|
-
import { operation as o278 } from './sessions/
|
|
280
|
-
import { operation as o279 } from './sessions/
|
|
281
|
-
import { operation as o280 } from './sessions/
|
|
282
|
-
import { operation as o281 } from './sessions/qa-runs-
|
|
283
|
-
import { operation as o282 } from './sessions/qa-runs-
|
|
284
|
-
import { operation as o283 } from './sessions/qa-runs-
|
|
285
|
-
import { operation as o284 } from './sessions/qa-
|
|
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/queue-
|
|
290
|
-
import { operation as o289 } from './sessions/queue-
|
|
291
|
-
import { operation as o290 } from './sessions/queue-
|
|
292
|
-
import { operation as o291 } from './sessions/queue-
|
|
293
|
-
import { operation as o292 } from './sessions/
|
|
294
|
-
import { operation as o293 } from './sessions/
|
|
295
|
-
import { operation as o294 } from './sessions/
|
|
296
|
-
import { operation as o295 } from './sessions/
|
|
297
|
-
import { operation as o296 } from './sessions/
|
|
248
|
+
import { operation as o247 } from './sessions/create.js';
|
|
249
|
+
import { operation as o248 } from './sessions/delete.js';
|
|
250
|
+
import { operation as o249 } from './sessions/desktop-control-set.js';
|
|
251
|
+
import { operation as o250 } from './sessions/desktop-get.js';
|
|
252
|
+
import { operation as o251 } from './sessions/desktop-start.js';
|
|
253
|
+
import { operation as o252 } from './sessions/diff-comments-create.js';
|
|
254
|
+
import { operation as o253 } from './sessions/diff-comments-delete.js';
|
|
255
|
+
import { operation as o254 } from './sessions/diff-comments-list.js';
|
|
256
|
+
import { operation as o255 } from './sessions/diff-comments-update.js';
|
|
257
|
+
import { operation as o256 } from './sessions/diff-commits-list.js';
|
|
258
|
+
import { operation as o257 } from './sessions/diff-files-list.js';
|
|
259
|
+
import { operation as o258 } from './sessions/diff-patch-get.js';
|
|
260
|
+
import { operation as o259 } from './sessions/env-sync.js';
|
|
261
|
+
import { operation as o260 } from './sessions/files-attach.js';
|
|
262
|
+
import { operation as o261 } from './sessions/files-get.js';
|
|
263
|
+
import { operation as o262 } from './sessions/files-list.js';
|
|
264
|
+
import { operation as o263 } from './sessions/get.js';
|
|
265
|
+
import { operation as o264 } from './sessions/git-state-get.js';
|
|
266
|
+
import { operation as o265 } from './sessions/go-ahead-delete.js';
|
|
267
|
+
import { operation as o266 } from './sessions/go-ahead-set.js';
|
|
268
|
+
import { operation as o267 } from './sessions/jobs-cancel.js';
|
|
269
|
+
import { operation as o268 } from './sessions/jobs-get.js';
|
|
270
|
+
import { operation as o269 } from './sessions/jobs-list.js';
|
|
271
|
+
import { operation as o270 } from './sessions/labels-set.js';
|
|
272
|
+
import { operation as o271 } from './sessions/labels-update.js';
|
|
273
|
+
import { operation as o272 } from './sessions/list.js';
|
|
274
|
+
import { operation as o273 } from './sessions/list--all.js';
|
|
275
|
+
import { operation as o274 } from './sessions/mark-read.js';
|
|
276
|
+
import { operation as o275 } from './sessions/messages-get.js';
|
|
277
|
+
import { operation as o276 } from './sessions/messages-list.js';
|
|
278
|
+
import { operation as o277 } from './sessions/prompt-update.js';
|
|
279
|
+
import { operation as o278 } from './sessions/qa-runs-finish.js';
|
|
280
|
+
import { operation as o279 } from './sessions/qa-runs-fixes-create.js';
|
|
281
|
+
import { operation as o280 } from './sessions/qa-runs-get.js';
|
|
282
|
+
import { operation as o281 } from './sessions/qa-runs-results-create.js';
|
|
283
|
+
import { operation as o282 } from './sessions/qa-runs-start.js';
|
|
284
|
+
import { operation as o283 } from './sessions/qa-runs-stop.js';
|
|
285
|
+
import { operation as o284 } from './sessions/qa-set.js';
|
|
286
|
+
import { operation as o285 } from './sessions/queue-delete.js';
|
|
287
|
+
import { operation as o286 } from './sessions/queue-list.js';
|
|
288
|
+
import { operation as o287 } from './sessions/queue-move.js';
|
|
289
|
+
import { operation as o288 } from './sessions/queue-resume.js';
|
|
290
|
+
import { operation as o289 } from './sessions/queue-send.js';
|
|
291
|
+
import { operation as o290 } from './sessions/queue-steer.js';
|
|
292
|
+
import { operation as o291 } from './sessions/queue-update.js';
|
|
293
|
+
import { operation as o292 } from './sessions/review-set.js';
|
|
294
|
+
import { operation as o293 } from './sessions/runtime-commands-run.js';
|
|
295
|
+
import { operation as o294 } from './sessions/sandbox-files-get.js';
|
|
296
|
+
import { operation as o295 } from './sessions/sandbox-files-list.js';
|
|
297
|
+
import { operation as o296 } from './sessions/sandbox-files-set.js';
|
|
298
298
|
import { operation as o297 } from './sessions/search.js';
|
|
299
299
|
import { operation as o298 } from './sessions/send.js';
|
|
300
300
|
import { operation as o299 } from './sessions/start.js';
|
|
@@ -335,17 +335,16 @@ import { operation as o333 } from './user/push-devices-delete.js';
|
|
|
335
335
|
import { operation as o334 } from './user/settings-get.js';
|
|
336
336
|
import { operation as o335 } from './user/settings-update.js';
|
|
337
337
|
import { operation as o336 } from './user/usage-get.js';
|
|
338
|
-
import { operation as o337 } from './workspaces/
|
|
339
|
-
import { operation as o338 } from './workspaces/
|
|
340
|
-
import { operation as o339 } from './workspaces/
|
|
341
|
-
import { operation as o340 } from './workspaces/list.js';
|
|
342
|
-
import { operation as o341 } from './workspaces/members-list.js';
|
|
343
|
-
import { operation as o342 } from './workspaces/
|
|
344
|
-
import { operation as o343 } from './workspaces/
|
|
345
|
-
import { operation as o344 } from './workspaces/
|
|
346
|
-
import { operation as o345 } from './workspaces/
|
|
347
|
-
import { operation as o346 } from './workspaces/usage-
|
|
348
|
-
import { operation as o347 } from './workspaces/usage-get.js';
|
|
338
|
+
import { operation as o337 } from './workspaces/credits-get.js';
|
|
339
|
+
import { operation as o338 } from './workspaces/get.js';
|
|
340
|
+
import { operation as o339 } from './workspaces/list.js';
|
|
341
|
+
import { operation as o340 } from './workspaces/members-list.js';
|
|
342
|
+
import { operation as o341 } from './workspaces/members-list--all.js';
|
|
343
|
+
import { operation as o342 } from './workspaces/sandbox-limit-get.js';
|
|
344
|
+
import { operation as o343 } from './workspaces/sandboxes-stop.js';
|
|
345
|
+
import { operation as o344 } from './workspaces/timezone-set.js';
|
|
346
|
+
import { operation as o345 } from './workspaces/usage-breakdown-get.js';
|
|
347
|
+
import { operation as o346 } from './workspaces/usage-get.js';
|
|
349
348
|
export const operations = [
|
|
350
349
|
o0,
|
|
351
350
|
o1,
|
|
@@ -694,5 +693,4 @@ export const operations = [
|
|
|
694
693
|
o344,
|
|
695
694
|
o345,
|
|
696
695
|
o346,
|
|
697
|
-
o347,
|
|
698
696
|
];
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
export const operation = {
|
|
2
2
|
"method": "get",
|
|
3
|
-
"path": "/api/shared-previews/{slug}/
|
|
3
|
+
"path": "/api/shared-previews/{slug}/files/{fileId}",
|
|
4
4
|
"command": [
|
|
5
5
|
"preview",
|
|
6
|
-
"shared",
|
|
7
|
-
"artifacts",
|
|
6
|
+
"shared-files",
|
|
8
7
|
"get"
|
|
9
8
|
],
|
|
10
|
-
"summary": "Read one
|
|
9
|
+
"summary": "Read one file behind a public share link, by its id or its name. No credential needed.",
|
|
11
10
|
"pathParams": [
|
|
12
11
|
"slug",
|
|
13
|
-
"
|
|
12
|
+
"fileId"
|
|
14
13
|
],
|
|
15
14
|
"query": [],
|
|
16
15
|
"body": null,
|
|
@@ -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"
|