@idapt/browser-app-sdk 0.3.0 → 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.
@@ -160,19 +160,6 @@ declare const sharedWithMeItemResponseSchema: z.ZodObject<{
160
160
  }, z.core.$strip>;
161
161
  type SharedWithMeItemResponse = z.infer<typeof sharedWithMeItemResponseSchema>;
162
162
 
163
- declare const blobObjectResponseSchema: z.ZodObject<{
164
- namespace: z.ZodString;
165
- key: z.ZodString;
166
- content_type: z.ZodString;
167
- size: z.ZodNumber;
168
- etag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
- sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
- public: z.ZodBoolean;
171
- resource_id: z.ZodString;
172
- updated_at: z.ZodString;
173
- }, z.core.$strip>;
174
- type BlobObjectResponse = z.infer<typeof blobObjectResponseSchema>;
175
-
176
163
  declare const computerResponseSchema: z.ZodObject<{
177
164
  id: z.ZodString;
178
165
  name: z.ZodString;
@@ -205,6 +192,8 @@ declare const computerResponseSchema: z.ZodObject<{
205
192
  }>>;
206
193
  online: z.ZodBoolean;
207
194
  last_heartbeat_at: z.ZodNullable<z.ZodNumber>;
195
+ can_exec: z.ZodNullable<z.ZodBoolean>;
196
+ can_run_as_root: z.ZodBoolean;
208
197
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
198
  created_at: z.ZodString;
210
199
  updated_at: z.ZodString;
@@ -272,7 +261,6 @@ declare const agentResponseSchema: z.ZodObject<{
272
261
  default_model_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
262
  default_reasoning_effort: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
274
263
  default_auto_cost_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
275
- default_cost_budget_limit_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
264
  is_trashed: z.ZodOptional<z.ZodBoolean>;
277
265
  trashed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
266
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -350,7 +338,6 @@ declare const automationResponseSchema: z.ZodObject<{
350
338
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
339
  reasoning_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
352
340
  auto_cost_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
353
- cost_budget_limit_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
354
341
  web_search_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
355
342
  memory_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
356
343
  subagent_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -359,10 +346,6 @@ declare const automationResponseSchema: z.ZodObject<{
359
346
  compaction_preset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
347
  pasted_texts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
361
348
  active_skills: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
362
- function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
365
- body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
366
349
  next_run_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
350
  last_fired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
351
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -387,7 +370,6 @@ declare const automationWithSecretResponseSchema: z.ZodObject<{
387
370
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
371
  reasoning_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
389
372
  auto_cost_level: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
390
- cost_budget_limit_usd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
391
373
  web_search_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
392
374
  memory_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
393
375
  subagent_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -396,10 +378,6 @@ declare const automationWithSecretResponseSchema: z.ZodObject<{
396
378
  compaction_preset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
379
  pasted_texts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
398
380
  active_skills: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
399
- function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
- body: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
403
381
  next_run_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
382
  last_fired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
383
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -412,11 +390,35 @@ declare const automationRunResponseSchema: z.ZodObject<{
412
390
  id: z.ZodString;
413
391
  automation_id: z.ZodNullable<z.ZodString>;
414
392
  automation_name: z.ZodString;
415
- success: z.ZodBoolean;
416
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ origin: z.ZodEnum<{
394
+ cron: "cron";
395
+ webhook: "webhook";
396
+ test: "test";
397
+ manual: "manual";
398
+ }>;
399
+ status: z.ZodEnum<{
400
+ running: "running";
401
+ skipped: "skipped";
402
+ queued: "queued";
403
+ dispatching: "dispatching";
404
+ cancelling: "cancelling";
405
+ retry_wait: "retry_wait";
406
+ blocked: "blocked";
407
+ completed: "completed";
408
+ failed: "failed";
409
+ cancelled: "cancelled";
410
+ dead_lettered: "dead_lettered";
411
+ }>;
412
+ scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ attempt_count: z.ZodNumber;
414
+ missed_slot_count: z.ZodNumber;
415
+ available_at: z.ZodString;
416
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
417
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ created_at: z.ZodString;
419
+ error_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
417
421
  chat_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
- execution_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
419
- fired_at: z.ZodString;
420
422
  }, z.core.$strip>;
421
423
  type AutomationRunResponse = z.infer<typeof automationRunResponseSchema>;
422
424
  declare const automationCostStatsResponseSchema: z.ZodObject<{
@@ -490,16 +492,6 @@ declare const shareResponseSchema: z.ZodObject<{
490
492
  }, z.core.$strip>;
491
493
  type ShareResponse = z.infer<typeof shareResponseSchema>;
492
494
 
493
- declare const datastoreEntryResponseSchema: z.ZodObject<{
494
- namespace: z.ZodString;
495
- key: z.ZodString;
496
- value: z.ZodNullable<z.ZodUnknown>;
497
- size: z.ZodNumber;
498
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
- updated_at: z.ZodString;
500
- }, z.core.$strip>;
501
- type DatastoreEntryResponse = z.infer<typeof datastoreEntryResponseSchema>;
502
-
503
495
  /**
504
496
  * A file resource (`transformFile` → snake_case). `id` is the resourceId.
505
497
  * Nullable-and-optional (`.nullish()`) where the SDK marks the field optional,
@@ -531,33 +523,6 @@ declare const fileUploadResponseSchema: z.ZodObject<{
531
523
  }, z.core.$strip>;
532
524
  type FileUploadResponse = z.infer<typeof fileUploadResponseSchema>;
533
525
 
534
- /** `execution_run` record — `transformExecutionRun` output, snake_case. */
535
- declare const functionRunResponseSchema: z.ZodObject<{
536
- id: z.ZodString;
537
- backend: z.ZodString;
538
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
539
- status: z.ZodString;
540
- workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- file_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
543
- runtime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
544
- exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
545
- stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
- stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
- duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
548
- timed_out: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
549
- timeout_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
550
- trigger_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
- error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
552
- created_at: z.ZodString;
553
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
- completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
- output_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
556
- file_id: z.ZodString;
557
- path: z.ZodString;
558
- }, z.core.$strip>>>;
559
- }, z.core.$strip>;
560
- type FunctionRunResponse = z.infer<typeof functionRunResponseSchema>;
561
526
  declare const functionResponseSchema: z.ZodObject<{
562
527
  id: z.ZodString;
563
528
  name: z.ZodString;
@@ -627,6 +592,7 @@ declare const apiKeyResponseSchema: z.ZodObject<{
627
592
  name: z.ZodString;
628
593
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
594
  key_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
595
+ api_version: z.ZodString;
630
596
  permissions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
631
597
  resource: z.ZodString;
632
598
  scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -674,35 +640,6 @@ declare const secretWithValueResponseSchema: z.ZodObject<{
674
640
  }, z.core.$strip>;
675
641
  type SecretWithValueResponse = z.infer<typeof secretWithValueResponseSchema>;
676
642
 
677
- declare const tableCollectionResponseSchema: z.ZodObject<{
678
- id: z.ZodString;
679
- name: z.ZodString;
680
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
- icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
- schema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
683
- fields: z.ZodArray<z.ZodObject<{
684
- key: z.ZodString;
685
- name: z.ZodString;
686
- type: z.ZodString;
687
- options: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
688
- required: z.ZodOptional<z.ZodBoolean>;
689
- default: z.ZodOptional<z.ZodUnknown>;
690
- }, z.core.$strip>>;
691
- }, z.core.$strip>>>;
692
- workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
693
- created_at: z.ZodString;
694
- updated_at: z.ZodString;
695
- }, z.core.$strip>;
696
- type TableCollectionResponse = z.infer<typeof tableCollectionResponseSchema>;
697
- declare const tableRecordResponseSchema: z.ZodObject<{
698
- id: z.ZodString;
699
- collection_id: z.ZodString;
700
- values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
701
- created_at: z.ZodString;
702
- updated_at: z.ZodString;
703
- }, z.core.$strip>;
704
- type TableRecordResponse = z.infer<typeof tableRecordResponseSchema>;
705
-
706
643
  /**
707
644
  * Public type surface for @idapt/sdk.
708
645
  *
@@ -831,9 +768,11 @@ interface ChatCost {
831
768
  total_output_tokens: number;
832
769
  total_cached_tokens: number;
833
770
  by_call_type?: Record<string, ChatCostByCallType> | null;
834
- cost_budget_limit_usd?: number | null;
835
- cost_budget_mode?: string | null;
836
- cost_budget_spent_usd?: number | null;
771
+ credit_spend_limit_usd?: number | null;
772
+ credit_spend_used_usd: number;
773
+ credit_spend_remaining_usd?: number | null;
774
+ credit_spend_reset_at?: number | null;
775
+ credit_spend_limit_applicable: boolean;
837
776
  }
838
777
  interface MessageCostEntry {
839
778
  cost_usd: number;
@@ -857,7 +796,7 @@ interface MessageCosts {
857
796
  by_run: Record<string, RunCostMetrics>;
858
797
  }
859
798
  interface ChatStopResult extends Chat {
860
- run_active: boolean;
799
+ has_active_run: boolean;
861
800
  }
862
801
  /** Lifecycle state of an agent run row (`GET /chats/:id/runs`). */
863
802
  type AgentRunState = "generating" | "streaming" | "completed" | "failed" | "stopped" | "paused";
@@ -891,22 +830,6 @@ type SendMessageResult = {
891
830
  pending_token: string;
892
831
  chat_id: string;
893
832
  };
894
- /**
895
- * Lifecycle status of a one-off function run. `interrupted` lands when a run is
896
- * cancelled via `POST /functions/runs/:id/interrupt`.
897
- */
898
- type ExecutionRunStatus = "pending" | "running" | "completed" | "failed" | "timed_out" | "interrupted";
899
- /** Where a function run executes — sandboxed Lambda or a paired computer. */
900
- type ExecutionBackend = "computer" | "lambda";
901
- /**
902
- * A one-off function-run row. Returned by `POST /functions/runs`,
903
- * `POST /files/:id/run`, `GET /functions/runs` and `GET /functions/runs/:id` —
904
- * the one-off run lane always yields this single shape (there is no separate
905
- * stripped run-summary type).
906
- */
907
- type ExecutionRun = FunctionRunResponse;
908
- /** Alias for the one-off run row — the `client.functions.run*` result shape. */
909
- type FunctionRun = ExecutionRun;
910
833
  /**
911
834
  * A deployed function — a named, versioned, HTTP-invokable unit served on
912
835
  * `fn.idapt.host`. Returned by `GET/POST /functions`, `GET/PATCH /functions/:id`
@@ -928,13 +851,13 @@ interface FunctionInvokeResult {
928
851
  headers?: Record<string, string>;
929
852
  }
930
853
  type TriggerType = "cron" | "webhook";
931
- type AutomationActionType = "agent-run" | "function-invoke" | "computer-run";
854
+ type AutomationActionType = "agent-run";
932
855
  /**
933
856
  * An automation resource. This is a flat object — every scheduling field
934
857
  * and every action field lives directly on the row, with no nested
935
858
  * `trigger_config` / `action_config` objects.
936
859
  *
937
- * `agent_id` and `function_id` are resourceIds.
860
+ * `agent_id` is a resourceId.
938
861
  */
939
862
  /** An automation resource (flat). Sourced from the crud v1 contract. */
940
863
  type Automation = AutomationResponse;
@@ -953,9 +876,7 @@ type AutomationCostStats = AutomationCostStatsResponse;
953
876
  * Create-automation request body — flat, mirrors the `Automation` shape. The
954
877
  * required fields depend on `trigger_type` / `action_type` (a schedule
955
878
  * automation needs `cron_expression`; an `agent-run` action needs
956
- * `prompt_template` and `agent_id`; a `function-invoke` action needs
957
- * `function_id`). The server
958
- * validates the combination.
879
+ * `prompt_template` and `agent_id`). The server validates the combination.
959
880
  */
960
881
  interface CreateAutomationInput {
961
882
  name: string;
@@ -971,7 +892,6 @@ interface CreateAutomationInput {
971
892
  model?: string;
972
893
  reasoning_level?: number;
973
894
  auto_cost_level?: number;
974
- cost_budget_limit_usd?: number;
975
895
  web_search_enabled?: boolean;
976
896
  memory_enabled?: boolean;
977
897
  subagent_enabled?: boolean;
@@ -980,10 +900,6 @@ interface CreateAutomationInput {
980
900
  compaction_preset?: string;
981
901
  pasted_texts?: unknown[];
982
902
  active_skills?: string[];
983
- function_id?: string;
984
- method?: string;
985
- path?: string;
986
- body?: unknown;
987
903
  }
988
904
  /** Update-automation request body — every create field plus `agent_id` is patchable. */
989
905
  type UpdateAutomationInput = Partial<CreateAutomationInput>;
@@ -1018,11 +934,42 @@ interface LLMModelCapabilities {
1018
934
  max_output_tokens: number;
1019
935
  image_input: boolean;
1020
936
  }
937
+ type LLMModelArchitectureType = "dense" | "moe" | "hybrid";
938
+ interface LLMModelArchitecture {
939
+ type: LLMModelArchitectureType | null;
940
+ parameter_count_b: number | null;
941
+ active_parameter_count_b: number | null;
942
+ }
943
+ interface LLMModelLocalInferenceVariant {
944
+ tag: string;
945
+ quantization: string | null;
946
+ download_size_gb: number;
947
+ recommended_ram_gb: number;
948
+ default: boolean;
949
+ }
950
+ interface LLMModelLocalInference {
951
+ runtimes: {
952
+ ollama: {
953
+ base_id: string;
954
+ variants: LLMModelLocalInferenceVariant[];
955
+ };
956
+ };
957
+ summary: {
958
+ runtime_ids: ["ollama"];
959
+ default_variant_tag: string;
960
+ min_download_size_gb: number;
961
+ max_download_size_gb: number;
962
+ min_recommended_ram_gb: number;
963
+ max_recommended_ram_gb: number;
964
+ };
965
+ }
1021
966
  /** A chat/LLM model from `GET /v1/models` (`modality: "chat"`). */
1022
967
  interface LLMModel extends ModelBase {
1023
968
  modality: "chat";
1024
969
  pricing: LLMModelPricing | null;
1025
970
  capabilities: LLMModelCapabilities;
971
+ architecture: LLMModelArchitecture;
972
+ local_inference: LLMModelLocalInference | null;
1026
973
  }
1027
974
  type ProviderEndpointKind = "openai" | "anthropic" | "openai_compatible";
1028
975
  type ProviderEndpointProviderKey = "openai" | "anthropic" | "openrouter" | "gemini" | "xai" | "deepseek" | "replicate" | "minimax" | "custom_openai_compatible" | "ollama";
@@ -1037,6 +984,10 @@ interface ProviderEndpointModelMapping {
1037
984
  model_id: string;
1038
985
  /** Upstream API model id sent to the provider. */
1039
986
  api_model_id: string;
987
+ /** Explicit serving context window for this endpoint/model pair. */
988
+ context_length?: number;
989
+ /** Explicit maximum completion tokens for this endpoint/model pair. */
990
+ max_completion_tokens?: number;
1040
991
  }
1041
992
  /**
1042
993
  * A saved BYOK or daemon-local provider endpoint. Provider secrets are
@@ -1098,6 +1049,49 @@ interface AiGatewayUsageRow {
1098
1049
  output_tokens: number;
1099
1050
  calls: number;
1100
1051
  }
1052
+ interface AiGatewayRoutePreviewCapabilities {
1053
+ tool_use?: boolean;
1054
+ reasoning?: boolean;
1055
+ vision?: boolean;
1056
+ audio_input?: boolean;
1057
+ streaming?: boolean;
1058
+ }
1059
+ interface AiGatewayRoutePreviewOption {
1060
+ model_id: string;
1061
+ connector_id: string;
1062
+ provider_slug?: string;
1063
+ provider_name: string;
1064
+ endpoint_slug?: string;
1065
+ endpoint_name?: string;
1066
+ endpoint_key?: string;
1067
+ billing_source?: string;
1068
+ provider_connection_id?: string | null;
1069
+ local_computer_id?: string | null;
1070
+ context_length?: number | null;
1071
+ max_completion_tokens?: number | null;
1072
+ is_direct: boolean;
1073
+ status: string | null;
1074
+ sticky: boolean;
1075
+ }
1076
+ interface AiGatewayRoutePreviewSkippedOption extends AiGatewayRoutePreviewOption {
1077
+ reason: "window_too_small" | "not_in_sticky_route";
1078
+ }
1079
+ interface AiGatewayRoutePreview {
1080
+ model_id: string;
1081
+ prompt_tokens: number;
1082
+ minimum_output_tokens: number;
1083
+ minimum_window_tokens: number;
1084
+ ordered: AiGatewayRoutePreviewOption[];
1085
+ primary: AiGatewayRoutePreviewOption | null;
1086
+ skipped: AiGatewayRoutePreviewSkippedOption[];
1087
+ diagnostics?: {
1088
+ reason: string;
1089
+ providers_serving_model: string[];
1090
+ required_capabilities?: AiGatewayRoutePreviewCapabilities;
1091
+ allowed_provider_slugs?: string[];
1092
+ };
1093
+ sticky_endpoint_key: string | null;
1094
+ }
1101
1095
  /** Image-model pricing block — flat per-image price (post-markup). */
1102
1096
  interface ImageModelPricing {
1103
1097
  per_image: number;
@@ -1348,15 +1342,21 @@ interface ComputerServerInfo {
1348
1342
  uptime_seconds: number;
1349
1343
  }
1350
1344
  /**
1351
- * One re-attachable tmux window on the `idapt` session. A tmux window
1352
- * has no `pid` — it is not a single process.
1345
+ * One persistent terminal (a named tmux window on the per-user `idapt-<user>`
1346
+ * session), with live state for the Terminals panel. A terminal has no `pid` —
1347
+ * it is not a single process.
1353
1348
  */
1354
- interface TmuxWindow {
1349
+ interface TerminalWindow {
1355
1350
  name: string;
1356
1351
  active: boolean;
1357
- }
1358
- /** SFTP listing entry as returned by `op: "list"`. */
1359
- interface SftpEntry {
1352
+ pane_count?: number;
1353
+ last_activity_ms?: number | null;
1354
+ running?: boolean | null;
1355
+ attached?: boolean | null;
1356
+ owner?: string | null;
1357
+ }
1358
+ /** FS listing entry as returned by `op: "list"`. */
1359
+ interface FsEntry {
1360
1360
  name: string;
1361
1361
  type: "file" | "dir" | "symlink" | string;
1362
1362
  size?: number | null;
@@ -1387,14 +1387,6 @@ type NotificationPreference = NotificationPreferenceResponse;
1387
1387
  type Secret = SecretResponse;
1388
1388
  /** A secret plus its decrypted value — only returned by `reveal`. */
1389
1389
  type SecretWithValue = SecretWithValueResponse;
1390
- /** Datastore (KV) entry. */
1391
- type DatastoreEntry = DatastoreEntryResponse;
1392
- /** Blobs (object storage) object metadata. */
1393
- type BlobObject = BlobObjectResponse;
1394
- /** Idapt Tables — a collection (schema + metadata). */
1395
- type TableCollection = TableCollectionResponse;
1396
- /** Idapt Tables — a record (JSON document). */
1397
- type TableRecord = TableRecordResponse;
1398
1390
  /**
1399
1391
  * A workspace invitation. The v1 contract keys invitations by `invitee_slug`
1400
1392
  * — there is no standalone `id` field on the wire. `DELETE` takes the slug
@@ -1471,7 +1463,7 @@ type StoreItemType = "skill" | "agent" | "computer" | "computer-template" | "wor
1471
1463
  /** A hub/store item. Sourced from the hub v1 contract. */
1472
1464
  type StoreItem = StoreItemResponse;
1473
1465
  /**
1474
- * Returned by `POST /v1/store/:id/install`. Open shape per template type.
1466
+ * Returned by `POST /v1/hub/:id/install`. Open shape per template type.
1475
1467
  * `id` is always present (the installed resource's resourceId).
1476
1468
  */
1477
1469
  interface StoreInstallResult {
@@ -1860,4 +1852,4 @@ declare class DataFolder {
1860
1852
  private rebuildNameCache;
1861
1853
  }
1862
1854
 
1863
- export { type ExecutionRun as $, type AiGatewayProvider as A, type BlobObject as B, type CallOptions as C, type DataStore as D, type ChatStopResult as E, type File as F, type ClientMeta as G, type HttpContext as H, type Computer as I, type ComputerEnvVar as J, type ComputerExecResult as K, type ComputerLoggingLevel as L, type ComputerPort as M, type ComputerServerInfo as N, type OperationHandle as O, type ComputerState as P, type ComputerType as Q, type ComputerUser as R, type CreateAutomationInput as S, type DataCreateFolderInput as T, DataFolder as U, type VideoModel as V, type WriteOptions as W, type DataUploadInput as X, type DatastoreEntry as Y, type EscalateRequest as Z, type ExecutionBackend as _, type AiGatewayUsageRow as a, type TableRecord as a$, type ExecutionRunStatus as a0, type FileList as a1, type FunctionDeployment as a2, type FunctionInvokeResult as a3, type FunctionResource as a4, type FunctionRun as a5, type HttpRequest as a6, type ImageGenerationResult as a7, type ImageModel as a8, type ImageModelPricing as a9, type ProviderEndpointVisibility as aA, type QueryInput as aB, RemoteBundleReader as aC, type RepromptResult as aD, type RunCostMetrics as aE, type RuntimeMode as aF, type SearchResult as aG, type Secret as aH, type SecretWithValue as aI, type SendMessageResult as aJ, type Settings as aK, type SftpEntry as aL, type Share as aM, type ShareDeletedResult as aN, type SharePermission as aO, type ShareResourceType as aP, type SharedWithMeItem as aQ, type SingleEnvelope as aR, type SpeechResult as aS, type SpeechStreamEvent as aT, type StoreInstallResult as aU, type StoreItem as aV, type StoreItemType as aW, type StoredCredential as aX, type Subscription as aY, type SubscriptionPlan as aZ, type TableCollection as a_, type LLMModel as aa, type LLMModelCapabilities as ab, type LLMModelPricing as ac, type ListEnvelope as ad, type ManagedProviderPreset as ae, type Message as af, type MessageCostEntry as ag, type MessageCosts as ah, type ModelBase as ai, type ModelModality as aj, type Notification as ak, type NotificationConfig as al, type NotificationPreference as am, type NotificationSenderKind as an, type Pagination as ao, type Permission as ap, type ProviderEndpoint as aq, type ProviderEndpointConnectionType as ar, type ProviderEndpointKind as as, type ProviderEndpointModality as at, type ProviderEndpointModelMapping as au, type ProviderEndpointProtocol as av, type ProviderEndpointProviderKey as aw, type ProviderEndpointRuntime as ax, type ProviderEndpointTestResult as ay, type ProviderEndpointTransport as az, type VideoModelSearchResult as b, type TmuxWindow as b0, type TranscriptionResult as b1, type TranscriptionStreamEvent as b2, type TriggerType as b3, type TtsVoice as b4, type TtsVoiceGender as b5, type UpdateAutomationInput as b6, type UsageRecord as b7, type UsageSummary as b8, type User as b9, type VideoModelCapabilities as ba, type VideoModelPricing as bb, type VideoModelRate as bc, type VideoModelSearchItem as bd, type WebSearchHit as be, type WebSearchResponse as bf, type Workspace as bg, type WorkspaceInvitation as bh, type WorkspaceMember as bi, type WorkspaceMemberRole as bj, buildUrl as bk, request as bl, requestRaw as bm, type VideoGenerationResult as c, type DeletedResponse as d, type DataStoreUploadInput as e, type FileUploadResult as f, type DataStoreCreateFolderInput as g, type ConnectOptions as h, type Agent as i, type AgentRun as j, type AgentRunState as k, type ApiKey as l, AppFolder as m, type AudioModel as n, type AudioModelCapabilities as o, type AudioModelPricing as p, type AuthMode as q, type Automation as r, type AutomationActionType as s, type AutomationCostStats as t, type AutomationRun as u, type AutomationWithSecret as v, type BundleReader as w, type Chat as x, type ChatCost as y, type ChatCostByCallType as z };
1855
+ export { type DataCreateFolderInput as $, type AiGatewayProvider as A, type BundleReader as B, type CallOptions as C, type DataStore as D, type Chat as E, type File as F, type ChatCost as G, type HttpContext as H, type ImageGenerationResult as I, type ChatCostByCallType as J, type ChatStopResult as K, type ListEnvelope as L, type ClientMeta as M, type Computer as N, type OperationHandle as O, type ComputerEnvVar as P, type ComputerExecResult as Q, type ComputerLoggingLevel as R, type SpeechResult as S, type ComputerPort as T, type ComputerServerInfo as U, type VideoGenerationResult as V, type WriteOptions as W, type ComputerState as X, type ComputerType as Y, type ComputerUser as Z, type CreateAutomationInput as _, type AiGatewayUsageRow as a, type SubscriptionPlan as a$, DataFolder as a0, type DataUploadInput as a1, type EscalateRequest as a2, type FileList as a3, type FsEntry as a4, type FunctionDeployment as a5, type FunctionInvokeResult as a6, type FunctionResource as a7, type HttpRequest as a8, type ImageModel as a9, type ProviderEndpointProviderKey as aA, type ProviderEndpointRuntime as aB, type ProviderEndpointTestResult as aC, type ProviderEndpointTransport as aD, type ProviderEndpointVisibility as aE, type QueryInput as aF, RemoteBundleReader as aG, type RepromptResult as aH, type RunCostMetrics as aI, type RuntimeMode as aJ, type SearchResult as aK, type Secret as aL, type SecretWithValue as aM, type SendMessageResult as aN, type Settings as aO, type Share as aP, type ShareDeletedResult as aQ, type SharePermission as aR, type ShareResourceType as aS, type SharedWithMeItem as aT, type SingleEnvelope as aU, type SpeechStreamEvent as aV, type StoreInstallResult as aW, type StoreItem as aX, type StoreItemType as aY, type StoredCredential as aZ, type Subscription as a_, type ImageModelPricing as aa, type LLMModel as ab, type LLMModelArchitecture as ac, type LLMModelArchitectureType as ad, type LLMModelCapabilities as ae, type LLMModelLocalInference as af, type LLMModelLocalInferenceVariant as ag, type LLMModelPricing as ah, type ManagedProviderPreset as ai, type Message as aj, type MessageCostEntry as ak, type MessageCosts as al, type ModelBase as am, type ModelModality as an, type Notification as ao, type NotificationConfig as ap, type NotificationPreference as aq, type NotificationSenderKind as ar, type Pagination as as, type Permission as at, type ProviderEndpoint as au, type ProviderEndpointConnectionType as av, type ProviderEndpointKind as aw, type ProviderEndpointModality as ax, type ProviderEndpointModelMapping as ay, type ProviderEndpointProtocol as az, type AiGatewayRoutePreviewCapabilities as b, type TerminalWindow as b0, type TranscriptionResult as b1, type TranscriptionStreamEvent as b2, type TriggerType as b3, type TtsVoice as b4, type TtsVoiceGender as b5, type UpdateAutomationInput as b6, type UsageRecord as b7, type UsageSummary as b8, type User as b9, type VideoModelCapabilities as ba, type VideoModelPricing as bb, type VideoModelRate as bc, type VideoModelSearchItem as bd, type WebSearchHit as be, type WebSearchResponse as bf, type Workspace as bg, type WorkspaceInvitation as bh, type WorkspaceMember as bi, type WorkspaceMemberRole as bj, buildUrl as bk, request as bl, requestRaw as bm, type AiGatewayRoutePreview as c, type VideoModel as d, type VideoModelSearchResult as e, type DeletedResponse as f, type DataStoreUploadInput as g, type FileUploadResult as h, type DataStoreCreateFolderInput as i, type ConnectOptions as j, type Agent as k, type AgentRun as l, type AgentRunState as m, type AiGatewayRoutePreviewOption as n, type AiGatewayRoutePreviewSkippedOption as o, type ApiKey as p, AppFolder as q, type AudioModel as r, type AudioModelCapabilities as s, type AudioModelPricing as t, type AuthMode as u, type Automation as v, type AutomationActionType as w, type AutomationCostStats as x, type AutomationRun as y, type AutomationWithSecret as z };