@lightspeed-ai/sdk 0.4.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.
- package/README.md +68 -0
- package/dist/client.d.ts +65 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +198 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +20 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +53 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/methods.d.ts +3308 -0
- package/dist/generated/methods.d.ts.map +1 -0
- package/dist/generated/methods.js +2085 -0
- package/dist/generated/methods.js.map +1 -0
- package/dist/generated/types.d.ts +8048 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +6 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/generated/workflow-manifest.d.ts +223 -0
- package/dist/generated/workflow-manifest.d.ts.map +1 -0
- package/dist/generated/workflow-manifest.js +258 -0
- package/dist/generated/workflow-manifest.js.map +1 -0
- package/dist/generated/workflow-types.d.ts +587 -0
- package/dist/generated/workflow-types.d.ts.map +1 -0
- package/dist/generated/workflow-types.js +6 -0
- package/dist/generated/workflow-types.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/workflow.d.ts +221 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +346 -0
- package/dist/workflow.js.map +1 -0
- package/examples/temporal-activity.ts +32 -0
- package/package.json +55 -0
- package/release.json +4 -0
- package/schema/api.schema.json +18595 -0
- package/schema/workflow.json +253 -0
- package/schema/workflow.schema.json +1237 -0
- package/src/client.ts +323 -0
- package/src/errors.ts +73 -0
- package/src/generated/methods.ts +3348 -0
- package/src/generated/types.ts +8319 -0
- package/src/generated/workflow-manifest.ts +258 -0
- package/src/generated/workflow-types.ts +612 -0
- package/src/index.ts +31 -0
- package/src/workflow.ts +475 -0
|
@@ -0,0 +1,3308 @@
|
|
|
1
|
+
import type * as Api from "./types.js";
|
|
2
|
+
export declare const METHODS: readonly ["vfs/workspaces/files/read", "initialize", "session/start", "session/managed/start", "session/read", "session/list", "session/config/put", "session/rename", "session/metadata/put", "session/retention/put", "session/close", "session/delete", "session/share", "session/events/read", "session/context/append", "session/context/remove", "session/context/replace", "session/context/compact", "session/runs/start", "session/runs/list", "session/runs/read", "session/runs/cancel", "session/runs/approvals/decide", "session/runs/steer", "session/skills/list", "session/profiles/apply", "session/environments/activate", "session/environments/deactivate", "environments/credentials/bind", "environments/credentials/list", "environments/credentials/unbind", "environments/create", "environments/read", "environments/list", "environments/close", "environments/external/create", "environments/ingress/put", "environments/power/put", "environments/idle-policy/put", "environments/provider-bindings/list", "environments/provider-bindings/read", "environments/templates/list", "environments/templates/read", "environments/jobs/create", "environments/jobs/read", "environments/jobs/cancel", "environments/registration-keys/create", "environments/registration-keys/read", "environments/registration-keys/list", "environments/registration-keys/revoke", "transcriptions/start", "transcriptions/read", "transcriptions/cancel", "models/defaults/read", "models/defaults/put", "models/list", "profiles/create", "profiles/read", "profiles/list", "profiles/put", "profiles/delete", "blobs/put", "blobs/read", "blobs/has", "vfs/snapshots/commit", "vfs/snapshots/read", "vfs/workspaces/create", "vfs/workspaces/read", "vfs/workspaces/list", "vfs/workspaces/update", "vfs/workspaces/delete", "mcp/servers/put", "mcp/servers/auth/discover", "mcp/servers/tools/discover", "mcp/servers/read", "mcp/servers/list", "mcp/servers/delete", "auth/grants/import", "auth/grants/lease", "auth/grants/read", "auth/grants/list", "auth/grants/revoke", "auth/clients/create", "auth/clients/read", "auth/clients/list", "auth/clients/delete", "auth/flows/start", "auth/flows/read", "auth/providers/create", "auth/providers/read", "auth/providers/list", "auth/providers/delete", "auth/github/installations/list", "auth/github/installations/grant", "bots/create", "bots/put", "bots/read", "bots/list", "bots/close", "bots/delete", "bots/state/read", "bots/sessions/rotate", "bots/triggers/put", "bots/triggers/read", "bots/triggers/list", "bots/triggers/delete", "bots/events/admit", "bots/events/replay", "bots/events/list", "bots/events/read", "bots/filters/test", "channels/accounts/create", "channels/accounts/put", "channels/accounts/read", "channels/accounts/list", "channels/accounts/delete", "channels/inbound/admit", "channels/pairings/list", "channels/pairings/delete", "channels/conversations/read", "deployment/environment-provider-bindings/list", "deployment/universes/create", "deployment/universes/list", "deployment/universes/read", "deployment/universes/slug/put", "deployment/universes/delete", "deployment/api-keys/create", "deployment/api-keys/list", "deployment/api-keys/rotate", "deployment/api-keys/revoke", "deployment/environment-providers/put", "deployment/environment-providers/list", "deployment/environment-providers/read", "deployment/environment-providers/delete", "deployment/environment-providers/bindings/put", "deployment/environment-providers/bindings/delete", "deployment/environments/adopt", "deployment/channels/accounts/list"];
|
|
3
|
+
export declare const METHOD_INFO: {
|
|
4
|
+
readonly "vfs/workspaces/files/read": {
|
|
5
|
+
readonly scope: "universe";
|
|
6
|
+
readonly access: {
|
|
7
|
+
readonly action: "read";
|
|
8
|
+
readonly kind: "universe";
|
|
9
|
+
};
|
|
10
|
+
readonly summary: "Read a workspace file";
|
|
11
|
+
readonly description: "Reads bytes at a path in the current workspace head.";
|
|
12
|
+
};
|
|
13
|
+
readonly initialize: {
|
|
14
|
+
readonly scope: "connection";
|
|
15
|
+
readonly access: {
|
|
16
|
+
readonly kind: "connection";
|
|
17
|
+
};
|
|
18
|
+
readonly summary: "Inspect the Lightspeed protocol";
|
|
19
|
+
readonly description: "Returns protocol version, server identity, credential scope and allowed groups before universe selection. Requires authentication in authenticated mode; no universe header is accepted.";
|
|
20
|
+
};
|
|
21
|
+
readonly "session/start": {
|
|
22
|
+
readonly scope: "universe";
|
|
23
|
+
readonly access: {
|
|
24
|
+
readonly action: "create_session";
|
|
25
|
+
readonly kind: "universe";
|
|
26
|
+
};
|
|
27
|
+
readonly summary: "Create or reopen a session";
|
|
28
|
+
readonly description: "Creates a session, unshared unless access says universe, with optional config/profile setup. Profile metadata and retention supply defaults that explicit values override; the config's default environment attachment becomes active. Retrying an existing id returns that session and keeps its audience.";
|
|
29
|
+
};
|
|
30
|
+
readonly "session/managed/start": {
|
|
31
|
+
readonly scope: "universe";
|
|
32
|
+
readonly access: {
|
|
33
|
+
readonly action: "create_session";
|
|
34
|
+
readonly kind: "universe";
|
|
35
|
+
};
|
|
36
|
+
readonly summary: "Create or reopen a managed session";
|
|
37
|
+
readonly description: "Creates a session with immutable lifecycle and workflow-tool declarations using explicit bound dispatch. Profile metadata, retention, and default environment attachment selection follow session/start semantics. Retrying an id requires the same managed declaration; an ordinary session cannot be upgraded.";
|
|
38
|
+
};
|
|
39
|
+
readonly "session/read": {
|
|
40
|
+
readonly scope: "universe";
|
|
41
|
+
readonly access: {
|
|
42
|
+
readonly action: "read";
|
|
43
|
+
readonly kind: "universe";
|
|
44
|
+
};
|
|
45
|
+
readonly summary: "Read a session";
|
|
46
|
+
readonly description: "Returns current state plus a bounded newest-first run-summary page. Follow nextRunCursor with session/runs/list when hasOlderRuns is true; use session/events/read for the transcript.";
|
|
47
|
+
};
|
|
48
|
+
readonly "session/list": {
|
|
49
|
+
readonly scope: "universe";
|
|
50
|
+
readonly access: {
|
|
51
|
+
readonly action: "read";
|
|
52
|
+
readonly kind: "universe";
|
|
53
|
+
};
|
|
54
|
+
readonly summary: "List sessions";
|
|
55
|
+
readonly description: "Returns a cursor-paginated summary list ordered by most recent update, optionally narrowed by the audience of each session's root: createdBy, visibility, or visibleTo (shared with the universe or created by that actor). Pages may shift while sessions are changing.";
|
|
56
|
+
};
|
|
57
|
+
readonly "session/config/put": {
|
|
58
|
+
readonly scope: "universe";
|
|
59
|
+
readonly access: {
|
|
60
|
+
readonly action: "control_session";
|
|
61
|
+
readonly kind: "universe";
|
|
62
|
+
};
|
|
63
|
+
readonly summary: "Replace session configuration";
|
|
64
|
+
readonly description: "Replaces the complete sparse config while the session is idle. Use the current config revision for safe read-modify-write; omitted features are revoked, an omitted model preserves the current model, and an identical document is a no-op.";
|
|
65
|
+
};
|
|
66
|
+
readonly "session/rename": {
|
|
67
|
+
readonly scope: "universe";
|
|
68
|
+
readonly access: {
|
|
69
|
+
readonly action: "control_session";
|
|
70
|
+
readonly kind: "universe";
|
|
71
|
+
};
|
|
72
|
+
readonly summary: "Rename a session";
|
|
73
|
+
readonly description: "Sets the display name, or clears it when displayName is omitted.";
|
|
74
|
+
};
|
|
75
|
+
readonly "session/metadata/put": {
|
|
76
|
+
readonly scope: "universe";
|
|
77
|
+
readonly access: {
|
|
78
|
+
readonly action: "control_session";
|
|
79
|
+
readonly kind: "universe";
|
|
80
|
+
};
|
|
81
|
+
readonly summary: "Replace session metadata";
|
|
82
|
+
readonly description: "Replaces the complete descriptive key/value map (bounded like session/start); an omitted or empty map clears it. Record-only: the event log and updatedAtMs are untouched.";
|
|
83
|
+
};
|
|
84
|
+
readonly "session/retention/put": {
|
|
85
|
+
readonly scope: "universe";
|
|
86
|
+
readonly access: {
|
|
87
|
+
readonly action: "control_session";
|
|
88
|
+
readonly kind: "universe";
|
|
89
|
+
};
|
|
90
|
+
readonly summary: "Replace session retention";
|
|
91
|
+
readonly description: "Sets the positive close-relative automatic-deletion duration on a retention root, or clears it with null. Forks and delegated children inherit the root policy and cannot override it.";
|
|
92
|
+
};
|
|
93
|
+
readonly "session/close": {
|
|
94
|
+
readonly scope: "universe";
|
|
95
|
+
readonly access: {
|
|
96
|
+
readonly action: "stop_session";
|
|
97
|
+
readonly kind: "universe";
|
|
98
|
+
};
|
|
99
|
+
readonly summary: "Close a session";
|
|
100
|
+
readonly description: "Closes an idle session and detaches its environment bindings. Force mode cancels active work, drops queued runs, and can recover a session whose workflow is unavailable.";
|
|
101
|
+
};
|
|
102
|
+
readonly "session/delete": {
|
|
103
|
+
readonly scope: "universe";
|
|
104
|
+
readonly access: {
|
|
105
|
+
readonly action: "delete_session";
|
|
106
|
+
readonly kind: "universe";
|
|
107
|
+
};
|
|
108
|
+
readonly summary: "Delete closed sessions";
|
|
109
|
+
readonly description: "Permanently removes a closed retention-tree leaf, or its closed history-fork and delegated-child subtree when cascade is true. Config-only clones are never included.";
|
|
110
|
+
};
|
|
111
|
+
readonly "session/share": {
|
|
112
|
+
readonly scope: "universe";
|
|
113
|
+
readonly access: {
|
|
114
|
+
readonly action: "share_session";
|
|
115
|
+
readonly kind: "universe";
|
|
116
|
+
};
|
|
117
|
+
readonly summary: "Share a session with the universe";
|
|
118
|
+
readonly description: "Moves an unshared root session to universe visibility, one way; its delegated children follow it. Refused on a bot's session, a delegated child, and a session already shared. Core applies it for any caller of the method; who may share is the caller's gate's decision.";
|
|
119
|
+
};
|
|
120
|
+
readonly "session/events/read": {
|
|
121
|
+
readonly scope: "universe";
|
|
122
|
+
readonly access: {
|
|
123
|
+
readonly action: "read";
|
|
124
|
+
readonly kind: "universe";
|
|
125
|
+
};
|
|
126
|
+
readonly summary: "Read the session event stream";
|
|
127
|
+
readonly description: "Returns chronological events. Forward (default) follows after and supports long-polling. Backward reads the latest window below before (or the head); pass nextCursor as before until complete. Follow live events after the initial backward headCursor. Windows may split runs/tool batches; keep historical reconstruction separate from live controls.";
|
|
128
|
+
};
|
|
129
|
+
readonly "session/context/append": {
|
|
130
|
+
readonly scope: "universe";
|
|
131
|
+
readonly access: {
|
|
132
|
+
readonly action: "control_session";
|
|
133
|
+
readonly kind: "universe";
|
|
134
|
+
};
|
|
135
|
+
readonly summary: "Append keyed session context";
|
|
136
|
+
readonly description: "Admits a batch of context entries with per-entry results. Stable keys make same-content retries no-ops; invalid input can fail one entry without discarding successful entries.";
|
|
137
|
+
};
|
|
138
|
+
readonly "session/context/remove": {
|
|
139
|
+
readonly scope: "universe";
|
|
140
|
+
readonly access: {
|
|
141
|
+
readonly action: "control_session";
|
|
142
|
+
readonly kind: "universe";
|
|
143
|
+
};
|
|
144
|
+
readonly summary: "Remove keyed session context";
|
|
145
|
+
readonly description: "Removes active entries by stable key with per-key results. Missing keys are idempotent no-ops; runtime-reserved run keys cannot be removed.";
|
|
146
|
+
};
|
|
147
|
+
readonly "session/context/replace": {
|
|
148
|
+
readonly scope: "universe";
|
|
149
|
+
readonly access: {
|
|
150
|
+
readonly action: "control_session";
|
|
151
|
+
readonly kind: "universe";
|
|
152
|
+
};
|
|
153
|
+
readonly summary: "Replace session context entries";
|
|
154
|
+
readonly description: "Replaces active tool results and user messages in place by entry id, with per-entry results, e.g. to withdraw content the provider rejects. Entries keep their ids, positions, and kinds, so a tool result takes only text and its call stays answered. Refused while a run is active; ids no longer in context report absent.";
|
|
155
|
+
};
|
|
156
|
+
readonly "session/context/compact": {
|
|
157
|
+
readonly scope: "universe";
|
|
158
|
+
readonly access: {
|
|
159
|
+
readonly action: "control_session";
|
|
160
|
+
readonly kind: "universe";
|
|
161
|
+
};
|
|
162
|
+
readonly summary: "Compact session context";
|
|
163
|
+
readonly description: "Performs one standalone compaction in any automatic mode, including Disabled, and waits for completion. Active work queues the operation until a safe turn boundary; automatic policy remains unchanged.";
|
|
164
|
+
};
|
|
165
|
+
readonly "session/runs/start": {
|
|
166
|
+
readonly scope: "universe";
|
|
167
|
+
readonly access: {
|
|
168
|
+
readonly action: "control_session";
|
|
169
|
+
readonly kind: "universe";
|
|
170
|
+
};
|
|
171
|
+
readonly summary: "Start an agent run";
|
|
172
|
+
readonly description: "Accepts input or existing context keys and returns once the run is accepted — queued behind an active run, or running — not when it finishes. Supply submissionId for retry safety, then follow session events or reread the session.";
|
|
173
|
+
};
|
|
174
|
+
readonly "session/runs/list": {
|
|
175
|
+
readonly scope: "universe";
|
|
176
|
+
readonly access: {
|
|
177
|
+
readonly action: "read";
|
|
178
|
+
readonly kind: "universe";
|
|
179
|
+
};
|
|
180
|
+
readonly summary: "List session runs";
|
|
181
|
+
readonly description: "Returns a newest-first keyset page of bounded run summaries projected from current reducer state.";
|
|
182
|
+
};
|
|
183
|
+
readonly "session/runs/read": {
|
|
184
|
+
readonly scope: "universe";
|
|
185
|
+
readonly access: {
|
|
186
|
+
readonly action: "read";
|
|
187
|
+
readonly kind: "universe";
|
|
188
|
+
};
|
|
189
|
+
readonly summary: "Read one session run";
|
|
190
|
+
readonly description: "Reads and projects one run from its bounded event interval, paged by event sequence.";
|
|
191
|
+
};
|
|
192
|
+
readonly "session/runs/cancel": {
|
|
193
|
+
readonly scope: "universe";
|
|
194
|
+
readonly access: {
|
|
195
|
+
readonly action: "stop_session";
|
|
196
|
+
readonly kind: "universe";
|
|
197
|
+
};
|
|
198
|
+
readonly summary: "Cancel a run";
|
|
199
|
+
readonly description: "Requests cancellation of the named queued or active run and returns its current projected state; observe session events for terminal completion. In-flight model and tool activity is aborted; no grace turn runs.";
|
|
200
|
+
};
|
|
201
|
+
readonly "session/runs/approvals/decide": {
|
|
202
|
+
readonly scope: "universe";
|
|
203
|
+
readonly access: {
|
|
204
|
+
readonly action: "control_session";
|
|
205
|
+
readonly kind: "universe";
|
|
206
|
+
};
|
|
207
|
+
readonly summary: "Decide pending run approvals";
|
|
208
|
+
readonly description: "Approves or rejects pending MCP tool calls on the named active run. Valid decisions apply independently; the run resumes only after every pending approval has a decision.";
|
|
209
|
+
};
|
|
210
|
+
readonly "session/runs/steer": {
|
|
211
|
+
readonly scope: "universe";
|
|
212
|
+
readonly access: {
|
|
213
|
+
readonly action: "control_session";
|
|
214
|
+
readonly kind: "universe";
|
|
215
|
+
};
|
|
216
|
+
readonly summary: "Steer the active run";
|
|
217
|
+
readonly description: "Injects input into the named active run; the model sees it at the next turn boundary without interrupting the in-flight turn. Accepted while the run is running or parked on an await; rejected for queued, cancelling, or finished runs.";
|
|
218
|
+
};
|
|
219
|
+
readonly "session/skills/list": {
|
|
220
|
+
readonly scope: "universe";
|
|
221
|
+
readonly access: {
|
|
222
|
+
readonly action: "read";
|
|
223
|
+
readonly kind: "universe";
|
|
224
|
+
};
|
|
225
|
+
readonly summary: "List available session skills";
|
|
226
|
+
readonly description: "Returns separate VFS and environment catalogs with source, reference, availability, readable skill paths, and warnings. Refreshes only when open with no active or queued run, without waking environments. Absent catalogs are omitted.";
|
|
227
|
+
};
|
|
228
|
+
readonly "session/profiles/apply": {
|
|
229
|
+
readonly scope: "universe";
|
|
230
|
+
readonly access: {
|
|
231
|
+
readonly action: "control_session";
|
|
232
|
+
readonly kind: "universe";
|
|
233
|
+
};
|
|
234
|
+
readonly summary: "Apply a profile to a session";
|
|
235
|
+
readonly description: "Applies a named or inline profile's config, instructions, and environment setup to an existing session; mutating profile sections require it to be open and idle. Pass current revisions to guard concurrent changes.";
|
|
236
|
+
};
|
|
237
|
+
readonly "session/environments/activate": {
|
|
238
|
+
readonly scope: "universe";
|
|
239
|
+
readonly access: {
|
|
240
|
+
readonly action: "control_session";
|
|
241
|
+
readonly kind: "universe";
|
|
242
|
+
};
|
|
243
|
+
readonly summary: "Activate a session environment";
|
|
244
|
+
readonly description: "Selects an attached, live universe environment for environment-targeted tools while the session is idle.";
|
|
245
|
+
};
|
|
246
|
+
readonly "session/environments/deactivate": {
|
|
247
|
+
readonly scope: "universe";
|
|
248
|
+
readonly access: {
|
|
249
|
+
readonly action: "control_session";
|
|
250
|
+
readonly kind: "universe";
|
|
251
|
+
};
|
|
252
|
+
readonly summary: "Deactivate the session environment";
|
|
253
|
+
readonly description: "Clears active environment selection without changing or closing the universe environment.";
|
|
254
|
+
};
|
|
255
|
+
readonly "environments/credentials/bind": {
|
|
256
|
+
readonly scope: "universe";
|
|
257
|
+
readonly access: {
|
|
258
|
+
readonly action: "configure_resource";
|
|
259
|
+
readonly kind: "universe";
|
|
260
|
+
};
|
|
261
|
+
readonly summary: "Bind a credential into an environment";
|
|
262
|
+
readonly description: "Maps an environment variable name to an existing grant/provider/direct-secret handle for a universe environment. Requires configuring the environment and configuring resources in the universe. The response exposes only the source handle, never secret material.";
|
|
263
|
+
};
|
|
264
|
+
readonly "environments/credentials/list": {
|
|
265
|
+
readonly scope: "universe";
|
|
266
|
+
readonly access: {
|
|
267
|
+
readonly action: "configure_resource";
|
|
268
|
+
readonly kind: "universe";
|
|
269
|
+
};
|
|
270
|
+
readonly summary: "List environment credential bindings";
|
|
271
|
+
readonly description: "Returns variable names and credential source handles for a universe environment; resolved secret values are never returned.";
|
|
272
|
+
};
|
|
273
|
+
readonly "environments/credentials/unbind": {
|
|
274
|
+
readonly scope: "universe";
|
|
275
|
+
readonly access: {
|
|
276
|
+
readonly action: "configure_resource";
|
|
277
|
+
readonly kind: "universe";
|
|
278
|
+
};
|
|
279
|
+
readonly summary: "Unbind an environment credential";
|
|
280
|
+
readonly description: "Removes one variable-to-credential mapping without deleting the underlying grant, provider credential, or secret.";
|
|
281
|
+
};
|
|
282
|
+
readonly "environments/create": {
|
|
283
|
+
readonly scope: "universe";
|
|
284
|
+
readonly access: {
|
|
285
|
+
readonly action: "configure_resource";
|
|
286
|
+
readonly kind: "universe";
|
|
287
|
+
};
|
|
288
|
+
readonly summary: "Create an environment";
|
|
289
|
+
readonly description: "Records an idempotent provisioning intent against an enabled universe binding, attributed to the caller. The provider validates its provider-wide template and provisions through its backend asynchronously.";
|
|
290
|
+
};
|
|
291
|
+
readonly "environments/read": {
|
|
292
|
+
readonly scope: "universe";
|
|
293
|
+
readonly access: {
|
|
294
|
+
readonly action: "read";
|
|
295
|
+
readonly kind: "universe";
|
|
296
|
+
};
|
|
297
|
+
readonly summary: "Read an environment";
|
|
298
|
+
readonly description: "Returns the durable universe resource, source binding, logical lifecycle state, and minimal current-incarnation identity.";
|
|
299
|
+
};
|
|
300
|
+
readonly "environments/list": {
|
|
301
|
+
readonly scope: "universe";
|
|
302
|
+
readonly access: {
|
|
303
|
+
readonly action: "read";
|
|
304
|
+
readonly kind: "universe";
|
|
305
|
+
};
|
|
306
|
+
readonly summary: "List environments";
|
|
307
|
+
readonly description: "Lists the universe environments, optionally filtered by provider, binding, or logical lifecycle state.";
|
|
308
|
+
};
|
|
309
|
+
readonly "environments/close": {
|
|
310
|
+
readonly scope: "universe";
|
|
311
|
+
readonly access: {
|
|
312
|
+
readonly action: "configure_resource";
|
|
313
|
+
readonly kind: "universe";
|
|
314
|
+
};
|
|
315
|
+
readonly summary: "Close an environment";
|
|
316
|
+
readonly description: "Records an asynchronous idempotent close intent. Provider cleanup is resumed by lifecycle reconciliation; quota is released only after Closed.";
|
|
317
|
+
};
|
|
318
|
+
readonly "environments/external/create": {
|
|
319
|
+
readonly scope: "universe";
|
|
320
|
+
readonly access: {
|
|
321
|
+
readonly action: "configure_resource";
|
|
322
|
+
readonly kind: "universe";
|
|
323
|
+
};
|
|
324
|
+
readonly summary: "Register an external environment";
|
|
325
|
+
readonly description: "Creates an environment backed by a Lightspeed-reachable envd WebSocket endpoint, attributed to the caller. Reachability is checked on demand.";
|
|
326
|
+
};
|
|
327
|
+
readonly "environments/ingress/put": {
|
|
328
|
+
readonly scope: "universe";
|
|
329
|
+
readonly access: {
|
|
330
|
+
readonly action: "configure_resource";
|
|
331
|
+
readonly kind: "universe";
|
|
332
|
+
};
|
|
333
|
+
readonly summary: "Configure environment public ingress";
|
|
334
|
+
readonly description: "Synchronously enables or disables one provider-authorized HTTPS endpoint for a provisioned environment. The provider owns hostname allocation, the approved guest port, routing, TLS, and health.";
|
|
335
|
+
};
|
|
336
|
+
readonly "environments/power/put": {
|
|
337
|
+
readonly scope: "universe";
|
|
338
|
+
readonly access: {
|
|
339
|
+
readonly action: "configure_resource";
|
|
340
|
+
readonly kind: "universe";
|
|
341
|
+
};
|
|
342
|
+
readonly summary: "Set environment power intent";
|
|
343
|
+
readonly description: "Records the desired power state (running, paused, suspended, or stopped) of a provisioned environment; the lifecycle reconciler converges the provider target asynchronously. Powered-down environments wake transparently on their next use. Rejected when the provider does not support the state.";
|
|
344
|
+
};
|
|
345
|
+
readonly "environments/idle-policy/put": {
|
|
346
|
+
readonly scope: "universe";
|
|
347
|
+
readonly access: {
|
|
348
|
+
readonly action: "configure_resource";
|
|
349
|
+
readonly kind: "universe";
|
|
350
|
+
};
|
|
351
|
+
readonly summary: "Set environment idle policy";
|
|
352
|
+
readonly description: "Replaces or clears the staged idle policy of a provisioned environment. The power reaper measures the daemon's idle duration against the pause/suspend/stop/close thresholds and escalates through the stages the provider supports.";
|
|
353
|
+
};
|
|
354
|
+
readonly "environments/provider-bindings/list": {
|
|
355
|
+
readonly scope: "universe";
|
|
356
|
+
readonly access: {
|
|
357
|
+
readonly action: "read";
|
|
358
|
+
readonly kind: "universe";
|
|
359
|
+
};
|
|
360
|
+
readonly summary: "List environment provider bindings";
|
|
361
|
+
readonly description: "Lists this universe's revisioned routing and admission bindings to deployment-scoped physical providers.";
|
|
362
|
+
};
|
|
363
|
+
readonly "environments/provider-bindings/read": {
|
|
364
|
+
readonly scope: "universe";
|
|
365
|
+
readonly access: {
|
|
366
|
+
readonly action: "read";
|
|
367
|
+
readonly kind: "universe";
|
|
368
|
+
};
|
|
369
|
+
readonly summary: "Read an environment provider binding";
|
|
370
|
+
readonly description: "Returns one universe routing and admission binding. Provider-wide templates and physical resource, network, and ingress policy remain provider-owned.";
|
|
371
|
+
};
|
|
372
|
+
readonly "environments/templates/list": {
|
|
373
|
+
readonly scope: "universe";
|
|
374
|
+
readonly access: {
|
|
375
|
+
readonly action: "read";
|
|
376
|
+
readonly kind: "universe";
|
|
377
|
+
};
|
|
378
|
+
readonly summary: "List environment templates";
|
|
379
|
+
readonly description: "Reads immutable templates directly from the selected bound provider controller.";
|
|
380
|
+
};
|
|
381
|
+
readonly "environments/templates/read": {
|
|
382
|
+
readonly scope: "universe";
|
|
383
|
+
readonly access: {
|
|
384
|
+
readonly action: "read";
|
|
385
|
+
readonly kind: "universe";
|
|
386
|
+
};
|
|
387
|
+
readonly summary: "Read an environment template";
|
|
388
|
+
readonly description: "Returns one immutable template version from the selected bound provider controller.";
|
|
389
|
+
};
|
|
390
|
+
readonly "environments/jobs/create": {
|
|
391
|
+
readonly scope: "universe";
|
|
392
|
+
readonly access: {
|
|
393
|
+
readonly action: "use_resource";
|
|
394
|
+
readonly kind: "universe";
|
|
395
|
+
};
|
|
396
|
+
readonly summary: "Create environment jobs";
|
|
397
|
+
readonly description: "Starts a dependency-aware job group on one environment instance, injecting the environment's configured credentials at provider start. requestId is the retry identity; jobs are owned by the instance rather than a session. A powered-down environment is woken on use: the call fails with environment_not_ready while the wake is in progress; retry with backoff.";
|
|
398
|
+
};
|
|
399
|
+
readonly "environments/jobs/read": {
|
|
400
|
+
readonly scope: "universe";
|
|
401
|
+
readonly access: {
|
|
402
|
+
readonly action: "read";
|
|
403
|
+
readonly kind: "universe";
|
|
404
|
+
};
|
|
405
|
+
readonly summary: "Read environment jobs";
|
|
406
|
+
readonly description: "Reads selected job handles with bounded output, optional sequence continuation, and optional artifacts; use returned status/sequence data for polling.";
|
|
407
|
+
};
|
|
408
|
+
readonly "environments/jobs/cancel": {
|
|
409
|
+
readonly scope: "universe";
|
|
410
|
+
readonly access: {
|
|
411
|
+
readonly action: "use_resource";
|
|
412
|
+
readonly kind: "universe";
|
|
413
|
+
};
|
|
414
|
+
readonly summary: "Cancel environment jobs";
|
|
415
|
+
readonly description: "Requests cancellation for selected jobs, optionally including dependents. Force is provider-specific escalation; inspect each per-job result.";
|
|
416
|
+
};
|
|
417
|
+
readonly "environments/registration-keys/create": {
|
|
418
|
+
readonly scope: "universe";
|
|
419
|
+
readonly access: {
|
|
420
|
+
readonly action: "configure_resource";
|
|
421
|
+
readonly kind: "universe";
|
|
422
|
+
};
|
|
423
|
+
readonly summary: "Mint an environment registration key";
|
|
424
|
+
readonly description: "Creates a reusable universe-scoped key that lets outbound envd daemons register as environments. The plaintext secret is returned exactly once; only its hash is stored. Identity mode, active limit, disconnect grace, and expiry are the key's policy. Treat the secret like a cluster-join credential.";
|
|
425
|
+
};
|
|
426
|
+
readonly "environments/registration-keys/read": {
|
|
427
|
+
readonly scope: "universe";
|
|
428
|
+
readonly access: {
|
|
429
|
+
readonly action: "configure_resource";
|
|
430
|
+
readonly kind: "universe";
|
|
431
|
+
};
|
|
432
|
+
readonly summary: "Read an environment registration key";
|
|
433
|
+
readonly description: "Returns the key's display prefix, policy, status, and derived environment counts; never the secret or its hash.";
|
|
434
|
+
};
|
|
435
|
+
readonly "environments/registration-keys/list": {
|
|
436
|
+
readonly scope: "universe";
|
|
437
|
+
readonly access: {
|
|
438
|
+
readonly action: "configure_resource";
|
|
439
|
+
readonly kind: "universe";
|
|
440
|
+
};
|
|
441
|
+
readonly summary: "List environment registration keys";
|
|
442
|
+
readonly description: "Lists this universe's registration keys with policy, status, and derived counts. Each key is the group of the environments it admitted.";
|
|
443
|
+
};
|
|
444
|
+
readonly "environments/registration-keys/revoke": {
|
|
445
|
+
readonly scope: "universe";
|
|
446
|
+
readonly access: {
|
|
447
|
+
readonly action: "configure_resource";
|
|
448
|
+
readonly kind: "universe";
|
|
449
|
+
};
|
|
450
|
+
readonly summary: "Revoke an environment registration key";
|
|
451
|
+
readonly description: "Stops the key from admitting new daemon identities; already registered daemons keep reconnecting. With closeEnvironments, also closes every non-closed environment the key admitted. Idempotent.";
|
|
452
|
+
};
|
|
453
|
+
readonly "transcriptions/start": {
|
|
454
|
+
readonly scope: "universe";
|
|
455
|
+
readonly access: {
|
|
456
|
+
readonly action: "use_resource";
|
|
457
|
+
readonly kind: "universe";
|
|
458
|
+
};
|
|
459
|
+
readonly summary: "Start transcription";
|
|
460
|
+
readonly description: "Admit or rejoin a requester-scoped audio transcription. The resolved model is immutable. No session or run is created.";
|
|
461
|
+
};
|
|
462
|
+
readonly "transcriptions/read": {
|
|
463
|
+
readonly scope: "universe";
|
|
464
|
+
readonly access: {
|
|
465
|
+
readonly action: "read";
|
|
466
|
+
readonly kind: "universe";
|
|
467
|
+
};
|
|
468
|
+
readonly summary: "Read transcription";
|
|
469
|
+
readonly description: "Read status and transcript text. An asserted actor may only read their own drafts; direct universe keys retain method-group authority. Unsubmitted CAS results may expire.";
|
|
470
|
+
};
|
|
471
|
+
readonly "transcriptions/cancel": {
|
|
472
|
+
readonly scope: "universe";
|
|
473
|
+
readonly access: {
|
|
474
|
+
readonly action: "use_resource";
|
|
475
|
+
readonly kind: "universe";
|
|
476
|
+
};
|
|
477
|
+
readonly summary: "Cancel transcription";
|
|
478
|
+
readonly description: "Cancel unfinished transcription. Repeated cancellation is safe; completed results remain unchanged. An asserted actor may only cancel their own drafts; direct universe keys retain method-group authority.";
|
|
479
|
+
};
|
|
480
|
+
readonly "models/defaults/read": {
|
|
481
|
+
readonly scope: "universe";
|
|
482
|
+
readonly access: {
|
|
483
|
+
readonly action: "read";
|
|
484
|
+
readonly kind: "universe";
|
|
485
|
+
};
|
|
486
|
+
readonly summary: "Read universe model defaults";
|
|
487
|
+
readonly description: "Returns the revision and independent agentRun and speechToText selections. Revision zero means no update has been made. Does not contact model providers.";
|
|
488
|
+
};
|
|
489
|
+
readonly "models/defaults/put": {
|
|
490
|
+
readonly scope: "universe";
|
|
491
|
+
readonly access: {
|
|
492
|
+
readonly action: "configure_resource";
|
|
493
|
+
readonly kind: "universe";
|
|
494
|
+
};
|
|
495
|
+
readonly summary: "Set a universe model default";
|
|
496
|
+
readonly description: "Sets or explicitly clears one purpose slot using its current expected revision. Existing sessions and admitted work keep their model. Validates the purpose and protocol without contacting provider discovery.";
|
|
497
|
+
};
|
|
498
|
+
readonly "models/list": {
|
|
499
|
+
readonly scope: "universe";
|
|
500
|
+
readonly access: {
|
|
501
|
+
readonly action: "read";
|
|
502
|
+
readonly kind: "universe";
|
|
503
|
+
};
|
|
504
|
+
readonly summary: "Discover available models";
|
|
505
|
+
readonly description: "Queries supported providers directly, with a brief process-local burst cache, and returns best-effort selectable routes. One provider failure does not discard successful results from others.";
|
|
506
|
+
};
|
|
507
|
+
readonly "profiles/create": {
|
|
508
|
+
readonly scope: "universe";
|
|
509
|
+
readonly access: {
|
|
510
|
+
readonly action: "create_profile";
|
|
511
|
+
readonly kind: "universe";
|
|
512
|
+
};
|
|
513
|
+
readonly summary: "Create an agent profile";
|
|
514
|
+
readonly description: "Creates a new universe-scoped reusable profile document; use profiles/put for create-or-replace revision semantics.";
|
|
515
|
+
};
|
|
516
|
+
readonly "profiles/read": {
|
|
517
|
+
readonly scope: "universe";
|
|
518
|
+
readonly access: {
|
|
519
|
+
readonly action: "read";
|
|
520
|
+
readonly kind: "universe";
|
|
521
|
+
};
|
|
522
|
+
readonly summary: "Read an agent profile";
|
|
523
|
+
readonly description: "Returns the complete profile document and current revision.";
|
|
524
|
+
};
|
|
525
|
+
readonly "profiles/list": {
|
|
526
|
+
readonly scope: "universe";
|
|
527
|
+
readonly access: {
|
|
528
|
+
readonly action: "read";
|
|
529
|
+
readonly kind: "universe";
|
|
530
|
+
};
|
|
531
|
+
readonly summary: "List agent profiles";
|
|
532
|
+
readonly description: "Returns lightweight summaries of universe-scoped reusable profiles.";
|
|
533
|
+
};
|
|
534
|
+
readonly "profiles/put": {
|
|
535
|
+
readonly scope: "universe";
|
|
536
|
+
readonly access: {
|
|
537
|
+
readonly action: "manage_profile";
|
|
538
|
+
readonly kind: "universe";
|
|
539
|
+
};
|
|
540
|
+
readonly summary: "Create or replace an agent profile";
|
|
541
|
+
readonly description: "Stores the complete profile document. Use expectedRevision from profiles/read when replacing to prevent lost updates; absence writes unconditionally.";
|
|
542
|
+
};
|
|
543
|
+
readonly "profiles/delete": {
|
|
544
|
+
readonly scope: "universe";
|
|
545
|
+
readonly access: {
|
|
546
|
+
readonly action: "manage_profile";
|
|
547
|
+
readonly kind: "universe";
|
|
548
|
+
};
|
|
549
|
+
readonly summary: "Delete an agent profile";
|
|
550
|
+
readonly description: "Deletes the catalog document; sessions previously created or configured from it retain their materialized state.";
|
|
551
|
+
};
|
|
552
|
+
readonly "blobs/put": {
|
|
553
|
+
readonly scope: "universe";
|
|
554
|
+
readonly access: {
|
|
555
|
+
readonly action: "use_resource";
|
|
556
|
+
readonly kind: "universe";
|
|
557
|
+
};
|
|
558
|
+
readonly summary: "Store content-addressed blobs";
|
|
559
|
+
readonly description: "Decodes and stores a batch of base64 payloads, returning immutable content references in request order. Re-uploading identical bytes is naturally deduplicated.";
|
|
560
|
+
};
|
|
561
|
+
readonly "blobs/read": {
|
|
562
|
+
readonly scope: "universe";
|
|
563
|
+
readonly access: {
|
|
564
|
+
readonly action: "read";
|
|
565
|
+
readonly kind: "universe";
|
|
566
|
+
};
|
|
567
|
+
readonly summary: "Read a content-addressed blob";
|
|
568
|
+
readonly description: "Returns the complete immutable blob of this universe as base64; large values count against gateway and MCP response limits.";
|
|
569
|
+
};
|
|
570
|
+
readonly "blobs/has": {
|
|
571
|
+
readonly scope: "universe";
|
|
572
|
+
readonly access: {
|
|
573
|
+
readonly action: "read";
|
|
574
|
+
readonly kind: "universe";
|
|
575
|
+
};
|
|
576
|
+
readonly summary: "Check blob availability";
|
|
577
|
+
readonly description: "Checks a batch of content references without returning blob bodies, preserving request order.";
|
|
578
|
+
};
|
|
579
|
+
readonly "vfs/snapshots/commit": {
|
|
580
|
+
readonly scope: "universe";
|
|
581
|
+
readonly access: {
|
|
582
|
+
readonly action: "use_resource";
|
|
583
|
+
readonly kind: "universe";
|
|
584
|
+
};
|
|
585
|
+
readonly summary: "Commit a VFS snapshot";
|
|
586
|
+
readonly description: "Validates and stores an immutable filesystem manifest. Upload referenced file blobs first; the returned snapshot ref is content-addressed.";
|
|
587
|
+
};
|
|
588
|
+
readonly "vfs/snapshots/read": {
|
|
589
|
+
readonly scope: "universe";
|
|
590
|
+
readonly access: {
|
|
591
|
+
readonly action: "read";
|
|
592
|
+
readonly kind: "universe";
|
|
593
|
+
};
|
|
594
|
+
readonly summary: "Read a VFS snapshot";
|
|
595
|
+
readonly description: "Returns an immutable snapshot manifest and aggregate file/byte counts; file bodies remain separate blobs.";
|
|
596
|
+
};
|
|
597
|
+
readonly "vfs/workspaces/create": {
|
|
598
|
+
readonly scope: "universe";
|
|
599
|
+
readonly access: {
|
|
600
|
+
readonly action: "create_workspace";
|
|
601
|
+
readonly kind: "universe";
|
|
602
|
+
};
|
|
603
|
+
readonly summary: "Create a mutable VFS workspace";
|
|
604
|
+
readonly description: "Creates a universe workspace attributed to the caller at an optional seed snapshot; absence starts from a server-created empty snapshot.";
|
|
605
|
+
};
|
|
606
|
+
readonly "vfs/workspaces/read": {
|
|
607
|
+
readonly scope: "universe";
|
|
608
|
+
readonly access: {
|
|
609
|
+
readonly action: "read";
|
|
610
|
+
readonly kind: "universe";
|
|
611
|
+
};
|
|
612
|
+
readonly summary: "Read a VFS workspace";
|
|
613
|
+
readonly description: "Returns workspace metadata, current head snapshot, and revision for safe updates.";
|
|
614
|
+
};
|
|
615
|
+
readonly "vfs/workspaces/list": {
|
|
616
|
+
readonly scope: "universe";
|
|
617
|
+
readonly access: {
|
|
618
|
+
readonly action: "read";
|
|
619
|
+
readonly kind: "universe";
|
|
620
|
+
};
|
|
621
|
+
readonly summary: "List VFS workspaces";
|
|
622
|
+
readonly description: "Lists the mutable universe workspaces with head snapshots, sizes, and revisions.";
|
|
623
|
+
};
|
|
624
|
+
readonly "vfs/workspaces/update": {
|
|
625
|
+
readonly scope: "universe";
|
|
626
|
+
readonly access: {
|
|
627
|
+
readonly action: "use_resource";
|
|
628
|
+
readonly kind: "universe";
|
|
629
|
+
};
|
|
630
|
+
readonly summary: "Update a VFS workspace";
|
|
631
|
+
readonly description: "Moves the workspace head to an existing snapshot, which requires use of the workspace, and updates its display name, which requires configuring it. Pass expectedRevision from a read to prevent lost updates.";
|
|
632
|
+
};
|
|
633
|
+
readonly "vfs/workspaces/delete": {
|
|
634
|
+
readonly scope: "universe";
|
|
635
|
+
readonly access: {
|
|
636
|
+
readonly action: "configure_resource";
|
|
637
|
+
readonly kind: "universe";
|
|
638
|
+
};
|
|
639
|
+
readonly summary: "Delete a VFS workspace";
|
|
640
|
+
readonly description: "Deletes the mutable workspace record; immutable snapshots and blobs remain content-addressed resources.";
|
|
641
|
+
};
|
|
642
|
+
readonly "mcp/servers/put": {
|
|
643
|
+
readonly scope: "universe";
|
|
644
|
+
readonly access: {
|
|
645
|
+
readonly action: "configure_resource";
|
|
646
|
+
readonly kind: "universe";
|
|
647
|
+
};
|
|
648
|
+
readonly summary: "Create or replace an MCP server record";
|
|
649
|
+
readonly description: "Stores the complete catalog document with its optional auth-grant credential. A new server is attributed to the caller. Use expectedRevision when replacing; token material is never accepted or returned.";
|
|
650
|
+
};
|
|
651
|
+
readonly "mcp/servers/auth/discover": {
|
|
652
|
+
readonly scope: "universe";
|
|
653
|
+
readonly access: {
|
|
654
|
+
readonly action: "configure_resource";
|
|
655
|
+
readonly kind: "universe";
|
|
656
|
+
};
|
|
657
|
+
readonly summary: "Discover MCP server authentication";
|
|
658
|
+
readonly description: "Looks for standards-based OAuth protected-resource metadata without creating a server, OAuth client, flow, or grant. An absent OAuth result is inconclusive and callers must allow manual auth selection.";
|
|
659
|
+
};
|
|
660
|
+
readonly "mcp/servers/tools/discover": {
|
|
661
|
+
readonly scope: "universe";
|
|
662
|
+
readonly access: {
|
|
663
|
+
readonly action: "configure_resource";
|
|
664
|
+
readonly kind: "universe";
|
|
665
|
+
};
|
|
666
|
+
readonly summary: "Discover MCP server tools";
|
|
667
|
+
readonly description: "Connects directly to the configured MCP server with its current universe credential and returns one bounded live tools/list result. The inventory is never persisted or cached and no tool is invoked.";
|
|
668
|
+
};
|
|
669
|
+
readonly "mcp/servers/read": {
|
|
670
|
+
readonly scope: "universe";
|
|
671
|
+
readonly access: {
|
|
672
|
+
readonly action: "read";
|
|
673
|
+
readonly kind: "universe";
|
|
674
|
+
};
|
|
675
|
+
readonly summary: "Read an MCP server record";
|
|
676
|
+
readonly description: "Returns one catalog document with defaults, auth policy, non-secret grant binding, status, and revision; no credential value is exposed.";
|
|
677
|
+
};
|
|
678
|
+
readonly "mcp/servers/list": {
|
|
679
|
+
readonly scope: "universe";
|
|
680
|
+
readonly access: {
|
|
681
|
+
readonly action: "read";
|
|
682
|
+
readonly kind: "universe";
|
|
683
|
+
};
|
|
684
|
+
readonly summary: "List MCP server records";
|
|
685
|
+
readonly description: "Lists the universe catalog entries, optionally filtered by lifecycle/configuration status.";
|
|
686
|
+
};
|
|
687
|
+
readonly "mcp/servers/delete": {
|
|
688
|
+
readonly scope: "universe";
|
|
689
|
+
readonly access: {
|
|
690
|
+
readonly action: "configure_resource";
|
|
691
|
+
readonly kind: "universe";
|
|
692
|
+
};
|
|
693
|
+
readonly summary: "Delete an MCP server record";
|
|
694
|
+
readonly description: "Deletes the catalog document. Existing session configs that reference it are not silently rewritten and may need explicit reconfiguration.";
|
|
695
|
+
};
|
|
696
|
+
readonly "auth/grants/import": {
|
|
697
|
+
readonly scope: "universe";
|
|
698
|
+
readonly access: {
|
|
699
|
+
readonly action: "configure_resource";
|
|
700
|
+
readonly kind: "universe";
|
|
701
|
+
};
|
|
702
|
+
readonly summary: "Import a static bearer grant";
|
|
703
|
+
readonly description: "Accepts a plaintext token, encrypts it immediately, and returns only grant metadata/token-presence flags. Brokered is the default; retrievable exposure is immutable and permits service-only leases.";
|
|
704
|
+
};
|
|
705
|
+
readonly "auth/grants/lease": {
|
|
706
|
+
readonly scope: "service";
|
|
707
|
+
readonly access: {
|
|
708
|
+
readonly kind: "service";
|
|
709
|
+
};
|
|
710
|
+
readonly summary: "Lease a retrievable authentication grant";
|
|
711
|
+
readonly description: "Service callers only. Resolves the current access token through the broker, records the lease, and returns it once. Cache only in memory until expiry minus margin (or at most five minutes without expiry), re-lease after target 401/403, and never persist or place the token in workflow payloads.";
|
|
712
|
+
};
|
|
713
|
+
readonly "auth/grants/read": {
|
|
714
|
+
readonly scope: "universe";
|
|
715
|
+
readonly access: {
|
|
716
|
+
readonly action: "read";
|
|
717
|
+
readonly kind: "universe";
|
|
718
|
+
};
|
|
719
|
+
readonly summary: "Read authentication grant metadata";
|
|
720
|
+
readonly description: "Returns creator attribution, provider binding, scopes, audience, expiry, status, and token-presence flags; access and refresh token values are never returned.";
|
|
721
|
+
};
|
|
722
|
+
readonly "auth/grants/list": {
|
|
723
|
+
readonly scope: "universe";
|
|
724
|
+
readonly access: {
|
|
725
|
+
readonly action: "read";
|
|
726
|
+
readonly kind: "universe";
|
|
727
|
+
};
|
|
728
|
+
readonly summary: "List authentication grants";
|
|
729
|
+
readonly description: "Lists non-secret grant metadata for the universe, optionally filtered by status.";
|
|
730
|
+
};
|
|
731
|
+
readonly "auth/grants/revoke": {
|
|
732
|
+
readonly scope: "universe";
|
|
733
|
+
readonly access: {
|
|
734
|
+
readonly action: "configure_resource";
|
|
735
|
+
readonly kind: "universe";
|
|
736
|
+
};
|
|
737
|
+
readonly summary: "Revoke an authentication grant";
|
|
738
|
+
readonly description: "Marks the grant unusable by token consumers while retaining non-secret audit metadata.";
|
|
739
|
+
};
|
|
740
|
+
readonly "auth/clients/create": {
|
|
741
|
+
readonly scope: "universe";
|
|
742
|
+
readonly access: {
|
|
743
|
+
readonly action: "configure_resource";
|
|
744
|
+
readonly kind: "universe";
|
|
745
|
+
};
|
|
746
|
+
readonly summary: "Register an OAuth client";
|
|
747
|
+
readonly description: "Stores provider endpoints and client identity; an optional plaintext client secret is encrypted and represented thereafter only by hasClientSecret.";
|
|
748
|
+
};
|
|
749
|
+
readonly "auth/clients/read": {
|
|
750
|
+
readonly scope: "universe";
|
|
751
|
+
readonly access: {
|
|
752
|
+
readonly action: "read";
|
|
753
|
+
readonly kind: "universe";
|
|
754
|
+
};
|
|
755
|
+
readonly summary: "Read OAuth client metadata";
|
|
756
|
+
readonly description: "Returns endpoints, public client identity, defaults, and secret-presence state; the client secret is never returned.";
|
|
757
|
+
};
|
|
758
|
+
readonly "auth/clients/list": {
|
|
759
|
+
readonly scope: "universe";
|
|
760
|
+
readonly access: {
|
|
761
|
+
readonly action: "read";
|
|
762
|
+
readonly kind: "universe";
|
|
763
|
+
};
|
|
764
|
+
readonly summary: "List OAuth clients";
|
|
765
|
+
readonly description: "Lists non-secret OAuth client registrations in the universe.";
|
|
766
|
+
};
|
|
767
|
+
readonly "auth/clients/delete": {
|
|
768
|
+
readonly scope: "universe";
|
|
769
|
+
readonly access: {
|
|
770
|
+
readonly action: "configure_resource";
|
|
771
|
+
readonly kind: "universe";
|
|
772
|
+
};
|
|
773
|
+
readonly summary: "Delete an OAuth client";
|
|
774
|
+
readonly description: "Deletes the client registration and its stored client secret; grants already created from it remain separate records.";
|
|
775
|
+
};
|
|
776
|
+
readonly "auth/flows/start": {
|
|
777
|
+
readonly scope: "universe";
|
|
778
|
+
readonly access: {
|
|
779
|
+
readonly action: "configure_resource";
|
|
780
|
+
readonly kind: "universe";
|
|
781
|
+
};
|
|
782
|
+
readonly summary: "Start an OAuth authorization flow";
|
|
783
|
+
readonly description: "Creates a short-lived PKCE flow carrying the immutable grant exposure choice and returns a browser authorization URL containing one-time state. Treat the URL as sensitive and poll auth/flows/read for completion.";
|
|
784
|
+
};
|
|
785
|
+
readonly "auth/flows/read": {
|
|
786
|
+
readonly scope: "universe";
|
|
787
|
+
readonly access: {
|
|
788
|
+
readonly action: "configure_resource";
|
|
789
|
+
readonly kind: "universe";
|
|
790
|
+
};
|
|
791
|
+
readonly summary: "Read OAuth flow status";
|
|
792
|
+
readonly description: "Polls a flow's pending/completed/failed/expired state and returns the resulting grant id when authorization succeeds; no token value is exposed.";
|
|
793
|
+
};
|
|
794
|
+
readonly "auth/providers/create": {
|
|
795
|
+
readonly scope: "universe";
|
|
796
|
+
readonly access: {
|
|
797
|
+
readonly action: "configure_resource";
|
|
798
|
+
readonly kind: "universe";
|
|
799
|
+
};
|
|
800
|
+
readonly summary: "Register an authentication provider";
|
|
801
|
+
readonly description: "Creates a model or GitHub credential source. Plaintext API keys/private keys are encrypted on receipt and later represented only by configuration plus hasCredential.";
|
|
802
|
+
};
|
|
803
|
+
readonly "auth/providers/read": {
|
|
804
|
+
readonly scope: "universe";
|
|
805
|
+
readonly access: {
|
|
806
|
+
readonly action: "read";
|
|
807
|
+
readonly kind: "universe";
|
|
808
|
+
};
|
|
809
|
+
readonly summary: "Read authentication provider metadata";
|
|
810
|
+
readonly description: "Returns provider kind, non-secret configuration, credential-presence state, and status; stored credentials are never returned.";
|
|
811
|
+
};
|
|
812
|
+
readonly "auth/providers/list": {
|
|
813
|
+
readonly scope: "universe";
|
|
814
|
+
readonly access: {
|
|
815
|
+
readonly action: "read";
|
|
816
|
+
readonly kind: "universe";
|
|
817
|
+
};
|
|
818
|
+
readonly summary: "List authentication providers";
|
|
819
|
+
readonly description: "Lists non-secret model/GitHub provider registrations for the universe.";
|
|
820
|
+
};
|
|
821
|
+
readonly "auth/providers/delete": {
|
|
822
|
+
readonly scope: "universe";
|
|
823
|
+
readonly access: {
|
|
824
|
+
readonly action: "configure_resource";
|
|
825
|
+
readonly kind: "universe";
|
|
826
|
+
};
|
|
827
|
+
readonly summary: "Delete an authentication provider";
|
|
828
|
+
readonly description: "Deletes the provider registration and its directly stored credential; separately stored grants remain independent records.";
|
|
829
|
+
};
|
|
830
|
+
readonly "auth/github/installations/list": {
|
|
831
|
+
readonly scope: "universe";
|
|
832
|
+
readonly access: {
|
|
833
|
+
readonly action: "configure_resource";
|
|
834
|
+
readonly kind: "universe";
|
|
835
|
+
};
|
|
836
|
+
readonly summary: "List GitHub App installations";
|
|
837
|
+
readonly description: "Uses the registered GitHub App provider credential to query accessible installations and returns account/permission metadata without tokens.";
|
|
838
|
+
};
|
|
839
|
+
readonly "auth/github/installations/grant": {
|
|
840
|
+
readonly scope: "universe";
|
|
841
|
+
readonly access: {
|
|
842
|
+
readonly action: "configure_resource";
|
|
843
|
+
readonly kind: "universe";
|
|
844
|
+
};
|
|
845
|
+
readonly summary: "Grant access to a GitHub App installation";
|
|
846
|
+
readonly description: "Creates or refreshes a universe auth grant for one accessible installation. The installation token is brokered internally and never returned.";
|
|
847
|
+
};
|
|
848
|
+
readonly "bots/create": {
|
|
849
|
+
readonly scope: "universe";
|
|
850
|
+
readonly access: {
|
|
851
|
+
readonly action: "create_bot";
|
|
852
|
+
readonly kind: "universe";
|
|
853
|
+
};
|
|
854
|
+
readonly summary: "Create a bot";
|
|
855
|
+
readonly description: "Creates the bot record, optionally with its triggers, and starts its controller. Fails if the bot id exists; a trigger failure rolls the bot back.";
|
|
856
|
+
};
|
|
857
|
+
readonly "bots/put": {
|
|
858
|
+
readonly scope: "universe";
|
|
859
|
+
readonly access: {
|
|
860
|
+
readonly action: "manage_bot";
|
|
861
|
+
readonly kind: "universe";
|
|
862
|
+
};
|
|
863
|
+
readonly summary: "Create or replace a bot document";
|
|
864
|
+
readonly description: "Replaces the mutable configuration whole and signals the controller, which applies it at its next idle boundary. Pass expectedRevision when replacing; a closed bot accepts label-only edits.";
|
|
865
|
+
};
|
|
866
|
+
readonly "bots/read": {
|
|
867
|
+
readonly scope: "universe";
|
|
868
|
+
readonly access: {
|
|
869
|
+
readonly action: "read";
|
|
870
|
+
readonly kind: "universe";
|
|
871
|
+
};
|
|
872
|
+
readonly summary: "Read a bot";
|
|
873
|
+
readonly description: "Returns the bot record, its current revision, and lifecycle columns.";
|
|
874
|
+
};
|
|
875
|
+
readonly "bots/list": {
|
|
876
|
+
readonly scope: "universe";
|
|
877
|
+
readonly access: {
|
|
878
|
+
readonly action: "read";
|
|
879
|
+
readonly kind: "universe";
|
|
880
|
+
};
|
|
881
|
+
readonly summary: "List bots";
|
|
882
|
+
readonly description: "Returns the roster: every bot with its trigger count, pending event count, and latest event, optionally narrowed by createdBy.";
|
|
883
|
+
};
|
|
884
|
+
readonly "bots/close": {
|
|
885
|
+
readonly scope: "universe";
|
|
886
|
+
readonly access: {
|
|
887
|
+
readonly action: "manage_bot";
|
|
888
|
+
readonly kind: "universe";
|
|
889
|
+
};
|
|
890
|
+
readonly summary: "Close a bot";
|
|
891
|
+
readonly description: "Terminal and idempotent: disables every trigger, drops schedules, and tells the controller to archive pending events and force-close its sessions. Returns once signalled; follow bots/state/read for closing to closed.";
|
|
892
|
+
};
|
|
893
|
+
readonly "bots/delete": {
|
|
894
|
+
readonly scope: "universe";
|
|
895
|
+
readonly access: {
|
|
896
|
+
readonly action: "manage_bot";
|
|
897
|
+
readonly kind: "universe";
|
|
898
|
+
};
|
|
899
|
+
readonly summary: "Delete a bot";
|
|
900
|
+
readonly description: "Closes the bot if needed, waits for its controller to complete, deletes the sessions it closed, and removes the record so the bot id is free again.";
|
|
901
|
+
};
|
|
902
|
+
readonly "bots/state/read": {
|
|
903
|
+
readonly scope: "universe";
|
|
904
|
+
readonly access: {
|
|
905
|
+
readonly action: "read";
|
|
906
|
+
readonly kind: "universe";
|
|
907
|
+
};
|
|
908
|
+
readonly summary: "Read bot controller state";
|
|
909
|
+
readonly description: "Queries the controller workflow for its live snapshot (sessions, buffers, active and recent deliveries, budget) and lists sub-agent descendants. The controller is absent until the bot's first event.";
|
|
910
|
+
};
|
|
911
|
+
readonly "bots/sessions/rotate": {
|
|
912
|
+
readonly scope: "universe";
|
|
913
|
+
readonly access: {
|
|
914
|
+
readonly action: "manage_bot";
|
|
915
|
+
readonly kind: "universe";
|
|
916
|
+
};
|
|
917
|
+
readonly summary: "Rotate a bot session";
|
|
918
|
+
readonly description: "Asks the controller to close one of the bot's sessions at its next idle boundary and continue on a fresh generation; queued deliveries follow.";
|
|
919
|
+
};
|
|
920
|
+
readonly "bots/triggers/put": {
|
|
921
|
+
readonly scope: "universe";
|
|
922
|
+
readonly access: {
|
|
923
|
+
readonly action: "manage_bot";
|
|
924
|
+
readonly kind: "universe";
|
|
925
|
+
};
|
|
926
|
+
readonly summary: "Create or replace a trigger";
|
|
927
|
+
readonly description: "Validates the trigger document (CEL parses, grants exist, one inbox per bot, chat routes per conversation), reconciles its Temporal Schedule, and stores it. A poll spec edit resets the cursor; a webhook keeps its URL token.";
|
|
928
|
+
};
|
|
929
|
+
readonly "bots/triggers/read": {
|
|
930
|
+
readonly scope: "universe";
|
|
931
|
+
readonly access: {
|
|
932
|
+
readonly action: "read";
|
|
933
|
+
readonly kind: "universe";
|
|
934
|
+
};
|
|
935
|
+
readonly summary: "Read a trigger";
|
|
936
|
+
readonly description: "Returns one trigger with its incidents and cursor; the ingest path and pairing code are included for bot-management callers.";
|
|
937
|
+
};
|
|
938
|
+
readonly "bots/triggers/list": {
|
|
939
|
+
readonly scope: "universe";
|
|
940
|
+
readonly access: {
|
|
941
|
+
readonly action: "read";
|
|
942
|
+
readonly kind: "universe";
|
|
943
|
+
};
|
|
944
|
+
readonly summary: "List a bot's triggers";
|
|
945
|
+
readonly description: "Returns every trigger of the bot ordered by id, secrets included for bot-management callers.";
|
|
946
|
+
};
|
|
947
|
+
readonly "bots/triggers/delete": {
|
|
948
|
+
readonly scope: "universe";
|
|
949
|
+
readonly access: {
|
|
950
|
+
readonly action: "manage_bot";
|
|
951
|
+
readonly kind: "universe";
|
|
952
|
+
};
|
|
953
|
+
readonly summary: "Delete a trigger";
|
|
954
|
+
readonly description: "Drops the trigger's Temporal Schedule and pairings, then the record; stored events keep their history.";
|
|
955
|
+
};
|
|
956
|
+
readonly "bots/events/admit": {
|
|
957
|
+
readonly scope: "universe";
|
|
958
|
+
readonly access: {
|
|
959
|
+
readonly action: "invoke_bot";
|
|
960
|
+
readonly kind: "universe";
|
|
961
|
+
};
|
|
962
|
+
readonly summary: "Admit an event manually";
|
|
963
|
+
readonly description: "Stores an operator-authored event for the bot's main session and wakes the controller. eventId is the dedupe identity; a duplicate returns the stored row.";
|
|
964
|
+
};
|
|
965
|
+
readonly "bots/events/replay": {
|
|
966
|
+
readonly scope: "universe";
|
|
967
|
+
readonly access: {
|
|
968
|
+
readonly action: "manage_bot";
|
|
969
|
+
readonly kind: "universe";
|
|
970
|
+
};
|
|
971
|
+
readonly summary: "Replay a stored event";
|
|
972
|
+
readonly description: "Re-admits the stored envelope as a fresh event with the original routing; the replay never coalesces.";
|
|
973
|
+
};
|
|
974
|
+
readonly "bots/events/list": {
|
|
975
|
+
readonly scope: "universe";
|
|
976
|
+
readonly access: {
|
|
977
|
+
readonly action: "read";
|
|
978
|
+
readonly kind: "universe";
|
|
979
|
+
};
|
|
980
|
+
readonly summary: "List a bot's events";
|
|
981
|
+
readonly description: "Cursor-paginated event log, newest first, with outcomes; payload documents stay in the CAS.";
|
|
982
|
+
};
|
|
983
|
+
readonly "bots/events/read": {
|
|
984
|
+
readonly scope: "universe";
|
|
985
|
+
readonly access: {
|
|
986
|
+
readonly action: "read";
|
|
987
|
+
readonly kind: "universe";
|
|
988
|
+
};
|
|
989
|
+
readonly summary: "Read an event by number";
|
|
990
|
+
readonly description: "Returns the event row and its full stored envelope document.";
|
|
991
|
+
};
|
|
992
|
+
readonly "bots/filters/test": {
|
|
993
|
+
readonly scope: "universe";
|
|
994
|
+
readonly access: {
|
|
995
|
+
readonly action: "manage_bot";
|
|
996
|
+
readonly kind: "universe";
|
|
997
|
+
};
|
|
998
|
+
readonly summary: "Test a CEL filter";
|
|
999
|
+
readonly description: "Evaluates a filter against one payload or a sample of recent stored events, reporting matches and evaluation errors without changing anything.";
|
|
1000
|
+
};
|
|
1001
|
+
readonly "channels/accounts/create": {
|
|
1002
|
+
readonly scope: "universe";
|
|
1003
|
+
readonly access: {
|
|
1004
|
+
readonly action: "configure_resource";
|
|
1005
|
+
readonly kind: "universe";
|
|
1006
|
+
};
|
|
1007
|
+
readonly summary: "Create a channel account";
|
|
1008
|
+
readonly description: "Registers a provider account (Telegram, WhatsApp) for this universe. The credential is a retrievable grant reference; no token is accepted here.";
|
|
1009
|
+
};
|
|
1010
|
+
readonly "channels/accounts/put": {
|
|
1011
|
+
readonly scope: "universe";
|
|
1012
|
+
readonly access: {
|
|
1013
|
+
readonly action: "configure_resource";
|
|
1014
|
+
readonly kind: "universe";
|
|
1015
|
+
};
|
|
1016
|
+
readonly summary: "Create or replace a channel account";
|
|
1017
|
+
readonly description: "Replaces the account document whole; pass expectedRevision when replacing. The connector host picks the change up on its next discovery pass.";
|
|
1018
|
+
};
|
|
1019
|
+
readonly "channels/accounts/read": {
|
|
1020
|
+
readonly scope: "universe";
|
|
1021
|
+
readonly access: {
|
|
1022
|
+
readonly action: "read";
|
|
1023
|
+
readonly kind: "universe";
|
|
1024
|
+
};
|
|
1025
|
+
readonly summary: "Read a channel account";
|
|
1026
|
+
readonly description: "Returns the account document and revision.";
|
|
1027
|
+
};
|
|
1028
|
+
readonly "channels/accounts/list": {
|
|
1029
|
+
readonly scope: "universe";
|
|
1030
|
+
readonly access: {
|
|
1031
|
+
readonly action: "read";
|
|
1032
|
+
readonly kind: "universe";
|
|
1033
|
+
};
|
|
1034
|
+
readonly summary: "List channel accounts";
|
|
1035
|
+
readonly description: "Lists this universe's provider accounts, optionally by provider.";
|
|
1036
|
+
};
|
|
1037
|
+
readonly "channels/accounts/delete": {
|
|
1038
|
+
readonly scope: "universe";
|
|
1039
|
+
readonly access: {
|
|
1040
|
+
readonly action: "configure_resource";
|
|
1041
|
+
readonly kind: "universe";
|
|
1042
|
+
};
|
|
1043
|
+
readonly summary: "Delete a channel account";
|
|
1044
|
+
readonly description: "Removes the account and its pairings; chat triggers that reference it stop serving conversations.";
|
|
1045
|
+
};
|
|
1046
|
+
readonly "channels/inbound/admit": {
|
|
1047
|
+
readonly scope: "service";
|
|
1048
|
+
readonly access: {
|
|
1049
|
+
readonly kind: "service";
|
|
1050
|
+
};
|
|
1051
|
+
readonly summary: "Admit a provider message";
|
|
1052
|
+
readonly description: "Service callers only. Resolves the chat trigger for the conversation, applies pairing, and signals the conversation workflow. Returns the decision so the connector can send pairing prompts itself; acknowledge the provider only after this returns.";
|
|
1053
|
+
};
|
|
1054
|
+
readonly "channels/pairings/list": {
|
|
1055
|
+
readonly scope: "universe";
|
|
1056
|
+
readonly access: {
|
|
1057
|
+
readonly action: "read";
|
|
1058
|
+
readonly kind: "universe";
|
|
1059
|
+
};
|
|
1060
|
+
readonly summary: "List chat pairings";
|
|
1061
|
+
readonly description: "Lists conversations paired to chat triggers, optionally by account or bot.";
|
|
1062
|
+
};
|
|
1063
|
+
readonly "channels/pairings/delete": {
|
|
1064
|
+
readonly scope: "universe";
|
|
1065
|
+
readonly access: {
|
|
1066
|
+
readonly action: "configure_resource";
|
|
1067
|
+
readonly kind: "universe";
|
|
1068
|
+
};
|
|
1069
|
+
readonly summary: "Unpair a conversation";
|
|
1070
|
+
readonly description: "Removes one pairing; the conversation must present the pairing code again to reconnect.";
|
|
1071
|
+
};
|
|
1072
|
+
readonly "channels/conversations/read": {
|
|
1073
|
+
readonly scope: "universe";
|
|
1074
|
+
readonly access: {
|
|
1075
|
+
readonly action: "read";
|
|
1076
|
+
readonly kind: "universe";
|
|
1077
|
+
};
|
|
1078
|
+
readonly summary: "Read a conversation snapshot";
|
|
1079
|
+
readonly description: "Queries the conversation workflow's live state for one chat, for debugging; absent when no workflow exists yet.";
|
|
1080
|
+
};
|
|
1081
|
+
readonly "deployment/environment-provider-bindings/list": {
|
|
1082
|
+
readonly scope: "deployment";
|
|
1083
|
+
readonly access: {
|
|
1084
|
+
readonly kind: "deployment";
|
|
1085
|
+
};
|
|
1086
|
+
readonly summary: "List a universe's deployment provider bindings";
|
|
1087
|
+
readonly description: "Deployment configuration inventory of one universe's provider bindings.";
|
|
1088
|
+
};
|
|
1089
|
+
readonly "deployment/universes/create": {
|
|
1090
|
+
readonly scope: "deployment";
|
|
1091
|
+
readonly access: {
|
|
1092
|
+
readonly kind: "deployment";
|
|
1093
|
+
};
|
|
1094
|
+
readonly summary: "Create a universe";
|
|
1095
|
+
readonly description: "Creates the deployment tenant boundary for an explicit UUID. The operation is idempotent and reports whether a new universe was created.";
|
|
1096
|
+
};
|
|
1097
|
+
readonly "deployment/universes/list": {
|
|
1098
|
+
readonly scope: "deployment";
|
|
1099
|
+
readonly access: {
|
|
1100
|
+
readonly kind: "deployment";
|
|
1101
|
+
};
|
|
1102
|
+
readonly summary: "List universes";
|
|
1103
|
+
readonly description: "Returns deployment-wide universe summaries with approximate live aggregate counts and last session activity.";
|
|
1104
|
+
};
|
|
1105
|
+
readonly "deployment/universes/read": {
|
|
1106
|
+
readonly scope: "deployment";
|
|
1107
|
+
readonly access: {
|
|
1108
|
+
readonly kind: "deployment";
|
|
1109
|
+
};
|
|
1110
|
+
readonly summary: "Read a universe";
|
|
1111
|
+
readonly description: "Returns one deployment tenant summary with aggregate session, workspace, profile, and blob usage.";
|
|
1112
|
+
};
|
|
1113
|
+
readonly "deployment/universes/slug/put": {
|
|
1114
|
+
readonly scope: "deployment";
|
|
1115
|
+
readonly access: {
|
|
1116
|
+
readonly kind: "deployment";
|
|
1117
|
+
};
|
|
1118
|
+
readonly summary: "Set a universe slug";
|
|
1119
|
+
readonly description: "Sets or changes a deployment-unique slug without changing the universe UUID or resources. The previous slug is released and old URLs may stop working. With onlyIfUnset, a different existing slug is a conflict. Claiming another universe's slug also returns a conflict. Does not create a universe.";
|
|
1120
|
+
};
|
|
1121
|
+
readonly "deployment/universes/delete": {
|
|
1122
|
+
readonly scope: "deployment";
|
|
1123
|
+
readonly access: {
|
|
1124
|
+
readonly kind: "deployment";
|
|
1125
|
+
};
|
|
1126
|
+
readonly summary: "Purge a universe";
|
|
1127
|
+
readonly description: "Permanently terminates live session workflows, deletes external blob objects, and cascades universe data. The purge is resumable/idempotent after partial failure.";
|
|
1128
|
+
};
|
|
1129
|
+
readonly "deployment/api-keys/create": {
|
|
1130
|
+
readonly scope: "deployment";
|
|
1131
|
+
readonly access: {
|
|
1132
|
+
readonly kind: "deployment";
|
|
1133
|
+
};
|
|
1134
|
+
readonly summary: "Create a scoped API key";
|
|
1135
|
+
readonly description: "Mints a key for a universe or the deployment with the method groups it may call and whether it may assert actors. The plaintext secret is returned exactly once and cannot be recovered; persist only the displayed prefix for identification. Key authority is immutable: revoke and mint to change what one may do.";
|
|
1136
|
+
};
|
|
1137
|
+
readonly "deployment/api-keys/list": {
|
|
1138
|
+
readonly scope: "deployment";
|
|
1139
|
+
readonly access: {
|
|
1140
|
+
readonly kind: "deployment";
|
|
1141
|
+
};
|
|
1142
|
+
readonly summary: "List scoped API keys";
|
|
1143
|
+
readonly description: "Returns non-secret key metadata, all keys or those of one scope, including groups, revocation and last-use timestamps. Plaintext secrets are never stored or returned.";
|
|
1144
|
+
};
|
|
1145
|
+
readonly "deployment/api-keys/rotate": {
|
|
1146
|
+
readonly scope: "deployment";
|
|
1147
|
+
readonly access: {
|
|
1148
|
+
readonly kind: "deployment";
|
|
1149
|
+
};
|
|
1150
|
+
readonly summary: "Rotate a scoped API key";
|
|
1151
|
+
readonly description: "Atomically replaces an active key secret and display prefix, immediately rejecting the old secret on subsequent requests. Preserves scope, groups, actor authority, name, creator and creation time; clears last use. Returns the new secret once. Unknown or revoked prefixes are not found. Already admitted work continues.";
|
|
1152
|
+
};
|
|
1153
|
+
readonly "deployment/api-keys/revoke": {
|
|
1154
|
+
readonly scope: "deployment";
|
|
1155
|
+
readonly access: {
|
|
1156
|
+
readonly kind: "deployment";
|
|
1157
|
+
};
|
|
1158
|
+
readonly summary: "Revoke a scoped API key";
|
|
1159
|
+
readonly description: "Revokes the key with this display prefix; revoking a revoked key keeps its first revocation time. An unknown prefix is not found.";
|
|
1160
|
+
};
|
|
1161
|
+
readonly "deployment/environment-providers/put": {
|
|
1162
|
+
readonly scope: "deployment";
|
|
1163
|
+
readonly access: {
|
|
1164
|
+
readonly kind: "deployment";
|
|
1165
|
+
};
|
|
1166
|
+
readonly summary: "Put an environment provider";
|
|
1167
|
+
readonly description: "Registers or replaces one deployment provider and its controller connection. The provider does not call this API or require access to Lightspeed.";
|
|
1168
|
+
};
|
|
1169
|
+
readonly "deployment/environment-providers/list": {
|
|
1170
|
+
readonly scope: "deployment";
|
|
1171
|
+
readonly access: {
|
|
1172
|
+
readonly kind: "deployment";
|
|
1173
|
+
};
|
|
1174
|
+
readonly summary: "List environment providers";
|
|
1175
|
+
readonly description: "Returns every deployment-registered deployment provider and its controller connection.";
|
|
1176
|
+
};
|
|
1177
|
+
readonly "deployment/environment-providers/read": {
|
|
1178
|
+
readonly scope: "deployment";
|
|
1179
|
+
readonly access: {
|
|
1180
|
+
readonly kind: "deployment";
|
|
1181
|
+
};
|
|
1182
|
+
readonly summary: "Read an environment provider";
|
|
1183
|
+
readonly description: "Returns one deployment-registered deployment provider and its controller connection.";
|
|
1184
|
+
};
|
|
1185
|
+
readonly "deployment/environment-providers/delete": {
|
|
1186
|
+
readonly scope: "deployment";
|
|
1187
|
+
readonly access: {
|
|
1188
|
+
readonly kind: "deployment";
|
|
1189
|
+
};
|
|
1190
|
+
readonly summary: "Delete an environment provider";
|
|
1191
|
+
readonly description: "Deletes a deployment provider only when no universe binding references it.";
|
|
1192
|
+
};
|
|
1193
|
+
readonly "deployment/environment-providers/bindings/put": {
|
|
1194
|
+
readonly scope: "deployment";
|
|
1195
|
+
readonly access: {
|
|
1196
|
+
readonly kind: "deployment";
|
|
1197
|
+
};
|
|
1198
|
+
readonly summary: "Put an environment provider binding";
|
|
1199
|
+
readonly description: "Creates or replaces one universe's complete revisioned routing and admission binding. A deployment provider may have at most one binding in a universe.";
|
|
1200
|
+
};
|
|
1201
|
+
readonly "deployment/environment-providers/bindings/delete": {
|
|
1202
|
+
readonly scope: "deployment";
|
|
1203
|
+
readonly access: {
|
|
1204
|
+
readonly kind: "deployment";
|
|
1205
|
+
};
|
|
1206
|
+
readonly summary: "Delete an environment provider binding";
|
|
1207
|
+
readonly description: "Deletes a universe provider binding only after every referencing environment has reached Closed.";
|
|
1208
|
+
};
|
|
1209
|
+
readonly "deployment/environments/adopt": {
|
|
1210
|
+
readonly scope: "deployment";
|
|
1211
|
+
readonly access: {
|
|
1212
|
+
readonly kind: "deployment";
|
|
1213
|
+
};
|
|
1214
|
+
readonly summary: "Adopt a provider environment";
|
|
1215
|
+
readonly description: "Creates a universe environment by transferring an existing provider target into Lightspeed's managed lifecycle. The caller must explicitly accept ownership transfer.";
|
|
1216
|
+
};
|
|
1217
|
+
readonly "deployment/channels/accounts/list": {
|
|
1218
|
+
readonly scope: "deployment";
|
|
1219
|
+
readonly access: {
|
|
1220
|
+
readonly kind: "deployment";
|
|
1221
|
+
};
|
|
1222
|
+
readonly summary: "List channel accounts across universes";
|
|
1223
|
+
readonly description: "The connector host's discovery call: every enabled provider account of the deployment with its universe id and credential grant reference. Re-poll to pick up accounts created or disabled since.";
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
export declare const NOTIFICATIONS: readonly ["session/started", "session/status/changed", "session/event", "session/runs/started", "session/runs/completed", "error"];
|
|
1227
|
+
export type Method = (typeof METHODS)[number];
|
|
1228
|
+
export type NotificationMethod = (typeof NOTIFICATIONS)[number];
|
|
1229
|
+
export interface MethodMap {
|
|
1230
|
+
/**
|
|
1231
|
+
* Read a workspace file
|
|
1232
|
+
*
|
|
1233
|
+
* Reads bytes at a path in the current workspace head.
|
|
1234
|
+
*/
|
|
1235
|
+
"vfs/workspaces/files/read": {
|
|
1236
|
+
params: Api.VfsWorkspaceFileReadParams;
|
|
1237
|
+
result: Api.AgentApiOutcomeOfBlobReadResponse;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Inspect the Lightspeed protocol
|
|
1241
|
+
*
|
|
1242
|
+
* Returns protocol version, server identity, credential scope and allowed groups before universe selection. Requires authentication in authenticated mode; no universe header is accepted.
|
|
1243
|
+
*/
|
|
1244
|
+
"initialize": {
|
|
1245
|
+
params: Api.InitializeParams;
|
|
1246
|
+
result: Api.AgentApiOutcomeOfInitializeResponse;
|
|
1247
|
+
};
|
|
1248
|
+
/**
|
|
1249
|
+
* Create or reopen a session
|
|
1250
|
+
*
|
|
1251
|
+
* Creates a session, unshared unless access says universe, with optional config/profile setup. Profile metadata and retention supply defaults that explicit values override; the config's default environment attachment becomes active. Retrying an existing id returns that session and keeps its audience.
|
|
1252
|
+
*/
|
|
1253
|
+
"session/start": {
|
|
1254
|
+
params: Api.SessionStartParams;
|
|
1255
|
+
result: Api.AgentApiOutcomeOfSessionStartResponse;
|
|
1256
|
+
};
|
|
1257
|
+
/**
|
|
1258
|
+
* Create or reopen a managed session
|
|
1259
|
+
*
|
|
1260
|
+
* Creates a session with immutable lifecycle and workflow-tool declarations using explicit bound dispatch. Profile metadata, retention, and default environment attachment selection follow session/start semantics. Retrying an id requires the same managed declaration; an ordinary session cannot be upgraded.
|
|
1261
|
+
*/
|
|
1262
|
+
"session/managed/start": {
|
|
1263
|
+
params: Api.ManagedSessionStartParams;
|
|
1264
|
+
result: Api.AgentApiOutcomeOfSessionStartResponse;
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* Read a session
|
|
1268
|
+
*
|
|
1269
|
+
* Returns current state plus a bounded newest-first run-summary page. Follow nextRunCursor with session/runs/list when hasOlderRuns is true; use session/events/read for the transcript.
|
|
1270
|
+
*/
|
|
1271
|
+
"session/read": {
|
|
1272
|
+
params: Api.SessionReadParams;
|
|
1273
|
+
result: Api.AgentApiOutcomeOfSessionReadResponse;
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* List sessions
|
|
1277
|
+
*
|
|
1278
|
+
* Returns a cursor-paginated summary list ordered by most recent update, optionally narrowed by the audience of each session's root: createdBy, visibility, or visibleTo (shared with the universe or created by that actor). Pages may shift while sessions are changing.
|
|
1279
|
+
*/
|
|
1280
|
+
"session/list": {
|
|
1281
|
+
params: Api.SessionListParams;
|
|
1282
|
+
result: Api.AgentApiOutcomeOfSessionListResponse;
|
|
1283
|
+
};
|
|
1284
|
+
/**
|
|
1285
|
+
* Replace session configuration
|
|
1286
|
+
*
|
|
1287
|
+
* Replaces the complete sparse config while the session is idle. Use the current config revision for safe read-modify-write; omitted features are revoked, an omitted model preserves the current model, and an identical document is a no-op.
|
|
1288
|
+
*/
|
|
1289
|
+
"session/config/put": {
|
|
1290
|
+
params: Api.SessionConfigPutParams;
|
|
1291
|
+
result: Api.AgentApiOutcomeOfSessionConfigPutResponse;
|
|
1292
|
+
};
|
|
1293
|
+
/**
|
|
1294
|
+
* Rename a session
|
|
1295
|
+
*
|
|
1296
|
+
* Sets the display name, or clears it when displayName is omitted.
|
|
1297
|
+
*/
|
|
1298
|
+
"session/rename": {
|
|
1299
|
+
params: Api.SessionRenameParams;
|
|
1300
|
+
result: Api.AgentApiOutcomeOfSessionRenameResponse;
|
|
1301
|
+
};
|
|
1302
|
+
/**
|
|
1303
|
+
* Replace session metadata
|
|
1304
|
+
*
|
|
1305
|
+
* Replaces the complete descriptive key/value map (bounded like session/start); an omitted or empty map clears it. Record-only: the event log and updatedAtMs are untouched.
|
|
1306
|
+
*/
|
|
1307
|
+
"session/metadata/put": {
|
|
1308
|
+
params: Api.SessionMetadataPutParams;
|
|
1309
|
+
result: Api.AgentApiOutcomeOfSessionMetadataPutResponse;
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* Replace session retention
|
|
1313
|
+
*
|
|
1314
|
+
* Sets the positive close-relative automatic-deletion duration on a retention root, or clears it with null. Forks and delegated children inherit the root policy and cannot override it.
|
|
1315
|
+
*/
|
|
1316
|
+
"session/retention/put": {
|
|
1317
|
+
params: Api.SessionRetentionPutParams;
|
|
1318
|
+
result: Api.AgentApiOutcomeOfSessionRetentionPutResponse;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* Close a session
|
|
1322
|
+
*
|
|
1323
|
+
* Closes an idle session and detaches its environment bindings. Force mode cancels active work, drops queued runs, and can recover a session whose workflow is unavailable.
|
|
1324
|
+
*/
|
|
1325
|
+
"session/close": {
|
|
1326
|
+
params: Api.SessionCloseParams;
|
|
1327
|
+
result: Api.AgentApiOutcomeOfSessionCloseResponse;
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* Delete closed sessions
|
|
1331
|
+
*
|
|
1332
|
+
* Permanently removes a closed retention-tree leaf, or its closed history-fork and delegated-child subtree when cascade is true. Config-only clones are never included.
|
|
1333
|
+
*/
|
|
1334
|
+
"session/delete": {
|
|
1335
|
+
params: Api.SessionDeleteParams;
|
|
1336
|
+
result: Api.AgentApiOutcomeOfSessionDeleteResponse;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* Share a session with the universe
|
|
1340
|
+
*
|
|
1341
|
+
* Moves an unshared root session to universe visibility, one way; its delegated children follow it. Refused on a bot's session, a delegated child, and a session already shared. Core applies it for any caller of the method; who may share is the caller's gate's decision.
|
|
1342
|
+
*/
|
|
1343
|
+
"session/share": {
|
|
1344
|
+
params: Api.SessionShareParams;
|
|
1345
|
+
result: Api.AgentApiOutcomeOfSessionShareResponse;
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* Read the session event stream
|
|
1349
|
+
*
|
|
1350
|
+
* Returns chronological events. Forward (default) follows after and supports long-polling. Backward reads the latest window below before (or the head); pass nextCursor as before until complete. Follow live events after the initial backward headCursor. Windows may split runs/tool batches; keep historical reconstruction separate from live controls.
|
|
1351
|
+
*/
|
|
1352
|
+
"session/events/read": {
|
|
1353
|
+
params: Api.SessionEventsReadParams;
|
|
1354
|
+
result: Api.AgentApiOutcomeOfSessionEventsReadResponse;
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* Append keyed session context
|
|
1358
|
+
*
|
|
1359
|
+
* Admits a batch of context entries with per-entry results. Stable keys make same-content retries no-ops; invalid input can fail one entry without discarding successful entries.
|
|
1360
|
+
*/
|
|
1361
|
+
"session/context/append": {
|
|
1362
|
+
params: Api.ContextAppendParams;
|
|
1363
|
+
result: Api.AgentApiOutcomeOfContextAppendResponse;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Remove keyed session context
|
|
1367
|
+
*
|
|
1368
|
+
* Removes active entries by stable key with per-key results. Missing keys are idempotent no-ops; runtime-reserved run keys cannot be removed.
|
|
1369
|
+
*/
|
|
1370
|
+
"session/context/remove": {
|
|
1371
|
+
params: Api.ContextRemoveParams;
|
|
1372
|
+
result: Api.AgentApiOutcomeOfContextRemoveResponse;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* Replace session context entries
|
|
1376
|
+
*
|
|
1377
|
+
* Replaces active tool results and user messages in place by entry id, with per-entry results, e.g. to withdraw content the provider rejects. Entries keep their ids, positions, and kinds, so a tool result takes only text and its call stays answered. Refused while a run is active; ids no longer in context report absent.
|
|
1378
|
+
*/
|
|
1379
|
+
"session/context/replace": {
|
|
1380
|
+
params: Api.ContextReplaceParams;
|
|
1381
|
+
result: Api.AgentApiOutcomeOfContextReplaceResponse;
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* Compact session context
|
|
1385
|
+
*
|
|
1386
|
+
* Performs one standalone compaction in any automatic mode, including Disabled, and waits for completion. Active work queues the operation until a safe turn boundary; automatic policy remains unchanged.
|
|
1387
|
+
*/
|
|
1388
|
+
"session/context/compact": {
|
|
1389
|
+
params: Api.ContextCompactParams;
|
|
1390
|
+
result: Api.AgentApiOutcomeOfContextCompactResponse;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Start an agent run
|
|
1394
|
+
*
|
|
1395
|
+
* Accepts input or existing context keys and returns once the run is accepted — queued behind an active run, or running — not when it finishes. Supply submissionId for retry safety, then follow session events or reread the session.
|
|
1396
|
+
*/
|
|
1397
|
+
"session/runs/start": {
|
|
1398
|
+
params: Api.RunStartParams;
|
|
1399
|
+
result: Api.AgentApiOutcomeOfRunStartResponse;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* List session runs
|
|
1403
|
+
*
|
|
1404
|
+
* Returns a newest-first keyset page of bounded run summaries projected from current reducer state.
|
|
1405
|
+
*/
|
|
1406
|
+
"session/runs/list": {
|
|
1407
|
+
params: Api.RunListParams;
|
|
1408
|
+
result: Api.AgentApiOutcomeOfRunListResponse;
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* Read one session run
|
|
1412
|
+
*
|
|
1413
|
+
* Reads and projects one run from its bounded event interval, paged by event sequence.
|
|
1414
|
+
*/
|
|
1415
|
+
"session/runs/read": {
|
|
1416
|
+
params: Api.RunReadParams;
|
|
1417
|
+
result: Api.AgentApiOutcomeOfRunReadResponse;
|
|
1418
|
+
};
|
|
1419
|
+
/**
|
|
1420
|
+
* Cancel a run
|
|
1421
|
+
*
|
|
1422
|
+
* Requests cancellation of the named queued or active run and returns its current projected state; observe session events for terminal completion. In-flight model and tool activity is aborted; no grace turn runs.
|
|
1423
|
+
*/
|
|
1424
|
+
"session/runs/cancel": {
|
|
1425
|
+
params: Api.RunCancelParams;
|
|
1426
|
+
result: Api.AgentApiOutcomeOfRunCancelResponse;
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* Decide pending run approvals
|
|
1430
|
+
*
|
|
1431
|
+
* Approves or rejects pending MCP tool calls on the named active run. Valid decisions apply independently; the run resumes only after every pending approval has a decision.
|
|
1432
|
+
*/
|
|
1433
|
+
"session/runs/approvals/decide": {
|
|
1434
|
+
params: Api.RunApprovalsDecideParams;
|
|
1435
|
+
result: Api.AgentApiOutcomeOfRunApprovalsDecideResponse;
|
|
1436
|
+
};
|
|
1437
|
+
/**
|
|
1438
|
+
* Steer the active run
|
|
1439
|
+
*
|
|
1440
|
+
* Injects input into the named active run; the model sees it at the next turn boundary without interrupting the in-flight turn. Accepted while the run is running or parked on an await; rejected for queued, cancelling, or finished runs.
|
|
1441
|
+
*/
|
|
1442
|
+
"session/runs/steer": {
|
|
1443
|
+
params: Api.RunSteerParams;
|
|
1444
|
+
result: Api.AgentApiOutcomeOfRunSteerResponse;
|
|
1445
|
+
};
|
|
1446
|
+
/**
|
|
1447
|
+
* List available session skills
|
|
1448
|
+
*
|
|
1449
|
+
* Returns separate VFS and environment catalogs with source, reference, availability, readable skill paths, and warnings. Refreshes only when open with no active or queued run, without waking environments. Absent catalogs are omitted.
|
|
1450
|
+
*/
|
|
1451
|
+
"session/skills/list": {
|
|
1452
|
+
params: Api.SkillListParams;
|
|
1453
|
+
result: Api.AgentApiOutcomeOfSkillListResponse;
|
|
1454
|
+
};
|
|
1455
|
+
/**
|
|
1456
|
+
* Apply a profile to a session
|
|
1457
|
+
*
|
|
1458
|
+
* Applies a named or inline profile's config, instructions, and environment setup to an existing session; mutating profile sections require it to be open and idle. Pass current revisions to guard concurrent changes.
|
|
1459
|
+
*/
|
|
1460
|
+
"session/profiles/apply": {
|
|
1461
|
+
params: Api.ProfileApplyParams;
|
|
1462
|
+
result: Api.AgentApiOutcomeOfProfileApplyResponse;
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* Activate a session environment
|
|
1466
|
+
*
|
|
1467
|
+
* Selects an attached, live universe environment for environment-targeted tools while the session is idle.
|
|
1468
|
+
*/
|
|
1469
|
+
"session/environments/activate": {
|
|
1470
|
+
params: Api.SessionEnvironmentActivateParams;
|
|
1471
|
+
result: Api.AgentApiOutcomeOfSessionEnvironmentActivateResponse;
|
|
1472
|
+
};
|
|
1473
|
+
/**
|
|
1474
|
+
* Deactivate the session environment
|
|
1475
|
+
*
|
|
1476
|
+
* Clears active environment selection without changing or closing the universe environment.
|
|
1477
|
+
*/
|
|
1478
|
+
"session/environments/deactivate": {
|
|
1479
|
+
params: Api.SessionEnvironmentDeactivateParams;
|
|
1480
|
+
result: Api.AgentApiOutcomeOfSessionEnvironmentDeactivateResponse;
|
|
1481
|
+
};
|
|
1482
|
+
/**
|
|
1483
|
+
* Bind a credential into an environment
|
|
1484
|
+
*
|
|
1485
|
+
* Maps an environment variable name to an existing grant/provider/direct-secret handle for a universe environment. Requires configuring the environment and configuring resources in the universe. The response exposes only the source handle, never secret material.
|
|
1486
|
+
*/
|
|
1487
|
+
"environments/credentials/bind": {
|
|
1488
|
+
params: Api.EnvironmentCredentialBindParams;
|
|
1489
|
+
result: Api.AgentApiOutcomeOfEnvironmentCredentialBindResponse;
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* List environment credential bindings
|
|
1493
|
+
*
|
|
1494
|
+
* Returns variable names and credential source handles for a universe environment; resolved secret values are never returned.
|
|
1495
|
+
*/
|
|
1496
|
+
"environments/credentials/list": {
|
|
1497
|
+
params: Api.EnvironmentCredentialListParams;
|
|
1498
|
+
result: Api.AgentApiOutcomeOfEnvironmentCredentialListResponse;
|
|
1499
|
+
};
|
|
1500
|
+
/**
|
|
1501
|
+
* Unbind an environment credential
|
|
1502
|
+
*
|
|
1503
|
+
* Removes one variable-to-credential mapping without deleting the underlying grant, provider credential, or secret.
|
|
1504
|
+
*/
|
|
1505
|
+
"environments/credentials/unbind": {
|
|
1506
|
+
params: Api.EnvironmentCredentialUnbindParams;
|
|
1507
|
+
result: Api.AgentApiOutcomeOfEnvironmentCredentialUnbindResponse;
|
|
1508
|
+
};
|
|
1509
|
+
/**
|
|
1510
|
+
* Create an environment
|
|
1511
|
+
*
|
|
1512
|
+
* Records an idempotent provisioning intent against an enabled universe binding, attributed to the caller. The provider validates its provider-wide template and provisions through its backend asynchronously.
|
|
1513
|
+
*/
|
|
1514
|
+
"environments/create": {
|
|
1515
|
+
params: Api.EnvironmentCreateParams;
|
|
1516
|
+
result: Api.AgentApiOutcomeOfEnvironmentCreateResponse;
|
|
1517
|
+
};
|
|
1518
|
+
/**
|
|
1519
|
+
* Read an environment
|
|
1520
|
+
*
|
|
1521
|
+
* Returns the durable universe resource, source binding, logical lifecycle state, and minimal current-incarnation identity.
|
|
1522
|
+
*/
|
|
1523
|
+
"environments/read": {
|
|
1524
|
+
params: Api.EnvironmentReadParams;
|
|
1525
|
+
result: Api.AgentApiOutcomeOfEnvironmentReadResponse;
|
|
1526
|
+
};
|
|
1527
|
+
/**
|
|
1528
|
+
* List environments
|
|
1529
|
+
*
|
|
1530
|
+
* Lists the universe environments, optionally filtered by provider, binding, or logical lifecycle state.
|
|
1531
|
+
*/
|
|
1532
|
+
"environments/list": {
|
|
1533
|
+
params: Api.EnvironmentListParams;
|
|
1534
|
+
result: Api.AgentApiOutcomeOfEnvironmentListResponse;
|
|
1535
|
+
};
|
|
1536
|
+
/**
|
|
1537
|
+
* Close an environment
|
|
1538
|
+
*
|
|
1539
|
+
* Records an asynchronous idempotent close intent. Provider cleanup is resumed by lifecycle reconciliation; quota is released only after Closed.
|
|
1540
|
+
*/
|
|
1541
|
+
"environments/close": {
|
|
1542
|
+
params: Api.EnvironmentCloseParams;
|
|
1543
|
+
result: Api.AgentApiOutcomeOfEnvironmentCloseResponse;
|
|
1544
|
+
};
|
|
1545
|
+
/**
|
|
1546
|
+
* Register an external environment
|
|
1547
|
+
*
|
|
1548
|
+
* Creates an environment backed by a Lightspeed-reachable envd WebSocket endpoint, attributed to the caller. Reachability is checked on demand.
|
|
1549
|
+
*/
|
|
1550
|
+
"environments/external/create": {
|
|
1551
|
+
params: Api.EnvironmentExternalCreateParams;
|
|
1552
|
+
result: Api.AgentApiOutcomeOfEnvironmentExternalCreateResponse;
|
|
1553
|
+
};
|
|
1554
|
+
/**
|
|
1555
|
+
* Configure environment public ingress
|
|
1556
|
+
*
|
|
1557
|
+
* Synchronously enables or disables one provider-authorized HTTPS endpoint for a provisioned environment. The provider owns hostname allocation, the approved guest port, routing, TLS, and health.
|
|
1558
|
+
*/
|
|
1559
|
+
"environments/ingress/put": {
|
|
1560
|
+
params: Api.EnvironmentIngressPutParams;
|
|
1561
|
+
result: Api.AgentApiOutcomeOfEnvironmentIngressPutResponse;
|
|
1562
|
+
};
|
|
1563
|
+
/**
|
|
1564
|
+
* Set environment power intent
|
|
1565
|
+
*
|
|
1566
|
+
* Records the desired power state (running, paused, suspended, or stopped) of a provisioned environment; the lifecycle reconciler converges the provider target asynchronously. Powered-down environments wake transparently on their next use. Rejected when the provider does not support the state.
|
|
1567
|
+
*/
|
|
1568
|
+
"environments/power/put": {
|
|
1569
|
+
params: Api.EnvironmentPowerPutParams;
|
|
1570
|
+
result: Api.AgentApiOutcomeOfEnvironmentPowerPutResponse;
|
|
1571
|
+
};
|
|
1572
|
+
/**
|
|
1573
|
+
* Set environment idle policy
|
|
1574
|
+
*
|
|
1575
|
+
* Replaces or clears the staged idle policy of a provisioned environment. The power reaper measures the daemon's idle duration against the pause/suspend/stop/close thresholds and escalates through the stages the provider supports.
|
|
1576
|
+
*/
|
|
1577
|
+
"environments/idle-policy/put": {
|
|
1578
|
+
params: Api.EnvironmentIdlePolicyPutParams;
|
|
1579
|
+
result: Api.AgentApiOutcomeOfEnvironmentIdlePolicyPutResponse;
|
|
1580
|
+
};
|
|
1581
|
+
/**
|
|
1582
|
+
* List environment provider bindings
|
|
1583
|
+
*
|
|
1584
|
+
* Lists this universe's revisioned routing and admission bindings to deployment-scoped physical providers.
|
|
1585
|
+
*/
|
|
1586
|
+
"environments/provider-bindings/list": {
|
|
1587
|
+
params: Api.EnvironmentProviderBindingListParams;
|
|
1588
|
+
result: Api.AgentApiOutcomeOfEnvironmentProviderBindingListResponse;
|
|
1589
|
+
};
|
|
1590
|
+
/**
|
|
1591
|
+
* Read an environment provider binding
|
|
1592
|
+
*
|
|
1593
|
+
* Returns one universe routing and admission binding. Provider-wide templates and physical resource, network, and ingress policy remain provider-owned.
|
|
1594
|
+
*/
|
|
1595
|
+
"environments/provider-bindings/read": {
|
|
1596
|
+
params: Api.EnvironmentProviderBindingReadParams;
|
|
1597
|
+
result: Api.AgentApiOutcomeOfEnvironmentProviderBindingReadResponse;
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* List environment templates
|
|
1601
|
+
*
|
|
1602
|
+
* Reads immutable templates directly from the selected bound provider controller.
|
|
1603
|
+
*/
|
|
1604
|
+
"environments/templates/list": {
|
|
1605
|
+
params: Api.EnvironmentTemplateListParams;
|
|
1606
|
+
result: Api.AgentApiOutcomeOfEnvironmentTemplateListResponse;
|
|
1607
|
+
};
|
|
1608
|
+
/**
|
|
1609
|
+
* Read an environment template
|
|
1610
|
+
*
|
|
1611
|
+
* Returns one immutable template version from the selected bound provider controller.
|
|
1612
|
+
*/
|
|
1613
|
+
"environments/templates/read": {
|
|
1614
|
+
params: Api.EnvironmentTemplateReadParams;
|
|
1615
|
+
result: Api.AgentApiOutcomeOfEnvironmentTemplateReadResponse;
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Create environment jobs
|
|
1619
|
+
*
|
|
1620
|
+
* Starts a dependency-aware job group on one environment instance, injecting the environment's configured credentials at provider start. requestId is the retry identity; jobs are owned by the instance rather than a session. A powered-down environment is woken on use: the call fails with environment_not_ready while the wake is in progress; retry with backoff.
|
|
1621
|
+
*/
|
|
1622
|
+
"environments/jobs/create": {
|
|
1623
|
+
params: Api.EnvironmentJobCreateParams;
|
|
1624
|
+
result: Api.AgentApiOutcomeOfEnvironmentJobCreateResponse;
|
|
1625
|
+
};
|
|
1626
|
+
/**
|
|
1627
|
+
* Read environment jobs
|
|
1628
|
+
*
|
|
1629
|
+
* Reads selected job handles with bounded output, optional sequence continuation, and optional artifacts; use returned status/sequence data for polling.
|
|
1630
|
+
*/
|
|
1631
|
+
"environments/jobs/read": {
|
|
1632
|
+
params: Api.EnvironmentJobReadParams;
|
|
1633
|
+
result: Api.AgentApiOutcomeOfEnvironmentJobReadResponse;
|
|
1634
|
+
};
|
|
1635
|
+
/**
|
|
1636
|
+
* Cancel environment jobs
|
|
1637
|
+
*
|
|
1638
|
+
* Requests cancellation for selected jobs, optionally including dependents. Force is provider-specific escalation; inspect each per-job result.
|
|
1639
|
+
*/
|
|
1640
|
+
"environments/jobs/cancel": {
|
|
1641
|
+
params: Api.EnvironmentJobCancelParams;
|
|
1642
|
+
result: Api.AgentApiOutcomeOfEnvironmentJobCancelResponse;
|
|
1643
|
+
};
|
|
1644
|
+
/**
|
|
1645
|
+
* Mint an environment registration key
|
|
1646
|
+
*
|
|
1647
|
+
* Creates a reusable universe-scoped key that lets outbound envd daemons register as environments. The plaintext secret is returned exactly once; only its hash is stored. Identity mode, active limit, disconnect grace, and expiry are the key's policy. Treat the secret like a cluster-join credential.
|
|
1648
|
+
*/
|
|
1649
|
+
"environments/registration-keys/create": {
|
|
1650
|
+
params: Api.EnvironmentRegistrationKeyCreateParams;
|
|
1651
|
+
result: Api.AgentApiOutcomeOfEnvironmentRegistrationKeyCreateResponse;
|
|
1652
|
+
};
|
|
1653
|
+
/**
|
|
1654
|
+
* Read an environment registration key
|
|
1655
|
+
*
|
|
1656
|
+
* Returns the key's display prefix, policy, status, and derived environment counts; never the secret or its hash.
|
|
1657
|
+
*/
|
|
1658
|
+
"environments/registration-keys/read": {
|
|
1659
|
+
params: Api.EnvironmentRegistrationKeyReadParams;
|
|
1660
|
+
result: Api.AgentApiOutcomeOfEnvironmentRegistrationKeyReadResponse;
|
|
1661
|
+
};
|
|
1662
|
+
/**
|
|
1663
|
+
* List environment registration keys
|
|
1664
|
+
*
|
|
1665
|
+
* Lists this universe's registration keys with policy, status, and derived counts. Each key is the group of the environments it admitted.
|
|
1666
|
+
*/
|
|
1667
|
+
"environments/registration-keys/list": {
|
|
1668
|
+
params: Api.EnvironmentRegistrationKeyListParams;
|
|
1669
|
+
result: Api.AgentApiOutcomeOfEnvironmentRegistrationKeyListResponse;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Revoke an environment registration key
|
|
1673
|
+
*
|
|
1674
|
+
* Stops the key from admitting new daemon identities; already registered daemons keep reconnecting. With closeEnvironments, also closes every non-closed environment the key admitted. Idempotent.
|
|
1675
|
+
*/
|
|
1676
|
+
"environments/registration-keys/revoke": {
|
|
1677
|
+
params: Api.EnvironmentRegistrationKeyRevokeParams;
|
|
1678
|
+
result: Api.AgentApiOutcomeOfEnvironmentRegistrationKeyRevokeResponse;
|
|
1679
|
+
};
|
|
1680
|
+
/**
|
|
1681
|
+
* Start transcription
|
|
1682
|
+
*
|
|
1683
|
+
* Admit or rejoin a requester-scoped audio transcription. The resolved model is immutable. No session or run is created.
|
|
1684
|
+
*/
|
|
1685
|
+
"transcriptions/start": {
|
|
1686
|
+
params: Api.TranscriptionStartParams;
|
|
1687
|
+
result: Api.AgentApiOutcomeOfTranscriptionResponse;
|
|
1688
|
+
};
|
|
1689
|
+
/**
|
|
1690
|
+
* Read transcription
|
|
1691
|
+
*
|
|
1692
|
+
* Read status and transcript text. An asserted actor may only read their own drafts; direct universe keys retain method-group authority. Unsubmitted CAS results may expire.
|
|
1693
|
+
*/
|
|
1694
|
+
"transcriptions/read": {
|
|
1695
|
+
params: Api.TranscriptionReadParams;
|
|
1696
|
+
result: Api.AgentApiOutcomeOfTranscriptionResponse;
|
|
1697
|
+
};
|
|
1698
|
+
/**
|
|
1699
|
+
* Cancel transcription
|
|
1700
|
+
*
|
|
1701
|
+
* Cancel unfinished transcription. Repeated cancellation is safe; completed results remain unchanged. An asserted actor may only cancel their own drafts; direct universe keys retain method-group authority.
|
|
1702
|
+
*/
|
|
1703
|
+
"transcriptions/cancel": {
|
|
1704
|
+
params: Api.TranscriptionCancelParams;
|
|
1705
|
+
result: Api.AgentApiOutcomeOfTranscriptionResponse;
|
|
1706
|
+
};
|
|
1707
|
+
/**
|
|
1708
|
+
* Read universe model defaults
|
|
1709
|
+
*
|
|
1710
|
+
* Returns the revision and independent agentRun and speechToText selections. Revision zero means no update has been made. Does not contact model providers.
|
|
1711
|
+
*/
|
|
1712
|
+
"models/defaults/read": {
|
|
1713
|
+
params: Api.ModelDefaultsReadParams;
|
|
1714
|
+
result: Api.AgentApiOutcomeOfModelDefaultsResponse;
|
|
1715
|
+
};
|
|
1716
|
+
/**
|
|
1717
|
+
* Set a universe model default
|
|
1718
|
+
*
|
|
1719
|
+
* Sets or explicitly clears one purpose slot using its current expected revision. Existing sessions and admitted work keep their model. Validates the purpose and protocol without contacting provider discovery.
|
|
1720
|
+
*/
|
|
1721
|
+
"models/defaults/put": {
|
|
1722
|
+
params: Api.ModelDefaultsPutParams;
|
|
1723
|
+
result: Api.AgentApiOutcomeOfModelDefaultsResponse;
|
|
1724
|
+
};
|
|
1725
|
+
/**
|
|
1726
|
+
* Discover available models
|
|
1727
|
+
*
|
|
1728
|
+
* Queries supported providers directly, with a brief process-local burst cache, and returns best-effort selectable routes. One provider failure does not discard successful results from others.
|
|
1729
|
+
*/
|
|
1730
|
+
"models/list": {
|
|
1731
|
+
params: Api.ModelListParams;
|
|
1732
|
+
result: Api.AgentApiOutcomeOfModelListResponse;
|
|
1733
|
+
};
|
|
1734
|
+
/**
|
|
1735
|
+
* Create an agent profile
|
|
1736
|
+
*
|
|
1737
|
+
* Creates a new universe-scoped reusable profile document; use profiles/put for create-or-replace revision semantics.
|
|
1738
|
+
*/
|
|
1739
|
+
"profiles/create": {
|
|
1740
|
+
params: Api.ProfileCreateParams;
|
|
1741
|
+
result: Api.AgentApiOutcomeOfProfileCreateResponse;
|
|
1742
|
+
};
|
|
1743
|
+
/**
|
|
1744
|
+
* Read an agent profile
|
|
1745
|
+
*
|
|
1746
|
+
* Returns the complete profile document and current revision.
|
|
1747
|
+
*/
|
|
1748
|
+
"profiles/read": {
|
|
1749
|
+
params: Api.ProfileReadParams;
|
|
1750
|
+
result: Api.AgentApiOutcomeOfProfileReadResponse;
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* List agent profiles
|
|
1754
|
+
*
|
|
1755
|
+
* Returns lightweight summaries of universe-scoped reusable profiles.
|
|
1756
|
+
*/
|
|
1757
|
+
"profiles/list": {
|
|
1758
|
+
params: Api.ProfileListParams;
|
|
1759
|
+
result: Api.AgentApiOutcomeOfProfileListResponse;
|
|
1760
|
+
};
|
|
1761
|
+
/**
|
|
1762
|
+
* Create or replace an agent profile
|
|
1763
|
+
*
|
|
1764
|
+
* Stores the complete profile document. Use expectedRevision from profiles/read when replacing to prevent lost updates; absence writes unconditionally.
|
|
1765
|
+
*/
|
|
1766
|
+
"profiles/put": {
|
|
1767
|
+
params: Api.ProfilePutParams;
|
|
1768
|
+
result: Api.AgentApiOutcomeOfProfilePutResponse;
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* Delete an agent profile
|
|
1772
|
+
*
|
|
1773
|
+
* Deletes the catalog document; sessions previously created or configured from it retain their materialized state.
|
|
1774
|
+
*/
|
|
1775
|
+
"profiles/delete": {
|
|
1776
|
+
params: Api.ProfileDeleteParams;
|
|
1777
|
+
result: Api.AgentApiOutcomeOfProfileDeleteResponse;
|
|
1778
|
+
};
|
|
1779
|
+
/**
|
|
1780
|
+
* Store content-addressed blobs
|
|
1781
|
+
*
|
|
1782
|
+
* Decodes and stores a batch of base64 payloads, returning immutable content references in request order. Re-uploading identical bytes is naturally deduplicated.
|
|
1783
|
+
*/
|
|
1784
|
+
"blobs/put": {
|
|
1785
|
+
params: Api.BlobPutParams;
|
|
1786
|
+
result: Api.AgentApiOutcomeOfBlobPutResponse;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* Read a content-addressed blob
|
|
1790
|
+
*
|
|
1791
|
+
* Returns the complete immutable blob of this universe as base64; large values count against gateway and MCP response limits.
|
|
1792
|
+
*/
|
|
1793
|
+
"blobs/read": {
|
|
1794
|
+
params: Api.BlobReadParams;
|
|
1795
|
+
result: Api.AgentApiOutcomeOfBlobReadResponse;
|
|
1796
|
+
};
|
|
1797
|
+
/**
|
|
1798
|
+
* Check blob availability
|
|
1799
|
+
*
|
|
1800
|
+
* Checks a batch of content references without returning blob bodies, preserving request order.
|
|
1801
|
+
*/
|
|
1802
|
+
"blobs/has": {
|
|
1803
|
+
params: Api.BlobHasParams;
|
|
1804
|
+
result: Api.AgentApiOutcomeOfBlobHasResponse;
|
|
1805
|
+
};
|
|
1806
|
+
/**
|
|
1807
|
+
* Commit a VFS snapshot
|
|
1808
|
+
*
|
|
1809
|
+
* Validates and stores an immutable filesystem manifest. Upload referenced file blobs first; the returned snapshot ref is content-addressed.
|
|
1810
|
+
*/
|
|
1811
|
+
"vfs/snapshots/commit": {
|
|
1812
|
+
params: Api.VfsSnapshotCommitParams;
|
|
1813
|
+
result: Api.AgentApiOutcomeOfVfsSnapshotCommitResponse;
|
|
1814
|
+
};
|
|
1815
|
+
/**
|
|
1816
|
+
* Read a VFS snapshot
|
|
1817
|
+
*
|
|
1818
|
+
* Returns an immutable snapshot manifest and aggregate file/byte counts; file bodies remain separate blobs.
|
|
1819
|
+
*/
|
|
1820
|
+
"vfs/snapshots/read": {
|
|
1821
|
+
params: Api.VfsSnapshotReadParams;
|
|
1822
|
+
result: Api.AgentApiOutcomeOfVfsSnapshotReadResponse;
|
|
1823
|
+
};
|
|
1824
|
+
/**
|
|
1825
|
+
* Create a mutable VFS workspace
|
|
1826
|
+
*
|
|
1827
|
+
* Creates a universe workspace attributed to the caller at an optional seed snapshot; absence starts from a server-created empty snapshot.
|
|
1828
|
+
*/
|
|
1829
|
+
"vfs/workspaces/create": {
|
|
1830
|
+
params: Api.VfsWorkspaceCreateParams;
|
|
1831
|
+
result: Api.AgentApiOutcomeOfVfsWorkspaceCreateResponse;
|
|
1832
|
+
};
|
|
1833
|
+
/**
|
|
1834
|
+
* Read a VFS workspace
|
|
1835
|
+
*
|
|
1836
|
+
* Returns workspace metadata, current head snapshot, and revision for safe updates.
|
|
1837
|
+
*/
|
|
1838
|
+
"vfs/workspaces/read": {
|
|
1839
|
+
params: Api.VfsWorkspaceReadParams;
|
|
1840
|
+
result: Api.AgentApiOutcomeOfVfsWorkspaceReadResponse;
|
|
1841
|
+
};
|
|
1842
|
+
/**
|
|
1843
|
+
* List VFS workspaces
|
|
1844
|
+
*
|
|
1845
|
+
* Lists the mutable universe workspaces with head snapshots, sizes, and revisions.
|
|
1846
|
+
*/
|
|
1847
|
+
"vfs/workspaces/list": {
|
|
1848
|
+
params: Api.VfsWorkspaceListParams;
|
|
1849
|
+
result: Api.AgentApiOutcomeOfVfsWorkspaceListResponse;
|
|
1850
|
+
};
|
|
1851
|
+
/**
|
|
1852
|
+
* Update a VFS workspace
|
|
1853
|
+
*
|
|
1854
|
+
* Moves the workspace head to an existing snapshot, which requires use of the workspace, and updates its display name, which requires configuring it. Pass expectedRevision from a read to prevent lost updates.
|
|
1855
|
+
*/
|
|
1856
|
+
"vfs/workspaces/update": {
|
|
1857
|
+
params: Api.VfsWorkspaceUpdateParams;
|
|
1858
|
+
result: Api.AgentApiOutcomeOfVfsWorkspaceUpdateResponse;
|
|
1859
|
+
};
|
|
1860
|
+
/**
|
|
1861
|
+
* Delete a VFS workspace
|
|
1862
|
+
*
|
|
1863
|
+
* Deletes the mutable workspace record; immutable snapshots and blobs remain content-addressed resources.
|
|
1864
|
+
*/
|
|
1865
|
+
"vfs/workspaces/delete": {
|
|
1866
|
+
params: Api.VfsWorkspaceDeleteParams;
|
|
1867
|
+
result: Api.AgentApiOutcomeOfVfsWorkspaceDeleteResponse;
|
|
1868
|
+
};
|
|
1869
|
+
/**
|
|
1870
|
+
* Create or replace an MCP server record
|
|
1871
|
+
*
|
|
1872
|
+
* Stores the complete catalog document with its optional auth-grant credential. A new server is attributed to the caller. Use expectedRevision when replacing; token material is never accepted or returned.
|
|
1873
|
+
*/
|
|
1874
|
+
"mcp/servers/put": {
|
|
1875
|
+
params: Api.McpServerPutParams;
|
|
1876
|
+
result: Api.AgentApiOutcomeOfMcpServerPutResponse;
|
|
1877
|
+
};
|
|
1878
|
+
/**
|
|
1879
|
+
* Discover MCP server authentication
|
|
1880
|
+
*
|
|
1881
|
+
* Looks for standards-based OAuth protected-resource metadata without creating a server, OAuth client, flow, or grant. An absent OAuth result is inconclusive and callers must allow manual auth selection.
|
|
1882
|
+
*/
|
|
1883
|
+
"mcp/servers/auth/discover": {
|
|
1884
|
+
params: Api.McpServerAuthDiscoverParams;
|
|
1885
|
+
result: Api.AgentApiOutcomeOfMcpServerAuthDiscoverResponse;
|
|
1886
|
+
};
|
|
1887
|
+
/**
|
|
1888
|
+
* Discover MCP server tools
|
|
1889
|
+
*
|
|
1890
|
+
* Connects directly to the configured MCP server with its current universe credential and returns one bounded live tools/list result. The inventory is never persisted or cached and no tool is invoked.
|
|
1891
|
+
*/
|
|
1892
|
+
"mcp/servers/tools/discover": {
|
|
1893
|
+
params: Api.McpServerToolsDiscoverParams;
|
|
1894
|
+
result: Api.AgentApiOutcomeOfMcpServerToolsDiscoverResponse;
|
|
1895
|
+
};
|
|
1896
|
+
/**
|
|
1897
|
+
* Read an MCP server record
|
|
1898
|
+
*
|
|
1899
|
+
* Returns one catalog document with defaults, auth policy, non-secret grant binding, status, and revision; no credential value is exposed.
|
|
1900
|
+
*/
|
|
1901
|
+
"mcp/servers/read": {
|
|
1902
|
+
params: Api.McpServerReadParams;
|
|
1903
|
+
result: Api.AgentApiOutcomeOfMcpServerReadResponse;
|
|
1904
|
+
};
|
|
1905
|
+
/**
|
|
1906
|
+
* List MCP server records
|
|
1907
|
+
*
|
|
1908
|
+
* Lists the universe catalog entries, optionally filtered by lifecycle/configuration status.
|
|
1909
|
+
*/
|
|
1910
|
+
"mcp/servers/list": {
|
|
1911
|
+
params: Api.McpServerListParams;
|
|
1912
|
+
result: Api.AgentApiOutcomeOfMcpServerListResponse;
|
|
1913
|
+
};
|
|
1914
|
+
/**
|
|
1915
|
+
* Delete an MCP server record
|
|
1916
|
+
*
|
|
1917
|
+
* Deletes the catalog document. Existing session configs that reference it are not silently rewritten and may need explicit reconfiguration.
|
|
1918
|
+
*/
|
|
1919
|
+
"mcp/servers/delete": {
|
|
1920
|
+
params: Api.McpServerDeleteParams;
|
|
1921
|
+
result: Api.AgentApiOutcomeOfMcpServerDeleteResponse;
|
|
1922
|
+
};
|
|
1923
|
+
/**
|
|
1924
|
+
* Import a static bearer grant
|
|
1925
|
+
*
|
|
1926
|
+
* Accepts a plaintext token, encrypts it immediately, and returns only grant metadata/token-presence flags. Brokered is the default; retrievable exposure is immutable and permits service-only leases.
|
|
1927
|
+
*/
|
|
1928
|
+
"auth/grants/import": {
|
|
1929
|
+
params: Api.AuthGrantImportParams;
|
|
1930
|
+
result: Api.AgentApiOutcomeOfAuthGrantImportResponse;
|
|
1931
|
+
};
|
|
1932
|
+
/**
|
|
1933
|
+
* Lease a retrievable authentication grant
|
|
1934
|
+
*
|
|
1935
|
+
* Service callers only. Resolves the current access token through the broker, records the lease, and returns it once. Cache only in memory until expiry minus margin (or at most five minutes without expiry), re-lease after target 401/403, and never persist or place the token in workflow payloads.
|
|
1936
|
+
*/
|
|
1937
|
+
"auth/grants/lease": {
|
|
1938
|
+
params: Api.AuthGrantLeaseParams;
|
|
1939
|
+
result: Api.AgentApiOutcomeOfAuthGrantLeaseResponse;
|
|
1940
|
+
};
|
|
1941
|
+
/**
|
|
1942
|
+
* Read authentication grant metadata
|
|
1943
|
+
*
|
|
1944
|
+
* Returns creator attribution, provider binding, scopes, audience, expiry, status, and token-presence flags; access and refresh token values are never returned.
|
|
1945
|
+
*/
|
|
1946
|
+
"auth/grants/read": {
|
|
1947
|
+
params: Api.AuthGrantReadParams;
|
|
1948
|
+
result: Api.AgentApiOutcomeOfAuthGrantReadResponse;
|
|
1949
|
+
};
|
|
1950
|
+
/**
|
|
1951
|
+
* List authentication grants
|
|
1952
|
+
*
|
|
1953
|
+
* Lists non-secret grant metadata for the universe, optionally filtered by status.
|
|
1954
|
+
*/
|
|
1955
|
+
"auth/grants/list": {
|
|
1956
|
+
params: Api.AuthGrantListParams;
|
|
1957
|
+
result: Api.AgentApiOutcomeOfAuthGrantListResponse;
|
|
1958
|
+
};
|
|
1959
|
+
/**
|
|
1960
|
+
* Revoke an authentication grant
|
|
1961
|
+
*
|
|
1962
|
+
* Marks the grant unusable by token consumers while retaining non-secret audit metadata.
|
|
1963
|
+
*/
|
|
1964
|
+
"auth/grants/revoke": {
|
|
1965
|
+
params: Api.AuthGrantRevokeParams;
|
|
1966
|
+
result: Api.AgentApiOutcomeOfAuthGrantRevokeResponse;
|
|
1967
|
+
};
|
|
1968
|
+
/**
|
|
1969
|
+
* Register an OAuth client
|
|
1970
|
+
*
|
|
1971
|
+
* Stores provider endpoints and client identity; an optional plaintext client secret is encrypted and represented thereafter only by hasClientSecret.
|
|
1972
|
+
*/
|
|
1973
|
+
"auth/clients/create": {
|
|
1974
|
+
params: Api.AuthClientCreateParams;
|
|
1975
|
+
result: Api.AgentApiOutcomeOfAuthClientCreateResponse;
|
|
1976
|
+
};
|
|
1977
|
+
/**
|
|
1978
|
+
* Read OAuth client metadata
|
|
1979
|
+
*
|
|
1980
|
+
* Returns endpoints, public client identity, defaults, and secret-presence state; the client secret is never returned.
|
|
1981
|
+
*/
|
|
1982
|
+
"auth/clients/read": {
|
|
1983
|
+
params: Api.AuthClientReadParams;
|
|
1984
|
+
result: Api.AgentApiOutcomeOfAuthClientReadResponse;
|
|
1985
|
+
};
|
|
1986
|
+
/**
|
|
1987
|
+
* List OAuth clients
|
|
1988
|
+
*
|
|
1989
|
+
* Lists non-secret OAuth client registrations in the universe.
|
|
1990
|
+
*/
|
|
1991
|
+
"auth/clients/list": {
|
|
1992
|
+
params: Api.AuthClientListParams;
|
|
1993
|
+
result: Api.AgentApiOutcomeOfAuthClientListResponse;
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
* Delete an OAuth client
|
|
1997
|
+
*
|
|
1998
|
+
* Deletes the client registration and its stored client secret; grants already created from it remain separate records.
|
|
1999
|
+
*/
|
|
2000
|
+
"auth/clients/delete": {
|
|
2001
|
+
params: Api.AuthClientDeleteParams;
|
|
2002
|
+
result: Api.AgentApiOutcomeOfAuthClientDeleteResponse;
|
|
2003
|
+
};
|
|
2004
|
+
/**
|
|
2005
|
+
* Start an OAuth authorization flow
|
|
2006
|
+
*
|
|
2007
|
+
* Creates a short-lived PKCE flow carrying the immutable grant exposure choice and returns a browser authorization URL containing one-time state. Treat the URL as sensitive and poll auth/flows/read for completion.
|
|
2008
|
+
*/
|
|
2009
|
+
"auth/flows/start": {
|
|
2010
|
+
params: Api.AuthFlowStartParams;
|
|
2011
|
+
result: Api.AgentApiOutcomeOfAuthFlowStartResponse;
|
|
2012
|
+
};
|
|
2013
|
+
/**
|
|
2014
|
+
* Read OAuth flow status
|
|
2015
|
+
*
|
|
2016
|
+
* Polls a flow's pending/completed/failed/expired state and returns the resulting grant id when authorization succeeds; no token value is exposed.
|
|
2017
|
+
*/
|
|
2018
|
+
"auth/flows/read": {
|
|
2019
|
+
params: Api.AuthFlowStatusParams;
|
|
2020
|
+
result: Api.AgentApiOutcomeOfAuthFlowStatusResponse;
|
|
2021
|
+
};
|
|
2022
|
+
/**
|
|
2023
|
+
* Register an authentication provider
|
|
2024
|
+
*
|
|
2025
|
+
* Creates a model or GitHub credential source. Plaintext API keys/private keys are encrypted on receipt and later represented only by configuration plus hasCredential.
|
|
2026
|
+
*/
|
|
2027
|
+
"auth/providers/create": {
|
|
2028
|
+
params: Api.AuthProviderCreateParams;
|
|
2029
|
+
result: Api.AgentApiOutcomeOfAuthProviderCreateResponse;
|
|
2030
|
+
};
|
|
2031
|
+
/**
|
|
2032
|
+
* Read authentication provider metadata
|
|
2033
|
+
*
|
|
2034
|
+
* Returns provider kind, non-secret configuration, credential-presence state, and status; stored credentials are never returned.
|
|
2035
|
+
*/
|
|
2036
|
+
"auth/providers/read": {
|
|
2037
|
+
params: Api.AuthProviderReadParams;
|
|
2038
|
+
result: Api.AgentApiOutcomeOfAuthProviderReadResponse;
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* List authentication providers
|
|
2042
|
+
*
|
|
2043
|
+
* Lists non-secret model/GitHub provider registrations for the universe.
|
|
2044
|
+
*/
|
|
2045
|
+
"auth/providers/list": {
|
|
2046
|
+
params: Api.AuthProviderListParams;
|
|
2047
|
+
result: Api.AgentApiOutcomeOfAuthProviderListResponse;
|
|
2048
|
+
};
|
|
2049
|
+
/**
|
|
2050
|
+
* Delete an authentication provider
|
|
2051
|
+
*
|
|
2052
|
+
* Deletes the provider registration and its directly stored credential; separately stored grants remain independent records.
|
|
2053
|
+
*/
|
|
2054
|
+
"auth/providers/delete": {
|
|
2055
|
+
params: Api.AuthProviderDeleteParams;
|
|
2056
|
+
result: Api.AgentApiOutcomeOfAuthProviderDeleteResponse;
|
|
2057
|
+
};
|
|
2058
|
+
/**
|
|
2059
|
+
* List GitHub App installations
|
|
2060
|
+
*
|
|
2061
|
+
* Uses the registered GitHub App provider credential to query accessible installations and returns account/permission metadata without tokens.
|
|
2062
|
+
*/
|
|
2063
|
+
"auth/github/installations/list": {
|
|
2064
|
+
params: Api.AuthGitHubInstallationListParams;
|
|
2065
|
+
result: Api.AgentApiOutcomeOfAuthGitHubInstallationListResponse;
|
|
2066
|
+
};
|
|
2067
|
+
/**
|
|
2068
|
+
* Grant access to a GitHub App installation
|
|
2069
|
+
*
|
|
2070
|
+
* Creates or refreshes a universe auth grant for one accessible installation. The installation token is brokered internally and never returned.
|
|
2071
|
+
*/
|
|
2072
|
+
"auth/github/installations/grant": {
|
|
2073
|
+
params: Api.AuthGitHubInstallationGrantParams;
|
|
2074
|
+
result: Api.AgentApiOutcomeOfAuthGitHubInstallationGrantResponse;
|
|
2075
|
+
};
|
|
2076
|
+
/**
|
|
2077
|
+
* Create a bot
|
|
2078
|
+
*
|
|
2079
|
+
* Creates the bot record, optionally with its triggers, and starts its controller. Fails if the bot id exists; a trigger failure rolls the bot back.
|
|
2080
|
+
*/
|
|
2081
|
+
"bots/create": {
|
|
2082
|
+
params: Api.BotCreateParams;
|
|
2083
|
+
result: Api.AgentApiOutcomeOfBotCreateResponse;
|
|
2084
|
+
};
|
|
2085
|
+
/**
|
|
2086
|
+
* Create or replace a bot document
|
|
2087
|
+
*
|
|
2088
|
+
* Replaces the mutable configuration whole and signals the controller, which applies it at its next idle boundary. Pass expectedRevision when replacing; a closed bot accepts label-only edits.
|
|
2089
|
+
*/
|
|
2090
|
+
"bots/put": {
|
|
2091
|
+
params: Api.BotPutParams;
|
|
2092
|
+
result: Api.AgentApiOutcomeOfBotPutResponse;
|
|
2093
|
+
};
|
|
2094
|
+
/**
|
|
2095
|
+
* Read a bot
|
|
2096
|
+
*
|
|
2097
|
+
* Returns the bot record, its current revision, and lifecycle columns.
|
|
2098
|
+
*/
|
|
2099
|
+
"bots/read": {
|
|
2100
|
+
params: Api.BotReadParams;
|
|
2101
|
+
result: Api.AgentApiOutcomeOfBotReadResponse;
|
|
2102
|
+
};
|
|
2103
|
+
/**
|
|
2104
|
+
* List bots
|
|
2105
|
+
*
|
|
2106
|
+
* Returns the roster: every bot with its trigger count, pending event count, and latest event, optionally narrowed by createdBy.
|
|
2107
|
+
*/
|
|
2108
|
+
"bots/list": {
|
|
2109
|
+
params: Api.BotListParams;
|
|
2110
|
+
result: Api.AgentApiOutcomeOfBotListResponse;
|
|
2111
|
+
};
|
|
2112
|
+
/**
|
|
2113
|
+
* Close a bot
|
|
2114
|
+
*
|
|
2115
|
+
* Terminal and idempotent: disables every trigger, drops schedules, and tells the controller to archive pending events and force-close its sessions. Returns once signalled; follow bots/state/read for closing to closed.
|
|
2116
|
+
*/
|
|
2117
|
+
"bots/close": {
|
|
2118
|
+
params: Api.BotCloseParams;
|
|
2119
|
+
result: Api.AgentApiOutcomeOfBotCloseResponse;
|
|
2120
|
+
};
|
|
2121
|
+
/**
|
|
2122
|
+
* Delete a bot
|
|
2123
|
+
*
|
|
2124
|
+
* Closes the bot if needed, waits for its controller to complete, deletes the sessions it closed, and removes the record so the bot id is free again.
|
|
2125
|
+
*/
|
|
2126
|
+
"bots/delete": {
|
|
2127
|
+
params: Api.BotDeleteParams;
|
|
2128
|
+
result: Api.AgentApiOutcomeOfBotDeleteResponse;
|
|
2129
|
+
};
|
|
2130
|
+
/**
|
|
2131
|
+
* Read bot controller state
|
|
2132
|
+
*
|
|
2133
|
+
* Queries the controller workflow for its live snapshot (sessions, buffers, active and recent deliveries, budget) and lists sub-agent descendants. The controller is absent until the bot's first event.
|
|
2134
|
+
*/
|
|
2135
|
+
"bots/state/read": {
|
|
2136
|
+
params: Api.BotStateReadParams;
|
|
2137
|
+
result: Api.AgentApiOutcomeOfBotStateReadResponse;
|
|
2138
|
+
};
|
|
2139
|
+
/**
|
|
2140
|
+
* Rotate a bot session
|
|
2141
|
+
*
|
|
2142
|
+
* Asks the controller to close one of the bot's sessions at its next idle boundary and continue on a fresh generation; queued deliveries follow.
|
|
2143
|
+
*/
|
|
2144
|
+
"bots/sessions/rotate": {
|
|
2145
|
+
params: Api.BotSessionRotateParams;
|
|
2146
|
+
result: Api.AgentApiOutcomeOfBotSessionRotateResponse;
|
|
2147
|
+
};
|
|
2148
|
+
/**
|
|
2149
|
+
* Create or replace a trigger
|
|
2150
|
+
*
|
|
2151
|
+
* Validates the trigger document (CEL parses, grants exist, one inbox per bot, chat routes per conversation), reconciles its Temporal Schedule, and stores it. A poll spec edit resets the cursor; a webhook keeps its URL token.
|
|
2152
|
+
*/
|
|
2153
|
+
"bots/triggers/put": {
|
|
2154
|
+
params: Api.BotTriggerPutParams;
|
|
2155
|
+
result: Api.AgentApiOutcomeOfBotTriggerPutResponse;
|
|
2156
|
+
};
|
|
2157
|
+
/**
|
|
2158
|
+
* Read a trigger
|
|
2159
|
+
*
|
|
2160
|
+
* Returns one trigger with its incidents and cursor; the ingest path and pairing code are included for bot-management callers.
|
|
2161
|
+
*/
|
|
2162
|
+
"bots/triggers/read": {
|
|
2163
|
+
params: Api.BotTriggerReadParams;
|
|
2164
|
+
result: Api.AgentApiOutcomeOfBotTriggerReadResponse;
|
|
2165
|
+
};
|
|
2166
|
+
/**
|
|
2167
|
+
* List a bot's triggers
|
|
2168
|
+
*
|
|
2169
|
+
* Returns every trigger of the bot ordered by id, secrets included for bot-management callers.
|
|
2170
|
+
*/
|
|
2171
|
+
"bots/triggers/list": {
|
|
2172
|
+
params: Api.BotTriggerListParams;
|
|
2173
|
+
result: Api.AgentApiOutcomeOfBotTriggerListResponse;
|
|
2174
|
+
};
|
|
2175
|
+
/**
|
|
2176
|
+
* Delete a trigger
|
|
2177
|
+
*
|
|
2178
|
+
* Drops the trigger's Temporal Schedule and pairings, then the record; stored events keep their history.
|
|
2179
|
+
*/
|
|
2180
|
+
"bots/triggers/delete": {
|
|
2181
|
+
params: Api.BotTriggerDeleteParams;
|
|
2182
|
+
result: Api.AgentApiOutcomeOfBotTriggerDeleteResponse;
|
|
2183
|
+
};
|
|
2184
|
+
/**
|
|
2185
|
+
* Admit an event manually
|
|
2186
|
+
*
|
|
2187
|
+
* Stores an operator-authored event for the bot's main session and wakes the controller. eventId is the dedupe identity; a duplicate returns the stored row.
|
|
2188
|
+
*/
|
|
2189
|
+
"bots/events/admit": {
|
|
2190
|
+
params: Api.BotEventAdmitParams;
|
|
2191
|
+
result: Api.AgentApiOutcomeOfBotEventAdmitResponse;
|
|
2192
|
+
};
|
|
2193
|
+
/**
|
|
2194
|
+
* Replay a stored event
|
|
2195
|
+
*
|
|
2196
|
+
* Re-admits the stored envelope as a fresh event with the original routing; the replay never coalesces.
|
|
2197
|
+
*/
|
|
2198
|
+
"bots/events/replay": {
|
|
2199
|
+
params: Api.BotEventReplayParams;
|
|
2200
|
+
result: Api.AgentApiOutcomeOfBotEventReplayResponse;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* List a bot's events
|
|
2204
|
+
*
|
|
2205
|
+
* Cursor-paginated event log, newest first, with outcomes; payload documents stay in the CAS.
|
|
2206
|
+
*/
|
|
2207
|
+
"bots/events/list": {
|
|
2208
|
+
params: Api.BotEventListParams;
|
|
2209
|
+
result: Api.AgentApiOutcomeOfBotEventListResponse;
|
|
2210
|
+
};
|
|
2211
|
+
/**
|
|
2212
|
+
* Read an event by number
|
|
2213
|
+
*
|
|
2214
|
+
* Returns the event row and its full stored envelope document.
|
|
2215
|
+
*/
|
|
2216
|
+
"bots/events/read": {
|
|
2217
|
+
params: Api.BotEventReadParams;
|
|
2218
|
+
result: Api.AgentApiOutcomeOfBotEventReadResponse;
|
|
2219
|
+
};
|
|
2220
|
+
/**
|
|
2221
|
+
* Test a CEL filter
|
|
2222
|
+
*
|
|
2223
|
+
* Evaluates a filter against one payload or a sample of recent stored events, reporting matches and evaluation errors without changing anything.
|
|
2224
|
+
*/
|
|
2225
|
+
"bots/filters/test": {
|
|
2226
|
+
params: Api.BotFilterTestParams;
|
|
2227
|
+
result: Api.AgentApiOutcomeOfBotFilterTestResponse;
|
|
2228
|
+
};
|
|
2229
|
+
/**
|
|
2230
|
+
* Create a channel account
|
|
2231
|
+
*
|
|
2232
|
+
* Registers a provider account (Telegram, WhatsApp) for this universe. The credential is a retrievable grant reference; no token is accepted here.
|
|
2233
|
+
*/
|
|
2234
|
+
"channels/accounts/create": {
|
|
2235
|
+
params: Api.ChannelAccountCreateParams;
|
|
2236
|
+
result: Api.AgentApiOutcomeOfChannelAccountCreateResponse;
|
|
2237
|
+
};
|
|
2238
|
+
/**
|
|
2239
|
+
* Create or replace a channel account
|
|
2240
|
+
*
|
|
2241
|
+
* Replaces the account document whole; pass expectedRevision when replacing. The connector host picks the change up on its next discovery pass.
|
|
2242
|
+
*/
|
|
2243
|
+
"channels/accounts/put": {
|
|
2244
|
+
params: Api.ChannelAccountPutParams;
|
|
2245
|
+
result: Api.AgentApiOutcomeOfChannelAccountPutResponse;
|
|
2246
|
+
};
|
|
2247
|
+
/**
|
|
2248
|
+
* Read a channel account
|
|
2249
|
+
*
|
|
2250
|
+
* Returns the account document and revision.
|
|
2251
|
+
*/
|
|
2252
|
+
"channels/accounts/read": {
|
|
2253
|
+
params: Api.ChannelAccountReadParams;
|
|
2254
|
+
result: Api.AgentApiOutcomeOfChannelAccountReadResponse;
|
|
2255
|
+
};
|
|
2256
|
+
/**
|
|
2257
|
+
* List channel accounts
|
|
2258
|
+
*
|
|
2259
|
+
* Lists this universe's provider accounts, optionally by provider.
|
|
2260
|
+
*/
|
|
2261
|
+
"channels/accounts/list": {
|
|
2262
|
+
params: Api.ChannelAccountListParams;
|
|
2263
|
+
result: Api.AgentApiOutcomeOfChannelAccountListResponse;
|
|
2264
|
+
};
|
|
2265
|
+
/**
|
|
2266
|
+
* Delete a channel account
|
|
2267
|
+
*
|
|
2268
|
+
* Removes the account and its pairings; chat triggers that reference it stop serving conversations.
|
|
2269
|
+
*/
|
|
2270
|
+
"channels/accounts/delete": {
|
|
2271
|
+
params: Api.ChannelAccountDeleteParams;
|
|
2272
|
+
result: Api.AgentApiOutcomeOfChannelAccountDeleteResponse;
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* Admit a provider message
|
|
2276
|
+
*
|
|
2277
|
+
* Service callers only. Resolves the chat trigger for the conversation, applies pairing, and signals the conversation workflow. Returns the decision so the connector can send pairing prompts itself; acknowledge the provider only after this returns.
|
|
2278
|
+
*/
|
|
2279
|
+
"channels/inbound/admit": {
|
|
2280
|
+
params: Api.ChannelInboundAdmitParams;
|
|
2281
|
+
result: Api.AgentApiOutcomeOfChannelInboundAdmitResponse;
|
|
2282
|
+
};
|
|
2283
|
+
/**
|
|
2284
|
+
* List chat pairings
|
|
2285
|
+
*
|
|
2286
|
+
* Lists conversations paired to chat triggers, optionally by account or bot.
|
|
2287
|
+
*/
|
|
2288
|
+
"channels/pairings/list": {
|
|
2289
|
+
params: Api.ChannelPairingListParams;
|
|
2290
|
+
result: Api.AgentApiOutcomeOfChannelPairingListResponse;
|
|
2291
|
+
};
|
|
2292
|
+
/**
|
|
2293
|
+
* Unpair a conversation
|
|
2294
|
+
*
|
|
2295
|
+
* Removes one pairing; the conversation must present the pairing code again to reconnect.
|
|
2296
|
+
*/
|
|
2297
|
+
"channels/pairings/delete": {
|
|
2298
|
+
params: Api.ChannelPairingDeleteParams;
|
|
2299
|
+
result: Api.AgentApiOutcomeOfChannelPairingDeleteResponse;
|
|
2300
|
+
};
|
|
2301
|
+
/**
|
|
2302
|
+
* Read a conversation snapshot
|
|
2303
|
+
*
|
|
2304
|
+
* Queries the conversation workflow's live state for one chat, for debugging; absent when no workflow exists yet.
|
|
2305
|
+
*/
|
|
2306
|
+
"channels/conversations/read": {
|
|
2307
|
+
params: Api.ChannelConversationReadParams;
|
|
2308
|
+
result: Api.AgentApiOutcomeOfChannelConversationReadResponse;
|
|
2309
|
+
};
|
|
2310
|
+
/**
|
|
2311
|
+
* List a universe's deployment provider bindings
|
|
2312
|
+
*
|
|
2313
|
+
* Deployment configuration inventory of one universe's provider bindings.
|
|
2314
|
+
*/
|
|
2315
|
+
"deployment/environment-provider-bindings/list": {
|
|
2316
|
+
params: Api.DeploymentUniverseReadParams;
|
|
2317
|
+
result: Api.AgentApiOutcomeOfEnvironmentProviderBindingListResponse;
|
|
2318
|
+
};
|
|
2319
|
+
/**
|
|
2320
|
+
* Create a universe
|
|
2321
|
+
*
|
|
2322
|
+
* Creates the deployment tenant boundary for an explicit UUID. The operation is idempotent and reports whether a new universe was created.
|
|
2323
|
+
*/
|
|
2324
|
+
"deployment/universes/create": {
|
|
2325
|
+
params: Api.DeploymentUniverseCreateParams;
|
|
2326
|
+
result: Api.AgentApiOutcomeOfDeploymentUniverseCreateResponse;
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* List universes
|
|
2330
|
+
*
|
|
2331
|
+
* Returns deployment-wide universe summaries with approximate live aggregate counts and last session activity.
|
|
2332
|
+
*/
|
|
2333
|
+
"deployment/universes/list": {
|
|
2334
|
+
params: Api.DeploymentUniverseListParams;
|
|
2335
|
+
result: Api.AgentApiOutcomeOfDeploymentUniverseListResponse;
|
|
2336
|
+
};
|
|
2337
|
+
/**
|
|
2338
|
+
* Read a universe
|
|
2339
|
+
*
|
|
2340
|
+
* Returns one deployment tenant summary with aggregate session, workspace, profile, and blob usage.
|
|
2341
|
+
*/
|
|
2342
|
+
"deployment/universes/read": {
|
|
2343
|
+
params: Api.DeploymentUniverseReadParams;
|
|
2344
|
+
result: Api.AgentApiOutcomeOfDeploymentUniverseReadResponse;
|
|
2345
|
+
};
|
|
2346
|
+
/**
|
|
2347
|
+
* Set a universe slug
|
|
2348
|
+
*
|
|
2349
|
+
* Sets or changes a deployment-unique slug without changing the universe UUID or resources. The previous slug is released and old URLs may stop working. With onlyIfUnset, a different existing slug is a conflict. Claiming another universe's slug also returns a conflict. Does not create a universe.
|
|
2350
|
+
*/
|
|
2351
|
+
"deployment/universes/slug/put": {
|
|
2352
|
+
params: Api.DeploymentUniverseSlugPutParams;
|
|
2353
|
+
result: Api.AgentApiOutcomeOfDeploymentUniverseReadResponse;
|
|
2354
|
+
};
|
|
2355
|
+
/**
|
|
2356
|
+
* Purge a universe
|
|
2357
|
+
*
|
|
2358
|
+
* Permanently terminates live session workflows, deletes external blob objects, and cascades universe data. The purge is resumable/idempotent after partial failure.
|
|
2359
|
+
*/
|
|
2360
|
+
"deployment/universes/delete": {
|
|
2361
|
+
params: Api.DeploymentUniverseDeleteParams;
|
|
2362
|
+
result: Api.AgentApiOutcomeOfDeploymentUniverseDeleteResponse;
|
|
2363
|
+
};
|
|
2364
|
+
/**
|
|
2365
|
+
* Create a scoped API key
|
|
2366
|
+
*
|
|
2367
|
+
* Mints a key for a universe or the deployment with the method groups it may call and whether it may assert actors. The plaintext secret is returned exactly once and cannot be recovered; persist only the displayed prefix for identification. Key authority is immutable: revoke and mint to change what one may do.
|
|
2368
|
+
*/
|
|
2369
|
+
"deployment/api-keys/create": {
|
|
2370
|
+
params: Api.DeploymentApiKeyCreateParams;
|
|
2371
|
+
result: Api.AgentApiOutcomeOfDeploymentApiKeyCreateResponse;
|
|
2372
|
+
};
|
|
2373
|
+
/**
|
|
2374
|
+
* List scoped API keys
|
|
2375
|
+
*
|
|
2376
|
+
* Returns non-secret key metadata, all keys or those of one scope, including groups, revocation and last-use timestamps. Plaintext secrets are never stored or returned.
|
|
2377
|
+
*/
|
|
2378
|
+
"deployment/api-keys/list": {
|
|
2379
|
+
params: Api.DeploymentApiKeyListParams;
|
|
2380
|
+
result: Api.AgentApiOutcomeOfDeploymentApiKeyListResponse;
|
|
2381
|
+
};
|
|
2382
|
+
/**
|
|
2383
|
+
* Rotate a scoped API key
|
|
2384
|
+
*
|
|
2385
|
+
* Atomically replaces an active key secret and display prefix, immediately rejecting the old secret on subsequent requests. Preserves scope, groups, actor authority, name, creator and creation time; clears last use. Returns the new secret once. Unknown or revoked prefixes are not found. Already admitted work continues.
|
|
2386
|
+
*/
|
|
2387
|
+
"deployment/api-keys/rotate": {
|
|
2388
|
+
params: Api.DeploymentApiKeyRotateParams;
|
|
2389
|
+
result: Api.AgentApiOutcomeOfDeploymentApiKeyCreateResponse;
|
|
2390
|
+
};
|
|
2391
|
+
/**
|
|
2392
|
+
* Revoke a scoped API key
|
|
2393
|
+
*
|
|
2394
|
+
* Revokes the key with this display prefix; revoking a revoked key keeps its first revocation time. An unknown prefix is not found.
|
|
2395
|
+
*/
|
|
2396
|
+
"deployment/api-keys/revoke": {
|
|
2397
|
+
params: Api.DeploymentApiKeyRevokeParams;
|
|
2398
|
+
result: Api.AgentApiOutcomeOfDeploymentApiKeyRevokeResponse;
|
|
2399
|
+
};
|
|
2400
|
+
/**
|
|
2401
|
+
* Put an environment provider
|
|
2402
|
+
*
|
|
2403
|
+
* Registers or replaces one deployment provider and its controller connection. The provider does not call this API or require access to Lightspeed.
|
|
2404
|
+
*/
|
|
2405
|
+
"deployment/environment-providers/put": {
|
|
2406
|
+
params: Api.DeploymentEnvironmentProviderPutParams;
|
|
2407
|
+
result: Api.AgentApiOutcomeOfDeploymentEnvironmentProviderPutResponse;
|
|
2408
|
+
};
|
|
2409
|
+
/**
|
|
2410
|
+
* List environment providers
|
|
2411
|
+
*
|
|
2412
|
+
* Returns every deployment-registered deployment provider and its controller connection.
|
|
2413
|
+
*/
|
|
2414
|
+
"deployment/environment-providers/list": {
|
|
2415
|
+
params: Api.DeploymentEnvironmentProviderListParams;
|
|
2416
|
+
result: Api.AgentApiOutcomeOfDeploymentEnvironmentProviderListResponse;
|
|
2417
|
+
};
|
|
2418
|
+
/**
|
|
2419
|
+
* Read an environment provider
|
|
2420
|
+
*
|
|
2421
|
+
* Returns one deployment-registered deployment provider and its controller connection.
|
|
2422
|
+
*/
|
|
2423
|
+
"deployment/environment-providers/read": {
|
|
2424
|
+
params: Api.DeploymentEnvironmentProviderReadParams;
|
|
2425
|
+
result: Api.AgentApiOutcomeOfDeploymentEnvironmentProviderReadResponse;
|
|
2426
|
+
};
|
|
2427
|
+
/**
|
|
2428
|
+
* Delete an environment provider
|
|
2429
|
+
*
|
|
2430
|
+
* Deletes a deployment provider only when no universe binding references it.
|
|
2431
|
+
*/
|
|
2432
|
+
"deployment/environment-providers/delete": {
|
|
2433
|
+
params: Api.DeploymentEnvironmentProviderDeleteParams;
|
|
2434
|
+
result: Api.AgentApiOutcomeOfDeploymentEnvironmentProviderDeleteResponse;
|
|
2435
|
+
};
|
|
2436
|
+
/**
|
|
2437
|
+
* Put an environment provider binding
|
|
2438
|
+
*
|
|
2439
|
+
* Creates or replaces one universe's complete revisioned routing and admission binding. A deployment provider may have at most one binding in a universe.
|
|
2440
|
+
*/
|
|
2441
|
+
"deployment/environment-providers/bindings/put": {
|
|
2442
|
+
params: Api.DeploymentProviderBindingPutParams;
|
|
2443
|
+
result: Api.AgentApiOutcomeOfDeploymentProviderBindingPutResponse;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* Delete an environment provider binding
|
|
2447
|
+
*
|
|
2448
|
+
* Deletes a universe provider binding only after every referencing environment has reached Closed.
|
|
2449
|
+
*/
|
|
2450
|
+
"deployment/environment-providers/bindings/delete": {
|
|
2451
|
+
params: Api.DeploymentProviderBindingDeleteParams;
|
|
2452
|
+
result: Api.AgentApiOutcomeOfDeploymentProviderBindingDeleteResponse;
|
|
2453
|
+
};
|
|
2454
|
+
/**
|
|
2455
|
+
* Adopt a provider environment
|
|
2456
|
+
*
|
|
2457
|
+
* Creates a universe environment by transferring an existing provider target into Lightspeed's managed lifecycle. The caller must explicitly accept ownership transfer.
|
|
2458
|
+
*/
|
|
2459
|
+
"deployment/environments/adopt": {
|
|
2460
|
+
params: Api.DeploymentEnvironmentAdoptParams;
|
|
2461
|
+
result: Api.AgentApiOutcomeOfDeploymentEnvironmentAdoptResponse;
|
|
2462
|
+
};
|
|
2463
|
+
/**
|
|
2464
|
+
* List channel accounts across universes
|
|
2465
|
+
*
|
|
2466
|
+
* The connector host's discovery call: every enabled provider account of the deployment with its universe id and credential grant reference. Re-poll to pick up accounts created or disabled since.
|
|
2467
|
+
*/
|
|
2468
|
+
"deployment/channels/accounts/list": {
|
|
2469
|
+
params: Api.DeploymentChannelAccountListParams;
|
|
2470
|
+
result: Api.AgentApiOutcomeOfDeploymentChannelAccountListResponse;
|
|
2471
|
+
};
|
|
2472
|
+
}
|
|
2473
|
+
export type MethodParams<M extends Method> = MethodMap[M]["params"];
|
|
2474
|
+
export type MethodResult<M extends Method> = MethodMap[M]["result"];
|
|
2475
|
+
export interface RpcCaller {
|
|
2476
|
+
call<M extends Method>(method: M, params: MethodParams<M>): Promise<MethodResult<M>>;
|
|
2477
|
+
}
|
|
2478
|
+
export declare const rpc: {
|
|
2479
|
+
/**
|
|
2480
|
+
* Read a workspace file
|
|
2481
|
+
*
|
|
2482
|
+
* Reads bytes at a path in the current workspace head.
|
|
2483
|
+
*/
|
|
2484
|
+
readonly vfsWorkspacesFilesRead: (client: RpcCaller, params: Api.VfsWorkspaceFileReadParams) => Promise<Api.AgentApiOutcomeOfBlobReadResponse>;
|
|
2485
|
+
/**
|
|
2486
|
+
* Inspect the Lightspeed protocol
|
|
2487
|
+
*
|
|
2488
|
+
* Returns protocol version, server identity, credential scope and allowed groups before universe selection. Requires authentication in authenticated mode; no universe header is accepted.
|
|
2489
|
+
*/
|
|
2490
|
+
readonly initialize: (client: RpcCaller, params: Api.InitializeParams) => Promise<Api.AgentApiOutcomeOfInitializeResponse>;
|
|
2491
|
+
/**
|
|
2492
|
+
* Create or reopen a session
|
|
2493
|
+
*
|
|
2494
|
+
* Creates a session, unshared unless access says universe, with optional config/profile setup. Profile metadata and retention supply defaults that explicit values override; the config's default environment attachment becomes active. Retrying an existing id returns that session and keeps its audience.
|
|
2495
|
+
*/
|
|
2496
|
+
readonly sessionStart: (client: RpcCaller, params: Api.SessionStartParams) => Promise<Api.AgentApiOutcomeOfSessionStartResponse>;
|
|
2497
|
+
/**
|
|
2498
|
+
* Create or reopen a managed session
|
|
2499
|
+
*
|
|
2500
|
+
* Creates a session with immutable lifecycle and workflow-tool declarations using explicit bound dispatch. Profile metadata, retention, and default environment attachment selection follow session/start semantics. Retrying an id requires the same managed declaration; an ordinary session cannot be upgraded.
|
|
2501
|
+
*/
|
|
2502
|
+
readonly sessionManagedStart: (client: RpcCaller, params: Api.ManagedSessionStartParams) => Promise<Api.AgentApiOutcomeOfSessionStartResponse>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Read a session
|
|
2505
|
+
*
|
|
2506
|
+
* Returns current state plus a bounded newest-first run-summary page. Follow nextRunCursor with session/runs/list when hasOlderRuns is true; use session/events/read for the transcript.
|
|
2507
|
+
*/
|
|
2508
|
+
readonly sessionRead: (client: RpcCaller, params: Api.SessionReadParams) => Promise<Api.AgentApiOutcomeOfSessionReadResponse>;
|
|
2509
|
+
/**
|
|
2510
|
+
* List sessions
|
|
2511
|
+
*
|
|
2512
|
+
* Returns a cursor-paginated summary list ordered by most recent update, optionally narrowed by the audience of each session's root: createdBy, visibility, or visibleTo (shared with the universe or created by that actor). Pages may shift while sessions are changing.
|
|
2513
|
+
*/
|
|
2514
|
+
readonly sessionList: (client: RpcCaller, params: Api.SessionListParams) => Promise<Api.AgentApiOutcomeOfSessionListResponse>;
|
|
2515
|
+
/**
|
|
2516
|
+
* Replace session configuration
|
|
2517
|
+
*
|
|
2518
|
+
* Replaces the complete sparse config while the session is idle. Use the current config revision for safe read-modify-write; omitted features are revoked, an omitted model preserves the current model, and an identical document is a no-op.
|
|
2519
|
+
*/
|
|
2520
|
+
readonly sessionConfigPut: (client: RpcCaller, params: Api.SessionConfigPutParams) => Promise<Api.AgentApiOutcomeOfSessionConfigPutResponse>;
|
|
2521
|
+
/**
|
|
2522
|
+
* Rename a session
|
|
2523
|
+
*
|
|
2524
|
+
* Sets the display name, or clears it when displayName is omitted.
|
|
2525
|
+
*/
|
|
2526
|
+
readonly sessionRename: (client: RpcCaller, params: Api.SessionRenameParams) => Promise<Api.AgentApiOutcomeOfSessionRenameResponse>;
|
|
2527
|
+
/**
|
|
2528
|
+
* Replace session metadata
|
|
2529
|
+
*
|
|
2530
|
+
* Replaces the complete descriptive key/value map (bounded like session/start); an omitted or empty map clears it. Record-only: the event log and updatedAtMs are untouched.
|
|
2531
|
+
*/
|
|
2532
|
+
readonly sessionMetadataPut: (client: RpcCaller, params: Api.SessionMetadataPutParams) => Promise<Api.AgentApiOutcomeOfSessionMetadataPutResponse>;
|
|
2533
|
+
/**
|
|
2534
|
+
* Replace session retention
|
|
2535
|
+
*
|
|
2536
|
+
* Sets the positive close-relative automatic-deletion duration on a retention root, or clears it with null. Forks and delegated children inherit the root policy and cannot override it.
|
|
2537
|
+
*/
|
|
2538
|
+
readonly sessionRetentionPut: (client: RpcCaller, params: Api.SessionRetentionPutParams) => Promise<Api.AgentApiOutcomeOfSessionRetentionPutResponse>;
|
|
2539
|
+
/**
|
|
2540
|
+
* Close a session
|
|
2541
|
+
*
|
|
2542
|
+
* Closes an idle session and detaches its environment bindings. Force mode cancels active work, drops queued runs, and can recover a session whose workflow is unavailable.
|
|
2543
|
+
*/
|
|
2544
|
+
readonly sessionClose: (client: RpcCaller, params: Api.SessionCloseParams) => Promise<Api.AgentApiOutcomeOfSessionCloseResponse>;
|
|
2545
|
+
/**
|
|
2546
|
+
* Delete closed sessions
|
|
2547
|
+
*
|
|
2548
|
+
* Permanently removes a closed retention-tree leaf, or its closed history-fork and delegated-child subtree when cascade is true. Config-only clones are never included.
|
|
2549
|
+
*/
|
|
2550
|
+
readonly sessionDelete: (client: RpcCaller, params: Api.SessionDeleteParams) => Promise<Api.AgentApiOutcomeOfSessionDeleteResponse>;
|
|
2551
|
+
/**
|
|
2552
|
+
* Share a session with the universe
|
|
2553
|
+
*
|
|
2554
|
+
* Moves an unshared root session to universe visibility, one way; its delegated children follow it. Refused on a bot's session, a delegated child, and a session already shared. Core applies it for any caller of the method; who may share is the caller's gate's decision.
|
|
2555
|
+
*/
|
|
2556
|
+
readonly sessionShare: (client: RpcCaller, params: Api.SessionShareParams) => Promise<Api.AgentApiOutcomeOfSessionShareResponse>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Read the session event stream
|
|
2559
|
+
*
|
|
2560
|
+
* Returns chronological events. Forward (default) follows after and supports long-polling. Backward reads the latest window below before (or the head); pass nextCursor as before until complete. Follow live events after the initial backward headCursor. Windows may split runs/tool batches; keep historical reconstruction separate from live controls.
|
|
2561
|
+
*/
|
|
2562
|
+
readonly sessionEventsRead: (client: RpcCaller, params: Api.SessionEventsReadParams) => Promise<Api.AgentApiOutcomeOfSessionEventsReadResponse>;
|
|
2563
|
+
/**
|
|
2564
|
+
* Append keyed session context
|
|
2565
|
+
*
|
|
2566
|
+
* Admits a batch of context entries with per-entry results. Stable keys make same-content retries no-ops; invalid input can fail one entry without discarding successful entries.
|
|
2567
|
+
*/
|
|
2568
|
+
readonly sessionContextAppend: (client: RpcCaller, params: Api.ContextAppendParams) => Promise<Api.AgentApiOutcomeOfContextAppendResponse>;
|
|
2569
|
+
/**
|
|
2570
|
+
* Remove keyed session context
|
|
2571
|
+
*
|
|
2572
|
+
* Removes active entries by stable key with per-key results. Missing keys are idempotent no-ops; runtime-reserved run keys cannot be removed.
|
|
2573
|
+
*/
|
|
2574
|
+
readonly sessionContextRemove: (client: RpcCaller, params: Api.ContextRemoveParams) => Promise<Api.AgentApiOutcomeOfContextRemoveResponse>;
|
|
2575
|
+
/**
|
|
2576
|
+
* Replace session context entries
|
|
2577
|
+
*
|
|
2578
|
+
* Replaces active tool results and user messages in place by entry id, with per-entry results, e.g. to withdraw content the provider rejects. Entries keep their ids, positions, and kinds, so a tool result takes only text and its call stays answered. Refused while a run is active; ids no longer in context report absent.
|
|
2579
|
+
*/
|
|
2580
|
+
readonly sessionContextReplace: (client: RpcCaller, params: Api.ContextReplaceParams) => Promise<Api.AgentApiOutcomeOfContextReplaceResponse>;
|
|
2581
|
+
/**
|
|
2582
|
+
* Compact session context
|
|
2583
|
+
*
|
|
2584
|
+
* Performs one standalone compaction in any automatic mode, including Disabled, and waits for completion. Active work queues the operation until a safe turn boundary; automatic policy remains unchanged.
|
|
2585
|
+
*/
|
|
2586
|
+
readonly sessionContextCompact: (client: RpcCaller, params: Api.ContextCompactParams) => Promise<Api.AgentApiOutcomeOfContextCompactResponse>;
|
|
2587
|
+
/**
|
|
2588
|
+
* Start an agent run
|
|
2589
|
+
*
|
|
2590
|
+
* Accepts input or existing context keys and returns once the run is accepted — queued behind an active run, or running — not when it finishes. Supply submissionId for retry safety, then follow session events or reread the session.
|
|
2591
|
+
*/
|
|
2592
|
+
readonly sessionRunsStart: (client: RpcCaller, params: Api.RunStartParams) => Promise<Api.AgentApiOutcomeOfRunStartResponse>;
|
|
2593
|
+
/**
|
|
2594
|
+
* List session runs
|
|
2595
|
+
*
|
|
2596
|
+
* Returns a newest-first keyset page of bounded run summaries projected from current reducer state.
|
|
2597
|
+
*/
|
|
2598
|
+
readonly sessionRunsList: (client: RpcCaller, params: Api.RunListParams) => Promise<Api.AgentApiOutcomeOfRunListResponse>;
|
|
2599
|
+
/**
|
|
2600
|
+
* Read one session run
|
|
2601
|
+
*
|
|
2602
|
+
* Reads and projects one run from its bounded event interval, paged by event sequence.
|
|
2603
|
+
*/
|
|
2604
|
+
readonly sessionRunsRead: (client: RpcCaller, params: Api.RunReadParams) => Promise<Api.AgentApiOutcomeOfRunReadResponse>;
|
|
2605
|
+
/**
|
|
2606
|
+
* Cancel a run
|
|
2607
|
+
*
|
|
2608
|
+
* Requests cancellation of the named queued or active run and returns its current projected state; observe session events for terminal completion. In-flight model and tool activity is aborted; no grace turn runs.
|
|
2609
|
+
*/
|
|
2610
|
+
readonly sessionRunsCancel: (client: RpcCaller, params: Api.RunCancelParams) => Promise<Api.AgentApiOutcomeOfRunCancelResponse>;
|
|
2611
|
+
/**
|
|
2612
|
+
* Decide pending run approvals
|
|
2613
|
+
*
|
|
2614
|
+
* Approves or rejects pending MCP tool calls on the named active run. Valid decisions apply independently; the run resumes only after every pending approval has a decision.
|
|
2615
|
+
*/
|
|
2616
|
+
readonly sessionRunsApprovalsDecide: (client: RpcCaller, params: Api.RunApprovalsDecideParams) => Promise<Api.AgentApiOutcomeOfRunApprovalsDecideResponse>;
|
|
2617
|
+
/**
|
|
2618
|
+
* Steer the active run
|
|
2619
|
+
*
|
|
2620
|
+
* Injects input into the named active run; the model sees it at the next turn boundary without interrupting the in-flight turn. Accepted while the run is running or parked on an await; rejected for queued, cancelling, or finished runs.
|
|
2621
|
+
*/
|
|
2622
|
+
readonly sessionRunsSteer: (client: RpcCaller, params: Api.RunSteerParams) => Promise<Api.AgentApiOutcomeOfRunSteerResponse>;
|
|
2623
|
+
/**
|
|
2624
|
+
* List available session skills
|
|
2625
|
+
*
|
|
2626
|
+
* Returns separate VFS and environment catalogs with source, reference, availability, readable skill paths, and warnings. Refreshes only when open with no active or queued run, without waking environments. Absent catalogs are omitted.
|
|
2627
|
+
*/
|
|
2628
|
+
readonly sessionSkillsList: (client: RpcCaller, params: Api.SkillListParams) => Promise<Api.AgentApiOutcomeOfSkillListResponse>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Apply a profile to a session
|
|
2631
|
+
*
|
|
2632
|
+
* Applies a named or inline profile's config, instructions, and environment setup to an existing session; mutating profile sections require it to be open and idle. Pass current revisions to guard concurrent changes.
|
|
2633
|
+
*/
|
|
2634
|
+
readonly sessionProfilesApply: (client: RpcCaller, params: Api.ProfileApplyParams) => Promise<Api.AgentApiOutcomeOfProfileApplyResponse>;
|
|
2635
|
+
/**
|
|
2636
|
+
* Activate a session environment
|
|
2637
|
+
*
|
|
2638
|
+
* Selects an attached, live universe environment for environment-targeted tools while the session is idle.
|
|
2639
|
+
*/
|
|
2640
|
+
readonly sessionEnvironmentsActivate: (client: RpcCaller, params: Api.SessionEnvironmentActivateParams) => Promise<Api.AgentApiOutcomeOfSessionEnvironmentActivateResponse>;
|
|
2641
|
+
/**
|
|
2642
|
+
* Deactivate the session environment
|
|
2643
|
+
*
|
|
2644
|
+
* Clears active environment selection without changing or closing the universe environment.
|
|
2645
|
+
*/
|
|
2646
|
+
readonly sessionEnvironmentsDeactivate: (client: RpcCaller, params: Api.SessionEnvironmentDeactivateParams) => Promise<Api.AgentApiOutcomeOfSessionEnvironmentDeactivateResponse>;
|
|
2647
|
+
/**
|
|
2648
|
+
* Bind a credential into an environment
|
|
2649
|
+
*
|
|
2650
|
+
* Maps an environment variable name to an existing grant/provider/direct-secret handle for a universe environment. Requires configuring the environment and configuring resources in the universe. The response exposes only the source handle, never secret material.
|
|
2651
|
+
*/
|
|
2652
|
+
readonly environmentsCredentialsBind: (client: RpcCaller, params: Api.EnvironmentCredentialBindParams) => Promise<Api.AgentApiOutcomeOfEnvironmentCredentialBindResponse>;
|
|
2653
|
+
/**
|
|
2654
|
+
* List environment credential bindings
|
|
2655
|
+
*
|
|
2656
|
+
* Returns variable names and credential source handles for a universe environment; resolved secret values are never returned.
|
|
2657
|
+
*/
|
|
2658
|
+
readonly environmentsCredentialsList: (client: RpcCaller, params: Api.EnvironmentCredentialListParams) => Promise<Api.AgentApiOutcomeOfEnvironmentCredentialListResponse>;
|
|
2659
|
+
/**
|
|
2660
|
+
* Unbind an environment credential
|
|
2661
|
+
*
|
|
2662
|
+
* Removes one variable-to-credential mapping without deleting the underlying grant, provider credential, or secret.
|
|
2663
|
+
*/
|
|
2664
|
+
readonly environmentsCredentialsUnbind: (client: RpcCaller, params: Api.EnvironmentCredentialUnbindParams) => Promise<Api.AgentApiOutcomeOfEnvironmentCredentialUnbindResponse>;
|
|
2665
|
+
/**
|
|
2666
|
+
* Create an environment
|
|
2667
|
+
*
|
|
2668
|
+
* Records an idempotent provisioning intent against an enabled universe binding, attributed to the caller. The provider validates its provider-wide template and provisions through its backend asynchronously.
|
|
2669
|
+
*/
|
|
2670
|
+
readonly environmentsCreate: (client: RpcCaller, params: Api.EnvironmentCreateParams) => Promise<Api.AgentApiOutcomeOfEnvironmentCreateResponse>;
|
|
2671
|
+
/**
|
|
2672
|
+
* Read an environment
|
|
2673
|
+
*
|
|
2674
|
+
* Returns the durable universe resource, source binding, logical lifecycle state, and minimal current-incarnation identity.
|
|
2675
|
+
*/
|
|
2676
|
+
readonly environmentsRead: (client: RpcCaller, params: Api.EnvironmentReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentReadResponse>;
|
|
2677
|
+
/**
|
|
2678
|
+
* List environments
|
|
2679
|
+
*
|
|
2680
|
+
* Lists the universe environments, optionally filtered by provider, binding, or logical lifecycle state.
|
|
2681
|
+
*/
|
|
2682
|
+
readonly environmentsList: (client: RpcCaller, params: Api.EnvironmentListParams) => Promise<Api.AgentApiOutcomeOfEnvironmentListResponse>;
|
|
2683
|
+
/**
|
|
2684
|
+
* Close an environment
|
|
2685
|
+
*
|
|
2686
|
+
* Records an asynchronous idempotent close intent. Provider cleanup is resumed by lifecycle reconciliation; quota is released only after Closed.
|
|
2687
|
+
*/
|
|
2688
|
+
readonly environmentsClose: (client: RpcCaller, params: Api.EnvironmentCloseParams) => Promise<Api.AgentApiOutcomeOfEnvironmentCloseResponse>;
|
|
2689
|
+
/**
|
|
2690
|
+
* Register an external environment
|
|
2691
|
+
*
|
|
2692
|
+
* Creates an environment backed by a Lightspeed-reachable envd WebSocket endpoint, attributed to the caller. Reachability is checked on demand.
|
|
2693
|
+
*/
|
|
2694
|
+
readonly environmentsExternalCreate: (client: RpcCaller, params: Api.EnvironmentExternalCreateParams) => Promise<Api.AgentApiOutcomeOfEnvironmentExternalCreateResponse>;
|
|
2695
|
+
/**
|
|
2696
|
+
* Configure environment public ingress
|
|
2697
|
+
*
|
|
2698
|
+
* Synchronously enables or disables one provider-authorized HTTPS endpoint for a provisioned environment. The provider owns hostname allocation, the approved guest port, routing, TLS, and health.
|
|
2699
|
+
*/
|
|
2700
|
+
readonly environmentsIngressPut: (client: RpcCaller, params: Api.EnvironmentIngressPutParams) => Promise<Api.AgentApiOutcomeOfEnvironmentIngressPutResponse>;
|
|
2701
|
+
/**
|
|
2702
|
+
* Set environment power intent
|
|
2703
|
+
*
|
|
2704
|
+
* Records the desired power state (running, paused, suspended, or stopped) of a provisioned environment; the lifecycle reconciler converges the provider target asynchronously. Powered-down environments wake transparently on their next use. Rejected when the provider does not support the state.
|
|
2705
|
+
*/
|
|
2706
|
+
readonly environmentsPowerPut: (client: RpcCaller, params: Api.EnvironmentPowerPutParams) => Promise<Api.AgentApiOutcomeOfEnvironmentPowerPutResponse>;
|
|
2707
|
+
/**
|
|
2708
|
+
* Set environment idle policy
|
|
2709
|
+
*
|
|
2710
|
+
* Replaces or clears the staged idle policy of a provisioned environment. The power reaper measures the daemon's idle duration against the pause/suspend/stop/close thresholds and escalates through the stages the provider supports.
|
|
2711
|
+
*/
|
|
2712
|
+
readonly environmentsIdlePolicyPut: (client: RpcCaller, params: Api.EnvironmentIdlePolicyPutParams) => Promise<Api.AgentApiOutcomeOfEnvironmentIdlePolicyPutResponse>;
|
|
2713
|
+
/**
|
|
2714
|
+
* List environment provider bindings
|
|
2715
|
+
*
|
|
2716
|
+
* Lists this universe's revisioned routing and admission bindings to deployment-scoped physical providers.
|
|
2717
|
+
*/
|
|
2718
|
+
readonly environmentsProviderBindingsList: (client: RpcCaller, params: Api.EnvironmentProviderBindingListParams) => Promise<Api.AgentApiOutcomeOfEnvironmentProviderBindingListResponse>;
|
|
2719
|
+
/**
|
|
2720
|
+
* Read an environment provider binding
|
|
2721
|
+
*
|
|
2722
|
+
* Returns one universe routing and admission binding. Provider-wide templates and physical resource, network, and ingress policy remain provider-owned.
|
|
2723
|
+
*/
|
|
2724
|
+
readonly environmentsProviderBindingsRead: (client: RpcCaller, params: Api.EnvironmentProviderBindingReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentProviderBindingReadResponse>;
|
|
2725
|
+
/**
|
|
2726
|
+
* List environment templates
|
|
2727
|
+
*
|
|
2728
|
+
* Reads immutable templates directly from the selected bound provider controller.
|
|
2729
|
+
*/
|
|
2730
|
+
readonly environmentsTemplatesList: (client: RpcCaller, params: Api.EnvironmentTemplateListParams) => Promise<Api.AgentApiOutcomeOfEnvironmentTemplateListResponse>;
|
|
2731
|
+
/**
|
|
2732
|
+
* Read an environment template
|
|
2733
|
+
*
|
|
2734
|
+
* Returns one immutable template version from the selected bound provider controller.
|
|
2735
|
+
*/
|
|
2736
|
+
readonly environmentsTemplatesRead: (client: RpcCaller, params: Api.EnvironmentTemplateReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentTemplateReadResponse>;
|
|
2737
|
+
/**
|
|
2738
|
+
* Create environment jobs
|
|
2739
|
+
*
|
|
2740
|
+
* Starts a dependency-aware job group on one environment instance, injecting the environment's configured credentials at provider start. requestId is the retry identity; jobs are owned by the instance rather than a session. A powered-down environment is woken on use: the call fails with environment_not_ready while the wake is in progress; retry with backoff.
|
|
2741
|
+
*/
|
|
2742
|
+
readonly environmentsJobsCreate: (client: RpcCaller, params: Api.EnvironmentJobCreateParams) => Promise<Api.AgentApiOutcomeOfEnvironmentJobCreateResponse>;
|
|
2743
|
+
/**
|
|
2744
|
+
* Read environment jobs
|
|
2745
|
+
*
|
|
2746
|
+
* Reads selected job handles with bounded output, optional sequence continuation, and optional artifacts; use returned status/sequence data for polling.
|
|
2747
|
+
*/
|
|
2748
|
+
readonly environmentsJobsRead: (client: RpcCaller, params: Api.EnvironmentJobReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentJobReadResponse>;
|
|
2749
|
+
/**
|
|
2750
|
+
* Cancel environment jobs
|
|
2751
|
+
*
|
|
2752
|
+
* Requests cancellation for selected jobs, optionally including dependents. Force is provider-specific escalation; inspect each per-job result.
|
|
2753
|
+
*/
|
|
2754
|
+
readonly environmentsJobsCancel: (client: RpcCaller, params: Api.EnvironmentJobCancelParams) => Promise<Api.AgentApiOutcomeOfEnvironmentJobCancelResponse>;
|
|
2755
|
+
/**
|
|
2756
|
+
* Mint an environment registration key
|
|
2757
|
+
*
|
|
2758
|
+
* Creates a reusable universe-scoped key that lets outbound envd daemons register as environments. The plaintext secret is returned exactly once; only its hash is stored. Identity mode, active limit, disconnect grace, and expiry are the key's policy. Treat the secret like a cluster-join credential.
|
|
2759
|
+
*/
|
|
2760
|
+
readonly environmentsRegistrationKeysCreate: (client: RpcCaller, params: Api.EnvironmentRegistrationKeyCreateParams) => Promise<Api.AgentApiOutcomeOfEnvironmentRegistrationKeyCreateResponse>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Read an environment registration key
|
|
2763
|
+
*
|
|
2764
|
+
* Returns the key's display prefix, policy, status, and derived environment counts; never the secret or its hash.
|
|
2765
|
+
*/
|
|
2766
|
+
readonly environmentsRegistrationKeysRead: (client: RpcCaller, params: Api.EnvironmentRegistrationKeyReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentRegistrationKeyReadResponse>;
|
|
2767
|
+
/**
|
|
2768
|
+
* List environment registration keys
|
|
2769
|
+
*
|
|
2770
|
+
* Lists this universe's registration keys with policy, status, and derived counts. Each key is the group of the environments it admitted.
|
|
2771
|
+
*/
|
|
2772
|
+
readonly environmentsRegistrationKeysList: (client: RpcCaller, params: Api.EnvironmentRegistrationKeyListParams) => Promise<Api.AgentApiOutcomeOfEnvironmentRegistrationKeyListResponse>;
|
|
2773
|
+
/**
|
|
2774
|
+
* Revoke an environment registration key
|
|
2775
|
+
*
|
|
2776
|
+
* Stops the key from admitting new daemon identities; already registered daemons keep reconnecting. With closeEnvironments, also closes every non-closed environment the key admitted. Idempotent.
|
|
2777
|
+
*/
|
|
2778
|
+
readonly environmentsRegistrationKeysRevoke: (client: RpcCaller, params: Api.EnvironmentRegistrationKeyRevokeParams) => Promise<Api.AgentApiOutcomeOfEnvironmentRegistrationKeyRevokeResponse>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Start transcription
|
|
2781
|
+
*
|
|
2782
|
+
* Admit or rejoin a requester-scoped audio transcription. The resolved model is immutable. No session or run is created.
|
|
2783
|
+
*/
|
|
2784
|
+
readonly transcriptionsStart: (client: RpcCaller, params: Api.TranscriptionStartParams) => Promise<Api.AgentApiOutcomeOfTranscriptionResponse>;
|
|
2785
|
+
/**
|
|
2786
|
+
* Read transcription
|
|
2787
|
+
*
|
|
2788
|
+
* Read status and transcript text. An asserted actor may only read their own drafts; direct universe keys retain method-group authority. Unsubmitted CAS results may expire.
|
|
2789
|
+
*/
|
|
2790
|
+
readonly transcriptionsRead: (client: RpcCaller, params: Api.TranscriptionReadParams) => Promise<Api.AgentApiOutcomeOfTranscriptionResponse>;
|
|
2791
|
+
/**
|
|
2792
|
+
* Cancel transcription
|
|
2793
|
+
*
|
|
2794
|
+
* Cancel unfinished transcription. Repeated cancellation is safe; completed results remain unchanged. An asserted actor may only cancel their own drafts; direct universe keys retain method-group authority.
|
|
2795
|
+
*/
|
|
2796
|
+
readonly transcriptionsCancel: (client: RpcCaller, params: Api.TranscriptionCancelParams) => Promise<Api.AgentApiOutcomeOfTranscriptionResponse>;
|
|
2797
|
+
/**
|
|
2798
|
+
* Read universe model defaults
|
|
2799
|
+
*
|
|
2800
|
+
* Returns the revision and independent agentRun and speechToText selections. Revision zero means no update has been made. Does not contact model providers.
|
|
2801
|
+
*/
|
|
2802
|
+
readonly modelsDefaultsRead: (client: RpcCaller, params: Api.ModelDefaultsReadParams) => Promise<Api.AgentApiOutcomeOfModelDefaultsResponse>;
|
|
2803
|
+
/**
|
|
2804
|
+
* Set a universe model default
|
|
2805
|
+
*
|
|
2806
|
+
* Sets or explicitly clears one purpose slot using its current expected revision. Existing sessions and admitted work keep their model. Validates the purpose and protocol without contacting provider discovery.
|
|
2807
|
+
*/
|
|
2808
|
+
readonly modelsDefaultsPut: (client: RpcCaller, params: Api.ModelDefaultsPutParams) => Promise<Api.AgentApiOutcomeOfModelDefaultsResponse>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Discover available models
|
|
2811
|
+
*
|
|
2812
|
+
* Queries supported providers directly, with a brief process-local burst cache, and returns best-effort selectable routes. One provider failure does not discard successful results from others.
|
|
2813
|
+
*/
|
|
2814
|
+
readonly modelsList: (client: RpcCaller, params: Api.ModelListParams) => Promise<Api.AgentApiOutcomeOfModelListResponse>;
|
|
2815
|
+
/**
|
|
2816
|
+
* Create an agent profile
|
|
2817
|
+
*
|
|
2818
|
+
* Creates a new universe-scoped reusable profile document; use profiles/put for create-or-replace revision semantics.
|
|
2819
|
+
*/
|
|
2820
|
+
readonly profilesCreate: (client: RpcCaller, params: Api.ProfileCreateParams) => Promise<Api.AgentApiOutcomeOfProfileCreateResponse>;
|
|
2821
|
+
/**
|
|
2822
|
+
* Read an agent profile
|
|
2823
|
+
*
|
|
2824
|
+
* Returns the complete profile document and current revision.
|
|
2825
|
+
*/
|
|
2826
|
+
readonly profilesRead: (client: RpcCaller, params: Api.ProfileReadParams) => Promise<Api.AgentApiOutcomeOfProfileReadResponse>;
|
|
2827
|
+
/**
|
|
2828
|
+
* List agent profiles
|
|
2829
|
+
*
|
|
2830
|
+
* Returns lightweight summaries of universe-scoped reusable profiles.
|
|
2831
|
+
*/
|
|
2832
|
+
readonly profilesList: (client: RpcCaller, params: Api.ProfileListParams) => Promise<Api.AgentApiOutcomeOfProfileListResponse>;
|
|
2833
|
+
/**
|
|
2834
|
+
* Create or replace an agent profile
|
|
2835
|
+
*
|
|
2836
|
+
* Stores the complete profile document. Use expectedRevision from profiles/read when replacing to prevent lost updates; absence writes unconditionally.
|
|
2837
|
+
*/
|
|
2838
|
+
readonly profilesPut: (client: RpcCaller, params: Api.ProfilePutParams) => Promise<Api.AgentApiOutcomeOfProfilePutResponse>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Delete an agent profile
|
|
2841
|
+
*
|
|
2842
|
+
* Deletes the catalog document; sessions previously created or configured from it retain their materialized state.
|
|
2843
|
+
*/
|
|
2844
|
+
readonly profilesDelete: (client: RpcCaller, params: Api.ProfileDeleteParams) => Promise<Api.AgentApiOutcomeOfProfileDeleteResponse>;
|
|
2845
|
+
/**
|
|
2846
|
+
* Store content-addressed blobs
|
|
2847
|
+
*
|
|
2848
|
+
* Decodes and stores a batch of base64 payloads, returning immutable content references in request order. Re-uploading identical bytes is naturally deduplicated.
|
|
2849
|
+
*/
|
|
2850
|
+
readonly blobsPut: (client: RpcCaller, params: Api.BlobPutParams) => Promise<Api.AgentApiOutcomeOfBlobPutResponse>;
|
|
2851
|
+
/**
|
|
2852
|
+
* Read a content-addressed blob
|
|
2853
|
+
*
|
|
2854
|
+
* Returns the complete immutable blob of this universe as base64; large values count against gateway and MCP response limits.
|
|
2855
|
+
*/
|
|
2856
|
+
readonly blobsRead: (client: RpcCaller, params: Api.BlobReadParams) => Promise<Api.AgentApiOutcomeOfBlobReadResponse>;
|
|
2857
|
+
/**
|
|
2858
|
+
* Check blob availability
|
|
2859
|
+
*
|
|
2860
|
+
* Checks a batch of content references without returning blob bodies, preserving request order.
|
|
2861
|
+
*/
|
|
2862
|
+
readonly blobsHas: (client: RpcCaller, params: Api.BlobHasParams) => Promise<Api.AgentApiOutcomeOfBlobHasResponse>;
|
|
2863
|
+
/**
|
|
2864
|
+
* Commit a VFS snapshot
|
|
2865
|
+
*
|
|
2866
|
+
* Validates and stores an immutable filesystem manifest. Upload referenced file blobs first; the returned snapshot ref is content-addressed.
|
|
2867
|
+
*/
|
|
2868
|
+
readonly vfsSnapshotsCommit: (client: RpcCaller, params: Api.VfsSnapshotCommitParams) => Promise<Api.AgentApiOutcomeOfVfsSnapshotCommitResponse>;
|
|
2869
|
+
/**
|
|
2870
|
+
* Read a VFS snapshot
|
|
2871
|
+
*
|
|
2872
|
+
* Returns an immutable snapshot manifest and aggregate file/byte counts; file bodies remain separate blobs.
|
|
2873
|
+
*/
|
|
2874
|
+
readonly vfsSnapshotsRead: (client: RpcCaller, params: Api.VfsSnapshotReadParams) => Promise<Api.AgentApiOutcomeOfVfsSnapshotReadResponse>;
|
|
2875
|
+
/**
|
|
2876
|
+
* Create a mutable VFS workspace
|
|
2877
|
+
*
|
|
2878
|
+
* Creates a universe workspace attributed to the caller at an optional seed snapshot; absence starts from a server-created empty snapshot.
|
|
2879
|
+
*/
|
|
2880
|
+
readonly vfsWorkspacesCreate: (client: RpcCaller, params: Api.VfsWorkspaceCreateParams) => Promise<Api.AgentApiOutcomeOfVfsWorkspaceCreateResponse>;
|
|
2881
|
+
/**
|
|
2882
|
+
* Read a VFS workspace
|
|
2883
|
+
*
|
|
2884
|
+
* Returns workspace metadata, current head snapshot, and revision for safe updates.
|
|
2885
|
+
*/
|
|
2886
|
+
readonly vfsWorkspacesRead: (client: RpcCaller, params: Api.VfsWorkspaceReadParams) => Promise<Api.AgentApiOutcomeOfVfsWorkspaceReadResponse>;
|
|
2887
|
+
/**
|
|
2888
|
+
* List VFS workspaces
|
|
2889
|
+
*
|
|
2890
|
+
* Lists the mutable universe workspaces with head snapshots, sizes, and revisions.
|
|
2891
|
+
*/
|
|
2892
|
+
readonly vfsWorkspacesList: (client: RpcCaller, params: Api.VfsWorkspaceListParams) => Promise<Api.AgentApiOutcomeOfVfsWorkspaceListResponse>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Update a VFS workspace
|
|
2895
|
+
*
|
|
2896
|
+
* Moves the workspace head to an existing snapshot, which requires use of the workspace, and updates its display name, which requires configuring it. Pass expectedRevision from a read to prevent lost updates.
|
|
2897
|
+
*/
|
|
2898
|
+
readonly vfsWorkspacesUpdate: (client: RpcCaller, params: Api.VfsWorkspaceUpdateParams) => Promise<Api.AgentApiOutcomeOfVfsWorkspaceUpdateResponse>;
|
|
2899
|
+
/**
|
|
2900
|
+
* Delete a VFS workspace
|
|
2901
|
+
*
|
|
2902
|
+
* Deletes the mutable workspace record; immutable snapshots and blobs remain content-addressed resources.
|
|
2903
|
+
*/
|
|
2904
|
+
readonly vfsWorkspacesDelete: (client: RpcCaller, params: Api.VfsWorkspaceDeleteParams) => Promise<Api.AgentApiOutcomeOfVfsWorkspaceDeleteResponse>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Create or replace an MCP server record
|
|
2907
|
+
*
|
|
2908
|
+
* Stores the complete catalog document with its optional auth-grant credential. A new server is attributed to the caller. Use expectedRevision when replacing; token material is never accepted or returned.
|
|
2909
|
+
*/
|
|
2910
|
+
readonly mcpServersPut: (client: RpcCaller, params: Api.McpServerPutParams) => Promise<Api.AgentApiOutcomeOfMcpServerPutResponse>;
|
|
2911
|
+
/**
|
|
2912
|
+
* Discover MCP server authentication
|
|
2913
|
+
*
|
|
2914
|
+
* Looks for standards-based OAuth protected-resource metadata without creating a server, OAuth client, flow, or grant. An absent OAuth result is inconclusive and callers must allow manual auth selection.
|
|
2915
|
+
*/
|
|
2916
|
+
readonly mcpServersAuthDiscover: (client: RpcCaller, params: Api.McpServerAuthDiscoverParams) => Promise<Api.AgentApiOutcomeOfMcpServerAuthDiscoverResponse>;
|
|
2917
|
+
/**
|
|
2918
|
+
* Discover MCP server tools
|
|
2919
|
+
*
|
|
2920
|
+
* Connects directly to the configured MCP server with its current universe credential and returns one bounded live tools/list result. The inventory is never persisted or cached and no tool is invoked.
|
|
2921
|
+
*/
|
|
2922
|
+
readonly mcpServersToolsDiscover: (client: RpcCaller, params: Api.McpServerToolsDiscoverParams) => Promise<Api.AgentApiOutcomeOfMcpServerToolsDiscoverResponse>;
|
|
2923
|
+
/**
|
|
2924
|
+
* Read an MCP server record
|
|
2925
|
+
*
|
|
2926
|
+
* Returns one catalog document with defaults, auth policy, non-secret grant binding, status, and revision; no credential value is exposed.
|
|
2927
|
+
*/
|
|
2928
|
+
readonly mcpServersRead: (client: RpcCaller, params: Api.McpServerReadParams) => Promise<Api.AgentApiOutcomeOfMcpServerReadResponse>;
|
|
2929
|
+
/**
|
|
2930
|
+
* List MCP server records
|
|
2931
|
+
*
|
|
2932
|
+
* Lists the universe catalog entries, optionally filtered by lifecycle/configuration status.
|
|
2933
|
+
*/
|
|
2934
|
+
readonly mcpServersList: (client: RpcCaller, params: Api.McpServerListParams) => Promise<Api.AgentApiOutcomeOfMcpServerListResponse>;
|
|
2935
|
+
/**
|
|
2936
|
+
* Delete an MCP server record
|
|
2937
|
+
*
|
|
2938
|
+
* Deletes the catalog document. Existing session configs that reference it are not silently rewritten and may need explicit reconfiguration.
|
|
2939
|
+
*/
|
|
2940
|
+
readonly mcpServersDelete: (client: RpcCaller, params: Api.McpServerDeleteParams) => Promise<Api.AgentApiOutcomeOfMcpServerDeleteResponse>;
|
|
2941
|
+
/**
|
|
2942
|
+
* Import a static bearer grant
|
|
2943
|
+
*
|
|
2944
|
+
* Accepts a plaintext token, encrypts it immediately, and returns only grant metadata/token-presence flags. Brokered is the default; retrievable exposure is immutable and permits service-only leases.
|
|
2945
|
+
*/
|
|
2946
|
+
readonly authGrantsImport: (client: RpcCaller, params: Api.AuthGrantImportParams) => Promise<Api.AgentApiOutcomeOfAuthGrantImportResponse>;
|
|
2947
|
+
/**
|
|
2948
|
+
* Lease a retrievable authentication grant
|
|
2949
|
+
*
|
|
2950
|
+
* Service callers only. Resolves the current access token through the broker, records the lease, and returns it once. Cache only in memory until expiry minus margin (or at most five minutes without expiry), re-lease after target 401/403, and never persist or place the token in workflow payloads.
|
|
2951
|
+
*/
|
|
2952
|
+
readonly authGrantsLease: (client: RpcCaller, params: Api.AuthGrantLeaseParams) => Promise<Api.AgentApiOutcomeOfAuthGrantLeaseResponse>;
|
|
2953
|
+
/**
|
|
2954
|
+
* Read authentication grant metadata
|
|
2955
|
+
*
|
|
2956
|
+
* Returns creator attribution, provider binding, scopes, audience, expiry, status, and token-presence flags; access and refresh token values are never returned.
|
|
2957
|
+
*/
|
|
2958
|
+
readonly authGrantsRead: (client: RpcCaller, params: Api.AuthGrantReadParams) => Promise<Api.AgentApiOutcomeOfAuthGrantReadResponse>;
|
|
2959
|
+
/**
|
|
2960
|
+
* List authentication grants
|
|
2961
|
+
*
|
|
2962
|
+
* Lists non-secret grant metadata for the universe, optionally filtered by status.
|
|
2963
|
+
*/
|
|
2964
|
+
readonly authGrantsList: (client: RpcCaller, params: Api.AuthGrantListParams) => Promise<Api.AgentApiOutcomeOfAuthGrantListResponse>;
|
|
2965
|
+
/**
|
|
2966
|
+
* Revoke an authentication grant
|
|
2967
|
+
*
|
|
2968
|
+
* Marks the grant unusable by token consumers while retaining non-secret audit metadata.
|
|
2969
|
+
*/
|
|
2970
|
+
readonly authGrantsRevoke: (client: RpcCaller, params: Api.AuthGrantRevokeParams) => Promise<Api.AgentApiOutcomeOfAuthGrantRevokeResponse>;
|
|
2971
|
+
/**
|
|
2972
|
+
* Register an OAuth client
|
|
2973
|
+
*
|
|
2974
|
+
* Stores provider endpoints and client identity; an optional plaintext client secret is encrypted and represented thereafter only by hasClientSecret.
|
|
2975
|
+
*/
|
|
2976
|
+
readonly authClientsCreate: (client: RpcCaller, params: Api.AuthClientCreateParams) => Promise<Api.AgentApiOutcomeOfAuthClientCreateResponse>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Read OAuth client metadata
|
|
2979
|
+
*
|
|
2980
|
+
* Returns endpoints, public client identity, defaults, and secret-presence state; the client secret is never returned.
|
|
2981
|
+
*/
|
|
2982
|
+
readonly authClientsRead: (client: RpcCaller, params: Api.AuthClientReadParams) => Promise<Api.AgentApiOutcomeOfAuthClientReadResponse>;
|
|
2983
|
+
/**
|
|
2984
|
+
* List OAuth clients
|
|
2985
|
+
*
|
|
2986
|
+
* Lists non-secret OAuth client registrations in the universe.
|
|
2987
|
+
*/
|
|
2988
|
+
readonly authClientsList: (client: RpcCaller, params: Api.AuthClientListParams) => Promise<Api.AgentApiOutcomeOfAuthClientListResponse>;
|
|
2989
|
+
/**
|
|
2990
|
+
* Delete an OAuth client
|
|
2991
|
+
*
|
|
2992
|
+
* Deletes the client registration and its stored client secret; grants already created from it remain separate records.
|
|
2993
|
+
*/
|
|
2994
|
+
readonly authClientsDelete: (client: RpcCaller, params: Api.AuthClientDeleteParams) => Promise<Api.AgentApiOutcomeOfAuthClientDeleteResponse>;
|
|
2995
|
+
/**
|
|
2996
|
+
* Start an OAuth authorization flow
|
|
2997
|
+
*
|
|
2998
|
+
* Creates a short-lived PKCE flow carrying the immutable grant exposure choice and returns a browser authorization URL containing one-time state. Treat the URL as sensitive and poll auth/flows/read for completion.
|
|
2999
|
+
*/
|
|
3000
|
+
readonly authFlowsStart: (client: RpcCaller, params: Api.AuthFlowStartParams) => Promise<Api.AgentApiOutcomeOfAuthFlowStartResponse>;
|
|
3001
|
+
/**
|
|
3002
|
+
* Read OAuth flow status
|
|
3003
|
+
*
|
|
3004
|
+
* Polls a flow's pending/completed/failed/expired state and returns the resulting grant id when authorization succeeds; no token value is exposed.
|
|
3005
|
+
*/
|
|
3006
|
+
readonly authFlowsRead: (client: RpcCaller, params: Api.AuthFlowStatusParams) => Promise<Api.AgentApiOutcomeOfAuthFlowStatusResponse>;
|
|
3007
|
+
/**
|
|
3008
|
+
* Register an authentication provider
|
|
3009
|
+
*
|
|
3010
|
+
* Creates a model or GitHub credential source. Plaintext API keys/private keys are encrypted on receipt and later represented only by configuration plus hasCredential.
|
|
3011
|
+
*/
|
|
3012
|
+
readonly authProvidersCreate: (client: RpcCaller, params: Api.AuthProviderCreateParams) => Promise<Api.AgentApiOutcomeOfAuthProviderCreateResponse>;
|
|
3013
|
+
/**
|
|
3014
|
+
* Read authentication provider metadata
|
|
3015
|
+
*
|
|
3016
|
+
* Returns provider kind, non-secret configuration, credential-presence state, and status; stored credentials are never returned.
|
|
3017
|
+
*/
|
|
3018
|
+
readonly authProvidersRead: (client: RpcCaller, params: Api.AuthProviderReadParams) => Promise<Api.AgentApiOutcomeOfAuthProviderReadResponse>;
|
|
3019
|
+
/**
|
|
3020
|
+
* List authentication providers
|
|
3021
|
+
*
|
|
3022
|
+
* Lists non-secret model/GitHub provider registrations for the universe.
|
|
3023
|
+
*/
|
|
3024
|
+
readonly authProvidersList: (client: RpcCaller, params: Api.AuthProviderListParams) => Promise<Api.AgentApiOutcomeOfAuthProviderListResponse>;
|
|
3025
|
+
/**
|
|
3026
|
+
* Delete an authentication provider
|
|
3027
|
+
*
|
|
3028
|
+
* Deletes the provider registration and its directly stored credential; separately stored grants remain independent records.
|
|
3029
|
+
*/
|
|
3030
|
+
readonly authProvidersDelete: (client: RpcCaller, params: Api.AuthProviderDeleteParams) => Promise<Api.AgentApiOutcomeOfAuthProviderDeleteResponse>;
|
|
3031
|
+
/**
|
|
3032
|
+
* List GitHub App installations
|
|
3033
|
+
*
|
|
3034
|
+
* Uses the registered GitHub App provider credential to query accessible installations and returns account/permission metadata without tokens.
|
|
3035
|
+
*/
|
|
3036
|
+
readonly authGithubInstallationsList: (client: RpcCaller, params: Api.AuthGitHubInstallationListParams) => Promise<Api.AgentApiOutcomeOfAuthGitHubInstallationListResponse>;
|
|
3037
|
+
/**
|
|
3038
|
+
* Grant access to a GitHub App installation
|
|
3039
|
+
*
|
|
3040
|
+
* Creates or refreshes a universe auth grant for one accessible installation. The installation token is brokered internally and never returned.
|
|
3041
|
+
*/
|
|
3042
|
+
readonly authGithubInstallationsGrant: (client: RpcCaller, params: Api.AuthGitHubInstallationGrantParams) => Promise<Api.AgentApiOutcomeOfAuthGitHubInstallationGrantResponse>;
|
|
3043
|
+
/**
|
|
3044
|
+
* Create a bot
|
|
3045
|
+
*
|
|
3046
|
+
* Creates the bot record, optionally with its triggers, and starts its controller. Fails if the bot id exists; a trigger failure rolls the bot back.
|
|
3047
|
+
*/
|
|
3048
|
+
readonly botsCreate: (client: RpcCaller, params: Api.BotCreateParams) => Promise<Api.AgentApiOutcomeOfBotCreateResponse>;
|
|
3049
|
+
/**
|
|
3050
|
+
* Create or replace a bot document
|
|
3051
|
+
*
|
|
3052
|
+
* Replaces the mutable configuration whole and signals the controller, which applies it at its next idle boundary. Pass expectedRevision when replacing; a closed bot accepts label-only edits.
|
|
3053
|
+
*/
|
|
3054
|
+
readonly botsPut: (client: RpcCaller, params: Api.BotPutParams) => Promise<Api.AgentApiOutcomeOfBotPutResponse>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Read a bot
|
|
3057
|
+
*
|
|
3058
|
+
* Returns the bot record, its current revision, and lifecycle columns.
|
|
3059
|
+
*/
|
|
3060
|
+
readonly botsRead: (client: RpcCaller, params: Api.BotReadParams) => Promise<Api.AgentApiOutcomeOfBotReadResponse>;
|
|
3061
|
+
/**
|
|
3062
|
+
* List bots
|
|
3063
|
+
*
|
|
3064
|
+
* Returns the roster: every bot with its trigger count, pending event count, and latest event, optionally narrowed by createdBy.
|
|
3065
|
+
*/
|
|
3066
|
+
readonly botsList: (client: RpcCaller, params: Api.BotListParams) => Promise<Api.AgentApiOutcomeOfBotListResponse>;
|
|
3067
|
+
/**
|
|
3068
|
+
* Close a bot
|
|
3069
|
+
*
|
|
3070
|
+
* Terminal and idempotent: disables every trigger, drops schedules, and tells the controller to archive pending events and force-close its sessions. Returns once signalled; follow bots/state/read for closing to closed.
|
|
3071
|
+
*/
|
|
3072
|
+
readonly botsClose: (client: RpcCaller, params: Api.BotCloseParams) => Promise<Api.AgentApiOutcomeOfBotCloseResponse>;
|
|
3073
|
+
/**
|
|
3074
|
+
* Delete a bot
|
|
3075
|
+
*
|
|
3076
|
+
* Closes the bot if needed, waits for its controller to complete, deletes the sessions it closed, and removes the record so the bot id is free again.
|
|
3077
|
+
*/
|
|
3078
|
+
readonly botsDelete: (client: RpcCaller, params: Api.BotDeleteParams) => Promise<Api.AgentApiOutcomeOfBotDeleteResponse>;
|
|
3079
|
+
/**
|
|
3080
|
+
* Read bot controller state
|
|
3081
|
+
*
|
|
3082
|
+
* Queries the controller workflow for its live snapshot (sessions, buffers, active and recent deliveries, budget) and lists sub-agent descendants. The controller is absent until the bot's first event.
|
|
3083
|
+
*/
|
|
3084
|
+
readonly botsStateRead: (client: RpcCaller, params: Api.BotStateReadParams) => Promise<Api.AgentApiOutcomeOfBotStateReadResponse>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Rotate a bot session
|
|
3087
|
+
*
|
|
3088
|
+
* Asks the controller to close one of the bot's sessions at its next idle boundary and continue on a fresh generation; queued deliveries follow.
|
|
3089
|
+
*/
|
|
3090
|
+
readonly botsSessionsRotate: (client: RpcCaller, params: Api.BotSessionRotateParams) => Promise<Api.AgentApiOutcomeOfBotSessionRotateResponse>;
|
|
3091
|
+
/**
|
|
3092
|
+
* Create or replace a trigger
|
|
3093
|
+
*
|
|
3094
|
+
* Validates the trigger document (CEL parses, grants exist, one inbox per bot, chat routes per conversation), reconciles its Temporal Schedule, and stores it. A poll spec edit resets the cursor; a webhook keeps its URL token.
|
|
3095
|
+
*/
|
|
3096
|
+
readonly botsTriggersPut: (client: RpcCaller, params: Api.BotTriggerPutParams) => Promise<Api.AgentApiOutcomeOfBotTriggerPutResponse>;
|
|
3097
|
+
/**
|
|
3098
|
+
* Read a trigger
|
|
3099
|
+
*
|
|
3100
|
+
* Returns one trigger with its incidents and cursor; the ingest path and pairing code are included for bot-management callers.
|
|
3101
|
+
*/
|
|
3102
|
+
readonly botsTriggersRead: (client: RpcCaller, params: Api.BotTriggerReadParams) => Promise<Api.AgentApiOutcomeOfBotTriggerReadResponse>;
|
|
3103
|
+
/**
|
|
3104
|
+
* List a bot's triggers
|
|
3105
|
+
*
|
|
3106
|
+
* Returns every trigger of the bot ordered by id, secrets included for bot-management callers.
|
|
3107
|
+
*/
|
|
3108
|
+
readonly botsTriggersList: (client: RpcCaller, params: Api.BotTriggerListParams) => Promise<Api.AgentApiOutcomeOfBotTriggerListResponse>;
|
|
3109
|
+
/**
|
|
3110
|
+
* Delete a trigger
|
|
3111
|
+
*
|
|
3112
|
+
* Drops the trigger's Temporal Schedule and pairings, then the record; stored events keep their history.
|
|
3113
|
+
*/
|
|
3114
|
+
readonly botsTriggersDelete: (client: RpcCaller, params: Api.BotTriggerDeleteParams) => Promise<Api.AgentApiOutcomeOfBotTriggerDeleteResponse>;
|
|
3115
|
+
/**
|
|
3116
|
+
* Admit an event manually
|
|
3117
|
+
*
|
|
3118
|
+
* Stores an operator-authored event for the bot's main session and wakes the controller. eventId is the dedupe identity; a duplicate returns the stored row.
|
|
3119
|
+
*/
|
|
3120
|
+
readonly botsEventsAdmit: (client: RpcCaller, params: Api.BotEventAdmitParams) => Promise<Api.AgentApiOutcomeOfBotEventAdmitResponse>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Replay a stored event
|
|
3123
|
+
*
|
|
3124
|
+
* Re-admits the stored envelope as a fresh event with the original routing; the replay never coalesces.
|
|
3125
|
+
*/
|
|
3126
|
+
readonly botsEventsReplay: (client: RpcCaller, params: Api.BotEventReplayParams) => Promise<Api.AgentApiOutcomeOfBotEventReplayResponse>;
|
|
3127
|
+
/**
|
|
3128
|
+
* List a bot's events
|
|
3129
|
+
*
|
|
3130
|
+
* Cursor-paginated event log, newest first, with outcomes; payload documents stay in the CAS.
|
|
3131
|
+
*/
|
|
3132
|
+
readonly botsEventsList: (client: RpcCaller, params: Api.BotEventListParams) => Promise<Api.AgentApiOutcomeOfBotEventListResponse>;
|
|
3133
|
+
/**
|
|
3134
|
+
* Read an event by number
|
|
3135
|
+
*
|
|
3136
|
+
* Returns the event row and its full stored envelope document.
|
|
3137
|
+
*/
|
|
3138
|
+
readonly botsEventsRead: (client: RpcCaller, params: Api.BotEventReadParams) => Promise<Api.AgentApiOutcomeOfBotEventReadResponse>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Test a CEL filter
|
|
3141
|
+
*
|
|
3142
|
+
* Evaluates a filter against one payload or a sample of recent stored events, reporting matches and evaluation errors without changing anything.
|
|
3143
|
+
*/
|
|
3144
|
+
readonly botsFiltersTest: (client: RpcCaller, params: Api.BotFilterTestParams) => Promise<Api.AgentApiOutcomeOfBotFilterTestResponse>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Create a channel account
|
|
3147
|
+
*
|
|
3148
|
+
* Registers a provider account (Telegram, WhatsApp) for this universe. The credential is a retrievable grant reference; no token is accepted here.
|
|
3149
|
+
*/
|
|
3150
|
+
readonly channelsAccountsCreate: (client: RpcCaller, params: Api.ChannelAccountCreateParams) => Promise<Api.AgentApiOutcomeOfChannelAccountCreateResponse>;
|
|
3151
|
+
/**
|
|
3152
|
+
* Create or replace a channel account
|
|
3153
|
+
*
|
|
3154
|
+
* Replaces the account document whole; pass expectedRevision when replacing. The connector host picks the change up on its next discovery pass.
|
|
3155
|
+
*/
|
|
3156
|
+
readonly channelsAccountsPut: (client: RpcCaller, params: Api.ChannelAccountPutParams) => Promise<Api.AgentApiOutcomeOfChannelAccountPutResponse>;
|
|
3157
|
+
/**
|
|
3158
|
+
* Read a channel account
|
|
3159
|
+
*
|
|
3160
|
+
* Returns the account document and revision.
|
|
3161
|
+
*/
|
|
3162
|
+
readonly channelsAccountsRead: (client: RpcCaller, params: Api.ChannelAccountReadParams) => Promise<Api.AgentApiOutcomeOfChannelAccountReadResponse>;
|
|
3163
|
+
/**
|
|
3164
|
+
* List channel accounts
|
|
3165
|
+
*
|
|
3166
|
+
* Lists this universe's provider accounts, optionally by provider.
|
|
3167
|
+
*/
|
|
3168
|
+
readonly channelsAccountsList: (client: RpcCaller, params: Api.ChannelAccountListParams) => Promise<Api.AgentApiOutcomeOfChannelAccountListResponse>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Delete a channel account
|
|
3171
|
+
*
|
|
3172
|
+
* Removes the account and its pairings; chat triggers that reference it stop serving conversations.
|
|
3173
|
+
*/
|
|
3174
|
+
readonly channelsAccountsDelete: (client: RpcCaller, params: Api.ChannelAccountDeleteParams) => Promise<Api.AgentApiOutcomeOfChannelAccountDeleteResponse>;
|
|
3175
|
+
/**
|
|
3176
|
+
* Admit a provider message
|
|
3177
|
+
*
|
|
3178
|
+
* Service callers only. Resolves the chat trigger for the conversation, applies pairing, and signals the conversation workflow. Returns the decision so the connector can send pairing prompts itself; acknowledge the provider only after this returns.
|
|
3179
|
+
*/
|
|
3180
|
+
readonly channelsInboundAdmit: (client: RpcCaller, params: Api.ChannelInboundAdmitParams) => Promise<Api.AgentApiOutcomeOfChannelInboundAdmitResponse>;
|
|
3181
|
+
/**
|
|
3182
|
+
* List chat pairings
|
|
3183
|
+
*
|
|
3184
|
+
* Lists conversations paired to chat triggers, optionally by account or bot.
|
|
3185
|
+
*/
|
|
3186
|
+
readonly channelsPairingsList: (client: RpcCaller, params: Api.ChannelPairingListParams) => Promise<Api.AgentApiOutcomeOfChannelPairingListResponse>;
|
|
3187
|
+
/**
|
|
3188
|
+
* Unpair a conversation
|
|
3189
|
+
*
|
|
3190
|
+
* Removes one pairing; the conversation must present the pairing code again to reconnect.
|
|
3191
|
+
*/
|
|
3192
|
+
readonly channelsPairingsDelete: (client: RpcCaller, params: Api.ChannelPairingDeleteParams) => Promise<Api.AgentApiOutcomeOfChannelPairingDeleteResponse>;
|
|
3193
|
+
/**
|
|
3194
|
+
* Read a conversation snapshot
|
|
3195
|
+
*
|
|
3196
|
+
* Queries the conversation workflow's live state for one chat, for debugging; absent when no workflow exists yet.
|
|
3197
|
+
*/
|
|
3198
|
+
readonly channelsConversationsRead: (client: RpcCaller, params: Api.ChannelConversationReadParams) => Promise<Api.AgentApiOutcomeOfChannelConversationReadResponse>;
|
|
3199
|
+
/**
|
|
3200
|
+
* List a universe's deployment provider bindings
|
|
3201
|
+
*
|
|
3202
|
+
* Deployment configuration inventory of one universe's provider bindings.
|
|
3203
|
+
*/
|
|
3204
|
+
readonly deploymentEnvironmentProviderBindingsList: (client: RpcCaller, params: Api.DeploymentUniverseReadParams) => Promise<Api.AgentApiOutcomeOfEnvironmentProviderBindingListResponse>;
|
|
3205
|
+
/**
|
|
3206
|
+
* Create a universe
|
|
3207
|
+
*
|
|
3208
|
+
* Creates the deployment tenant boundary for an explicit UUID. The operation is idempotent and reports whether a new universe was created.
|
|
3209
|
+
*/
|
|
3210
|
+
readonly deploymentUniversesCreate: (client: RpcCaller, params: Api.DeploymentUniverseCreateParams) => Promise<Api.AgentApiOutcomeOfDeploymentUniverseCreateResponse>;
|
|
3211
|
+
/**
|
|
3212
|
+
* List universes
|
|
3213
|
+
*
|
|
3214
|
+
* Returns deployment-wide universe summaries with approximate live aggregate counts and last session activity.
|
|
3215
|
+
*/
|
|
3216
|
+
readonly deploymentUniversesList: (client: RpcCaller, params: Api.DeploymentUniverseListParams) => Promise<Api.AgentApiOutcomeOfDeploymentUniverseListResponse>;
|
|
3217
|
+
/**
|
|
3218
|
+
* Read a universe
|
|
3219
|
+
*
|
|
3220
|
+
* Returns one deployment tenant summary with aggregate session, workspace, profile, and blob usage.
|
|
3221
|
+
*/
|
|
3222
|
+
readonly deploymentUniversesRead: (client: RpcCaller, params: Api.DeploymentUniverseReadParams) => Promise<Api.AgentApiOutcomeOfDeploymentUniverseReadResponse>;
|
|
3223
|
+
/**
|
|
3224
|
+
* Set a universe slug
|
|
3225
|
+
*
|
|
3226
|
+
* Sets or changes a deployment-unique slug without changing the universe UUID or resources. The previous slug is released and old URLs may stop working. With onlyIfUnset, a different existing slug is a conflict. Claiming another universe's slug also returns a conflict. Does not create a universe.
|
|
3227
|
+
*/
|
|
3228
|
+
readonly deploymentUniversesSlugPut: (client: RpcCaller, params: Api.DeploymentUniverseSlugPutParams) => Promise<Api.AgentApiOutcomeOfDeploymentUniverseReadResponse>;
|
|
3229
|
+
/**
|
|
3230
|
+
* Purge a universe
|
|
3231
|
+
*
|
|
3232
|
+
* Permanently terminates live session workflows, deletes external blob objects, and cascades universe data. The purge is resumable/idempotent after partial failure.
|
|
3233
|
+
*/
|
|
3234
|
+
readonly deploymentUniversesDelete: (client: RpcCaller, params: Api.DeploymentUniverseDeleteParams) => Promise<Api.AgentApiOutcomeOfDeploymentUniverseDeleteResponse>;
|
|
3235
|
+
/**
|
|
3236
|
+
* Create a scoped API key
|
|
3237
|
+
*
|
|
3238
|
+
* Mints a key for a universe or the deployment with the method groups it may call and whether it may assert actors. The plaintext secret is returned exactly once and cannot be recovered; persist only the displayed prefix for identification. Key authority is immutable: revoke and mint to change what one may do.
|
|
3239
|
+
*/
|
|
3240
|
+
readonly deploymentApiKeysCreate: (client: RpcCaller, params: Api.DeploymentApiKeyCreateParams) => Promise<Api.AgentApiOutcomeOfDeploymentApiKeyCreateResponse>;
|
|
3241
|
+
/**
|
|
3242
|
+
* List scoped API keys
|
|
3243
|
+
*
|
|
3244
|
+
* Returns non-secret key metadata, all keys or those of one scope, including groups, revocation and last-use timestamps. Plaintext secrets are never stored or returned.
|
|
3245
|
+
*/
|
|
3246
|
+
readonly deploymentApiKeysList: (client: RpcCaller, params: Api.DeploymentApiKeyListParams) => Promise<Api.AgentApiOutcomeOfDeploymentApiKeyListResponse>;
|
|
3247
|
+
/**
|
|
3248
|
+
* Rotate a scoped API key
|
|
3249
|
+
*
|
|
3250
|
+
* Atomically replaces an active key secret and display prefix, immediately rejecting the old secret on subsequent requests. Preserves scope, groups, actor authority, name, creator and creation time; clears last use. Returns the new secret once. Unknown or revoked prefixes are not found. Already admitted work continues.
|
|
3251
|
+
*/
|
|
3252
|
+
readonly deploymentApiKeysRotate: (client: RpcCaller, params: Api.DeploymentApiKeyRotateParams) => Promise<Api.AgentApiOutcomeOfDeploymentApiKeyCreateResponse>;
|
|
3253
|
+
/**
|
|
3254
|
+
* Revoke a scoped API key
|
|
3255
|
+
*
|
|
3256
|
+
* Revokes the key with this display prefix; revoking a revoked key keeps its first revocation time. An unknown prefix is not found.
|
|
3257
|
+
*/
|
|
3258
|
+
readonly deploymentApiKeysRevoke: (client: RpcCaller, params: Api.DeploymentApiKeyRevokeParams) => Promise<Api.AgentApiOutcomeOfDeploymentApiKeyRevokeResponse>;
|
|
3259
|
+
/**
|
|
3260
|
+
* Put an environment provider
|
|
3261
|
+
*
|
|
3262
|
+
* Registers or replaces one deployment provider and its controller connection. The provider does not call this API or require access to Lightspeed.
|
|
3263
|
+
*/
|
|
3264
|
+
readonly deploymentEnvironmentProvidersPut: (client: RpcCaller, params: Api.DeploymentEnvironmentProviderPutParams) => Promise<Api.AgentApiOutcomeOfDeploymentEnvironmentProviderPutResponse>;
|
|
3265
|
+
/**
|
|
3266
|
+
* List environment providers
|
|
3267
|
+
*
|
|
3268
|
+
* Returns every deployment-registered deployment provider and its controller connection.
|
|
3269
|
+
*/
|
|
3270
|
+
readonly deploymentEnvironmentProvidersList: (client: RpcCaller, params: Api.DeploymentEnvironmentProviderListParams) => Promise<Api.AgentApiOutcomeOfDeploymentEnvironmentProviderListResponse>;
|
|
3271
|
+
/**
|
|
3272
|
+
* Read an environment provider
|
|
3273
|
+
*
|
|
3274
|
+
* Returns one deployment-registered deployment provider and its controller connection.
|
|
3275
|
+
*/
|
|
3276
|
+
readonly deploymentEnvironmentProvidersRead: (client: RpcCaller, params: Api.DeploymentEnvironmentProviderReadParams) => Promise<Api.AgentApiOutcomeOfDeploymentEnvironmentProviderReadResponse>;
|
|
3277
|
+
/**
|
|
3278
|
+
* Delete an environment provider
|
|
3279
|
+
*
|
|
3280
|
+
* Deletes a deployment provider only when no universe binding references it.
|
|
3281
|
+
*/
|
|
3282
|
+
readonly deploymentEnvironmentProvidersDelete: (client: RpcCaller, params: Api.DeploymentEnvironmentProviderDeleteParams) => Promise<Api.AgentApiOutcomeOfDeploymentEnvironmentProviderDeleteResponse>;
|
|
3283
|
+
/**
|
|
3284
|
+
* Put an environment provider binding
|
|
3285
|
+
*
|
|
3286
|
+
* Creates or replaces one universe's complete revisioned routing and admission binding. A deployment provider may have at most one binding in a universe.
|
|
3287
|
+
*/
|
|
3288
|
+
readonly deploymentEnvironmentProvidersBindingsPut: (client: RpcCaller, params: Api.DeploymentProviderBindingPutParams) => Promise<Api.AgentApiOutcomeOfDeploymentProviderBindingPutResponse>;
|
|
3289
|
+
/**
|
|
3290
|
+
* Delete an environment provider binding
|
|
3291
|
+
*
|
|
3292
|
+
* Deletes a universe provider binding only after every referencing environment has reached Closed.
|
|
3293
|
+
*/
|
|
3294
|
+
readonly deploymentEnvironmentProvidersBindingsDelete: (client: RpcCaller, params: Api.DeploymentProviderBindingDeleteParams) => Promise<Api.AgentApiOutcomeOfDeploymentProviderBindingDeleteResponse>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Adopt a provider environment
|
|
3297
|
+
*
|
|
3298
|
+
* Creates a universe environment by transferring an existing provider target into Lightspeed's managed lifecycle. The caller must explicitly accept ownership transfer.
|
|
3299
|
+
*/
|
|
3300
|
+
readonly deploymentEnvironmentsAdopt: (client: RpcCaller, params: Api.DeploymentEnvironmentAdoptParams) => Promise<Api.AgentApiOutcomeOfDeploymentEnvironmentAdoptResponse>;
|
|
3301
|
+
/**
|
|
3302
|
+
* List channel accounts across universes
|
|
3303
|
+
*
|
|
3304
|
+
* The connector host's discovery call: every enabled provider account of the deployment with its universe id and credential grant reference. Re-poll to pick up accounts created or disabled since.
|
|
3305
|
+
*/
|
|
3306
|
+
readonly deploymentChannelsAccountsList: (client: RpcCaller, params: Api.DeploymentChannelAccountListParams) => Promise<Api.AgentApiOutcomeOfDeploymentChannelAccountListResponse>;
|
|
3307
|
+
};
|
|
3308
|
+
//# sourceMappingURL=methods.d.ts.map
|