@b3os/sdk 0.2.0 → 0.2.2
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/dist/cjs/core/sse.d.ts +2 -0
- package/dist/cjs/core/sse.js +17 -5
- package/dist/cjs/core/sse.js.map +1 -1
- package/dist/cjs/core/util.d.ts +1 -1
- package/dist/cjs/core/util.js +1 -1
- package/dist/cjs/generated/client.d.ts +13 -0
- package/dist/cjs/generated/client.js +25 -0
- package/dist/cjs/generated/client.js.map +1 -1
- package/dist/cjs/generated/errors.d.ts +1 -1
- package/dist/cjs/generated/errors.js +95 -0
- package/dist/cjs/generated/errors.js.map +1 -1
- package/dist/cjs/generated/ids.d.ts +61 -0
- package/dist/cjs/generated/ids.js +15 -0
- package/dist/cjs/generated/ids.js.map +1 -1
- package/dist/cjs/generated/jobs.js +4 -0
- package/dist/cjs/generated/jobs.js.map +1 -1
- package/dist/cjs/generated/ns/actions.d.ts +303 -4
- package/dist/cjs/generated/ns/actions.js +446 -4
- package/dist/cjs/generated/ns/actions.js.map +1 -1
- package/dist/cjs/generated/ns/agents.d.ts +229 -0
- package/dist/cjs/generated/ns/agents.js +402 -0
- package/dist/cjs/generated/ns/agents.js.map +1 -0
- package/dist/cjs/generated/ns/images.d.ts +81 -0
- package/dist/cjs/generated/ns/images.js +122 -0
- package/dist/cjs/generated/ns/images.js.map +1 -0
- package/dist/cjs/generated/ns/infer.d.ts +71 -3
- package/dist/cjs/generated/ns/infer.js +98 -3
- package/dist/cjs/generated/ns/infer.js.map +1 -1
- package/dist/cjs/generated/ns/keys.d.ts +3 -1
- package/dist/cjs/generated/ns/keys.js +3 -1
- package/dist/cjs/generated/ns/keys.js.map +1 -1
- package/dist/cjs/generated/ns/listeners.d.ts +159 -0
- package/dist/cjs/generated/ns/listeners.js +264 -0
- package/dist/cjs/generated/ns/listeners.js.map +1 -0
- package/dist/cjs/generated/ns/orgs.d.ts +10 -0
- package/dist/cjs/generated/ns/orgs.js +26 -1
- package/dist/cjs/generated/ns/orgs.js.map +1 -1
- package/dist/cjs/generated/ns/projects.d.ts +32 -0
- package/dist/cjs/generated/ns/projects.js +66 -0
- package/dist/cjs/generated/ns/projects.js.map +1 -1
- package/dist/cjs/generated/ns/render.d.ts +192 -21
- package/dist/cjs/generated/ns/render.js +267 -24
- package/dist/cjs/generated/ns/render.js.map +1 -1
- package/dist/cjs/generated/ns/requests.d.ts +3 -1
- package/dist/cjs/generated/ns/requests.js +3 -1
- package/dist/cjs/generated/ns/requests.js.map +1 -1
- package/dist/cjs/generated/ns/routines.d.ts +11 -4
- package/dist/cjs/generated/ns/routines.js +11 -4
- package/dist/cjs/generated/ns/routines.js.map +1 -1
- package/dist/cjs/generated/ns/sandboxes.d.ts +292 -7
- package/dist/cjs/generated/ns/sandboxes.js +444 -6
- package/dist/cjs/generated/ns/sandboxes.js.map +1 -1
- package/dist/cjs/generated/ns/usage.d.ts +1 -1
- package/dist/cjs/generated/ns/usage.js +1 -1
- package/dist/cjs/generated/ns/vision.d.ts +59 -17
- package/dist/cjs/generated/ns/vision.js +59 -21
- package/dist/cjs/generated/ns/vision.js.map +1 -1
- package/dist/cjs/generated/types.d.ts +2787 -85
- package/dist/cjs/helpers/sandboxes.d.ts +46 -3
- package/dist/cjs/helpers/sandboxes.js +127 -14
- package/dist/cjs/helpers/sandboxes.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/core/sse.d.ts +2 -0
- package/dist/esm/core/sse.js +17 -5
- package/dist/esm/core/sse.js.map +1 -1
- package/dist/esm/core/util.d.ts +1 -1
- package/dist/esm/core/util.js +1 -1
- package/dist/esm/generated/client.d.ts +13 -0
- package/dist/esm/generated/client.js +25 -0
- package/dist/esm/generated/client.js.map +1 -1
- package/dist/esm/generated/errors.d.ts +1 -1
- package/dist/esm/generated/errors.js +95 -0
- package/dist/esm/generated/errors.js.map +1 -1
- package/dist/esm/generated/ids.d.ts +61 -0
- package/dist/esm/generated/ids.js +15 -0
- package/dist/esm/generated/ids.js.map +1 -1
- package/dist/esm/generated/jobs.js +4 -0
- package/dist/esm/generated/jobs.js.map +1 -1
- package/dist/esm/generated/ns/actions.d.ts +303 -4
- package/dist/esm/generated/ns/actions.js +446 -4
- package/dist/esm/generated/ns/actions.js.map +1 -1
- package/dist/esm/generated/ns/agents.d.ts +229 -0
- package/dist/esm/generated/ns/agents.js +398 -0
- package/dist/esm/generated/ns/agents.js.map +1 -0
- package/dist/esm/generated/ns/images.d.ts +81 -0
- package/dist/esm/generated/ns/images.js +118 -0
- package/dist/esm/generated/ns/images.js.map +1 -0
- package/dist/esm/generated/ns/infer.d.ts +71 -3
- package/dist/esm/generated/ns/infer.js +98 -3
- package/dist/esm/generated/ns/infer.js.map +1 -1
- package/dist/esm/generated/ns/keys.d.ts +3 -1
- package/dist/esm/generated/ns/keys.js +3 -1
- package/dist/esm/generated/ns/keys.js.map +1 -1
- package/dist/esm/generated/ns/listeners.d.ts +159 -0
- package/dist/esm/generated/ns/listeners.js +260 -0
- package/dist/esm/generated/ns/listeners.js.map +1 -0
- package/dist/esm/generated/ns/orgs.d.ts +10 -0
- package/dist/esm/generated/ns/orgs.js +26 -1
- package/dist/esm/generated/ns/orgs.js.map +1 -1
- package/dist/esm/generated/ns/projects.d.ts +32 -0
- package/dist/esm/generated/ns/projects.js +66 -0
- package/dist/esm/generated/ns/projects.js.map +1 -1
- package/dist/esm/generated/ns/render.d.ts +192 -21
- package/dist/esm/generated/ns/render.js +267 -24
- package/dist/esm/generated/ns/render.js.map +1 -1
- package/dist/esm/generated/ns/requests.d.ts +3 -1
- package/dist/esm/generated/ns/requests.js +3 -1
- package/dist/esm/generated/ns/requests.js.map +1 -1
- package/dist/esm/generated/ns/routines.d.ts +11 -4
- package/dist/esm/generated/ns/routines.js +11 -4
- package/dist/esm/generated/ns/routines.js.map +1 -1
- package/dist/esm/generated/ns/sandboxes.d.ts +292 -7
- package/dist/esm/generated/ns/sandboxes.js +444 -6
- package/dist/esm/generated/ns/sandboxes.js.map +1 -1
- package/dist/esm/generated/ns/usage.d.ts +1 -1
- package/dist/esm/generated/ns/usage.js +1 -1
- package/dist/esm/generated/ns/vision.d.ts +59 -17
- package/dist/esm/generated/ns/vision.js +59 -21
- package/dist/esm/generated/ns/vision.js.map +1 -1
- package/dist/esm/generated/types.d.ts +2787 -85
- package/dist/esm/helpers/sandboxes.d.ts +46 -3
- package/dist/esm/helpers/sandboxes.js +126 -13
- package/dist/esm/helpers/sandboxes.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/core/sse.ts +17 -5
- package/src/core/util.ts +1 -1
- package/src/generated/client.ts +28 -0
- package/src/generated/errors.ts +190 -0
- package/src/generated/ids.ts +15 -0
- package/src/generated/jobs.ts +4 -0
- package/src/generated/ns/actions.ts +483 -4
- package/src/generated/ns/agents.ts +461 -0
- package/src/generated/ns/images.ts +128 -0
- package/src/generated/ns/infer.ts +100 -3
- package/src/generated/ns/keys.ts +3 -1
- package/src/generated/ns/listeners.ts +296 -0
- package/src/generated/ns/orgs.ts +27 -1
- package/src/generated/ns/projects.ts +74 -0
- package/src/generated/ns/render.ts +277 -24
- package/src/generated/ns/requests.ts +3 -1
- package/src/generated/ns/routines.ts +11 -4
- package/src/generated/ns/sandboxes.ts +492 -7
- package/src/generated/ns/usage.ts +1 -1
- package/src/generated/ns/vision.ts +59 -21
- package/src/generated/types.ts +3511 -575
- package/src/helpers/sandboxes.ts +167 -14
- package/src/index.ts +1 -0
|
@@ -19,6 +19,39 @@ const describeOp = {
|
|
|
19
19
|
timeoutMs: 10000,
|
|
20
20
|
scope: "actions:read",
|
|
21
21
|
};
|
|
22
|
+
const uploadFileOp = {
|
|
23
|
+
id: "actionsUploadFile",
|
|
24
|
+
method: "POST",
|
|
25
|
+
path: "/v1/actions/files",
|
|
26
|
+
body: "bytes",
|
|
27
|
+
contentType: "application/octet-stream",
|
|
28
|
+
timeoutMs: 60000,
|
|
29
|
+
scope: "actions:run",
|
|
30
|
+
};
|
|
31
|
+
const deleteFileOp = {
|
|
32
|
+
id: "actionsDeleteFile",
|
|
33
|
+
method: "DELETE",
|
|
34
|
+
path: "/v1/actions/files/{file_id}",
|
|
35
|
+
params: ["file_id"],
|
|
36
|
+
timeoutMs: 10000,
|
|
37
|
+
scope: "actions:run",
|
|
38
|
+
};
|
|
39
|
+
const getFileOp = {
|
|
40
|
+
id: "actionsGetFile",
|
|
41
|
+
method: "GET",
|
|
42
|
+
path: "/v1/actions/files/{file_id}",
|
|
43
|
+
params: ["file_id"],
|
|
44
|
+
timeoutMs: 10000,
|
|
45
|
+
scope: "actions:run",
|
|
46
|
+
};
|
|
47
|
+
const mcpOp = {
|
|
48
|
+
id: "actionsMcp",
|
|
49
|
+
method: "POST",
|
|
50
|
+
path: "/v1/actions/mcp",
|
|
51
|
+
body: "json",
|
|
52
|
+
timeoutMs: 65000,
|
|
53
|
+
scope: "authenticated",
|
|
54
|
+
};
|
|
22
55
|
const listPacksOp = {
|
|
23
56
|
id: "actionsListPacks",
|
|
24
57
|
method: "GET",
|
|
@@ -51,6 +84,62 @@ const getPackManifestOp = {
|
|
|
51
84
|
timeoutMs: 10000,
|
|
52
85
|
scope: "actions:read",
|
|
53
86
|
};
|
|
87
|
+
const getRegistryBlobOp = {
|
|
88
|
+
id: "platformGetRegistryBlob",
|
|
89
|
+
method: "GET",
|
|
90
|
+
path: "/v1/actions/registry/blobs/{digest}",
|
|
91
|
+
params: ["digest"],
|
|
92
|
+
edge: true,
|
|
93
|
+
timeoutMs: 10000,
|
|
94
|
+
scope: "actions:read",
|
|
95
|
+
};
|
|
96
|
+
const headRegistryBlobOp = {
|
|
97
|
+
id: "platformHeadRegistryBlob",
|
|
98
|
+
method: "HEAD",
|
|
99
|
+
path: "/v1/actions/registry/blobs/{digest}",
|
|
100
|
+
params: ["digest"],
|
|
101
|
+
edge: true,
|
|
102
|
+
timeoutMs: 10000,
|
|
103
|
+
scope: "actions:tools:publish",
|
|
104
|
+
};
|
|
105
|
+
const putRegistryBlobOp = {
|
|
106
|
+
id: "platformPutRegistryBlob",
|
|
107
|
+
method: "PUT",
|
|
108
|
+
path: "/v1/actions/registry/blobs/{digest}",
|
|
109
|
+
params: ["digest"],
|
|
110
|
+
body: "bytes",
|
|
111
|
+
contentType: "application/octet-stream",
|
|
112
|
+
edge: true,
|
|
113
|
+
timeoutMs: 60000,
|
|
114
|
+
scope: "actions:tools:publish",
|
|
115
|
+
};
|
|
116
|
+
const listToolBlocksOp = {
|
|
117
|
+
id: "platformListToolBlocks",
|
|
118
|
+
method: "GET",
|
|
119
|
+
path: "/v1/actions/registry/blocks",
|
|
120
|
+
edge: true,
|
|
121
|
+
timeoutMs: 10000,
|
|
122
|
+
scope: "actions:tools:publish",
|
|
123
|
+
};
|
|
124
|
+
const createToolBlockOp = {
|
|
125
|
+
id: "platformCreateToolBlock",
|
|
126
|
+
method: "POST",
|
|
127
|
+
path: "/v1/actions/registry/blocks",
|
|
128
|
+
body: "json",
|
|
129
|
+
edge: true,
|
|
130
|
+
timeoutMs: 10000,
|
|
131
|
+
scope: "actions:tools:publish",
|
|
132
|
+
};
|
|
133
|
+
const liftToolBlockOp = {
|
|
134
|
+
id: "platformLiftToolBlock",
|
|
135
|
+
method: "POST",
|
|
136
|
+
path: "/v1/actions/registry/blocks/{block_id}/lift",
|
|
137
|
+
params: ["block_id"],
|
|
138
|
+
body: "json",
|
|
139
|
+
edge: true,
|
|
140
|
+
timeoutMs: 10000,
|
|
141
|
+
scope: "actions:tools:publish",
|
|
142
|
+
};
|
|
54
143
|
const listRegistryPacksOp = {
|
|
55
144
|
id: "platformListRegistryPacks",
|
|
56
145
|
method: "GET",
|
|
@@ -69,6 +158,15 @@ const publishPackOp = {
|
|
|
69
158
|
timeoutMs: 30000,
|
|
70
159
|
scope: "actions:write",
|
|
71
160
|
};
|
|
161
|
+
const deleteRegistryPackOp = {
|
|
162
|
+
id: "platformDeleteRegistryPack",
|
|
163
|
+
method: "DELETE",
|
|
164
|
+
path: "/v1/actions/registry/packs/{namespace}/{name}",
|
|
165
|
+
params: ["namespace", "name"],
|
|
166
|
+
edge: true,
|
|
167
|
+
timeoutMs: 30000,
|
|
168
|
+
scope: "actions:tools:publish",
|
|
169
|
+
};
|
|
72
170
|
const getRegistryPackOp = {
|
|
73
171
|
id: "platformGetRegistryPack",
|
|
74
172
|
method: "GET",
|
|
@@ -78,6 +176,15 @@ const getRegistryPackOp = {
|
|
|
78
176
|
timeoutMs: 10000,
|
|
79
177
|
scope: "actions:read",
|
|
80
178
|
};
|
|
179
|
+
const deleteRegistryPackVersionOp = {
|
|
180
|
+
id: "platformDeleteRegistryPackVersion",
|
|
181
|
+
method: "DELETE",
|
|
182
|
+
path: "/v1/actions/registry/packs/{namespace}/{name}/versions/{version}",
|
|
183
|
+
params: ["namespace", "name", "version"],
|
|
184
|
+
edge: true,
|
|
185
|
+
timeoutMs: 30000,
|
|
186
|
+
scope: "actions:tools:publish",
|
|
187
|
+
};
|
|
81
188
|
const getRegistryPackVersionOp = {
|
|
82
189
|
id: "platformGetRegistryPackVersion",
|
|
83
190
|
method: "GET",
|
|
@@ -87,6 +194,16 @@ const getRegistryPackVersionOp = {
|
|
|
87
194
|
timeoutMs: 10000,
|
|
88
195
|
scope: "actions:read",
|
|
89
196
|
};
|
|
197
|
+
const yankRegistryPackVersionOp = {
|
|
198
|
+
id: "platformYankRegistryPackVersion",
|
|
199
|
+
method: "PATCH",
|
|
200
|
+
path: "/v1/actions/registry/packs/{namespace}/{name}/versions/{version}",
|
|
201
|
+
params: ["namespace", "name", "version"],
|
|
202
|
+
body: "json",
|
|
203
|
+
edge: true,
|
|
204
|
+
timeoutMs: 10000,
|
|
205
|
+
scope: "actions:write",
|
|
206
|
+
};
|
|
90
207
|
const downloadPackOp = {
|
|
91
208
|
id: "platformDownloadPack",
|
|
92
209
|
method: "GET",
|
|
@@ -129,14 +246,27 @@ const listTriggersOp = {
|
|
|
129
246
|
exports.actionsOps = {
|
|
130
247
|
call: callOp,
|
|
131
248
|
describe: describeOp,
|
|
249
|
+
uploadFile: uploadFileOp,
|
|
250
|
+
deleteFile: deleteFileOp,
|
|
251
|
+
getFile: getFileOp,
|
|
252
|
+
mcp: mcpOp,
|
|
132
253
|
listPacks: listPacksOp,
|
|
133
254
|
getPack: getPackOp,
|
|
134
255
|
getPackTools: getPackToolsOp,
|
|
135
256
|
getPackManifest: getPackManifestOp,
|
|
257
|
+
getRegistryBlob: getRegistryBlobOp,
|
|
258
|
+
headRegistryBlob: headRegistryBlobOp,
|
|
259
|
+
putRegistryBlob: putRegistryBlobOp,
|
|
260
|
+
listToolBlocks: listToolBlocksOp,
|
|
261
|
+
createToolBlock: createToolBlockOp,
|
|
262
|
+
liftToolBlock: liftToolBlockOp,
|
|
136
263
|
listRegistryPacks: listRegistryPacksOp,
|
|
137
264
|
publishPack: publishPackOp,
|
|
265
|
+
deleteRegistryPack: deleteRegistryPackOp,
|
|
138
266
|
getRegistryPack: getRegistryPackOp,
|
|
267
|
+
deleteRegistryPackVersion: deleteRegistryPackVersionOp,
|
|
139
268
|
getRegistryPackVersion: getRegistryPackVersionOp,
|
|
269
|
+
yankRegistryPackVersion: yankRegistryPackVersionOp,
|
|
140
270
|
downloadPack: downloadPackOp,
|
|
141
271
|
search: searchOp,
|
|
142
272
|
listSubscriptions: listSubscriptionsOp,
|
|
@@ -177,6 +307,52 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
177
307
|
* (response mapping and output schema) for declarative HTTP actions; `sidecar` for JavaScript actions.
|
|
178
308
|
* Bills one `actions.call` once the action ran.
|
|
179
309
|
*
|
|
310
|
+
* From inside a sandbox whose grant has an actions rule (`api.actions.allow`; a deployed service's is the packs
|
|
311
|
+
* its b3os.yaml declares in `uses`), only the pack actions the rule names run, at a version it allows: a call
|
|
312
|
+
* that names a range (`@1`) runs the newest allowed version the range admits, so a service pinned to 1.0.1 keeps
|
|
313
|
+
* running 1.0.1 after 1.0.2 is published. Anything else is refused with `403 action_not_allowed` before the
|
|
314
|
+
* input is read, a connection is resolved or anything is billed. The same calls are the sandbox's tools over
|
|
315
|
+
* MCP (`POST /v1/actions/mcp`).
|
|
316
|
+
*
|
|
317
|
+
* **Hosted tools** (a preview; without `actions.tools` for your organization a `vm` call is
|
|
318
|
+
* `404 feature_not_enabled` and nothing runs). A `vm` action runs its publisher's command in a fresh microVM
|
|
319
|
+
* with no network, made for this call only and deleted before the call answers. A file field of the input
|
|
320
|
+
* schema (`x-b3os-file`) takes one of three file values (`ToolFileInput`): `{"$bytes": "<base64>", "name"}`
|
|
321
|
+
* inline, `{"$url": "https://...", "name"}` fetched by the node, or `{"$file": "tfile_..."}`, a file of your
|
|
322
|
+
* project uploaded with `POST /v1/actions/files` or returned by an earlier call. A `$url` is fetched before
|
|
323
|
+
* any VM is claimed, through the node's egress guard: `https` on port 443 only, a public address resolved once
|
|
324
|
+
* and pinned, at most 3 redirects, no `Authorization` or `Cookie` sent, and at most the action's
|
|
325
|
+
* `execution.maxInputMb` (`422 action_input_invalid` with a `url_*` `reason` otherwise); the bytes it reads
|
|
326
|
+
* bill `egress.bytes` to you, and the tool never sees the URL. Nothing is fetched for a call the spend quota,
|
|
327
|
+
* the concurrency limit or the node's slots refuse. A `$file` of another project is
|
|
328
|
+
* `404 resource_not_found`, and an output file of a tool B3OS has removed is `451 tool_blocked`. An output file comes back as a link (`ToolFileOutput`): `$link` is a signed
|
|
329
|
+
* `usercontent.b3os.org` URL served as a download, valid 1 hour, and `file` its `tfile_` ID, which a later
|
|
330
|
+
* call takes as `$file`. Per call, the action's `execution.maxInputMb` of input files, and `maxOutputMb` and
|
|
331
|
+
* `maxOutputFiles` of output files (`502 tool_failed`, `reason: output_too_large`); per organization,
|
|
332
|
+
* `actions.files_bytes` of files kept on the node (`429 quota_exceeded`; an output file it refuses after the
|
|
333
|
+
* command ran is billed compute and the floor); a node whose file store is full answers
|
|
334
|
+
* `503 tool_unavailable`, `reason: file_store`, and bills nothing. The budget is the least of
|
|
335
|
+
* `timeout_ms`, the action's own timeout and 60 seconds; a priced action refuses a `timeout_ms` below its own
|
|
336
|
+
* (`400 invalid_request`) here, and runs to its own timeout when a routine step calls it. Every call is a
|
|
337
|
+
* fresh VM, and a call that finished is charged even if the client had stopped waiting: send
|
|
338
|
+
* `Idempotency-Key` with a priced call, so a retry with the same key gets the stored answer and is not
|
|
339
|
+
* charged again (a routine step's retry with its key gets the answer of the call it started). Per
|
|
340
|
+
* organization: 120 tool calls started a minute, 4 at once, and 20 USD of publisher prices a month, counted
|
|
341
|
+
* on each node (`429`); per node, a limit of tool VMs at once (`503 tool_unavailable`, `reason: node_busy`).
|
|
342
|
+
* The answer has `tier: vm`, `cost` in micro-USD, and the `timing` phases `validate`, `fetch` (when a `$url`
|
|
343
|
+
* was given), `start`, `copy`, `unpack`, `run`, `collect`, `delete` and `cost`. A tool call bills
|
|
344
|
+
* `actions.tool_call` (the floor, once the command ran) instead of `actions.call`, the VM's
|
|
345
|
+
* `actions.vcpu_ms` and `actions.gib_ms`, and, once the tool answered, its output matched its schema and its
|
|
346
|
+
* output files were stored, the publisher's price as `actions.publisher_microusd`: `per_call` once,
|
|
347
|
+
* `per_second` for the `run` phase only, `per_input_mb` for the input file bytes plus the stdin JSON, each
|
|
348
|
+
* after the pack's free calls for your organization this month. A failure before the command ran bills
|
|
349
|
+
* nothing; a failure of the tool bills compute and the floor and no price, and for an org-private tool (your
|
|
350
|
+
* own organization's, `org.<org>/...`) it carries the first 4096 bytes of the command's `stderr`.
|
|
351
|
+
*
|
|
352
|
+
* A tool B3OS has removed answers `451 tool_blocked` with the block's ID, before anything is claimed or
|
|
353
|
+
* billed, here, as an MCP tool and as a routine step. A node that has never received the list of blocks from
|
|
354
|
+
* the edge runs no tool outside `io.b3os` (`503 tool_unavailable`, `reason: blocks_unknown`).
|
|
355
|
+
*
|
|
180
356
|
* `POST /v1/actions/call` · scope `actions:run` · served by the node
|
|
181
357
|
*/
|
|
182
358
|
call(body, options) {
|
|
@@ -187,13 +363,103 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
187
363
|
*
|
|
188
364
|
* Returns everything needed to call one action: input and output JSON Schemas, effect class, MCP annotations
|
|
189
365
|
* and tool definition, and the connections it needs. A reference with `@<major>` resolves to the newest
|
|
190
|
-
* matching release; the response shows the
|
|
366
|
+
* matching release that is not yanked (an exact version resolves even when yanked); the response shows the
|
|
367
|
+
* exact version. A hosted tool's action carries `tool`: its price, file limits, declared error codes, the
|
|
368
|
+
* node's start estimate for its archive and, after its first call on this node, `all_in`, what one call
|
|
369
|
+
* costs all in. An org-private tool (`org.<org>/...`) is described only to its own organization; to anyone
|
|
370
|
+
* else it is `404 pack_not_found`.
|
|
191
371
|
*
|
|
192
372
|
* `GET /v1/actions/describe` · scope `actions:read` · served by the node
|
|
193
373
|
*/
|
|
194
374
|
describe(params, options) {
|
|
195
375
|
return this._client._call(describeOp, { query: params }, options);
|
|
196
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* Upload a file for a hosted tool
|
|
379
|
+
*
|
|
380
|
+
* Stores the request body as a file a hosted tool's call can take as `{"$file": "tfile_..."}`. The body is the
|
|
381
|
+
* file's bytes, with `Content-Length`, at most 64 MiB. The node checks your organization's
|
|
382
|
+
* `actions.files_bytes` and its own file store before it writes the first byte, so a refused upload leaves
|
|
383
|
+
* nothing behind (`429 quota_exceeded`; `503 tool_unavailable`, `reason: file_store`). The file is kept
|
|
384
|
+
* 1 hour, readable only from your project, and then deleted. Uploading bills nothing.
|
|
385
|
+
*
|
|
386
|
+
* `POST /v1/actions/files` · scope `actions:run` · served by the node
|
|
387
|
+
*/
|
|
388
|
+
uploadFile(params, data, options) {
|
|
389
|
+
return this._client._call(uploadFileOp, { query: params, body: data }, options);
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Delete a hosted tool file
|
|
393
|
+
*
|
|
394
|
+
* Deletes a file of your project now, before its hour is up. Its links stop working (`404`).
|
|
395
|
+
*
|
|
396
|
+
* `DELETE /v1/actions/files/{file_id}` · scope `actions:run` · served by the node
|
|
397
|
+
*/
|
|
398
|
+
deleteFile(fileId, options) {
|
|
399
|
+
return this._client._call(deleteFileOp, { path: [fileId] }, options);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Get a hosted tool file
|
|
403
|
+
*
|
|
404
|
+
* Returns a file of your project (an upload, a fetched `$url` or an output file) with a fresh signed link,
|
|
405
|
+
* which expires at the earlier of the file's `expires_at` and 1 hour from now. An expired file, a deleted one
|
|
406
|
+
* and another project's are `404`.
|
|
407
|
+
*
|
|
408
|
+
* `GET /v1/actions/files/{file_id}` · scope `actions:run` · served by the node
|
|
409
|
+
*/
|
|
410
|
+
getFile(fileId, options) {
|
|
411
|
+
return this._client._call(getFileOp, { path: [fileId] }, options);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* A sandbox's tools over MCP
|
|
415
|
+
*
|
|
416
|
+
* The MCP server of one sandbox, for code inside it: an MCP client in the sandbox (an agent framework, a model
|
|
417
|
+
* harness) mounts `http://127.0.0.1:7700/v1/actions/mcp`, which the node puts in the sandbox's environment as
|
|
418
|
+
* `B3OS_MCP_URL` whenever its grant names packs or holds a product toolset's scopes. `tools/list` lists exactly
|
|
419
|
+
* the actions of the packs the sandbox's actions rule allows (`api.actions.allow`, at the versions it names,
|
|
420
|
+
* with `actions:read`; a deployed service's rule is the packs its b3os.yaml declares in `uses`), with each
|
|
421
|
+
* pack's own names, descriptions and input schemas (`io.b3os/wikipedia` serves `wikipedia__search`,
|
|
422
|
+
* `wikipedia__get-summary` and two more), then the product tools its scopes allow (node release 1119): the
|
|
423
|
+
* `browser_*` tools with `vision:run` and `vision:write` (`uses: browser`), `vision_scrape` and
|
|
424
|
+
* `vision_screenshot` with `vision:run` (`uses: vision`; `vision_extract` also needs `infer:run`), and the
|
|
425
|
+
* `render_*` tools with `render:run` (`uses: render`). A sandbox with neither lists nothing, and the server's
|
|
426
|
+
* instructions say why.
|
|
427
|
+
*
|
|
428
|
+
* A product tool call is that product's own request (`POST /v1/vision/scrape`, `POST
|
|
429
|
+
* /v1/vision/sessions/{session_id}/act`, `POST /v1/render/screenshots`, ...) sent on the sandbox's own
|
|
430
|
+
* connection: the route's scope check, admission (credits, the key's and the grant's spend caps, the
|
|
431
|
+
* operation's limits), meters and request log record are exactly a direct call's, and this request's record
|
|
432
|
+
* carries `action` with the toolset as `pack` and `<product>/<operationId>` as `ref`. The actions product's own
|
|
433
|
+
* rate does not apply to it. A product tool the grant lacks a scope for answers as a tool result with
|
|
434
|
+
* `isError: true` and `403 forbidden` naming the scope and the `uses` entry that grants it.
|
|
435
|
+
*
|
|
436
|
+
* Each pack `tools/call` runs under the sandbox's grant (its scopes, connections and spend cap) exactly as the same
|
|
437
|
+
* `POST /v1/actions/call` would: the same checks (`actions:run`, the organization's actions rate, credits and
|
|
438
|
+
* spend caps), the same meters (`actions.call` and `egress.bytes`, or a hosted tool's units) and the same
|
|
439
|
+
* request log line, with `action` naming the pack, action and tool. A refused or failed call answers as a tool
|
|
440
|
+
* result with `isError: true` and the problem (`action_not_allowed`, `spend_cap_exceeded`,
|
|
441
|
+
* `connection_required`, ...), so the model reads why; `structuredContent.error` carries the code and status.
|
|
442
|
+
* A successful call's text is the output as compact JSON, cut at 16,000 characters with a line saying how much
|
|
443
|
+
* was left out; `structuredContent` is the output when it is an object that was not cut. `initialize`,
|
|
444
|
+
* `tools/list` and `ping` bill nothing.
|
|
445
|
+
*
|
|
446
|
+
* Transport: Streamable HTTP without sessions, JSON answers only (no event stream: `GET` and `DELETE` answer
|
|
447
|
+
* `405`), protocol revisions 2026-07-28 (stateless, with the mirrored `MCP-Protocol-Version`, `Mcp-Method` and
|
|
448
|
+
* `Mcp-Name` headers) and 2024-11-05 through 2025-11-25 (a request after `initialize` names its revision in
|
|
449
|
+
* `MCP-Protocol-Version`), as the edge's `/mcp`. Every JSON-RPC answer is `200`, its errors (an unknown method
|
|
450
|
+
* or tool, bad params) included. What the transport cannot take is an HTTP error with a problem whose detail
|
|
451
|
+
* names the JSON-RPC code: `400 invalid_request` for a body that is not JSON (`-32700`), a batch (one JSON-RPC
|
|
452
|
+
* message per request, `-32600`), an unsupported revision (`-32022`) or headers that disagree with the body on
|
|
453
|
+
* 2026-07-28 (`-32020`); `415 unsupported_media_type` for a body that is not `application/json`; and
|
|
454
|
+
* `403 forbidden` (`reason: origin`) for a request with an `Origin` header, so no page a browser in the sandbox
|
|
455
|
+
* opens can call the tools. Only code inside a sandbox may call it: an API key gets `403 forbidden` with
|
|
456
|
+
* `reason: sandbox_only`; use `https://beta-api.b3os.org/mcp?packs=<pack>` with a key instead.
|
|
457
|
+
*
|
|
458
|
+
* `POST /v1/actions/mcp` · scope `authenticated` · served by the node
|
|
459
|
+
*/
|
|
460
|
+
mcp(body, options) {
|
|
461
|
+
return this._client._call(mcpOp, { body }, options);
|
|
462
|
+
}
|
|
197
463
|
/**
|
|
198
464
|
* List packs
|
|
199
465
|
*
|
|
@@ -207,7 +473,10 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
207
473
|
/**
|
|
208
474
|
* Get a pack
|
|
209
475
|
*
|
|
210
|
-
* Returns a pack version (the latest unless `version` is given
|
|
476
|
+
* Returns a pack version (the latest that is not yanked unless `version` is given; an exact `version` is
|
|
477
|
+
* returned even when yanked) with its actions, triggers, connections and egress hosts. Each action of a hosted
|
|
478
|
+
* tool carries `tool` (`ActionTool`), with `start_estimate_ms` and `all_in`. An org-private tool is returned
|
|
479
|
+
* only to its own organization; to anyone else it is `404 pack_not_found`.
|
|
211
480
|
*
|
|
212
481
|
* `GET /v1/actions/packs/{namespace}/{name}` · scope `actions:read` · served by the node
|
|
213
482
|
*/
|
|
@@ -238,10 +507,109 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
238
507
|
getPackManifest(namespace, name, version, options) {
|
|
239
508
|
return this._client._call(getPackManifestOp, { path: [namespace, name, version] }, options);
|
|
240
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Download a hosted tool's archive
|
|
512
|
+
*
|
|
513
|
+
* Redirects to a short-lived signed URL for the archive (`application/octet-stream`). Served to a node's
|
|
514
|
+
* registry sync (a node-signed read), to the organization the publisher list names for a namespace that
|
|
515
|
+
* published a pack naming this archive, to the organization whose org-private versions name it, to an
|
|
516
|
+
* organization that uploaded these bytes, and to B3's organizations; to anyone else it is `404`, as if it
|
|
517
|
+
* did not exist. Verify the sha256 before use.
|
|
518
|
+
*
|
|
519
|
+
* `GET /v1/actions/registry/blobs/{digest}` · scope `actions:read` · served by beta-api.b3os.org
|
|
520
|
+
*/
|
|
521
|
+
getRegistryBlob(digest, options) {
|
|
522
|
+
return this._client._call(getRegistryBlobOp, { path: [digest] }, options, "application/gzip, application/octet-stream", "bytes");
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Check for a hosted tool's archive
|
|
526
|
+
*
|
|
527
|
+
* Answers `200` with the archive's `Content-Length` when the blob store holds `digest` and the caller holds
|
|
528
|
+
* it (B3's organizations hold every archive; see the upload), else `404` (a HEAD answer carries no body), so
|
|
529
|
+
* the client uploads it. `b3os tool publish` asks before it uploads. Needs the `actions.tools` and
|
|
530
|
+
* `actions.tools_publish` flags and the scope `actions:tools:publish`.
|
|
531
|
+
*
|
|
532
|
+
* `HEAD /v1/actions/registry/blobs/{digest}` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
533
|
+
*/
|
|
534
|
+
headRegistryBlob(digest, options) {
|
|
535
|
+
return this._client._call(headRegistryBlobOp, { path: [digest] }, options);
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Upload a hosted tool's archive
|
|
539
|
+
*
|
|
540
|
+
* Stores a hosted tool's archive under its sha256, before the pack that names it is published
|
|
541
|
+
* (`platformPublishPack`). The body is the archive's bytes; `Content-Length` is required and at most
|
|
542
|
+
* 67108864 (64 MiB), and is checked before the body is read. The edge hashes the body as it streams it to
|
|
543
|
+
* storage: a body whose sha256 is not `digest`, or whose length is not `Content-Length`, is deleted and
|
|
544
|
+
* refused with `422 pack_invalid`. No `Content-Length` is `400 invalid_request`. A digest already stored
|
|
545
|
+
* answers `200` and stores nothing, so a retry is safe; for an organization that is not one of B3's and does
|
|
546
|
+
* not hold it yet, only after the body hashed to `digest` (else `422 pack_invalid`), which makes it a holder
|
|
547
|
+
* of the archive. An organization holds an archive it uploaded and one a version of a namespace it owns
|
|
548
|
+
* names. Needs the `actions.tools` and `actions.tools_publish`
|
|
549
|
+
* flags and the scope `actions:tools:publish`, which `*` and `actions:*` never grant. An organization that is
|
|
550
|
+
* not one of B3's may upload only while its live org-private archives plus this one stay within
|
|
551
|
+
* `actions.tools.archive_bytes` (1 GiB), checked from `Content-Length` before the body is read
|
|
552
|
+
* (`422 limit_exceeded`).
|
|
553
|
+
*
|
|
554
|
+
* `PUT /v1/actions/registry/blobs/{digest}` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
555
|
+
*/
|
|
556
|
+
putRegistryBlob(digest, data, options) {
|
|
557
|
+
return this._client._call(putRegistryBlobOp, { path: [digest], body: data }, options);
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* List hosted tool blocks
|
|
561
|
+
*
|
|
562
|
+
* Every block, lifted ones included, newest first. B3's organizations only, with the scope `actions:tools:publish`.
|
|
563
|
+
*
|
|
564
|
+
* `GET /v1/actions/registry/blocks` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
565
|
+
*/
|
|
566
|
+
listToolBlocks(params, options) {
|
|
567
|
+
return this._client._list(listToolBlocksOp, { query: params }, options);
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Block a hosted tool
|
|
571
|
+
*
|
|
572
|
+
* Removes a hosted tool from service on every node: its publisher (every pack of the namespace), a pack, one
|
|
573
|
+
* version, or one action (of every version, or of one). Nodes read every block on their budgets poll, every
|
|
574
|
+
* 5 seconds, and from then answer `451 tool_blocked` before anything is claimed or billed, on every surface;
|
|
575
|
+
* a node keeps the blocks it has seen on disk, so a restart without the edge still refuses. A call already
|
|
576
|
+
* running is not stopped (a call lasts at most 60 seconds). Only B3's organizations may block, with the scope
|
|
577
|
+
* `actions:tools:publish`; one key or session is enough. A block of `io.b3os` is refused in this version
|
|
578
|
+
* (`400 invalid_request`: it needs a second person), and so is a `pack` outside `publisher`. `reason` and `requested_by` stay at the edge: nodes and
|
|
579
|
+
* publishers never see them. Only a lift signed with an `io.b3os` release key ends a block.
|
|
580
|
+
*
|
|
581
|
+
* `POST /v1/actions/registry/blocks` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
582
|
+
*/
|
|
583
|
+
createToolBlock(body, options) {
|
|
584
|
+
return this._client._call(createToolBlockOp, { body }, options);
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* Lift a hosted tool block
|
|
588
|
+
*
|
|
589
|
+
* Ends a block, with a signature by an `io.b3os` release key (the production release key; a `#dev-` key off
|
|
590
|
+
* production), made with `packages/packs`' release request and attach. `sig` is the base64url (no padding)
|
|
591
|
+
* Ed25519 signature over the UTF-8 bytes of
|
|
592
|
+
*
|
|
593
|
+
* ```
|
|
594
|
+
* "b3os-tool-lift-v1\n" + id + "\n" + scope + "\n" + publisher + "\n" + (pack or "-") + "\n" + (version or "-") + "\n" + (action or "-") + "\n" + lifted_at
|
|
595
|
+
* ```
|
|
596
|
+
*
|
|
597
|
+
* with `lifted_at` exactly as the body sends it. The edge checks it, and every node checks it again from the
|
|
598
|
+
* budgets feed against its own `io.b3os` keys: a lift that does not verify there is ignored and the block
|
|
599
|
+
* stays in force. A missing or wrong signature, or a key that is not an `io.b3os` release key, is
|
|
600
|
+
* `422 pack_signature_invalid`; a block already lifted is `409 conflict`. B3's organizations only, with the
|
|
601
|
+
* scope `actions:tools:publish`.
|
|
602
|
+
*
|
|
603
|
+
* `POST /v1/actions/registry/blocks/{block_id}/lift` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
604
|
+
*/
|
|
605
|
+
liftToolBlock(blockId, body, options) {
|
|
606
|
+
return this._client._call(liftToolBlockOp, { path: [blockId], body }, options);
|
|
607
|
+
}
|
|
241
608
|
/**
|
|
242
609
|
* List registry packs
|
|
243
610
|
*
|
|
244
|
-
* Lists packs in the registry with their latest version. Nodes use it to keep their local index current.
|
|
611
|
+
* Lists packs in the registry with their latest version. Nodes use it to keep their local index current. An
|
|
612
|
+
* org-private pack is listed only to its own organization (and to nodes).
|
|
245
613
|
*
|
|
246
614
|
* `GET /v1/actions/registry/packs` · scope `actions:read` · served by beta-api.b3os.org
|
|
247
615
|
*/
|
|
@@ -255,13 +623,59 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
255
623
|
* most 2,000 files and 16 MiB once decompressed; other organizations are refused before the upload is read). The
|
|
256
624
|
* manifest's `signature` must verify: `sig` is Ed25519 over `b3pack-sig-v1\n<pack>\n<version>\n<contentHash>`
|
|
257
625
|
* with the publisher key `kid`, and `contentHash` covers the bundle with the signature removed. Versions are
|
|
258
|
-
* immutable. In the beta only
|
|
626
|
+
* immutable. In the beta only B3's organizations may publish, into `io.b3os` or a namespace the registry's
|
|
627
|
+
* publisher list names for the caller's organization.
|
|
628
|
+
*
|
|
629
|
+
* A pack with a `tool` block (a hosted tool) also needs: the `actions.tools` and `actions.tools_publish` flags
|
|
630
|
+
* for the caller's organization (`404 feature_not_enabled`, even while `actions.tools` is on for every
|
|
631
|
+
* organization), the scope `actions:tools:publish`, which `*` and `actions:*` never grant (`403 forbidden`
|
|
632
|
+
* with `required_scope`), its archive already uploaded with the sha256 and size the manifest names
|
|
633
|
+
* (`PUT /v1/actions/registry/blobs/{digest}`; else `422 pack_invalid` with the pointer
|
|
634
|
+
* `/tool/bundle/archive`), and the hosted-tool, price, schema-cap and escalation rules of the b3pack publish
|
|
635
|
+
* checks (13 to 23; a change of base, size, network, egress or price inside one major is `422 pack_invalid`).
|
|
636
|
+
* The version records who published it (`published_by`). A namespace the publisher list names for an
|
|
637
|
+
* organization that is not one of B3's publishes only while that organization holds `actions.tools_publish`;
|
|
638
|
+
* its versions are signed by the namespace's own key, as before.
|
|
639
|
+
*
|
|
640
|
+
* **Org-private tools.** Any organization holding both flags publishes a tool pack into its own namespace,
|
|
641
|
+
* `org.<its org id in host-safe form>` (`org.org-01m5t68q1b590rj801nbzsqzkk/pandoc`). Another organization's namespace is
|
|
642
|
+
* `403 publisher_not_allowed`, and so is an `org.` pack without a tool block. The manifest is unsigned (one
|
|
643
|
+
* with a `signature` is `422 pack_signature_invalid`): after every check the edge signs
|
|
644
|
+
* `b3pack-sig-v1\n<pack>\n<version>\n<contentHash>` with the organization's key, an Ed25519 key whose seed is
|
|
645
|
+
* HKDF-SHA256 of the edge's secret with salt `b3os-pack-org-key/v1` and info `<org id>#g<generation>`, and
|
|
646
|
+
* the record carries `signature.kid` (`org.<org>#g<generation>`) and `signature.public_key`. No private
|
|
647
|
+
* key is stored. Only the organization itself can see the pack: to every other caller it is
|
|
648
|
+
* `404 pack_not_found` on describe, call, MCP, the registry list and the archive download. Per organization,
|
|
649
|
+
* at most 10 org-private tools, 50 versions per tool and 1 GiB of archives that live versions name
|
|
650
|
+
* (`422 limit_exceeded` with `limit`). A dev version, `<x.y.z>-dev.<unix seconds>`, does not make its pack
|
|
651
|
+
* count toward the tools and is not counted toward the versions, but its archive counts toward the archive
|
|
652
|
+
* bytes, and packs with nothing but a dev version are held to the tools number on their own (`this
|
|
653
|
+
* organization has <n> org-private tools with only a dev version, the most it may keep; delete one first`).
|
|
654
|
+
* Publishing one deletes the pack's earlier dev versions (`dev: true`). An organization that is not one of
|
|
655
|
+
* B3's publishes only hosted tools (any other pack is `403 publisher_not_allowed`, "only hosted tools are
|
|
656
|
+
* published from outside B3 in the beta"), and names only an archive it holds: one whose bytes it uploaded,
|
|
657
|
+
* or one a version of a namespace it owns already names. Any other archive is `422 pack_invalid` as one never
|
|
658
|
+
* uploaded, so the sha256 and size a listed tool's manifest shows are not enough to name it.
|
|
259
659
|
*
|
|
260
660
|
* `POST /v1/actions/registry/packs` · scope `actions:write` · served by beta-api.b3os.org
|
|
261
661
|
*/
|
|
262
662
|
publishPack(data, options) {
|
|
263
663
|
return this._client._call(publishPackOp, { body: data }, options);
|
|
264
664
|
}
|
|
665
|
+
/**
|
|
666
|
+
* Delete an org-private tool
|
|
667
|
+
*
|
|
668
|
+
* Deletes every version of an org-private tool of your own organization (`org.<your org>/<name>`): their
|
|
669
|
+
* records and bundles, and each archive that no live version names any more, from the blob store. Nodes
|
|
670
|
+
* unload the versions at their next registry pass. A listed pack is never deleted (`403
|
|
671
|
+
* publisher_not_allowed`, "only org-private tools are deleted; a listed version is yanked"); another
|
|
672
|
+
* organization's pack is `404 pack_not_found`. Needs the scope `actions:tools:publish`.
|
|
673
|
+
*
|
|
674
|
+
* `DELETE /v1/actions/registry/packs/{namespace}/{name}` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
675
|
+
*/
|
|
676
|
+
deleteRegistryPack(namespace, name, options) {
|
|
677
|
+
return this._client._call(deleteRegistryPackOp, { path: [namespace, name] }, options);
|
|
678
|
+
}
|
|
265
679
|
/**
|
|
266
680
|
* Get a registry pack
|
|
267
681
|
*
|
|
@@ -272,6 +686,19 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
272
686
|
getRegistryPack(namespace, name, options) {
|
|
273
687
|
return this._client._call(getRegistryPackOp, { path: [namespace, name] }, options);
|
|
274
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* Delete a version of an org-private tool
|
|
691
|
+
*
|
|
692
|
+
* Deletes one version of an org-private tool of your own organization: its record and bundle, and its archive
|
|
693
|
+
* when no other live version names it. Nodes unload it at their next registry pass. A listed version is
|
|
694
|
+
* never deleted (`403 publisher_not_allowed`, "only org-private tools are deleted; a listed version is
|
|
695
|
+
* yanked"). Needs the scope `actions:tools:publish`.
|
|
696
|
+
*
|
|
697
|
+
* `DELETE /v1/actions/registry/packs/{namespace}/{name}/versions/{version}` · scope `actions:tools:publish` · served by beta-api.b3os.org
|
|
698
|
+
*/
|
|
699
|
+
deleteRegistryPackVersion(namespace, name, version, options) {
|
|
700
|
+
return this._client._call(deleteRegistryPackVersionOp, { path: [namespace, name, version] }, options);
|
|
701
|
+
}
|
|
275
702
|
/**
|
|
276
703
|
* Get a registry pack version
|
|
277
704
|
*
|
|
@@ -282,6 +709,21 @@ class ActionsAPI extends namespace_ts_1.Namespace {
|
|
|
282
709
|
getRegistryPackVersion(namespace, name, version, options) {
|
|
283
710
|
return this._client._call(getRegistryPackVersionOp, { path: [namespace, name, version] }, options);
|
|
284
711
|
}
|
|
712
|
+
/**
|
|
713
|
+
* Yank or restore a pack version
|
|
714
|
+
*
|
|
715
|
+
* Sets whether a version is yanked. A yanked version stays published and resolves only when pinned exactly
|
|
716
|
+
* (`@1.0.0`); a range or major (`@1`) skips it, so new callers move to another version and pinned ones keep
|
|
717
|
+
* working. It moves the pack's `updated_at`, which nodes read on their budgets poll, so each node rereads the
|
|
718
|
+
* pack's records within seconds. Allowed for the namespace's owner (your own `org.` namespace, or the
|
|
719
|
+
* organization the publisher list names for it) and for B3's organizations, with the scope
|
|
720
|
+
* `actions:tools:publish` for a hosted tool's pack and `actions:write` for any other.
|
|
721
|
+
*
|
|
722
|
+
* `PATCH /v1/actions/registry/packs/{namespace}/{name}/versions/{version}` · scope `actions:write` · served by beta-api.b3os.org
|
|
723
|
+
*/
|
|
724
|
+
yankRegistryPackVersion(namespace, name, version, body, options) {
|
|
725
|
+
return this._client._call(yankRegistryPackVersionOp, { path: [namespace, name, version], body }, options);
|
|
726
|
+
}
|
|
285
727
|
/**
|
|
286
728
|
* Download a pack version
|
|
287
729
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/generated/ns/actions.ts"],"names":[],"mappings":";AAAA,4GAA4G;;;AAG5G,0DAAoD;AAKpD,MAAM,MAAM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IAED;;;;;;;;;OASG;IACH,iBAAiB,CACf,MAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CACvB,mBAAmB,EACnB,EAAE,KAAK,EAAE,MAAM,EAAE,EACjB,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACH,eAAe,CAAC,cAAsB,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAwB,iBAAiB,EAAE,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;OAQG;IACH,YAAY,CACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAkC,cAAc,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACzG,CAAC;CACF;AAxQD,gCAwQC"}
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/generated/ns/actions.ts"],"names":[],"mappings":";AAAA,4GAA4G;;;AAG5G,0DAAoD;AAKpD,MAAM,MAAM,GAAO;IACjB,EAAE,EAAE,aAAa;IACjB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,aAAa;CACrB,CAAC;AACF,MAAM,UAAU,GAAO;IACrB,EAAE,EAAE,iBAAiB;IACrB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,sBAAsB;IAC5B,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,cAAc;CACtB,CAAC;AACF,MAAM,YAAY,GAAO;IACvB,EAAE,EAAE,mBAAmB;IACvB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,0BAA0B;IACvC,SAAS,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