@kosuke-ai/cli 5.6.5 → 5.7.0
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.
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/crons/{cronId}/artifacts",
|
|
4
|
+
"command": [
|
|
5
|
+
"crons",
|
|
6
|
+
"artifacts",
|
|
7
|
+
"list"
|
|
8
|
+
],
|
|
9
|
+
"summary": "List the Artifacts a cron's runs published, 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 Artifact: the same slug published by two runs is two rows. Rows only: a body or a file url comes from crons runs artifacts get, with the row's runId. The project and kind filters each take several values and keep an Artifact matching any of them.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"cronId"
|
|
13
|
+
],
|
|
14
|
+
"query": [
|
|
15
|
+
{
|
|
16
|
+
"name": "projectId",
|
|
17
|
+
"flag": "project",
|
|
18
|
+
"kind": "string",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Only the Artifacts of runs in these projects.",
|
|
21
|
+
"repeated": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "kind",
|
|
25
|
+
"flag": "kind",
|
|
26
|
+
"kind": "string",
|
|
27
|
+
"required": false,
|
|
28
|
+
"description": "Only the Artifacts of these kinds.",
|
|
29
|
+
"choices": [
|
|
30
|
+
"markdown",
|
|
31
|
+
"html",
|
|
32
|
+
"image",
|
|
33
|
+
"video"
|
|
34
|
+
],
|
|
35
|
+
"repeated": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "page",
|
|
39
|
+
"flag": "page",
|
|
40
|
+
"kind": "integer",
|
|
41
|
+
"required": false,
|
|
42
|
+
"description": "1-based. Default 1."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "pageSize",
|
|
46
|
+
"flag": "page-size",
|
|
47
|
+
"kind": "integer",
|
|
48
|
+
"required": false,
|
|
49
|
+
"description": "Default 25. Values above 100 are clamped, not rejected."
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"body": null,
|
|
53
|
+
"multipart": null,
|
|
54
|
+
"attachments": false,
|
|
55
|
+
"anonymous": false,
|
|
56
|
+
"sandboxToken": false,
|
|
57
|
+
"orchestratorToken": false,
|
|
58
|
+
"cronToken": false,
|
|
59
|
+
"leadToken": false
|
|
60
|
+
};
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"crons",
|
|
6
6
|
"run"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Fire a cron once now, paused or not, exactly as a scheduled fire: one Cron Run per project, each in that project's main sandbox on the workspace's Credentials, and the sessions they file are Kosuke's, not yours. Every project that five failed runs in a row did not pause, or only the projects named. Answers once the fire
|
|
8
|
+
"summary": "Fire a cron once now, paused or not, exactly as a scheduled fire: one Cron Run per project, each in that project's main sandbox on the workspace's Credentials, and the sessions they file are Kosuke's, not yours. Every project that five failed runs in a row did not pause, or only the projects named. Answers with runs, one { projectId, runId, status } per project: status is the run's status when the request answers, after waiting up to about ten seconds for the fire: running once the run was handed to the Cron Agent, failed or skipped when the fire refused it, succeeded, failed or cancelled when the run had already ended, and queued when the fire had not opened the run yet. crons runs get reads any of the run ids. The creator or a workspace admin only.",
|
|
9
9
|
"pathParams": [
|
|
10
10
|
"workspaceId",
|
|
11
11
|
"cronId"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const operation = {
|
|
2
|
+
"method": "get",
|
|
3
|
+
"path": "/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/diagnostics",
|
|
4
|
+
"command": [
|
|
5
|
+
"crons",
|
|
6
|
+
"runs",
|
|
7
|
+
"diagnostics"
|
|
8
|
+
],
|
|
9
|
+
"summary": "Read why a run of a cron ended as it did: its status, error, error code and stop source (member_stop, host_watch, deadline, replaced, sandbox_abort or runtime_error, with who stopped it), the main sandbox it ran in and that sandbox's agent version, when each phase happened (queued, main woken, credentials ready, agent requested, first event, done), the sandbox's own done payload, and the Cron Agent's log lines from the sandbox with secrets redacted. The log is capped at 256 KB and cleared after 30 days. The creator or a workspace admin only.",
|
|
10
|
+
"pathParams": [
|
|
11
|
+
"workspaceId",
|
|
12
|
+
"cronId",
|
|
13
|
+
"runId"
|
|
14
|
+
],
|
|
15
|
+
"query": [],
|
|
16
|
+
"body": null,
|
|
17
|
+
"multipart": null,
|
|
18
|
+
"attachments": false,
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"sandboxToken": false,
|
|
21
|
+
"orchestratorToken": false,
|
|
22
|
+
"cronToken": false,
|
|
23
|
+
"leadToken": false
|
|
24
|
+
};
|
|
@@ -1,158 +1,160 @@
|
|
|
1
1
|
import { operation as o0 } from './activity/list.js';
|
|
2
|
-
import { operation as o1 } from './crons/
|
|
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/
|
|
9
|
-
import { operation as o8 } from './crons/runs-artifacts-
|
|
10
|
-
import { operation as o9 } from './crons/runs-
|
|
11
|
-
import { operation as o10 } from './crons/runs-
|
|
12
|
-
import { operation as o11 } from './crons/runs-
|
|
13
|
-
import { operation as o12 } from './crons/runs-
|
|
14
|
-
import { operation as o13 } from './crons/
|
|
15
|
-
import { operation as o14 } from './
|
|
16
|
-
import { operation as o15 } from './
|
|
17
|
-
import { operation as o16 } from './deploy/
|
|
18
|
-
import { operation as o17 } from './deploy/
|
|
19
|
-
import { operation as o18 } from './deploy/
|
|
20
|
-
import { operation as o19 } from './deploy/queue-
|
|
21
|
-
import { operation as o20 } from './deploy/queue-
|
|
22
|
-
import { operation as o21 } from './deploy/queue-
|
|
23
|
-
import { operation as o22 } from './deploy/queue-
|
|
24
|
-
import { operation as o23 } from './deploy/queue-
|
|
25
|
-
import { operation as o24 } from './deploy/
|
|
26
|
-
import { operation as o25 } from './deploy/
|
|
27
|
-
import { operation as o26 } from './
|
|
28
|
-
import { operation as o27 } from './
|
|
29
|
-
import { operation as o28 } from './
|
|
30
|
-
import { operation as o29 } from './
|
|
31
|
-
import { operation as o30 } from './
|
|
32
|
-
import { operation as o31 } from './preview/
|
|
33
|
-
import { operation as o32 } from './preview/
|
|
34
|
-
import { operation as o33 } from './preview/
|
|
35
|
-
import { operation as o34 } from './preview/share-
|
|
36
|
-
import { operation as o35 } from './preview/
|
|
37
|
-
import { operation as o36 } from './preview/
|
|
38
|
-
import { operation as o37 } from './
|
|
39
|
-
import { operation as o38 } from './
|
|
40
|
-
import { operation as o39 } from './projects/
|
|
41
|
-
import { operation as o40 } from './projects/
|
|
42
|
-
import { operation as o41 } from './projects/
|
|
43
|
-
import { operation as o42 } from './projects/
|
|
44
|
-
import { operation as o43 } from './projects/
|
|
45
|
-
import { operation as o44 } from './projects/
|
|
46
|
-
import { operation as o45 } from './projects/
|
|
47
|
-
import { operation as o46 } from './projects/
|
|
48
|
-
import { operation as o47 } from './projects/
|
|
49
|
-
import { operation as o48 } from './projects/services-
|
|
50
|
-
import { operation as o49 } from './projects/services-
|
|
51
|
-
import { operation as o50 } from './projects/
|
|
52
|
-
import { operation as o51 } from './projects/
|
|
53
|
-
import { operation as o52 } from './projects/settings-
|
|
54
|
-
import { operation as o53 } from './projects/
|
|
55
|
-
import { operation as o54 } from './projects/update.js';
|
|
56
|
-
import { operation as o55 } from './
|
|
57
|
-
import { operation as o56 } from './
|
|
58
|
-
import { operation as o57 } from './sessions/
|
|
59
|
-
import { operation as o58 } from './sessions/
|
|
60
|
-
import { operation as o59 } from './sessions/artifacts-
|
|
61
|
-
import { operation as o60 } from './sessions/
|
|
62
|
-
import { operation as o61 } from './sessions/
|
|
63
|
-
import { operation as o62 } from './sessions/comments-
|
|
64
|
-
import { operation as o63 } from './sessions/comments-
|
|
65
|
-
import { operation as o64 } from './sessions/
|
|
66
|
-
import { operation as o65 } from './sessions/
|
|
67
|
-
import { operation as o66 } from './sessions/
|
|
68
|
-
import { operation as o67 } from './sessions/
|
|
69
|
-
import { operation as o68 } from './sessions/diff-comments-
|
|
70
|
-
import { operation as o69 } from './sessions/diff-comments-
|
|
71
|
-
import { operation as o70 } from './sessions/diff-
|
|
72
|
-
import { operation as o71 } from './sessions/diff-
|
|
73
|
-
import { operation as o72 } from './sessions/diff-
|
|
74
|
-
import { operation as o73 } from './sessions/
|
|
75
|
-
import { operation as o74 } from './sessions/
|
|
76
|
-
import { operation as o75 } from './sessions/
|
|
77
|
-
import { operation as o76 } from './sessions/files-
|
|
78
|
-
import { operation as o77 } from './sessions/
|
|
79
|
-
import { operation as o78 } from './sessions/
|
|
80
|
-
import { operation as o79 } from './sessions/
|
|
81
|
-
import { operation as o80 } from './sessions/git-
|
|
82
|
-
import { operation as o81 } from './sessions/git-
|
|
83
|
-
import { operation as o82 } from './sessions/
|
|
84
|
-
import { operation as o83 } from './sessions/
|
|
85
|
-
import { operation as o84 } from './sessions/jobs-
|
|
86
|
-
import { operation as o85 } from './sessions/
|
|
87
|
-
import { operation as o86 } from './sessions/
|
|
88
|
-
import { operation as o87 } from './sessions/
|
|
89
|
-
import { operation as o88 } from './sessions/
|
|
90
|
-
import { operation as o89 } from './sessions/
|
|
91
|
-
import { operation as o90 } from './sessions/
|
|
92
|
-
import { operation as o91 } from './sessions/
|
|
93
|
-
import { operation as o92 } from './sessions/
|
|
94
|
-
import { operation as o93 } from './sessions/queue-
|
|
95
|
-
import { operation as o94 } from './sessions/queue-
|
|
96
|
-
import { operation as o95 } from './sessions/queue-
|
|
97
|
-
import { operation as o96 } from './sessions/queue-
|
|
98
|
-
import { operation as o97 } from './sessions/queue-
|
|
99
|
-
import { operation as o98 } from './sessions/
|
|
100
|
-
import { operation as o99 } from './sessions/
|
|
101
|
-
import { operation as o100 } from './sessions/
|
|
102
|
-
import { operation as o101 } from './sessions/
|
|
103
|
-
import { operation as o102 } from './sessions/
|
|
104
|
-
import { operation as o103 } from './sessions/
|
|
105
|
-
import { operation as o104 } from './
|
|
106
|
-
import { operation as o105 } from './
|
|
107
|
-
import { operation as o106 } from './user/
|
|
108
|
-
import { operation as o107 } from './user/
|
|
109
|
-
import { operation as o108 } from './user/
|
|
110
|
-
import { operation as o109 } from './user/
|
|
111
|
-
import { operation as o110 } from './user/
|
|
112
|
-
import { operation as o111 } from './user/
|
|
113
|
-
import { operation as o112 } from './user/skills-
|
|
114
|
-
import { operation as o113 } from './user/skills-
|
|
115
|
-
import { operation as o114 } from './user/skills-
|
|
116
|
-
import { operation as o115 } from './user/
|
|
117
|
-
import { operation as o116 } from './user/
|
|
118
|
-
import { operation as o117 } from './user/subscriptions-
|
|
119
|
-
import { operation as o118 } from './user/subscriptions-
|
|
120
|
-
import { operation as o119 } from './user/subscriptions-login-
|
|
121
|
-
import { operation as o120 } from './user/subscriptions-login-
|
|
122
|
-
import { operation as o121 } from './user/subscriptions-
|
|
123
|
-
import { operation as o122 } from './user/subscriptions-
|
|
124
|
-
import { operation as o123 } from './user/subscriptions-
|
|
125
|
-
import { operation as o124 } from './
|
|
126
|
-
import { operation as o125 } from './
|
|
127
|
-
import { operation as o126 } from './workspaces/
|
|
128
|
-
import { operation as o127 } from './workspaces/ai-provider-
|
|
129
|
-
import { operation as o128 } from './workspaces/ai-provider-
|
|
130
|
-
import { operation as o129 } from './workspaces/ai-provider-
|
|
131
|
-
import { operation as o130 } from './workspaces/ai-provider-usage-
|
|
132
|
-
import { operation as o131 } from './workspaces/
|
|
133
|
-
import { operation as o132 } from './workspaces/
|
|
134
|
-
import { operation as o133 } from './workspaces/
|
|
135
|
-
import { operation as o134 } from './workspaces/
|
|
136
|
-
import { operation as o135 } from './workspaces/
|
|
137
|
-
import { operation as o136 } from './workspaces/
|
|
138
|
-
import { operation as o137 } from './workspaces/
|
|
139
|
-
import { operation as o138 } from './workspaces/integrations-
|
|
140
|
-
import { operation as o139 } from './workspaces/
|
|
141
|
-
import { operation as o140 } from './workspaces/
|
|
142
|
-
import { operation as o141 } from './workspaces/
|
|
143
|
-
import { operation as o142 } from './workspaces/
|
|
144
|
-
import { operation as o143 } from './workspaces/
|
|
145
|
-
import { operation as o144 } from './workspaces/
|
|
146
|
-
import { operation as o145 } from './workspaces/provider-login-
|
|
147
|
-
import { operation as o146 } from './workspaces/provider-login-
|
|
148
|
-
import { operation as o147 } from './workspaces/
|
|
149
|
-
import { operation as o148 } from './workspaces/
|
|
150
|
-
import { operation as o149 } from './workspaces/
|
|
151
|
-
import { operation as o150 } from './workspaces/skills-
|
|
152
|
-
import { operation as o151 } from './workspaces/skills-
|
|
153
|
-
import { operation as o152 } from './workspaces/skills-
|
|
154
|
-
import { operation as o153 } from './workspaces/
|
|
155
|
-
import { operation as o154 } from './workspaces/
|
|
2
|
+
import { operation as o1 } from './crons/artifacts-list.js';
|
|
3
|
+
import { operation as o2 } from './crons/create.js';
|
|
4
|
+
import { operation as o3 } from './crons/delete.js';
|
|
5
|
+
import { operation as o4 } from './crons/get.js';
|
|
6
|
+
import { operation as o5 } from './crons/list.js';
|
|
7
|
+
import { operation as o6 } from './crons/projects-resume.js';
|
|
8
|
+
import { operation as o7 } from './crons/run.js';
|
|
9
|
+
import { operation as o8 } from './crons/runs-artifacts-get.js';
|
|
10
|
+
import { operation as o9 } from './crons/runs-artifacts-list.js';
|
|
11
|
+
import { operation as o10 } from './crons/runs-cancel.js';
|
|
12
|
+
import { operation as o11 } from './crons/runs-diagnostics.js';
|
|
13
|
+
import { operation as o12 } from './crons/runs-get.js';
|
|
14
|
+
import { operation as o13 } from './crons/runs-list.js';
|
|
15
|
+
import { operation as o14 } from './crons/runs-messages.js';
|
|
16
|
+
import { operation as o15 } from './crons/update.js';
|
|
17
|
+
import { operation as o16 } from './deploy/cancel.js';
|
|
18
|
+
import { operation as o17 } from './deploy/list.js';
|
|
19
|
+
import { operation as o18 } from './deploy/messages.js';
|
|
20
|
+
import { operation as o19 } from './deploy/queue-delete.js';
|
|
21
|
+
import { operation as o20 } from './deploy/queue-list.js';
|
|
22
|
+
import { operation as o21 } from './deploy/queue-move.js';
|
|
23
|
+
import { operation as o22 } from './deploy/queue-resume.js';
|
|
24
|
+
import { operation as o23 } from './deploy/queue-send.js';
|
|
25
|
+
import { operation as o24 } from './deploy/queue-steer.js';
|
|
26
|
+
import { operation as o25 } from './deploy/queue-update.js';
|
|
27
|
+
import { operation as o26 } from './deploy/run.js';
|
|
28
|
+
import { operation as o27 } from './deploy/set-model.js';
|
|
29
|
+
import { operation as o28 } from './github/repositories.js';
|
|
30
|
+
import { operation as o29 } from './github/status.js';
|
|
31
|
+
import { operation as o30 } from './models/list.js';
|
|
32
|
+
import { operation as o31 } from './preview/get.js';
|
|
33
|
+
import { operation as o32 } from './preview/health.js';
|
|
34
|
+
import { operation as o33 } from './preview/reset.js';
|
|
35
|
+
import { operation as o34 } from './preview/share-create.js';
|
|
36
|
+
import { operation as o35 } from './preview/share-delete.js';
|
|
37
|
+
import { operation as o36 } from './preview/share-get.js';
|
|
38
|
+
import { operation as o37 } from './preview/shared.js';
|
|
39
|
+
import { operation as o38 } from './preview/shared-artifact.js';
|
|
40
|
+
import { operation as o39 } from './projects/branches.js';
|
|
41
|
+
import { operation as o40 } from './projects/create.js';
|
|
42
|
+
import { operation as o41 } from './projects/delete.js';
|
|
43
|
+
import { operation as o42 } from './projects/env-vars-add.js';
|
|
44
|
+
import { operation as o43 } from './projects/env-vars-remove.js';
|
|
45
|
+
import { operation as o44 } from './projects/get.js';
|
|
46
|
+
import { operation as o45 } from './projects/labels.js';
|
|
47
|
+
import { operation as o46 } from './projects/labels-color.js';
|
|
48
|
+
import { operation as o47 } from './projects/list.js';
|
|
49
|
+
import { operation as o48 } from './projects/services-add.js';
|
|
50
|
+
import { operation as o49 } from './projects/services-list.js';
|
|
51
|
+
import { operation as o50 } from './projects/services-remove.js';
|
|
52
|
+
import { operation as o51 } from './projects/services-update.js';
|
|
53
|
+
import { operation as o52 } from './projects/settings-get.js';
|
|
54
|
+
import { operation as o53 } from './projects/settings-import.js';
|
|
55
|
+
import { operation as o54 } from './projects/settings-update.js';
|
|
56
|
+
import { operation as o55 } from './projects/skills.js';
|
|
57
|
+
import { operation as o56 } from './projects/update.js';
|
|
58
|
+
import { operation as o57 } from './sessions/activate.js';
|
|
59
|
+
import { operation as o58 } from './sessions/all.js';
|
|
60
|
+
import { operation as o59 } from './sessions/artifacts-attach.js';
|
|
61
|
+
import { operation as o60 } from './sessions/artifacts-get.js';
|
|
62
|
+
import { operation as o61 } from './sessions/artifacts-list.js';
|
|
63
|
+
import { operation as o62 } from './sessions/comments-add.js';
|
|
64
|
+
import { operation as o63 } from './sessions/comments-delete.js';
|
|
65
|
+
import { operation as o64 } from './sessions/comments-list.js';
|
|
66
|
+
import { operation as o65 } from './sessions/comments-update.js';
|
|
67
|
+
import { operation as o66 } from './sessions/create.js';
|
|
68
|
+
import { operation as o67 } from './sessions/delete.js';
|
|
69
|
+
import { operation as o68 } from './sessions/diff-comments-add.js';
|
|
70
|
+
import { operation as o69 } from './sessions/diff-comments-delete.js';
|
|
71
|
+
import { operation as o70 } from './sessions/diff-comments-list.js';
|
|
72
|
+
import { operation as o71 } from './sessions/diff-comments-update.js';
|
|
73
|
+
import { operation as o72 } from './sessions/diff-commits.js';
|
|
74
|
+
import { operation as o73 } from './sessions/diff-files.js';
|
|
75
|
+
import { operation as o74 } from './sessions/diff-patch.js';
|
|
76
|
+
import { operation as o75 } from './sessions/edit-prompt.js';
|
|
77
|
+
import { operation as o76 } from './sessions/files-get.js';
|
|
78
|
+
import { operation as o77 } from './sessions/files-list.js';
|
|
79
|
+
import { operation as o78 } from './sessions/files-write.js';
|
|
80
|
+
import { operation as o79 } from './sessions/get.js';
|
|
81
|
+
import { operation as o80 } from './sessions/git-commit.js';
|
|
82
|
+
import { operation as o81 } from './sessions/git-commit-message.js';
|
|
83
|
+
import { operation as o82 } from './sessions/git-push.js';
|
|
84
|
+
import { operation as o83 } from './sessions/git-state.js';
|
|
85
|
+
import { operation as o84 } from './sessions/jobs-cancel.js';
|
|
86
|
+
import { operation as o85 } from './sessions/jobs-get.js';
|
|
87
|
+
import { operation as o86 } from './sessions/jobs-list.js';
|
|
88
|
+
import { operation as o87 } from './sessions/labels-edit.js';
|
|
89
|
+
import { operation as o88 } from './sessions/labels-set.js';
|
|
90
|
+
import { operation as o89 } from './sessions/list.js';
|
|
91
|
+
import { operation as o90 } from './sessions/mark-read.js';
|
|
92
|
+
import { operation as o91 } from './sessions/messages.js';
|
|
93
|
+
import { operation as o92 } from './sessions/needs-you.js';
|
|
94
|
+
import { operation as o93 } from './sessions/queue-delete.js';
|
|
95
|
+
import { operation as o94 } from './sessions/queue-list.js';
|
|
96
|
+
import { operation as o95 } from './sessions/queue-move.js';
|
|
97
|
+
import { operation as o96 } from './sessions/queue-resume.js';
|
|
98
|
+
import { operation as o97 } from './sessions/queue-send.js';
|
|
99
|
+
import { operation as o98 } from './sessions/queue-steer.js';
|
|
100
|
+
import { operation as o99 } from './sessions/queue-update.js';
|
|
101
|
+
import { operation as o100 } from './sessions/runtime-command.js';
|
|
102
|
+
import { operation as o101 } from './sessions/search.js';
|
|
103
|
+
import { operation as o102 } from './sessions/send.js';
|
|
104
|
+
import { operation as o103 } from './sessions/steer.js';
|
|
105
|
+
import { operation as o104 } from './sessions/title-generate.js';
|
|
106
|
+
import { operation as o105 } from './sessions/update.js';
|
|
107
|
+
import { operation as o106 } from './user/auth-token-revoke.js';
|
|
108
|
+
import { operation as o107 } from './user/plugins-list.js';
|
|
109
|
+
import { operation as o108 } from './user/plugins-update.js';
|
|
110
|
+
import { operation as o109 } from './user/profile.js';
|
|
111
|
+
import { operation as o110 } from './user/push-devices-register.js';
|
|
112
|
+
import { operation as o111 } from './user/push-devices-remove.js';
|
|
113
|
+
import { operation as o112 } from './user/skills-create.js';
|
|
114
|
+
import { operation as o113 } from './user/skills-delete.js';
|
|
115
|
+
import { operation as o114 } from './user/skills-get.js';
|
|
116
|
+
import { operation as o115 } from './user/skills-list.js';
|
|
117
|
+
import { operation as o116 } from './user/skills-update.js';
|
|
118
|
+
import { operation as o117 } from './user/subscriptions-delete.js';
|
|
119
|
+
import { operation as o118 } from './user/subscriptions-get.js';
|
|
120
|
+
import { operation as o119 } from './user/subscriptions-login-claude-complete.js';
|
|
121
|
+
import { operation as o120 } from './user/subscriptions-login-claude-start.js';
|
|
122
|
+
import { operation as o121 } from './user/subscriptions-login-codex-complete.js';
|
|
123
|
+
import { operation as o122 } from './user/subscriptions-login-codex-start.js';
|
|
124
|
+
import { operation as o123 } from './user/subscriptions-set-default-model.js';
|
|
125
|
+
import { operation as o124 } from './user/subscriptions-set-key.js';
|
|
126
|
+
import { operation as o125 } from './user/subscriptions-usage.js';
|
|
127
|
+
import { operation as o126 } from './workspaces/access-status.js';
|
|
128
|
+
import { operation as o127 } from './workspaces/ai-provider-get.js';
|
|
129
|
+
import { operation as o128 } from './workspaces/ai-provider-remove.js';
|
|
130
|
+
import { operation as o129 } from './workspaces/ai-provider-set.js';
|
|
131
|
+
import { operation as o130 } from './workspaces/ai-provider-usage-claude.js';
|
|
132
|
+
import { operation as o131 } from './workspaces/ai-provider-usage-codex.js';
|
|
133
|
+
import { operation as o132 } from './workspaces/ai-provider-usage-coding-plan.js';
|
|
134
|
+
import { operation as o133 } from './workspaces/artifacts.js';
|
|
135
|
+
import { operation as o134 } from './workspaces/credits.js';
|
|
136
|
+
import { operation as o135 } from './workspaces/get.js';
|
|
137
|
+
import { operation as o136 } from './workspaces/getting-started-get.js';
|
|
138
|
+
import { operation as o137 } from './workspaces/getting-started-update.js';
|
|
139
|
+
import { operation as o138 } from './workspaces/integrations-sentry-get.js';
|
|
140
|
+
import { operation as o139 } from './workspaces/integrations-sentry-remove.js';
|
|
141
|
+
import { operation as o140 } from './workspaces/integrations-slack-get.js';
|
|
142
|
+
import { operation as o141 } from './workspaces/list.js';
|
|
143
|
+
import { operation as o142 } from './workspaces/members.js';
|
|
144
|
+
import { operation as o143 } from './workspaces/plugins-list.js';
|
|
145
|
+
import { operation as o144 } from './workspaces/plugins-update.js';
|
|
146
|
+
import { operation as o145 } from './workspaces/provider-login-claude-complete.js';
|
|
147
|
+
import { operation as o146 } from './workspaces/provider-login-claude-start.js';
|
|
148
|
+
import { operation as o147 } from './workspaces/provider-login-codex-complete.js';
|
|
149
|
+
import { operation as o148 } from './workspaces/provider-login-codex-start.js';
|
|
150
|
+
import { operation as o149 } from './workspaces/sandbox-limit.js';
|
|
151
|
+
import { operation as o150 } from './workspaces/skills-create.js';
|
|
152
|
+
import { operation as o151 } from './workspaces/skills-delete.js';
|
|
153
|
+
import { operation as o152 } from './workspaces/skills-get.js';
|
|
154
|
+
import { operation as o153 } from './workspaces/skills-list.js';
|
|
155
|
+
import { operation as o154 } from './workspaces/skills-update.js';
|
|
156
|
+
import { operation as o155 } from './workspaces/stop-sandboxes.js';
|
|
157
|
+
import { operation as o156 } from './workspaces/usage.js';
|
|
156
158
|
export const operations = [
|
|
157
159
|
o0,
|
|
158
160
|
o1,
|
|
@@ -309,4 +311,6 @@ export const operations = [
|
|
|
309
311
|
o152,
|
|
310
312
|
o153,
|
|
311
313
|
o154,
|
|
314
|
+
o155,
|
|
315
|
+
o156,
|
|
312
316
|
];
|
package/openapi.json
CHANGED
|
@@ -1666,6 +1666,122 @@
|
|
|
1666
1666
|
}
|
|
1667
1667
|
}
|
|
1668
1668
|
},
|
|
1669
|
+
"/api/organizations/{workspaceId}/crons/{cronId}/artifacts": {
|
|
1670
|
+
"get": {
|
|
1671
|
+
"operationId": "cronsArtifactsList",
|
|
1672
|
+
"summary": "List the Artifacts a cron's runs published, 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 Artifact: the same slug published by two runs is two rows. Rows only: a body or a file url comes from crons runs artifacts get, with the row's runId. The project and kind filters each take several values and keep an Artifact matching any of them.",
|
|
1673
|
+
"tags": ["crons"],
|
|
1674
|
+
"x-kosuke-command": ["crons", "artifacts", "list"],
|
|
1675
|
+
"parameters": [
|
|
1676
|
+
{
|
|
1677
|
+
"name": "workspaceId",
|
|
1678
|
+
"in": "path",
|
|
1679
|
+
"required": true,
|
|
1680
|
+
"schema": {
|
|
1681
|
+
"type": "string",
|
|
1682
|
+
"minLength": 1
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "cronId",
|
|
1687
|
+
"in": "path",
|
|
1688
|
+
"required": true,
|
|
1689
|
+
"schema": {
|
|
1690
|
+
"type": "string",
|
|
1691
|
+
"format": "uuid",
|
|
1692
|
+
"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)$"
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"name": "projectId",
|
|
1697
|
+
"in": "query",
|
|
1698
|
+
"required": false,
|
|
1699
|
+
"description": "Only the Artifacts of runs in these projects.",
|
|
1700
|
+
"schema": {
|
|
1701
|
+
"description": "Only the Artifacts of runs in these projects.",
|
|
1702
|
+
"x-kosuke-flag": "project",
|
|
1703
|
+
"type": "array",
|
|
1704
|
+
"items": {
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"format": "uuid",
|
|
1707
|
+
"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)$"
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "kind",
|
|
1713
|
+
"in": "query",
|
|
1714
|
+
"required": false,
|
|
1715
|
+
"description": "Only the Artifacts of these kinds.",
|
|
1716
|
+
"schema": {
|
|
1717
|
+
"description": "Only the Artifacts of these kinds.",
|
|
1718
|
+
"x-kosuke-flag": "kind",
|
|
1719
|
+
"type": "array",
|
|
1720
|
+
"items": {
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
"enum": ["markdown", "html", "image", "video"]
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "page",
|
|
1728
|
+
"in": "query",
|
|
1729
|
+
"required": false,
|
|
1730
|
+
"description": "1-based. Default 1.",
|
|
1731
|
+
"schema": {
|
|
1732
|
+
"description": "1-based. Default 1.",
|
|
1733
|
+
"type": "integer",
|
|
1734
|
+
"minimum": 1,
|
|
1735
|
+
"maximum": 9007199254740991
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"name": "pageSize",
|
|
1740
|
+
"in": "query",
|
|
1741
|
+
"required": false,
|
|
1742
|
+
"description": "Default 25. Values above 100 are clamped, not rejected.",
|
|
1743
|
+
"schema": {
|
|
1744
|
+
"description": "Default 25. Values above 100 are clamped, not rejected.",
|
|
1745
|
+
"type": "integer",
|
|
1746
|
+
"minimum": 1,
|
|
1747
|
+
"maximum": 9007199254740991
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
],
|
|
1751
|
+
"responses": {
|
|
1752
|
+
"2XX": {
|
|
1753
|
+
"description": "Success envelope",
|
|
1754
|
+
"content": {
|
|
1755
|
+
"application/json": {
|
|
1756
|
+
"schema": {
|
|
1757
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"4XX": {
|
|
1763
|
+
"description": "Error envelope",
|
|
1764
|
+
"content": {
|
|
1765
|
+
"application/json": {
|
|
1766
|
+
"schema": {
|
|
1767
|
+
"$ref": "#/components/schemas/ApiError"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"5XX": {
|
|
1773
|
+
"description": "Error envelope",
|
|
1774
|
+
"content": {
|
|
1775
|
+
"application/json": {
|
|
1776
|
+
"schema": {
|
|
1777
|
+
"$ref": "#/components/schemas/ApiError"
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1669
1785
|
"/api/organizations/{workspaceId}/crons/{cronId}/projects/{projectId}/resume": {
|
|
1670
1786
|
"post": {
|
|
1671
1787
|
"operationId": "cronsProjectsResume",
|
|
@@ -1740,7 +1856,7 @@
|
|
|
1740
1856
|
"/api/organizations/{workspaceId}/crons/{cronId}/run": {
|
|
1741
1857
|
"post": {
|
|
1742
1858
|
"operationId": "cronsRun",
|
|
1743
|
-
"summary": "Fire a cron once now, paused or not, exactly as a scheduled fire: one Cron Run per project, each in that project's main sandbox on the workspace's Credentials, and the sessions they file are Kosuke's, not yours. Every project that five failed runs in a row did not pause, or only the projects named. Answers once the fire
|
|
1859
|
+
"summary": "Fire a cron once now, paused or not, exactly as a scheduled fire: one Cron Run per project, each in that project's main sandbox on the workspace's Credentials, and the sessions they file are Kosuke's, not yours. Every project that five failed runs in a row did not pause, or only the projects named. Answers with runs, one { projectId, runId, status } per project: status is the run's status when the request answers, after waiting up to about ten seconds for the fire: running once the run was handed to the Cron Agent, failed or skipped when the fire refused it, succeeded, failed or cancelled when the run had already ended, and queued when the fire had not opened the run yet. crons runs get reads any of the run ids. The creator or a workspace admin only.",
|
|
1744
1860
|
"tags": ["crons"],
|
|
1745
1861
|
"x-kosuke-command": ["crons", "run"],
|
|
1746
1862
|
"parameters": [
|
|
@@ -2232,6 +2348,77 @@
|
|
|
2232
2348
|
}
|
|
2233
2349
|
}
|
|
2234
2350
|
},
|
|
2351
|
+
"/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/diagnostics": {
|
|
2352
|
+
"get": {
|
|
2353
|
+
"operationId": "cronsRunsDiagnostics",
|
|
2354
|
+
"summary": "Read why a run of a cron ended as it did: its status, error, error code and stop source (member_stop, host_watch, deadline, replaced, sandbox_abort or runtime_error, with who stopped it), the main sandbox it ran in and that sandbox's agent version, when each phase happened (queued, main woken, credentials ready, agent requested, first event, done), the sandbox's own done payload, and the Cron Agent's log lines from the sandbox with secrets redacted. The log is capped at 256 KB and cleared after 30 days. The creator or a workspace admin only.",
|
|
2355
|
+
"tags": ["crons"],
|
|
2356
|
+
"x-kosuke-command": ["crons", "runs", "diagnostics"],
|
|
2357
|
+
"parameters": [
|
|
2358
|
+
{
|
|
2359
|
+
"name": "workspaceId",
|
|
2360
|
+
"in": "path",
|
|
2361
|
+
"required": true,
|
|
2362
|
+
"schema": {
|
|
2363
|
+
"type": "string",
|
|
2364
|
+
"minLength": 1
|
|
2365
|
+
}
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
"name": "cronId",
|
|
2369
|
+
"in": "path",
|
|
2370
|
+
"required": true,
|
|
2371
|
+
"schema": {
|
|
2372
|
+
"type": "string",
|
|
2373
|
+
"format": "uuid",
|
|
2374
|
+
"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)$"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
"name": "runId",
|
|
2379
|
+
"in": "path",
|
|
2380
|
+
"required": true,
|
|
2381
|
+
"schema": {
|
|
2382
|
+
"type": "string",
|
|
2383
|
+
"format": "uuid",
|
|
2384
|
+
"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)$"
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
],
|
|
2388
|
+
"responses": {
|
|
2389
|
+
"2XX": {
|
|
2390
|
+
"description": "Success envelope",
|
|
2391
|
+
"content": {
|
|
2392
|
+
"application/json": {
|
|
2393
|
+
"schema": {
|
|
2394
|
+
"$ref": "#/components/schemas/ApiSuccess"
|
|
2395
|
+
}
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"4XX": {
|
|
2400
|
+
"description": "Error envelope",
|
|
2401
|
+
"content": {
|
|
2402
|
+
"application/json": {
|
|
2403
|
+
"schema": {
|
|
2404
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"5XX": {
|
|
2410
|
+
"description": "Error envelope",
|
|
2411
|
+
"content": {
|
|
2412
|
+
"application/json": {
|
|
2413
|
+
"schema": {
|
|
2414
|
+
"$ref": "#/components/schemas/ApiError"
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2235
2422
|
"/api/organizations/{workspaceId}/crons/{cronId}/runs/{runId}/messages": {
|
|
2236
2423
|
"get": {
|
|
2237
2424
|
"operationId": "cronsRunsMessages",
|