@deepnoodle/mobius 0.0.34 → 0.0.36

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.
@@ -43,7 +43,7 @@ export interface paths {
43
43
  post?: never;
44
44
  /**
45
45
  * Delete API key
46
- * @description Permanently deletes the key. In-flight requests using this key will immediately start receiving 401.
46
+ * @description Revokes the key. In-flight requests using this key will immediately start receiving 401 while credential metadata remains available for audit history.
47
47
  */
48
48
  delete: operations["deleteAPIKey"];
49
49
  options?: never;
@@ -51,6 +51,54 @@ export interface paths {
51
51
  patch?: never;
52
52
  trace?: never;
53
53
  };
54
+ "/v1/organization/api-keys": {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ /**
62
+ * List organization API keys
63
+ * @description Returns organization-level API keys, including pagination metadata. Requires org admin.
64
+ */
65
+ get: operations["listOrgAPIKeys"];
66
+ put?: never;
67
+ /**
68
+ * Create organization API key
69
+ * @description Creates an organization-level API key. The key authenticates as the organization's system principal and acts with the chosen `role` applied org-wide across every project (defaults to `Admin`). The raw key value is returned in `key` and is never retrievable again after this response. Requires org admin.
70
+ */
71
+ post: operations["createOrgAPIKey"];
72
+ delete?: never;
73
+ options?: never;
74
+ head?: never;
75
+ patch?: never;
76
+ trace?: never;
77
+ };
78
+ "/v1/organization/api-keys/{resource_id}": {
79
+ parameters: {
80
+ query?: never;
81
+ header?: never;
82
+ path?: never;
83
+ cookie?: never;
84
+ };
85
+ /**
86
+ * Get organization API key
87
+ * @description Returns metadata for a single organization API key without exposing the raw secret. Requires org admin.
88
+ */
89
+ get: operations["getOrgAPIKey"];
90
+ put?: never;
91
+ post?: never;
92
+ /**
93
+ * Delete organization API key
94
+ * @description Revokes the organization API key. In-flight requests using this key will immediately start receiving 401 while credential metadata remains available for audit history. Requires org admin.
95
+ */
96
+ delete: operations["deleteOrgAPIKey"];
97
+ options?: never;
98
+ head?: never;
99
+ patch?: never;
100
+ trace?: never;
101
+ };
54
102
  "/v1/projects/{project_handle}/actions": {
55
103
  parameters: {
56
104
  query?: never;
@@ -508,7 +556,7 @@ export interface paths {
508
556
  put?: never;
509
557
  /**
510
558
  * Create interaction
511
- * @description Creates a standalone or run-backed interaction. Run-backed interactions emit an `interaction.responded` event when completed; omit `run_id` and `signal_name` for interactions with no loop-run side effect.
559
+ * @description Creates a standalone or run-backed interaction. Run-backed interactions record an `interaction.responded` event when completed; omit `run_id` and `signal_name` for interactions with no loop-run association.
512
560
  */
513
561
  post: operations["createInteraction"];
514
562
  delete?: never;
@@ -836,10 +884,10 @@ export interface paths {
836
884
  };
837
885
  get?: never;
838
886
  /**
839
- * Create or update a memory entry
840
- * @description Creates or updates the memory entry identified by `memory_key`. Editing an agent's memory here is equivalent to the agent calling `mobius.memory.remember`. Provisions the store on first write.
887
+ * Save memory entry
888
+ * @description Saves the memory entry identified by `memory_key`, creating it when it does not exist. Editing memory here is equivalent to the agent calling `mobius.memory.remember`.
841
889
  */
842
- put: operations["putAgentMemoryEntry"];
890
+ put: operations["saveAgentMemoryEntry"];
843
891
  post?: never;
844
892
  /**
845
893
  * Delete a memory entry
@@ -1090,7 +1138,7 @@ export interface paths {
1090
1138
  put?: never;
1091
1139
  /**
1092
1140
  * Compact the session transcript now
1093
- * @description Forces a compaction pass immediately, summarizing every message appended since the last compaction regardless of the session's configured strategy or token threshold. This is the manual counterpart to the `auto` strategy and the way to drive the `manual` strategy. It is a no-op when there is nothing new to compact. Returns the updated session. Requires the `mobius.agent.invoke` permission (or the agent's own backing principal).
1141
+ * @description Compact messages appended since the last compaction immediately, regardless of the configured strategy or token threshold. This is a no-op when there is nothing new to compact. Returns the updated session.
1094
1142
  */
1095
1143
  post: operations["compactSession"];
1096
1144
  delete?: never;
@@ -1448,9 +1496,7 @@ export interface paths {
1448
1496
  put?: never;
1449
1497
  /**
1450
1498
  * Apply a blueprint to a project
1451
- * @description Creates missing resources, updates resources Mobius manages on behalf of the blueprint, adopts matching uniquely-named resources where safe, and reports the resulting changes and bindings. With `mode: preview` the request validates and returns a plan without mutating anything.
1452
- *
1453
- * Apply writes each resource together with its binding in one transaction, but is not all-or-nothing across resources: a failure in a later tier leaves earlier tiers persisted with bindings, and a re-apply converges. Loops are content-diffed, so an unchanged loop is a no-op and does not mint a new version.
1499
+ * @description Creates missing resources, updates resources Mobius manages on behalf of the blueprint, adopts matching uniquely-named resources where safe, and reports the resulting changes and bindings. With `mode: preview`, the request validates and returns a plan without mutating anything. Re-apply converges because each blueprint resource is persisted with its binding.
1454
1500
  */
1455
1501
  post: operations["applyBlueprint"];
1456
1502
  delete?: never;
@@ -2065,6 +2111,10 @@ export interface components {
2065
2111
  key_prefix: string;
2066
2112
  /** @description Principal this key authenticates as. */
2067
2113
  principal_id: string;
2114
+ /** @description Optional role whose permissions cap this key below its principal's full grants. */
2115
+ scope_role_id?: string;
2116
+ /** @description For organization-level keys, the system role the key acts as org-wide (e.g. `Admin`). Absent for project-scoped keys. */
2117
+ org_role?: string;
2068
2118
  /**
2069
2119
  * Format: date-time
2070
2120
  * @description Hard expiry timestamp. Requests using an expired key receive 401.
@@ -2112,6 +2162,10 @@ export interface components {
2112
2162
  key_prefix: string;
2113
2163
  /** @description Principal this key authenticates as. */
2114
2164
  principal_id: string;
2165
+ /** @description Optional role whose permissions cap this key below its principal's full grants. */
2166
+ scope_role_id?: string;
2167
+ /** @description For organization-level keys, the system role the key acts as org-wide (e.g. `Admin`). Absent for project-scoped keys. */
2168
+ org_role?: string;
2115
2169
  /**
2116
2170
  * Format: date-time
2117
2171
  * @description Timestamp when this key expires. Omitted if it does not expire.
@@ -2178,6 +2232,35 @@ export interface components {
2178
2232
  name: string;
2179
2233
  /** @description Principal this key authenticates as. */
2180
2234
  principal_id: string;
2235
+ /** @description Optional role whose permissions cap this key below its principal's full grants. */
2236
+ scope_role_id?: string;
2237
+ /**
2238
+ * Format: date-time
2239
+ * @description Optional hard expiry. Omit for a non-expiring key.
2240
+ */
2241
+ expires_at?: string;
2242
+ /** @description Labels to apply to the new API key. */
2243
+ tags?: components["schemas"]["TagMap"];
2244
+ };
2245
+ /**
2246
+ * @description Request shape for creating an organization-level API key. The key authenticates as the organization's system principal and acts with the chosen `role` applied org-wide across every project.
2247
+ * @example {
2248
+ * "name": "Org automation",
2249
+ * "role": "Admin",
2250
+ * "tags": {
2251
+ * "owner": "platform"
2252
+ * }
2253
+ * }
2254
+ */
2255
+ CreateOrgAPIKeyRequest: {
2256
+ /** @description Human-readable label, unique among organization API keys. */
2257
+ name: string;
2258
+ /**
2259
+ * @description System role the key acts as, applied org-wide across every project. Defaults to `Admin`. `Owner` grants full control (including billing and org deletion); `Admin` covers org and project administration without billing; lower roles narrow to build/run, run-only, worker execution, or read-only.
2260
+ * @default Admin
2261
+ * @enum {string}
2262
+ */
2263
+ role: "Owner" | "Admin" | "Editor" | "Operator" | "Worker" | "Viewer";
2181
2264
  /**
2182
2265
  * Format: date-time
2183
2266
  * @description Optional hard expiry. Omit for a non-expiring key.
@@ -2376,14 +2459,7 @@ export interface components {
2376
2459
  annotations?: components["schemas"]["ActionAnnotations"];
2377
2460
  /** @description Free-form labels attached to this action. */
2378
2461
  tags?: components["schemas"]["TagMap"];
2379
- /** @description Project secret reference that stores this action's signing key. Present for HTTP-backed actions. */
2380
- secret_ref?: string;
2381
- /**
2382
- * Format: int64
2383
- * @description Version of `secret_ref` created by this response. Only populated on create and rotate responses.
2384
- */
2385
- secret_version?: number;
2386
- /** @description Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; null on all other reads. Store this value securely on first receipt — it cannot be retrieved again. */
2462
+ /** @description Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; absent on all other reads. Store this value securely on first receipt — it cannot be retrieved again. */
2387
2463
  signing_secret?: string;
2388
2464
  /**
2389
2465
  * Format: date-time
@@ -2645,7 +2721,7 @@ export interface components {
2645
2721
  recommended?: boolean;
2646
2722
  };
2647
2723
  /** @description Local LLM models advertised by online project workers. */
2648
- WorkerModelCatalogResponse: {
2724
+ WorkerModelCatalogListResponse: {
2649
2725
  items: components["schemas"]["WorkerModelCatalogItem"][];
2650
2726
  };
2651
2727
  /** @description One exact local model route available through online workers. */
@@ -2660,9 +2736,14 @@ export interface components {
2660
2736
  };
2661
2737
  /** @description Assign this route to use a local worker model. */
2662
2738
  WorkerModelRoute: {
2663
- /** @enum {string} */
2739
+ /**
2740
+ * @description Model route mode. Worker catalog routes always use `worker`.
2741
+ * @enum {string}
2742
+ */
2664
2743
  mode: "worker";
2744
+ /** @description Provider id advertised by the local worker. */
2665
2745
  provider: string;
2746
+ /** @description Model identifier advertised by the local worker. */
2666
2747
  model: string;
2667
2748
  };
2668
2749
  /**
@@ -2671,10 +2752,10 @@ export interface components {
2671
2752
  */
2672
2753
  EnvironmentProvider: "sprites" | "cloudflare_containers" | "worker";
2673
2754
  /**
2674
- * @description Providers the control plane can provision on demand: `sprites` or `cloudflare_containers`. Excludes `worker`: worker-provided environments are registered out-of-band via the attach endpoint and are never provisioned through create/acquire.
2755
+ * @description Providers the control plane can provision on demand. Worker-provided environments are registered out-of-band via the attach endpoint and are never provisioned through create/acquire.
2675
2756
  * @enum {string}
2676
2757
  */
2677
- ProvisionEnvironmentProvider: "sprites" | "cloudflare_containers";
2758
+ ProvisionEnvironmentProvider: "sprites";
2678
2759
  /**
2679
2760
  * @description Lifecycle status: `provisioning`, `ready`, `running`, `retained`, `destroying`, `destroyed`, `failed`, or `orphaned`.
2680
2761
  * @enum {string}
@@ -2755,7 +2836,7 @@ export interface components {
2755
2836
  name?: string;
2756
2837
  /** @description Optional naming scope for the environment. */
2757
2838
  scope?: components["schemas"]["ResourceScope"];
2758
- /** @description Provider to provision: `sprites` or `cloudflare_containers`. */
2839
+ /** @description Provider to provision. */
2759
2840
  provider?: components["schemas"]["ProvisionEnvironmentProvider"];
2760
2841
  /** @description Canonical user owner ID. Defaults to the authenticated user. */
2761
2842
  owned_by?: string;
@@ -3083,7 +3164,7 @@ export interface components {
3083
3164
  * @description Version of `secret_ref` created by this response. Only populated on create and rotate responses.
3084
3165
  */
3085
3166
  secret_version?: number;
3086
- /** @description Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; null on all other reads. Store this value securely on first receipt — it cannot be retrieved again. */
3167
+ /** @description Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; absent on all other reads. Store this value securely on first receipt — it cannot be retrieved again. */
3087
3168
  signing_secret?: string;
3088
3169
  /**
3089
3170
  * Format: date-time
@@ -3117,7 +3198,7 @@ export interface components {
3117
3198
  */
3118
3199
  WebhookListResponse: {
3119
3200
  /** @description The list of results for this page. */
3120
- items?: components["schemas"]["Webhook"][];
3201
+ items: components["schemas"]["Webhook"][];
3121
3202
  /** @description Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false. */
3122
3203
  next_cursor?: string;
3123
3204
  /** @description Whether additional pages are available. */
@@ -3145,7 +3226,7 @@ export interface components {
3145
3226
  run_id?: string;
3146
3227
  /** @description The event type that triggered this delivery (e.g. `run.completed`). */
3147
3228
  event_type: string;
3148
- /** @description Current delivery status: `pending`, `delivered`, or `failed`. */
3229
+ /** @description Current delivery status. */
3149
3230
  status: components["schemas"]["WebhookDeliveryStatus"];
3150
3231
  /** @description Number of delivery attempts made so far. Max 10. */
3151
3232
  attempts: number;
@@ -3164,7 +3245,7 @@ export interface components {
3164
3245
  };
3165
3246
  WebhookDeliveryListResponse: {
3166
3247
  /** @description The list of results for this page. */
3167
- items?: components["schemas"]["WebhookDeliveryRecord"][];
3248
+ items: components["schemas"]["WebhookDeliveryRecord"][];
3168
3249
  /** @description Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false. */
3169
3250
  next_cursor?: string;
3170
3251
  /** @description Whether additional pages are available. */
@@ -3189,8 +3270,8 @@ export interface components {
3189
3270
  name: string;
3190
3271
  /** @description The endpoint Mobius will POST event payloads to. May be left empty at creation time so a candidate URL can be tested via the ping endpoint before it is saved; events do not fire for webhooks with an empty URL. */
3191
3272
  url?: string;
3192
- /** @description Event types to subscribe to. Use wildcards for broad subscriptions, e.g. `["run.*"]` for all run events. An empty list subscribes to all event types. */
3193
- events: string[];
3273
+ /** @description Event types to subscribe to. Use wildcards for broad subscriptions, e.g. `["run.*"]` for all run events. Omit this field or send an empty list to subscribe to all event types. */
3274
+ events?: string[];
3194
3275
  /** @description Whether the webhook starts enabled. Defaults to true when omitted. */
3195
3276
  enabled?: boolean;
3196
3277
  /** @description Initial labels to apply to the webhook. */
@@ -3240,9 +3321,9 @@ export interface components {
3240
3321
  * @description Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.
3241
3322
  *
3242
3323
  * Allowed combinations:
3243
- * * `approval` → `confirm`, `select`
3244
- * * `review` → `select`, `input`
3245
- * * `request` → `select`, `multi_select`, `input`
3324
+ * * `request_approval` → `confirm`, `select`
3325
+ * * `request_review` → `select`, `input`
3326
+ * * `request_information` → `select`, `multi_select`, `input`
3246
3327
  */
3247
3328
  InteractionSpec: {
3248
3329
  /** @description UI/input mode used to render and validate the response. */
@@ -3478,8 +3559,8 @@ export interface components {
3478
3559
  CreateInteractionRequest: components["schemas"]["CreateStandaloneInteractionRequest"] | components["schemas"]["CreateRunBackedInteractionRequest"];
3479
3560
  /** @description Creates a standalone interaction. Completion records the response but does not deliver a loop signal. */
3480
3561
  CreateStandaloneInteractionRequest: {
3481
- /** @description Resolved user IDs to target directly. Agents use their agent principal IDs. */
3482
- target_user_ids?: string[];
3562
+ /** @description Resolved user IDs to target directly. At least one target is required — every interaction needs someone who can answer it, even when a machine consumer is waiting on the outcome. Agents use their agent principal IDs. */
3563
+ target_user_ids: string[];
3483
3564
  /** @description Protocol kind. */
3484
3565
  kind: components["schemas"]["InteractionKind"];
3485
3566
  /** @description Short non-empty title shown to the responder. */
@@ -3521,12 +3602,12 @@ export interface components {
3521
3602
  * This is an audit-only link: creating an interaction here does not suspend the run, and resolving it does not by itself resume a run. A run only blocks on, and resumes from, human input when the loop definition declares an interaction step — that step creates the interaction and registers the matching wait atomically. Use this endpoint to record a human decision against a run, not to drive run control flow.
3522
3603
  */
3523
3604
  CreateRunBackedInteractionRequest: {
3524
- /** @description ID of the loop run to resume when this interaction is completed. */
3605
+ /** @description ID of the loop run associated with this interaction. */
3525
3606
  run_id: string;
3526
- /** @description Signal name the interaction will complete against when run-backed. */
3607
+ /** @description Legacy signal name recorded with the run association. */
3527
3608
  signal_name: string;
3528
- /** @description Resolved user IDs to target directly. Agents use their agent principal IDs. */
3529
- target_user_ids?: string[];
3609
+ /** @description Resolved user IDs to target directly. At least one target is required. Agents use their agent principal IDs. */
3610
+ target_user_ids: string[];
3530
3611
  /** @description Protocol kind. */
3531
3612
  kind: components["schemas"]["InteractionKind"];
3532
3613
  /** @description Short non-empty title shown to the responder. */
@@ -3922,9 +4003,9 @@ export interface components {
3922
4003
  next_cursor?: string;
3923
4004
  };
3924
4005
  /** @description Content for a memory entry. The key comes from the path. */
3925
- PutAgentMemoryEntryRequest: {
4006
+ SaveAgentMemoryEntryRequest: {
3926
4007
  /** @description The content to remember. */
3927
- content?: string;
4008
+ content: string;
3928
4009
  /** @description Optional short one-line summary (≤140 chars) shown in the memory index. */
3929
4010
  summary?: string;
3930
4011
  kind?: components["schemas"]["MemoryKind"];
@@ -4182,10 +4263,10 @@ export interface components {
4182
4263
  */
4183
4264
  SessionStatus: "active" | "archived" | "deleted";
4184
4265
  /**
4185
- * @description Surface that created the session: `manual`, `api`, or `loop`.
4266
+ * @description Surface that created the session: `manual`, `api`, `loop`, or `interaction`.
4186
4267
  * @enum {string}
4187
4268
  */
4188
- SessionOrigin: "manual" | "api" | "loop";
4269
+ SessionOrigin: "manual" | "api" | "loop" | "interaction";
4189
4270
  /**
4190
4271
  * @description Boundary used to resolve named sessions: `agent` or `loop`.
4191
4272
  * @enum {string}
@@ -4799,11 +4880,6 @@ export interface components {
4799
4880
  * @description Timestamp of the most recent run start, if any.
4800
4881
  */
4801
4882
  last_run_at?: string;
4802
- /**
4803
- * Format: date-time
4804
- * @description Timestamp when this loop was deleted; absent on active loops.
4805
- */
4806
- deleted_at?: string;
4807
4883
  /**
4808
4884
  * Format: date-time
4809
4885
  * @description Record creation timestamp.
@@ -5010,6 +5086,11 @@ export interface components {
5010
5086
  ref?: string;
5011
5087
  /** @description Whether the provider reports this repository as private. */
5012
5088
  private?: boolean;
5089
+ /**
5090
+ * @description Authorize the loop's managed environment to push to this repository. Defaults to `false`: the repository is cloned read-only and a `git push` from inside the environment fails with a permission error. Set `true` to let the environment obtain a write-scoped credential for this repository. Opt in per repository so environments are never write-capable by default.
5091
+ * @default false
5092
+ */
5093
+ push: boolean;
5013
5094
  };
5014
5095
  /** @description One named input accepted by a loop spec. */
5015
5096
  LoopSpecInput: {
@@ -5253,9 +5334,9 @@ export interface components {
5253
5334
  agent_id?: string;
5254
5335
  /** @description Prompt or task instructions rendered before the agent turn starts. */
5255
5336
  instructions: string;
5256
- /** @description Optional per-step tool allow-list. When omitted, prompt-only managed agent steps default to no tools; set `disable_tools: false` to allow the agent's full granted tool set. */
5337
+ /** @description Optional per-step tool allow-list. When omitted and `disable_tools` is not true, the agent's full granted tool set is available. Send an empty array to allow no tools. */
5257
5338
  tool_names?: string[];
5258
- /** @description Disable granted action and memory tools for this agent step. Reserved runtime tools such as `invoke_skill` and structured-output submission may still be present when applicable. When omitted, the agent's granted tools are available. */
5339
+ /** @description Set true to disable granted action and memory tools for this step. When false or omitted, granted tools are available unless `tool_names` narrows the allow-list. Reserved runtime tools such as `invoke_skill` and structured-output submission may still be present when applicable. */
5259
5340
  disable_tools?: boolean;
5260
5341
  /** @description JSON Schema the agent should satisfy when returning structured output. */
5261
5342
  output_schema?: {
@@ -5270,8 +5351,6 @@ export interface components {
5270
5351
  };
5271
5352
  /** @description Durable conversation-session policy for loop agent steps. Omit to enable the product default: loop-scoped sessions keyed from the triggering conversation when Mobius can identify one, such as a Telegram chat ID. */
5272
5353
  LoopAgentSessionPolicy: {
5273
- /** @description Reserved for internal synthesized agent executions. Authored loop agent steps are session-backed; setting this to `true` is rejected. */
5274
- disabled?: boolean;
5275
5354
  /**
5276
5355
  * @description Named-session boundary. `auto` and omitted use `loop`. `agent` intentionally shares the named session across loops using the same agent.
5277
5356
  * @enum {string}
@@ -5336,8 +5415,6 @@ export interface components {
5336
5415
  match?: {
5337
5416
  [key: string]: unknown;
5338
5417
  };
5339
- /** @description Optional expr predicate evaluated against `{ event, meta }`. */
5340
- condition?: string;
5341
5418
  /** @description Optional output mapping evaluated against `{ event, meta }`. */
5342
5419
  payload_mapping?: {
5343
5420
  [key: string]: string;
@@ -5517,8 +5594,6 @@ export interface components {
5517
5594
  label?: string;
5518
5595
  /** @description Trigger that fired this run, if any. */
5519
5596
  readonly trigger_id?: string;
5520
- /** @description Internal trigger-fire ledger id used to deduplicate trigger dispatch retries. Present only for trigger-started runs. */
5521
- readonly trigger_fire_id?: string;
5522
5597
  };
5523
5598
  /**
5524
5599
  * @description One loop run record.
@@ -6135,7 +6210,7 @@ export interface components {
6135
6210
  * @enum {string}
6136
6211
  */
6137
6212
  BlueprintChangeAction: "created" | "updated" | "adopted" | "unchanged";
6138
- /** @description A reference to a Mobius resource by direct `id`, by blueprint `key` (resolved within this apply first, then against existing bindings), or by `blueprint_ref` (namespace + key). */
6213
+ /** @description A reference to a Mobius resource by direct `id`, by blueprint `key` (resolved within this apply first, then against existing bindings), or by `blueprint_ref` (resolved by key; namespace is recorded as provenance and reserved for namespaced lookup). */
6139
6214
  BlueprintResourceRef: {
6140
6215
  /** @description Direct resource id. */
6141
6216
  id?: string;
@@ -6177,7 +6252,7 @@ export interface components {
6177
6252
  * @description Endpoint kind. Defaults to `http`. Immutable after create.
6178
6253
  * @enum {string}
6179
6254
  */
6180
- type?: "http" | "worker" | "builtin";
6255
+ type?: "http" | "worker";
6181
6256
  /** @description Endpoint URL for http actions. */
6182
6257
  endpoint?: string;
6183
6258
  title?: string;
@@ -6360,7 +6435,7 @@ export interface components {
6360
6435
  TableSchema: {
6361
6436
  /** @description Name of the required string column that uniquely identifies one row in this table. */
6362
6437
  identity_column: string;
6363
- /** @description Optional string column projected into the fixed physical `sk` column for efficient secondary lookups. It cannot be changed after creation. */
6438
+ /** @description Optional string column optimized for secondary lookups. It cannot be changed after creation. */
6364
6439
  secondary_key_column?: string;
6365
6440
  /** @description Ordered list of columns accepted in row data. */
6366
6441
  columns: components["schemas"]["ColumnDef"][];
@@ -6484,10 +6559,10 @@ export interface components {
6484
6559
  approx_data_bytes: number;
6485
6560
  /**
6486
6561
  * Format: int64
6487
- * @description Approximate proportional share of fixed table_rows index bytes.
6562
+ * @description Approximate bytes used by secondary lookup indexes.
6488
6563
  */
6489
6564
  approx_index_bytes: number;
6490
- /** @description Number of schema columns projected into fixed physical keys. */
6565
+ /** @description Number of schema columns optimized for secondary lookup. */
6491
6566
  indexed_column_count: number;
6492
6567
  /** @description Number of compatibility index declarations stored in the table schema. */
6493
6568
  declared_index_count: number;
@@ -6652,7 +6727,7 @@ export interface components {
6652
6727
  /** @description Search query. Hyphens and other punctuation split terms for keyword matching. */
6653
6728
  query: string;
6654
6729
  /**
6655
- * @description Search mode. `keyword` uses token-prefix full-text search, `semantic` uses sidecar embedding similarity, and `hybrid` combines both.
6730
+ * @description Search mode. `keyword` uses token-prefix matching, `semantic` uses similarity over indexed row text, and `hybrid` combines both.
6656
6731
  * @default keyword
6657
6732
  * @enum {string}
6658
6733
  */
@@ -6760,29 +6835,6 @@ export interface components {
6760
6835
  updated_at?: string;
6761
6836
  /** @description Principal ID of the actor who last updated this artifact. Empty for system-initiated writes. */
6762
6837
  updated_by?: string;
6763
- /** @description Thumbnail summary for the default variant, when available. Absent until thumbnail processing has produced a state for the current content. */
6764
- thumbnail?: components["schemas"]["ArtifactThumbnailSummary"];
6765
- };
6766
- /** @description Summary of the Mobius-generated thumbnail for an artifact's default variant. The UI uses `status` to decide whether to fetch the thumbnail image, render a placeholder, or show a typed fallback card. */
6767
- ArtifactThumbnailSummary: {
6768
- /**
6769
- * @description Current thumbnail state for the source artifact's content.
6770
- * @enum {string}
6771
- */
6772
- status: "queued" | "processing" | "available" | "skipped" | "failed" | "stale";
6773
- /** @description Variant name this summary describes (e.g. `card`). */
6774
- variant: string;
6775
- /** @description Thumbnail image MIME type when available (image/jpeg or image/png). */
6776
- mime_type?: string;
6777
- /** @description Thumbnail pixel width when available. */
6778
- width?: number;
6779
- /** @description Thumbnail pixel height when available. */
6780
- height?: number;
6781
- /**
6782
- * Format: date-time
6783
- * @description Time this thumbnail state was last updated.
6784
- */
6785
- updated_at?: string;
6786
6838
  };
6787
6839
  /**
6788
6840
  * @example {
@@ -7144,6 +7196,122 @@ export interface operations {
7144
7196
  429: components["responses"]["TooManyRequests"];
7145
7197
  };
7146
7198
  };
7199
+ listOrgAPIKeys: {
7200
+ parameters: {
7201
+ query?: {
7202
+ /** @description Maximum number of items to return */
7203
+ limit?: components["parameters"]["LimitParam"];
7204
+ /** @description Cursor for pagination (opaque string from previous response) */
7205
+ cursor?: components["parameters"]["CursorParam"];
7206
+ };
7207
+ header?: never;
7208
+ path?: never;
7209
+ cookie?: never;
7210
+ };
7211
+ requestBody?: never;
7212
+ responses: {
7213
+ /** @description OK */
7214
+ 200: {
7215
+ headers: {
7216
+ [name: string]: unknown;
7217
+ };
7218
+ content: {
7219
+ "application/json": components["schemas"]["APIKeyListResponse"];
7220
+ };
7221
+ };
7222
+ 401: components["responses"]["Unauthorized"];
7223
+ 403: components["responses"]["Forbidden"];
7224
+ };
7225
+ };
7226
+ createOrgAPIKey: {
7227
+ parameters: {
7228
+ query?: never;
7229
+ header?: never;
7230
+ path?: never;
7231
+ cookie?: never;
7232
+ };
7233
+ requestBody: {
7234
+ content: {
7235
+ /**
7236
+ * @example {
7237
+ * "name": "Org automation",
7238
+ * "expires_at": "2026-09-15T14:30:00Z",
7239
+ * "tags": {
7240
+ * "owner": "platform"
7241
+ * }
7242
+ * }
7243
+ */
7244
+ "application/json": components["schemas"]["CreateOrgAPIKeyRequest"];
7245
+ };
7246
+ };
7247
+ responses: {
7248
+ /** @description Created */
7249
+ 201: {
7250
+ headers: {
7251
+ [name: string]: unknown;
7252
+ };
7253
+ content: {
7254
+ "application/json": components["schemas"]["APIKeyCreateResult"];
7255
+ };
7256
+ };
7257
+ 400: components["responses"]["BadRequest"];
7258
+ 401: components["responses"]["Unauthorized"];
7259
+ 403: components["responses"]["Forbidden"];
7260
+ 409: components["responses"]["Conflict"];
7261
+ 429: components["responses"]["TooManyRequests"];
7262
+ };
7263
+ };
7264
+ getOrgAPIKey: {
7265
+ parameters: {
7266
+ query?: never;
7267
+ header?: never;
7268
+ path: {
7269
+ /** @description Resource ID. */
7270
+ resource_id: components["parameters"]["IDParam"];
7271
+ };
7272
+ cookie?: never;
7273
+ };
7274
+ requestBody?: never;
7275
+ responses: {
7276
+ /** @description OK */
7277
+ 200: {
7278
+ headers: {
7279
+ [name: string]: unknown;
7280
+ };
7281
+ content: {
7282
+ "application/json": components["schemas"]["APIKey"];
7283
+ };
7284
+ };
7285
+ 401: components["responses"]["Unauthorized"];
7286
+ 403: components["responses"]["Forbidden"];
7287
+ 404: components["responses"]["NotFound"];
7288
+ };
7289
+ };
7290
+ deleteOrgAPIKey: {
7291
+ parameters: {
7292
+ query?: never;
7293
+ header?: never;
7294
+ path: {
7295
+ /** @description Resource ID. */
7296
+ resource_id: components["parameters"]["IDParam"];
7297
+ };
7298
+ cookie?: never;
7299
+ };
7300
+ requestBody?: never;
7301
+ responses: {
7302
+ /** @description No Content */
7303
+ 204: {
7304
+ headers: {
7305
+ [name: string]: unknown;
7306
+ };
7307
+ content?: never;
7308
+ };
7309
+ 401: components["responses"]["Unauthorized"];
7310
+ 403: components["responses"]["Forbidden"];
7311
+ 404: components["responses"]["NotFound"];
7312
+ 429: components["responses"]["TooManyRequests"];
7313
+ };
7314
+ };
7147
7315
  createAction: {
7148
7316
  parameters: {
7149
7317
  query?: never;
@@ -7217,8 +7385,7 @@ export interface operations {
7217
7385
  * "tags": {
7218
7386
  * "owner": "product"
7219
7387
  * },
7220
- * "secret_ref": "mobius/action/act_8m4x9q2v7p5n3r6t",
7221
- * "secret_version": 1,
7388
+ * "signing_secret": "base64:one_time_secret",
7222
7389
  * "created_at": "2026-06-15T14:30:00Z",
7223
7390
  * "updated_at": "2026-06-15T14:30:00Z"
7224
7391
  * }
@@ -7563,7 +7730,7 @@ export interface operations {
7563
7730
  [name: string]: unknown;
7564
7731
  };
7565
7732
  content: {
7566
- "application/json": components["schemas"]["WorkerModelCatalogResponse"];
7733
+ "application/json": components["schemas"]["WorkerModelCatalogListResponse"];
7567
7734
  };
7568
7735
  };
7569
7736
  401: components["responses"]["Unauthorized"];
@@ -9205,7 +9372,7 @@ export interface operations {
9205
9372
  404: components["responses"]["NotFound"];
9206
9373
  };
9207
9374
  };
9208
- putAgentMemoryEntry: {
9375
+ saveAgentMemoryEntry: {
9209
9376
  parameters: {
9210
9377
  query?: never;
9211
9378
  header?: never;
@@ -9221,7 +9388,15 @@ export interface operations {
9221
9388
  };
9222
9389
  requestBody: {
9223
9390
  content: {
9224
- "application/json": components["schemas"]["PutAgentMemoryEntryRequest"];
9391
+ /**
9392
+ * @example {
9393
+ * "content": "The production database runs in us-east-1.",
9394
+ * "summary": "Production database region",
9395
+ * "kind": "fact",
9396
+ * "importance": 80
9397
+ * }
9398
+ */
9399
+ "application/json": components["schemas"]["SaveAgentMemoryEntryRequest"];
9225
9400
  };
9226
9401
  };
9227
9402
  responses: {
@@ -9247,6 +9422,7 @@ export interface operations {
9247
9422
  401: components["responses"]["Unauthorized"];
9248
9423
  403: components["responses"]["Forbidden"];
9249
9424
  404: components["responses"]["NotFound"];
9425
+ 429: components["responses"]["TooManyRequests"];
9250
9426
  };
9251
9427
  };
9252
9428
  deleteAgentMemoryEntry: {
@@ -9275,6 +9451,7 @@ export interface operations {
9275
9451
  401: components["responses"]["Unauthorized"];
9276
9452
  403: components["responses"]["Forbidden"];
9277
9453
  404: components["responses"]["NotFound"];
9454
+ 429: components["responses"]["TooManyRequests"];
9278
9455
  };
9279
9456
  };
9280
9457
  invokeAgent: {
@@ -9848,6 +10025,7 @@ export interface operations {
9848
10025
  403: components["responses"]["Forbidden"];
9849
10026
  404: components["responses"]["NotFound"];
9850
10027
  409: components["responses"]["Conflict"];
10028
+ 429: components["responses"]["TooManyRequests"];
9851
10029
  };
9852
10030
  };
9853
10031
  listLoops: {
@@ -10924,6 +11102,27 @@ export interface operations {
10924
11102
  };
10925
11103
  requestBody: {
10926
11104
  content: {
11105
+ /**
11106
+ * @example {
11107
+ * "namespace": "support",
11108
+ * "blueprint_key": "triage",
11109
+ * "blueprint_version": "1",
11110
+ * "mode": "apply",
11111
+ * "resources": {
11112
+ * "actions": [
11113
+ * {
11114
+ * "key": "notify",
11115
+ * "name": "support.notify",
11116
+ * "title": "Notify support",
11117
+ * "description": "Send a support-team notification.",
11118
+ * "input_schema": {
11119
+ * "type": "object"
11120
+ * }
11121
+ * }
11122
+ * ]
11123
+ * }
11124
+ * }
11125
+ */
10927
11126
  "application/json": components["schemas"]["ApplyBlueprintRequest"];
10928
11127
  };
10929
11128
  };