@idapt/browser-app-sdk 0.1.0 → 0.3.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/dist/{chunk-AQZ2QVBK.js → chunk-KMLUFF4F.js} +1029 -466
- package/dist/chunk-KMLUFF4F.js.map +1 -0
- package/dist/{chunk-6FSNLUVJ.js → chunk-QWNGAONE.js} +5 -5
- package/dist/{chunk-6FSNLUVJ.js.map → chunk-QWNGAONE.js.map} +1 -1
- package/dist/{client-h2Wsvn7a.d.ts → client-CHsdQcgI.d.cts} +298 -159
- package/dist/{client-CO-P-xYI.d.cts → client-_Jvrbhz2.d.ts} +298 -159
- package/dist/{data-Chus9wn2.d.cts → data-DtOpB63U.d.cts} +235 -86
- package/dist/{data-Chus9wn2.d.ts → data-DtOpB63U.d.ts} +235 -86
- package/dist/index.cjs +1031 -467
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +75 -5
- package/dist/index.d.ts +75 -5
- package/dist/index.js +2 -2
- package/dist/react.cjs +368 -235
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +2 -2
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-AQZ2QVBK.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as HttpContext, C as CallOptions, F as File$1,
|
|
1
|
+
import { H as HttpContext, C as CallOptions, F as File$1, i as Agent, d as DeletedResponse, l as ApiKey, ap as Permission, aS as SpeechResult, b1 as TranscriptionResult, aT as SpeechStreamEvent, b2 as TranscriptionStreamEvent, r as Automation, S as CreateAutomationInput, v as AutomationWithSecret, b6 as UpdateAutomationInput, u as AutomationRun, t as AutomationCostStats, B as BlobObject, x as Chat, y as ChatCost, ah as MessageCosts, E as ChatStopResult, af as Message, aJ as SendMessageResult, k as AgentRunState, j as AgentRun, aD as RepromptResult, I as Computer, N as ComputerServerInfo, K as ComputerExecResult, b0 as TmuxWindow, aL as SftpEntry, M as ComputerPort, R as ComputerUser, ad as ListEnvelope, J as ComputerEnvVar, Y as DatastoreEntry, f as FileUploadResult, W as WriteOptions, $ as ExecutionRun, _ as ExecutionBackend, a0 as ExecutionRunStatus, a5 as FunctionRun, a4 as FunctionResource, a2 as FunctionDeployment, a3 as FunctionInvokeResult, a8 as ImageModel, a7 as ImageGenerationResult, aa as LLMModel, ak as Notification, al as NotificationConfig, am as NotificationPreference, as as ProviderEndpointKind, aw as ProviderEndpointProviderKey, ar as ProviderEndpointConnectionType, az as ProviderEndpointTransport, ax as ProviderEndpointRuntime, av as ProviderEndpointProtocol, aA as ProviderEndpointVisibility, at as ProviderEndpointModality, aq as ProviderEndpoint, ae as ManagedProviderPreset, ay as ProviderEndpointTestResult, aG as SearchResult, aH as Secret, aI as SecretWithValue, aK as Settings, aP as ShareResourceType, aO as SharePermission, aM as Share, aN as ShareDeletedResult, aQ as SharedWithMeItem, aW as StoreItemType, aV as StoreItem, aU as StoreInstallResult, aY as Subscription, a_ as TableCollection, a$ as TableRecord, b9 as User, b8 as UsageSummary, b7 as UsageRecord, bf as WebSearchResponse, bj as WorkspaceMemberRole, bg as Workspace, bi as WorkspaceMember, bh as WorkspaceInvitation, m as AppFolder, U as DataFolder, G as ClientMeta, aF as RuntimeMode, aX as StoredCredential, Z as EscalateRequest } from './data-DtOpB63U.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Stateless low-level file operations against `/api/v1/drive/files/*`.
|
|
@@ -259,6 +259,83 @@ declare class AudioApi {
|
|
|
259
259
|
streamTranscribe(input: TranscribeInput, opts?: CallOptions): AsyncIterable<TranscriptionStreamEvent>;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
/**
|
|
263
|
+
* AutomationsApi — `/api/v1/automations`.
|
|
264
|
+
*
|
|
265
|
+
* Automations fire actions on events (webhook or cron). The `fire` endpoint is
|
|
266
|
+
* unauthenticated — it validates the
|
|
267
|
+
* per-automation webhook secret instead of the bearer token. This SDK handles
|
|
268
|
+
* both modes: regular calls use `this.ctx.key`; `fire` can be called with
|
|
269
|
+
* an explicit secret override.
|
|
270
|
+
*/
|
|
271
|
+
|
|
272
|
+
interface FireAutomationInput {
|
|
273
|
+
/**
|
|
274
|
+
* Webhook secret for this automation. Overrides the client's `ap_` key.
|
|
275
|
+
* Required when calling `fire` outside the creating user's session.
|
|
276
|
+
*/
|
|
277
|
+
secret: string;
|
|
278
|
+
/** Optional context overrides forwarded to the action. */
|
|
279
|
+
body?: Record<string, unknown>;
|
|
280
|
+
}
|
|
281
|
+
interface ListAutomationRunsQuery {
|
|
282
|
+
limit?: number;
|
|
283
|
+
/** Opaque pagination cursor — echo `pagination.next_cursor`. */
|
|
284
|
+
cursor?: string;
|
|
285
|
+
}
|
|
286
|
+
interface ListAutomationsQuery {
|
|
287
|
+
workspace_id?: string;
|
|
288
|
+
include_archived?: boolean;
|
|
289
|
+
archived_only?: boolean;
|
|
290
|
+
}
|
|
291
|
+
interface BulkAutomationCostStatsQuery {
|
|
292
|
+
workspace_id?: string;
|
|
293
|
+
}
|
|
294
|
+
declare class AutomationsApi {
|
|
295
|
+
private readonly ctx;
|
|
296
|
+
constructor(ctx: HttpContext);
|
|
297
|
+
list(query?: ListAutomationsQuery, opts?: CallOptions): Promise<Automation[]>;
|
|
298
|
+
/**
|
|
299
|
+
* Create an automation. `workspace_id` is passed in the request BODY
|
|
300
|
+
* alongside the flat automation definition — it is not a query param. The request
|
|
301
|
+
* body is flat: every scheduling field (`cron_expression`, …) and every
|
|
302
|
+
* action field (`agent_id`, `prompt_template`, `function_id`, …) sits at the
|
|
303
|
+
* top level — there are no nested `trigger_config` / `action_config`
|
|
304
|
+
* objects any more.
|
|
305
|
+
*
|
|
306
|
+
* For a webhook automation the response additionally carries a one-time
|
|
307
|
+
* plaintext `secret` (use `AutomationWithSecret`); other automation types
|
|
308
|
+
* resolve to a plain `Automation`.
|
|
309
|
+
*/
|
|
310
|
+
create(workspaceId: string, input: CreateAutomationInput, opts?: CallOptions): Promise<AutomationWithSecret | Automation>;
|
|
311
|
+
get(id: string, opts?: CallOptions): Promise<Automation>;
|
|
312
|
+
update(id: string, input: UpdateAutomationInput, opts?: CallOptions): Promise<Automation>;
|
|
313
|
+
delete(id: string, opts?: CallOptions): Promise<DeletedResponse>;
|
|
314
|
+
archive(id: string, opts?: CallOptions): Promise<Automation>;
|
|
315
|
+
unarchive(id: string, opts?: CallOptions): Promise<Automation>;
|
|
316
|
+
/**
|
|
317
|
+
* Fire an automation via its webhook secret. This endpoint does NOT use the
|
|
318
|
+
* client's `ap_` key — the bearer is the automation's secret — so we build a
|
|
319
|
+
* one-off HttpContext for it rather than mutating the shared one.
|
|
320
|
+
*
|
|
321
|
+
* Responds HTTP 202. The response identifies the fired automation via `id`
|
|
322
|
+
* only.
|
|
323
|
+
*/
|
|
324
|
+
fire(id: string, input: FireAutomationInput, opts?: CallOptions): Promise<{
|
|
325
|
+
id: string;
|
|
326
|
+
}>;
|
|
327
|
+
/**
|
|
328
|
+
* Rotate the webhook secret. Returns the automation with a fresh one-time
|
|
329
|
+
* plaintext `secret` populated (`AutomationWithSecret`). The old secret
|
|
330
|
+
* immediately stops working.
|
|
331
|
+
*/
|
|
332
|
+
rotateSecret(id: string, opts?: CallOptions): Promise<AutomationWithSecret>;
|
|
333
|
+
/** Recent fires + their success/error outcome. */
|
|
334
|
+
listRuns(id: string, query?: ListAutomationRunsQuery, opts?: CallOptions): Promise<AutomationRun[]>;
|
|
335
|
+
getCostStats(id: string, opts?: CallOptions): Promise<AutomationCostStats>;
|
|
336
|
+
getCostStatsMap(query?: BulkAutomationCostStatsQuery, opts?: CallOptions): Promise<Record<string, AutomationCostStats>>;
|
|
337
|
+
}
|
|
338
|
+
|
|
262
339
|
/**
|
|
263
340
|
* BlobsApi — `/api/v1/blobs` (the object-storage data plane).
|
|
264
341
|
*
|
|
@@ -351,6 +428,12 @@ interface CommandBinding {
|
|
|
351
428
|
responseKind: "single" | "list" | "created" | "deleted" | "binary";
|
|
352
429
|
/** Long-running → goes through the async-operation layer. */
|
|
353
430
|
async: boolean;
|
|
431
|
+
/** Client polling parameters for operations that outlive the poller's
|
|
432
|
+
* defaults (e.g. video generation: 5000ms × 240 ≈ a 20-minute ceiling). */
|
|
433
|
+
pollHint?: {
|
|
434
|
+
intervalMs: number;
|
|
435
|
+
maxAttempts: number;
|
|
436
|
+
};
|
|
354
437
|
/** For `binary` responses — the served media types (e.g. `text/event-stream`). */
|
|
355
438
|
binaryContentTypes?: readonly string[];
|
|
356
439
|
}
|
|
@@ -360,7 +443,7 @@ declare const COMMAND_BINDINGS: Record<string, CommandBinding>;
|
|
|
360
443
|
* {@link COMMAND_BINDINGS}). Used to type `client.call(action, args)` so a
|
|
361
444
|
* known action autocompletes and a typo is caught at compile time.
|
|
362
445
|
*/
|
|
363
|
-
type V1CommandName = "agent archive" | "agent copy-to-workspace" | "agent create" | "agent delete" | "agent get" | "agent list" | "agent move" | "agent permanent-delete" | "agent restore" | "agent unarchive" | "agent update" | "ai-gateway providers" | "ai-gateway usage" | "api-key create" | "api-key delete" | "api-key list" | "api-key rotate" | "api-key update" | "audio models" | "audio search-models" | "audio search-voices" | "audio speak" | "audio speak-stream" | "audio transcribe" | "audio transcribe-stream" | "audio voices" | "blobs delete" | "blobs get" | "blobs head" | "blobs list" | "blobs namespaces" | "blobs put" | "blobs signed-url" | "browser-app create" | "browser-app deploy" | "browser-app deployments" | "browser-app fork" | "browser-app get" | "browser-app list" | "browser-app promote" | "browser-app snapshot" | "chat archive" | "chat copy-to-agent" | "chat copy-to-workspace" | "chat cost" | "chat create" | "chat delete" | "chat export" | "chat fork-to-workspace" | "chat get" | "chat list" | "chat message-costs" | "chat messages" | "chat permanent-delete" | "chat reprompt" | "chat restore" | "chat runs" | "chat send" | "chat stop" | "chat stream" | "chat unarchive" | "chat update" | "ci cancel" | "ci get" | "ci jobs" | "ci list" | "ci run" | "
|
|
446
|
+
type V1CommandName = "agent archive" | "agent copy-to-workspace" | "agent create" | "agent delete" | "agent get" | "agent list" | "agent move" | "agent permanent-delete" | "agent restore" | "agent unarchive" | "agent update" | "ai-gateway providers" | "ai-gateway usage" | "api-key create" | "api-key delete" | "api-key list" | "api-key rotate" | "api-key update" | "audio models" | "audio search-models" | "audio search-voices" | "audio speak" | "audio speak-stream" | "audio transcribe" | "audio transcribe-stream" | "audio voices" | "automation archive" | "automation cost-stats" | "automation cost-stats-all" | "automation create" | "automation delete" | "automation fire" | "automation get" | "automation list" | "automation rotate-secret" | "automation runs" | "automation test-fire" | "automation unarchive" | "automation update" | "blobs delete" | "blobs get" | "blobs head" | "blobs list" | "blobs namespaces" | "blobs put" | "blobs signed-url" | "browser-app create" | "browser-app deploy" | "browser-app deployments" | "browser-app fork" | "browser-app get" | "browser-app list" | "browser-app promote" | "browser-app snapshot" | "chat archive" | "chat copy-to-agent" | "chat copy-to-workspace" | "chat cost" | "chat create" | "chat delete" | "chat export" | "chat fork-to-workspace" | "chat get" | "chat list" | "chat message-costs" | "chat messages" | "chat permanent-delete" | "chat reprompt" | "chat restore" | "chat runs" | "chat send" | "chat stop" | "chat stream" | "chat unarchive" | "chat update" | "ci cancel" | "ci get" | "ci jobs" | "ci list" | "ci run" | "computer activity" | "computer add-exposure" | "computer add-local-model" | "computer app-create" | "computer app-delete" | "computer app-exec" | "computer app-expose" | "computer app-external" | "computer app-get" | "computer app-logs" | "computer app-ports" | "computer app-reset" | "computer app-restart" | "computer app-run" | "computer app-runtime" | "computer app-setup-runtime" | "computer app-start" | "computer app-stop" | "computer app-unexpose" | "computer apps" | "computer archive" | "computer compose-up" | "computer create" | "computer create-user" | "computer delete" | "computer delete-user" | "computer delete-user-env" | "computer download" | "computer download-to-drive" | "computer ephemeral" | "computer exec" | "computer expose" | "computer get" | "computer get-user" | "computer hibernate" | "computer list" | "computer local-inference" | "computer local-models" | "computer manage" | "computer pair" | "computer ports" | "computer remove-exposure" | "computer remove-local-model" | "computer run" | "computer set-ports" | "computer set-user-env" | "computer sftp" | "computer start" | "computer stop" | "computer test-connection" | "computer tmux" | "computer transfer" | "computer tunnels" | "computer unarchive" | "computer unexpose" | "computer update" | "computer update-exposure" | "computer update-user" | "computer upload" | "computer user-env" | "computer user-env-setup" | "computer user-env-setup-apply" | "computer user-env-sync" | "computer user-env-sync-repair" | "computer users" | "datastore batch" | "datastore delete" | "datastore get" | "datastore increment" | "datastore list" | "datastore namespaces" | "datastore set" | "drive content-versions" | "drive create-folder" | "drive delete" | "drive get-metadata" | "drive glob" | "drive grep" | "drive list" | "drive move" | "drive permanent-delete" | "drive read" | "drive restore" | "drive restore-version" | "drive run" | "drive update" | "drive upload" | "functions create" | "functions delete" | "functions deploy" | "functions deployments" | "functions get" | "functions invoke" | "functions list" | "functions promote" | "functions update" | "guide get" | "hook create" | "hook delete" | "hook get" | "hook history" | "hook list" | "hook override" | "hook preview" | "hook toggle" | "hook update" | "hub install" | "hub search" | "hub submissions" | "hub submit" | "hub update" | "hub update-check" | "image generate" | "image models" | "image search" | "me get" | "me usage" | "memory box-delete" | "memory box-get" | "memory box-list" | "memory box-update" | "memory delete" | "memory index-read" | "memory index-write" | "memory list" | "memory read" | "memory search" | "memory write" | "models list" | "models search" | "notes box-create" | "notes box-delete" | "notes box-get" | "notes box-list" | "notes box-update" | "notes delete" | "notes folder-create" | "notes folder-delete" | "notes folder-list" | "notes folder-move" | "notes folder-rename" | "notes graph" | "notes import" | "notes index-read" | "notes index-write" | "notes links" | "notes list" | "notes note-move" | "notes note-rename" | "notes purge" | "notes read" | "notes restore" | "notes search" | "notes search-all" | "notes tag-list" | "notes tag-rename" | "notes trash-empty" | "notes trash-list" | "notes tree" | "notes write" | "notification config" | "notification delete" | "notification get" | "notification list" | "notification preferences" | "notification read-all" | "notification send" | "notification update" | "notification update-config" | "notification update-preferences" | "operation cancel" | "operation get" | "operation list" | "provider-endpoint create" | "provider-endpoint delete" | "provider-endpoint list" | "provider-endpoint presets" | "provider-endpoint test" | "provider-endpoint update" | "realtime broadcast" | "realtime presence" | "realtime presence-list" | "realtime subscribe" | "repos branches" | "repos clone-url" | "repos commit" | "repos commits" | "repos create" | "repos delete" | "repos get" | "repos list" | "repos read-file" | "repos set-visibility" | "search query" | "secret create" | "secret delete" | "secret get" | "secret list" | "secret reveal" | "secret update" | "settings get" | "settings update" | "share create" | "share delete" | "share list" | "share update" | "shared-with-me list" | "skill apply-update" | "skill attach" | "skill body" | "skill create" | "skill delete" | "skill detach" | "skill file-delete" | "skill file-list" | "skill file-read" | "skill file-write" | "skill fork" | "skill get" | "skill install" | "skill list" | "skill publish" | "skill render" | "skill search" | "skill update" | "skill update-check" | "subscription get" | "table create" | "table create-record" | "table delete" | "table delete-record" | "table export" | "table get" | "table get-record" | "table import" | "table list" | "table query" | "table update" | "table update-record" | "tasks ancestors" | "tasks assign" | "tasks comment" | "tasks comment-delete" | "tasks comment-list" | "tasks comment-update" | "tasks create" | "tasks delete" | "tasks depend" | "tasks dependencies" | "tasks duplicate" | "tasks events" | "tasks get" | "tasks import" | "tasks label-create" | "tasks label-delete" | "tasks label-list" | "tasks label-update" | "tasks list" | "tasks list-create" | "tasks list-delete" | "tasks list-get" | "tasks list-list" | "tasks list-update" | "tasks unassign" | "tasks undepend" | "tasks update" | "video generate" | "video models" | "video search" | "web fetch" | "web search" | "workspace add-member" | "workspace archive" | "workspace create" | "workspace delete" | "workspace get" | "workspace invitations" | "workspace invite" | "workspace list" | "workspace members" | "workspace remove-member" | "workspace revoke-invitation" | "workspace unarchive" | "workspace update" | "workspace update-member";
|
|
364
447
|
|
|
365
448
|
/**
|
|
366
449
|
* Generic, spec-driven command executor — the SDK twin of the CLI's `runSpec`.
|
|
@@ -630,54 +713,6 @@ declare class ChatsApi {
|
|
|
630
713
|
repromptMessage(chatId: string, messageId: string, input?: RepromptMessageInput, opts?: CallOptions): Promise<RepromptResult>;
|
|
631
714
|
}
|
|
632
715
|
|
|
633
|
-
/**
|
|
634
|
-
* CodeRunsApi — `/api/v1/code-runs`.
|
|
635
|
-
*
|
|
636
|
-
* Two surfaces:
|
|
637
|
-
* - `POST /code-runs` — execute a code file in a sandboxed Lambda
|
|
638
|
-
* environment. Returns stdout, stderr, exit code, timing.
|
|
639
|
-
* - `GET /code-runs` + `GET /code-runs/:id` — history browsing.
|
|
640
|
-
*
|
|
641
|
-
* Browser-apps use `runs.run()` to invoke a file owned by the user (e.g., a
|
|
642
|
-
* Python helper in the data folder) without needing a full computer.
|
|
643
|
-
*/
|
|
644
|
-
|
|
645
|
-
interface RunCodeInput {
|
|
646
|
-
file_id: string;
|
|
647
|
-
/** Hard upper bound on wall-clock runtime. Default 30s server-side. */
|
|
648
|
-
timeout_seconds?: number;
|
|
649
|
-
/**
|
|
650
|
-
* Environment variables passed to the running code. `IDAPT_API_KEY` is
|
|
651
|
-
* allowed. `AWS_*` and runtime-hijacking vars are stripped server-side.
|
|
652
|
-
*/
|
|
653
|
-
env?: Record<string, string>;
|
|
654
|
-
}
|
|
655
|
-
/**
|
|
656
|
-
* `GET /v1/code-runs` query params. Cursor-paginated (opaque `cursor`);
|
|
657
|
-
* `backend` and `status` are closed enums.
|
|
658
|
-
*/
|
|
659
|
-
interface ListExecutionsQuery {
|
|
660
|
-
limit?: number;
|
|
661
|
-
/** Opaque pagination cursor — echo `pagination.next_cursor`. */
|
|
662
|
-
cursor?: string;
|
|
663
|
-
backend?: ExecutionBackend;
|
|
664
|
-
status?: ExecutionRunStatus;
|
|
665
|
-
}
|
|
666
|
-
declare class CodeRunsApi {
|
|
667
|
-
private readonly ctx;
|
|
668
|
-
constructor(ctx: HttpContext);
|
|
669
|
-
/**
|
|
670
|
-
* Execute a code file. Returns the full `ExecutionRun` row — `id`,
|
|
671
|
-
* `status`, `stdout`, `stderr`, `exit_code`, and the run timestamps —
|
|
672
|
-
* the same shape as `GET /code-runs/:id`.
|
|
673
|
-
*/
|
|
674
|
-
run(input: RunCodeInput, opts?: CallOptions): Promise<ExecutionRun>;
|
|
675
|
-
/** List recent execution runs. */
|
|
676
|
-
list(query?: ListExecutionsQuery, opts?: CallOptions): Promise<ExecutionRun[]>;
|
|
677
|
-
/** Get a single execution run by id. */
|
|
678
|
-
get(id: string, opts?: CallOptions): Promise<ExecutionRun>;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
716
|
/**
|
|
682
717
|
* ComputersApi — `/api/v1/computers`.
|
|
683
718
|
*
|
|
@@ -699,19 +734,25 @@ declare class CodeRunsApi {
|
|
|
699
734
|
* - User env vars — listUserEnvVars / createUserEnvVar /
|
|
700
735
|
* deleteUserEnvVar / setupUserEnv /
|
|
701
736
|
* checkUserEnvSetup / syncUserEnv / checkUserEnvSync
|
|
702
|
-
* -
|
|
703
|
-
*
|
|
704
|
-
*
|
|
737
|
+
* - Exposures — expose / updateExposure / unexpose (expose an
|
|
738
|
+
* actor-owned machine into a workspace with a
|
|
739
|
+
* per-capability grant) + transfer (move ownership)
|
|
705
740
|
* - Pair — pair (daemon token bootstrap; bearer-overridden,
|
|
706
741
|
* mirrors the trigger-fire pattern)
|
|
707
742
|
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
743
|
+
* Authenticated verbs are split by surface: generic computer read/write covers
|
|
744
|
+
* metadata, while lifecycle, exec, files, tunnels, terminal, desktop, local
|
|
745
|
+
* inference, apps, and admin operations require their explicit computer action
|
|
746
|
+
* grants. See `backend/packages/computers/src/internal/computers/Computers.md`
|
|
710
747
|
* for the end-to-end computer model.
|
|
711
748
|
*/
|
|
712
749
|
|
|
713
750
|
interface ListComputersQuery {
|
|
714
|
-
|
|
751
|
+
/**
|
|
752
|
+
* Narrow the list to one organization the actor belongs to (its resourceId).
|
|
753
|
+
* Machines are actor-owned; omit for the actor's own machines + all its orgs'.
|
|
754
|
+
*/
|
|
755
|
+
organization?: string;
|
|
715
756
|
limit?: number;
|
|
716
757
|
/** Opaque pagination cursor — echo `pagination.next_cursor`. */
|
|
717
758
|
cursor?: string;
|
|
@@ -844,20 +885,29 @@ interface PairComputerResult {
|
|
|
844
885
|
domain: string;
|
|
845
886
|
}
|
|
846
887
|
/**
|
|
847
|
-
* One `computer_workspace`
|
|
848
|
-
* workspace
|
|
849
|
-
*
|
|
888
|
+
* One `computer_workspace` EXPOSURE — an actor-owned machine exposed INTO a
|
|
889
|
+
* workspace (Layer 2) with a per-capability grant. `workspace_resource_id` is
|
|
890
|
+
* the target workspace's public `ws_…` id; `capabilities` is the granted
|
|
891
|
+
* capability-slug subset.
|
|
850
892
|
*/
|
|
851
|
-
interface
|
|
893
|
+
interface ComputerExposure {
|
|
852
894
|
id: string;
|
|
853
895
|
computer_id: string;
|
|
854
896
|
workspace_id: string;
|
|
855
897
|
workspace_resource_id: string | null;
|
|
856
|
-
|
|
857
|
-
|
|
898
|
+
capabilities: string[];
|
|
899
|
+
label: string | null;
|
|
900
|
+
created_by_actor_id: string | null;
|
|
858
901
|
created_at: number;
|
|
859
902
|
updated_at: number;
|
|
860
903
|
}
|
|
904
|
+
/** `POST /v1/computers/{id}/expose` body. */
|
|
905
|
+
interface ExposeComputerInput {
|
|
906
|
+
/** Target workspace — public `ws_…` resourceId or slug. */
|
|
907
|
+
workspace_id: string;
|
|
908
|
+
/** Capability-slug subset to grant {local-inference, terminal, files, computer-use, tunnels, apps}. */
|
|
909
|
+
capabilities: string[];
|
|
910
|
+
}
|
|
861
911
|
declare class ComputersApi {
|
|
862
912
|
private readonly ctx;
|
|
863
913
|
constructor(ctx: HttpContext);
|
|
@@ -960,30 +1010,37 @@ declare class ComputersApi {
|
|
|
960
1010
|
syncUserEnv(id: string, username: string, opts?: CallOptions): Promise<Record<string, unknown>>;
|
|
961
1011
|
checkUserEnvSync(id: string, username: string, opts?: CallOptions): Promise<Record<string, unknown>>;
|
|
962
1012
|
/**
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
*
|
|
1013
|
+
* Expose an actor-owned machine INTO a workspace (Layer 2) with a
|
|
1014
|
+
* per-capability grant, so that workspace's members can use it. Requires
|
|
1015
|
+
* machine-admin and membership of the target workspace. Rejects a duplicate
|
|
1016
|
+
* exposure. (CLI verb: `computer add-exposure` — the bare `expose`/`unexpose`
|
|
1017
|
+
* verbs are the tunnel port commands.)
|
|
966
1018
|
*/
|
|
967
|
-
|
|
1019
|
+
expose(id: string, input: ExposeComputerInput, opts?: CallOptions): Promise<ComputerExposure>;
|
|
968
1020
|
/**
|
|
969
|
-
*
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
* membership of the target. Rejects the home workspace and duplicates.
|
|
1021
|
+
* Replace the capability grant on an existing exposure. `workspaceId` is the
|
|
1022
|
+
* exposed workspace's `ws_…` resourceId. Requires machine-admin.
|
|
1023
|
+
* (CLI verb: `computer update-exposure`.)
|
|
973
1024
|
*/
|
|
974
|
-
|
|
1025
|
+
updateExposure(id: string, workspaceId: string, capabilities: string[], opts?: CallOptions): Promise<ComputerExposure>;
|
|
975
1026
|
/**
|
|
976
|
-
* Stop
|
|
977
|
-
*
|
|
978
|
-
*
|
|
1027
|
+
* Stop exposing a machine into a workspace. `workspaceId` is the exposed
|
|
1028
|
+
* workspace's `ws_…` resourceId. Allowed for machine-admin OR an admin of the
|
|
1029
|
+
* exposed workspace. Idempotent. (CLI verb: `computer remove-exposure`.)
|
|
979
1030
|
*/
|
|
980
|
-
|
|
981
|
-
|
|
1031
|
+
unexpose(id: string, workspaceId: string, opts?: CallOptions): Promise<{
|
|
1032
|
+
unexposed: boolean;
|
|
982
1033
|
}>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Transfer an actor-owned machine to a new owner (self, or an org the caller
|
|
1036
|
+
* administers). `owner` is the target profile's resourceId; existing workspace
|
|
1037
|
+
* exposures are kept. Requires machine-admin. (CLI verb: `computer transfer`.)
|
|
1038
|
+
*/
|
|
1039
|
+
transfer(id: string, owner: string, opts?: CallOptions): Promise<Computer>;
|
|
983
1040
|
/**
|
|
984
1041
|
* Redeem a one-time pair token for a long-lived computer identity. The
|
|
985
1042
|
* token itself is the auth — we swap the bearer for the token on this
|
|
986
|
-
* call only (same pattern as `
|
|
1043
|
+
* call only (same pattern as `automations.fire`).
|
|
987
1044
|
*
|
|
988
1045
|
* Used by `idapt up --token` to bootstrap a daemon. The request body is
|
|
989
1046
|
* snake_case; the response is wrapped in the standard `{data:{…}}`
|
|
@@ -1117,6 +1174,165 @@ declare class FilesApi {
|
|
|
1117
1174
|
run(id: string, input?: RunFileInput, opts?: CallOptions): Promise<ExecutionRun>;
|
|
1118
1175
|
}
|
|
1119
1176
|
|
|
1177
|
+
/**
|
|
1178
|
+
* FunctionsApi — `/api/v1/functions` (idapt Functions).
|
|
1179
|
+
*
|
|
1180
|
+
* Two tiers, mirroring the v1 `functions` contract:
|
|
1181
|
+
*
|
|
1182
|
+
* - One-off runs — `run()` executes a script ONCE in the sandboxed Lambda
|
|
1183
|
+
* (inline `script` XOR an existing Drive `file_id`) and returns the full
|
|
1184
|
+
* `FunctionRun` row (the `transformExecutionRun` shape). Anything the script
|
|
1185
|
+
* writes under `/tmp/output/` is copied into Drive and listed in
|
|
1186
|
+
* `output_files`. Browse history via the `runs` sub-api
|
|
1187
|
+
* (`runs.list` / `runs.get` / `runs.interrupt`).
|
|
1188
|
+
* - Deployed functions — named, versioned, HTTP-invokable units:
|
|
1189
|
+
* `create` → `deploy` (inline base64 bundle) → `invoke`. `promote` flips /
|
|
1190
|
+
* rolls back the live deployment; `deployments` lists the version history.
|
|
1191
|
+
*
|
|
1192
|
+
* Surfaced as `client.functions.*`. Replaces the former code-execution
|
|
1193
|
+
* surface. Wire types are snake_case over the wire.
|
|
1194
|
+
*/
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* `POST /functions/runs` body — run a script once. Pass EXACTLY one of inline
|
|
1198
|
+
* `script` (+ optional `language`) or an existing Drive `file_id`.
|
|
1199
|
+
*/
|
|
1200
|
+
interface RunFunctionInput {
|
|
1201
|
+
/** Inline source (≤ 1 MB). Mutually exclusive with `file_id`. */
|
|
1202
|
+
script?: string;
|
|
1203
|
+
/** An existing Drive file id to execute. Mutually exclusive with `script`. */
|
|
1204
|
+
file_id?: string;
|
|
1205
|
+
/** Language for inline `script` — drives the entrypoint extension. */
|
|
1206
|
+
language?: "node" | "python" | "bash";
|
|
1207
|
+
/** Hard wall-clock bound (1–300s). Default 30s server-side. */
|
|
1208
|
+
timeout_seconds?: number;
|
|
1209
|
+
/** Environment variables injected into the run. */
|
|
1210
|
+
env?: Record<string, string>;
|
|
1211
|
+
/** Workspace secret names to inject as env vars (resolved server-side). */
|
|
1212
|
+
secrets?: string[];
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* `GET /functions/runs` query params. Cursor-paginated (opaque `cursor`);
|
|
1216
|
+
* `backend` / `status` narrow the one-off run history.
|
|
1217
|
+
*/
|
|
1218
|
+
interface ListFunctionRunsQuery {
|
|
1219
|
+
limit?: number;
|
|
1220
|
+
/** Opaque pagination cursor — echo `pagination.next_cursor`. */
|
|
1221
|
+
cursor?: string;
|
|
1222
|
+
backend?: ExecutionBackend;
|
|
1223
|
+
status?: ExecutionRunStatus;
|
|
1224
|
+
/** Scope the listing to a single workspace. */
|
|
1225
|
+
workspace_id?: string;
|
|
1226
|
+
}
|
|
1227
|
+
/** `GET /functions` query params — list deployed functions. */
|
|
1228
|
+
interface ListFunctionsQuery {
|
|
1229
|
+
limit?: number;
|
|
1230
|
+
}
|
|
1231
|
+
/** One declared permission grant on a function. */
|
|
1232
|
+
interface FunctionPermissionInput {
|
|
1233
|
+
resource: string;
|
|
1234
|
+
access: "read" | "write" | "admin";
|
|
1235
|
+
scope?: string;
|
|
1236
|
+
}
|
|
1237
|
+
/** `POST /functions` body — create a deployed function (config only). */
|
|
1238
|
+
interface CreateFunctionInput {
|
|
1239
|
+
name: string;
|
|
1240
|
+
description?: string;
|
|
1241
|
+
runtime?: "node" | "python";
|
|
1242
|
+
entrypoint?: string;
|
|
1243
|
+
auth_mode?: "bearer" | "secret" | "public";
|
|
1244
|
+
timeout_seconds?: number;
|
|
1245
|
+
permissions?: FunctionPermissionInput[];
|
|
1246
|
+
/** Workspace secret names to expose to the function at runtime. */
|
|
1247
|
+
secrets?: string[];
|
|
1248
|
+
source_repo_id?: string;
|
|
1249
|
+
branch?: string;
|
|
1250
|
+
browser_app_id?: string;
|
|
1251
|
+
}
|
|
1252
|
+
/** `PATCH /functions/:id` body — update a function's config (all optional). */
|
|
1253
|
+
interface UpdateFunctionInput {
|
|
1254
|
+
description?: string | null;
|
|
1255
|
+
auth_mode?: "bearer" | "secret" | "public";
|
|
1256
|
+
timeout_seconds?: number;
|
|
1257
|
+
permissions?: FunctionPermissionInput[] | null;
|
|
1258
|
+
secrets?: string[] | null;
|
|
1259
|
+
branch?: string | null;
|
|
1260
|
+
}
|
|
1261
|
+
/** One file of a deploy bundle — base64-encoded content at a bundle path. */
|
|
1262
|
+
interface DeployFunctionFile {
|
|
1263
|
+
path: string;
|
|
1264
|
+
content_b64: string;
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* `POST /functions/:id/deploy` body — an inline base64 bundle. Promotes the
|
|
1268
|
+
* new deployment to live immediately unless `promote: false`.
|
|
1269
|
+
*/
|
|
1270
|
+
interface DeployFunctionInput {
|
|
1271
|
+
files: DeployFunctionFile[];
|
|
1272
|
+
entrypoint?: string;
|
|
1273
|
+
runtime?: "node" | "python";
|
|
1274
|
+
/** Promote the new deployment to live immediately (default true). */
|
|
1275
|
+
promote?: boolean;
|
|
1276
|
+
}
|
|
1277
|
+
/** `POST /functions/:id/invoke` body — the request handed to the handler. */
|
|
1278
|
+
interface InvokeFunctionInput {
|
|
1279
|
+
method?: string;
|
|
1280
|
+
path?: string;
|
|
1281
|
+
query?: Record<string, string>;
|
|
1282
|
+
headers?: Record<string, string>;
|
|
1283
|
+
body?: unknown;
|
|
1284
|
+
}
|
|
1285
|
+
/** `client.functions.runs` — browse + interrupt one-off runs. */
|
|
1286
|
+
declare class FunctionRunsApi {
|
|
1287
|
+
private readonly ctx;
|
|
1288
|
+
constructor(ctx: HttpContext);
|
|
1289
|
+
/** List one-off function runs (cursor-paginated). */
|
|
1290
|
+
list(query?: ListFunctionRunsQuery, opts?: CallOptions): Promise<FunctionRun[]>;
|
|
1291
|
+
/** Get a single one-off run by id. */
|
|
1292
|
+
get(id: string, opts?: CallOptions): Promise<FunctionRun>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Interrupt a running run. Only computer-backed runs can be interrupted;
|
|
1295
|
+
* Lambda-backed runs return 409 (`ConflictError`).
|
|
1296
|
+
*/
|
|
1297
|
+
interrupt(id: string, opts?: CallOptions): Promise<FunctionRun>;
|
|
1298
|
+
}
|
|
1299
|
+
declare class FunctionsApi {
|
|
1300
|
+
private readonly ctx;
|
|
1301
|
+
/** One-off run history — list / get / interrupt. */
|
|
1302
|
+
readonly runs: FunctionRunsApi;
|
|
1303
|
+
constructor(ctx: HttpContext);
|
|
1304
|
+
/**
|
|
1305
|
+
* Run a script ONCE in the sandbox. Pass EITHER inline `script` (+ optional
|
|
1306
|
+
* `language`) OR an existing Drive `file_id`. Returns the full `FunctionRun`
|
|
1307
|
+
* row — `id`, `status`, `stdout`, `stderr`, `exit_code`, the run timestamps,
|
|
1308
|
+
* and any `output_files` the script wrote under `/tmp/output/`.
|
|
1309
|
+
*/
|
|
1310
|
+
run(input: RunFunctionInput, opts?: CallOptions): Promise<FunctionRun>;
|
|
1311
|
+
/** List deployed functions in the workspace. */
|
|
1312
|
+
list(query?: ListFunctionsQuery, opts?: CallOptions): Promise<FunctionResource[]>;
|
|
1313
|
+
/** Get a deployed function by its resourceId. */
|
|
1314
|
+
get(id: string, opts?: CallOptions): Promise<FunctionResource>;
|
|
1315
|
+
/** Create a deployed function (config only — `deploy` adds a bundle). */
|
|
1316
|
+
create(input: CreateFunctionInput, opts?: CallOptions): Promise<FunctionResource>;
|
|
1317
|
+
/** Update a deployed function's config. */
|
|
1318
|
+
update(id: string, patch: UpdateFunctionInput, opts?: CallOptions): Promise<FunctionResource>;
|
|
1319
|
+
/** Delete a deployed function + all its deployments. */
|
|
1320
|
+
delete(id: string, opts?: CallOptions): Promise<DeletedResponse>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Deploy a new bundle (inline base64 files). Promotes the new deployment to
|
|
1323
|
+
* live immediately unless `promote: false`. Returns the new deployment.
|
|
1324
|
+
*/
|
|
1325
|
+
deploy(id: string, input: DeployFunctionInput, opts?: CallOptions): Promise<FunctionDeployment>;
|
|
1326
|
+
/** List a function's deployments (newest-first). */
|
|
1327
|
+
deployments(id: string, opts?: CallOptions): Promise<FunctionDeployment[]>;
|
|
1328
|
+
/** Promote (or roll back to) a deployment — flips the active one. */
|
|
1329
|
+
promote(id: string, input: {
|
|
1330
|
+
deployment_id: string;
|
|
1331
|
+
}, opts?: CallOptions): Promise<FunctionResource>;
|
|
1332
|
+
/** Invoke a deployed function synchronously; returns its response. */
|
|
1333
|
+
invoke(id: string, input?: InvokeFunctionInput, opts?: CallOptions): Promise<FunctionInvokeResult>;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1120
1336
|
/**
|
|
1121
1337
|
* GuideApi — `GET /api/v1/guide`.
|
|
1122
1338
|
*
|
|
@@ -1847,83 +2063,6 @@ declare class TablesApi {
|
|
|
1847
2063
|
}>;
|
|
1848
2064
|
}
|
|
1849
2065
|
|
|
1850
|
-
/**
|
|
1851
|
-
* TriggersApi — `/api/v1/triggers`.
|
|
1852
|
-
*
|
|
1853
|
-
* Triggers fire actions (run code, run chat) on events (webhook, schedule,
|
|
1854
|
-
* manual). The `fire` endpoint is unauthenticated — it validates the
|
|
1855
|
-
* per-trigger webhook secret instead of the bearer token. This SDK handles
|
|
1856
|
-
* both modes: regular calls use `this.ctx.key`; `fire` can be called with
|
|
1857
|
-
* an explicit secret override.
|
|
1858
|
-
*/
|
|
1859
|
-
|
|
1860
|
-
interface FireTriggerInput {
|
|
1861
|
-
/**
|
|
1862
|
-
* Webhook secret for this trigger. Overrides the client's `ap_` key.
|
|
1863
|
-
* Required when calling `fire` outside the creating user's session.
|
|
1864
|
-
*/
|
|
1865
|
-
secret: string;
|
|
1866
|
-
/** Optional context overrides forwarded to the action. */
|
|
1867
|
-
body?: Record<string, unknown>;
|
|
1868
|
-
}
|
|
1869
|
-
interface ListTriggerRunsQuery {
|
|
1870
|
-
limit?: number;
|
|
1871
|
-
/** Opaque pagination cursor — echo `pagination.next_cursor`. */
|
|
1872
|
-
cursor?: string;
|
|
1873
|
-
}
|
|
1874
|
-
interface ListTriggersQuery {
|
|
1875
|
-
workspace_id?: string;
|
|
1876
|
-
include_archived?: boolean;
|
|
1877
|
-
archived_only?: boolean;
|
|
1878
|
-
}
|
|
1879
|
-
interface BulkTriggerCostStatsQuery {
|
|
1880
|
-
workspace_id?: string;
|
|
1881
|
-
}
|
|
1882
|
-
declare class TriggersApi {
|
|
1883
|
-
private readonly ctx;
|
|
1884
|
-
constructor(ctx: HttpContext);
|
|
1885
|
-
list(query?: ListTriggersQuery, opts?: CallOptions): Promise<Trigger[]>;
|
|
1886
|
-
/**
|
|
1887
|
-
* Create a trigger. `workspace_id` is passed in the request BODY (alongside
|
|
1888
|
-
* the flat trigger definition) — it is not a query param. The request
|
|
1889
|
-
* body is flat: every scheduling field (`cron_expression`, …) and every
|
|
1890
|
-
* action field (`agent_id`, `prompt_template`, `file_id`, …) sits at the
|
|
1891
|
-
* top level — there are no nested `trigger_config` / `action_config`
|
|
1892
|
-
* objects any more.
|
|
1893
|
-
*
|
|
1894
|
-
* For a `webhook` trigger the response additionally carries a one-time
|
|
1895
|
-
* plaintext `secret` (use `TriggerWithSecret`); other trigger types
|
|
1896
|
-
* resolve to a plain `Trigger`.
|
|
1897
|
-
*/
|
|
1898
|
-
create(workspaceId: string, input: CreateTriggerInput, opts?: CallOptions): Promise<TriggerWithSecret | Trigger>;
|
|
1899
|
-
get(id: string, opts?: CallOptions): Promise<Trigger>;
|
|
1900
|
-
update(id: string, input: UpdateTriggerInput, opts?: CallOptions): Promise<Trigger>;
|
|
1901
|
-
delete(id: string, opts?: CallOptions): Promise<DeletedResponse>;
|
|
1902
|
-
archive(id: string, opts?: CallOptions): Promise<Trigger>;
|
|
1903
|
-
unarchive(id: string, opts?: CallOptions): Promise<Trigger>;
|
|
1904
|
-
/**
|
|
1905
|
-
* Fire a trigger via its webhook secret. This endpoint does NOT use the
|
|
1906
|
-
* client's `ap_` key — the bearer is the trigger's secret — so we build a
|
|
1907
|
-
* one-off HttpContext for it rather than mutating the shared one.
|
|
1908
|
-
*
|
|
1909
|
-
* Responds HTTP 202. The response identifies the fired trigger via `id`
|
|
1910
|
-
* only.
|
|
1911
|
-
*/
|
|
1912
|
-
fire(id: string, input: FireTriggerInput, opts?: CallOptions): Promise<{
|
|
1913
|
-
id: string;
|
|
1914
|
-
}>;
|
|
1915
|
-
/**
|
|
1916
|
-
* Rotate the webhook secret. Returns the trigger with a fresh one-time
|
|
1917
|
-
* plaintext `secret` populated (`TriggerWithSecret`). The old secret
|
|
1918
|
-
* immediately stops working.
|
|
1919
|
-
*/
|
|
1920
|
-
rotateSecret(id: string, opts?: CallOptions): Promise<TriggerWithSecret>;
|
|
1921
|
-
/** Recent fires + their success/error outcome. */
|
|
1922
|
-
listRuns(id: string, query?: ListTriggerRunsQuery, opts?: CallOptions): Promise<TriggerRun[]>;
|
|
1923
|
-
getCostStats(id: string, opts?: CallOptions): Promise<TriggerCostStats>;
|
|
1924
|
-
getCostStatsMap(query?: BulkTriggerCostStatsQuery, opts?: CallOptions): Promise<Record<string, TriggerCostStats>>;
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
2066
|
/**
|
|
1928
2067
|
* UserApi — identity + usage.
|
|
1929
2068
|
*
|
|
@@ -2098,8 +2237,8 @@ declare class IdaptClient {
|
|
|
2098
2237
|
readonly chats: ChatsApi;
|
|
2099
2238
|
/** Workspaces CRUD + members + invitations + fork. */
|
|
2100
2239
|
readonly workspaces: WorkspacesApi;
|
|
2101
|
-
/**
|
|
2102
|
-
readonly
|
|
2240
|
+
/** Automations CRUD + fire, rotate-secret, runs. */
|
|
2241
|
+
readonly automations: AutomationsApi;
|
|
2103
2242
|
/** Computers CRUD + lifecycle + exec/tmux/sftp + ports + users + env + pair. */
|
|
2104
2243
|
readonly computers: ComputersApi;
|
|
2105
2244
|
/** Workspace secrets CRUD. */
|
|
@@ -2132,8 +2271,8 @@ declare class IdaptClient {
|
|
|
2132
2271
|
readonly images: ImagesApi;
|
|
2133
2272
|
/** Text-to-speech + transcription. */
|
|
2134
2273
|
readonly audio: AudioApi;
|
|
2135
|
-
/**
|
|
2136
|
-
readonly
|
|
2274
|
+
/** Run + invoke serverless functions. */
|
|
2275
|
+
readonly functions: FunctionsApi;
|
|
2137
2276
|
/** Full-text search across user content. */
|
|
2138
2277
|
readonly search: SearchApi;
|
|
2139
2278
|
/** External web search. */
|
|
@@ -2210,4 +2349,4 @@ declare class IdaptClient {
|
|
|
2210
2349
|
private navigate;
|
|
2211
2350
|
}
|
|
2212
2351
|
|
|
2213
|
-
export { type
|
|
2352
|
+
export { type ListChatsQuery as $, type AddMemberInput as A, type BlobMeta as B, COMMAND_BINDINGS as C, DatastoreApi as D, type DatastoreSetOptions as E, type DeleteInvitationResult as F, type DeletedResult as G, type DeployFunctionFile as H, IdaptClient as I, type DeployFunctionInput as J, DocsApi as K, type ExecCommandInput as L, type ExecuteCommandOptions as M, FilesApi as N, type FireAutomationInput as O, type FunctionPermissionInput as P, FunctionsApi as Q, type GenerateImageInput as R, GuideApi as S, type GuideContent as T, type IdaptClientDeps as U, ImagesApi as V, type InstallStoreItemInput as W, type InvokeFunctionInput as X, type ListAgentsQuery as Y, type ListApiKeysQuery as Z, type ListAutomationRunsQuery as _, AgentsApi as a, type UpdateProviderEndpointInput as a$, type ListComputersQuery as a0, type ListFilesQuery as a1, type ListFunctionRunsQuery as a2, type ListFunctionsQuery as a3, type ListMessagesQuery as a4, type ListNotificationsQuery as a5, type ListResult as a6, type ListRunsQuery as a7, type ListSharedWithMeQuery as a8, type ListSharesQuery as a9, type SendNotificationInput as aA, type SendNotificationResult as aB, SettingsApi as aC, type SftpInput as aD, type SftpListResult as aE, type SftpOp as aF, type SftpUploadInput as aG, SharingApi as aH, type SpeakInput as aI, type SseEvent as aJ, StoreApi as aK, type SubscribeOptions as aL, SubscriptionApi as aM, type TableQuery as aN, TablesApi as aO, type TmuxInput as aP, type TmuxOp as aQ, type TranscribeInput as aR, type UpdateAgentInput as aS, type UpdateApiKeyInput as aT, type UpdateChatInput as aU, type UpdateCollectionInput as aV, type UpdateComputerInput as aW, type UpdateComputerUserInput as aX, type UpdateFunctionInput as aY, type UpdateMemberInput as aZ, type UpdateNotificationInput as a_, type ListUsageHistoryQuery as aa, ModelsApi as ab, type NotificationAudience as ac, type NotificationPreferenceUpdate as ad, NotificationsApi as ae, type PairComputerInput as af, type PairComputerResult as ag, type PatchFileInput as ah, type PatchPortInput as ai, type PresenceEntry as aj, type PresenceHeartbeatOptions as ak, type ProviderEndpointModelMappingInput as al, ProviderEndpointsApi as am, RealtimeApi as an, type RealtimeEvent as ao, type RemoveShareInput as ap, type RepromptMessageInput as aq, type RotateApiKeyInput as ar, type RotateApiKeyResult as as, type RunFileInput as at, type RunFunctionInput as au, SearchApi as av, type SearchInput as aw, type SearchStoreQuery as ax, SecretsApi as ay, type SendMessageInput as az, ApiKeysApi as b, type UpdateSecretInput as b0, type UpdateSettingsInput as b1, type UpdateShareInput as b2, type UpdateWorkspaceInput as b3, type UploadInput as b4, UserApi as b5, type V1CommandName as b6, WebSearchApi as b7, type WebSearchInput as b8, WorkspacesApi as b9, type WritableMemberRole as ba, awaitOperation as bb, executeCommand as bc, getFileBlob as bd, getFileText as be, listFiles as bf, AudioApi as c, AutomationsApi as d, BlobsApi as e, type BlobsListOptions as f, type ChannelHandle as g, ChatsApi as h, type CommandBinding as i, ComputersApi as j, type CreateAgentInput as k, type CreateApiKeyInput as l, type CreateChatInput as m, type CreateCollectionInput as n, type CreateComputerInput as o, type CreateComputerUserInput as p, type CreateFolderInput as q, type CreateFunctionInput as r, type CreateInvitationInput as s, type CreateInvitationResult as t, type CreateProviderEndpointInput as u, type CreateSecretInput as v, type CreateShareInput as w, type CreateUserEnvVarInput as x, type CreateWorkspaceInput as y, type DatastoreListOptions as z };
|