@deepraxis/sdk 0.1.0-dev.ce6682e → 0.1.0-dev.d23f787

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.
@@ -1253,7 +1253,7 @@ export type OpenaiPrediction = {
1253
1253
  */
1254
1254
  export type OpenaiPromptCacheOptions = {
1255
1255
  /**
1256
- * Prompt cache mode; explicit caches only the blocks marked with prompt_cache_breakpoint.
1256
+ * Explicit request-level cache mode: use only caller-marked cache breakpoints on models supporting this option.
1257
1257
  */
1258
1258
  mode: 'explicit';
1259
1259
  /**
@@ -1261,6 +1261,9 @@ export type OpenaiPromptCacheOptions = {
1261
1261
  */
1262
1262
  ttl?: string | null;
1263
1263
  } | null;
1264
+ /**
1265
+ * Provider name used in provider selection preferences.
1266
+ */
1264
1267
  export type OpenaiProviderName = 'Modal' | 'AkashML' | 'AI21' | 'AionLabs' | 'Alibaba' | 'Ambient' | 'Baidu' | 'Amazon Bedrock' | 'Amazon Nova' | 'Anthropic' | 'Arcee AI' | 'AssemblyAI' | 'AtlasCloud' | 'Avian' | 'Azure' | 'BaseTen' | 'BytePlus' | 'Black Forest Labs' | 'Cerebras' | 'Chutes' | 'Cirrascale' | 'Claude Platform on AWS' | 'Clarifai' | 'Cloudflare' | 'Cohere' | 'CoreWeave' | 'Cosine' | 'Crucible' | 'Crusoe' | 'Darkbloom' | 'Databricks' | 'Decart' | 'Deepgram' | 'DeepInfra' | 'DeepSeek' | 'DekaLLM' | 'DigitalOcean' | 'Featherless' | 'Fireworks' | 'Fish Audio' | 'Friendli' | 'GMICloud' | 'Google' | 'Google AI Studio' | 'Groq' | 'HeyGen' | 'Inception' | 'Inceptron' | 'InferenceNet' | 'Ionstream' | 'Infermatic' | 'Io Net' | 'Inferact vLLM' | 'Inflection' | 'Liquid' | 'Makora' | 'Mara' | 'Mancer 2' | 'Meta' | 'Minimax' | 'ModelRun' | 'Mistral' | 'Modular' | 'Moonshot AI' | 'Morph' | 'VoyageAI by MongoDB' | 'TypeSafe' | 'Near AI' | 'Nebius' | 'Nex AGI' | 'NextBit' | 'Novita' | 'Nvidia' | 'Ollama' | 'OpenAI' | 'OpenInference' | 'Parasail' | 'Poolside' | 'PrimeIntellect' | 'Perceptron' | 'Perplexity' | 'Phala' | 'Recraft' | 'Reka' | 'Relace' | 'Sail Research' | 'Sakana AI' | 'SambaNova' | 'Seed' | 'SiliconFlow' | 'Sourceful' | 'StepFun' | 'Stealth' | 'StreamLake' | 'Switchpoint' | 'Tencent' | 'Tenstorrent' | 'Thinking Machines' | 'Together' | 'Unbiased' | 'Upstage' | 'Venice' | 'Wafer' | 'WandB' | 'Quiver' | 'Krea' | 'Runway' | 'Xiaomi' | 'xAI' | 'Z.AI' | 'FakeProvider';
1265
1268
  /**
1266
1269
  * Preferred maximum latency (in seconds). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints above the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
@@ -1270,6 +1273,9 @@ export type OpenaiPreferredMaxLatency = number | OpenaiPercentileLatencyCutoffs
1270
1273
  * Preferred minimum throughput (in tokens per second). Can be a number (applies to p50) or an object with percentile-specific cutoffs. Endpoints below the threshold(s) may still be used, but are deprioritized in routing. When using fallback models, this may cause a fallback model to be used instead of the primary model if it meets the threshold.
1271
1274
  */
1272
1275
  export type OpenaiPreferredMinThroughput = number | OpenaiPercentileThroughputCutoffs | null;
1276
+ /**
1277
+ * Numeric precision or quantization format used by the model provider.
1278
+ */
1273
1279
  export type OpenaiQuantization = 'int4' | 'int8' | 'fp4' | 'mxfp4' | 'nvfp4' | 'fp6' | 'fp8' | 'mxfp8' | 'fp16' | 'bf16' | 'fp32' | 'unknown';
1274
1280
  /**
1275
1281
  * The provider sorting strategy (price, throughput, latency)
@@ -1415,6 +1421,9 @@ export type OpenaiTraceConfig = {
1415
1421
  trace_name?: string;
1416
1422
  [key: string]: unknown;
1417
1423
  };
1424
+ /**
1425
+ * Extra output data the request can ask for through include; each value adds one kind of detail to the response, such as file search results or encrypted reasoning content.
1426
+ */
1418
1427
  export type OpenaiResponseIncludesEnum = 'file_search_call.results' | 'message.input_image.image_url' | 'computer_call_output.output.image_url' | 'reasoning.encrypted_content' | 'code_interpreter_call.outputs';
1419
1428
  /**
1420
1429
  * Input for a response request - can be a string or array of items
@@ -22188,7 +22197,7 @@ export type OpenaiOpenAiResponseCustomToolCallOutput = {
22188
22197
  */
22189
22198
  export type OpenaiPromptCacheBreakpoint = {
22190
22199
  /**
22191
- * Cache boundary mode; only explicit exists.
22200
+ * Explicit cache boundary at this content block; automatic breakpoints remain enabled unless the request-level cache mode disables them.
22192
22201
  */
22193
22202
  mode: 'explicit';
22194
22203
  } | null;
@@ -27272,6 +27281,69 @@ export type UnarchiveAgentResponses = {
27272
27281
  * modified.
27273
27282
  */
27274
27283
  version: number;
27284
+ /**
27285
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
27286
+ */
27287
+ databases: Array<{
27288
+ /**
27289
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
27290
+ */
27291
+ id: string;
27292
+ /**
27293
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
27294
+ */
27295
+ access: 'read_only' | 'read_write';
27296
+ /**
27297
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
27298
+ */
27299
+ instructions?: string;
27300
+ /**
27301
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
27302
+ */
27303
+ enabled?: boolean;
27304
+ }>;
27305
+ /**
27306
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
27307
+ */
27308
+ vector_stores: Array<{
27309
+ /**
27310
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
27311
+ */
27312
+ id: string;
27313
+ /**
27314
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
27315
+ */
27316
+ access: 'read_only' | 'read_write';
27317
+ /**
27318
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
27319
+ */
27320
+ instructions?: string;
27321
+ /**
27322
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
27323
+ */
27324
+ enabled?: boolean;
27325
+ }>;
27326
+ /**
27327
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
27328
+ */
27329
+ files: Array<{
27330
+ /**
27331
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
27332
+ */
27333
+ id: string;
27334
+ /**
27335
+ * read_only permits reading the bound file; files do not accept read_write.
27336
+ */
27337
+ access: 'read_only';
27338
+ /**
27339
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
27340
+ */
27341
+ instructions?: string;
27342
+ /**
27343
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
27344
+ */
27345
+ enabled?: boolean;
27346
+ }>;
27275
27347
  /**
27276
27348
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
27277
27349
  */
@@ -30097,7 +30169,7 @@ export type ConnectComputerErrors = {
30097
30169
  };
30098
30170
  };
30099
30171
  /**
30100
- * COMPUTER_BUDGET_EXHAUSTED: today's full-computer time has been used up. Connect with need light to continue using the lightweight shell.
30172
+ * Platform error with Computer code, message and hint
30101
30173
  */
30102
30174
  429: {
30103
30175
  error: {
@@ -32113,7 +32185,7 @@ export type ForkSessionResponses = {
32113
32185
  */
32114
32186
  created_at: string;
32115
32187
  /**
32116
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
32188
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
32117
32189
  */
32118
32190
  environment_id?: string;
32119
32191
  /**
@@ -40694,7 +40766,7 @@ export type SessionsRetrieveResponses = {
40694
40766
  */
40695
40767
  created_at: string;
40696
40768
  /**
40697
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
40769
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
40698
40770
  */
40699
40771
  environment_id?: string;
40700
40772
  metadata: AgentManaged173;
@@ -40972,7 +41044,7 @@ export type SessionsUpdateResponses = {
40972
41044
  */
40973
41045
  created_at: string;
40974
41046
  /**
40975
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
41047
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
40976
41048
  */
40977
41049
  environment_id?: string;
40978
41050
  metadata: AgentManaged173;
@@ -41220,6 +41292,69 @@ export type AgentsListResponses = {
41220
41292
  * modified.
41221
41293
  */
41222
41294
  version: number;
41295
+ /**
41296
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41297
+ */
41298
+ databases: Array<{
41299
+ /**
41300
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
41301
+ */
41302
+ id: string;
41303
+ /**
41304
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
41305
+ */
41306
+ access: 'read_only' | 'read_write';
41307
+ /**
41308
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41309
+ */
41310
+ instructions?: string;
41311
+ /**
41312
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41313
+ */
41314
+ enabled?: boolean;
41315
+ }>;
41316
+ /**
41317
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41318
+ */
41319
+ vector_stores: Array<{
41320
+ /**
41321
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
41322
+ */
41323
+ id: string;
41324
+ /**
41325
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
41326
+ */
41327
+ access: 'read_only' | 'read_write';
41328
+ /**
41329
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41330
+ */
41331
+ instructions?: string;
41332
+ /**
41333
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41334
+ */
41335
+ enabled?: boolean;
41336
+ }>;
41337
+ /**
41338
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41339
+ */
41340
+ files: Array<{
41341
+ /**
41342
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
41343
+ */
41344
+ id: string;
41345
+ /**
41346
+ * read_only permits reading the bound file; files do not accept read_write.
41347
+ */
41348
+ access: 'read_only';
41349
+ /**
41350
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41351
+ */
41352
+ instructions?: string;
41353
+ /**
41354
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41355
+ */
41356
+ enabled?: boolean;
41357
+ }>;
41223
41358
  /**
41224
41359
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
41225
41360
  */
@@ -41672,6 +41807,69 @@ export type AgentsCreateData = {
41672
41807
  * across all toolsets allowed.
41673
41808
  */
41674
41809
  tools?: Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
41810
+ /**
41811
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41812
+ */
41813
+ databases?: Array<{
41814
+ /**
41815
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
41816
+ */
41817
+ id: string;
41818
+ /**
41819
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
41820
+ */
41821
+ access: 'read_only' | 'read_write';
41822
+ /**
41823
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41824
+ */
41825
+ instructions?: string;
41826
+ /**
41827
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41828
+ */
41829
+ enabled?: boolean;
41830
+ }>;
41831
+ /**
41832
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41833
+ */
41834
+ vector_stores?: Array<{
41835
+ /**
41836
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
41837
+ */
41838
+ id: string;
41839
+ /**
41840
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
41841
+ */
41842
+ access: 'read_only' | 'read_write';
41843
+ /**
41844
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41845
+ */
41846
+ instructions?: string;
41847
+ /**
41848
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41849
+ */
41850
+ enabled?: boolean;
41851
+ }>;
41852
+ /**
41853
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
41854
+ */
41855
+ files?: Array<{
41856
+ /**
41857
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
41858
+ */
41859
+ id: string;
41860
+ /**
41861
+ * read_only permits reading the bound file; files do not accept read_write.
41862
+ */
41863
+ access: 'read_only';
41864
+ /**
41865
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
41866
+ */
41867
+ instructions?: string;
41868
+ /**
41869
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
41870
+ */
41871
+ enabled?: boolean;
41872
+ }>;
41675
41873
  /**
41676
41874
  * Immutable agent kind. personal requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
41677
41875
  */
@@ -42137,6 +42335,69 @@ export type AgentsCreateResponses = {
42137
42335
  * modified.
42138
42336
  */
42139
42337
  version: number;
42338
+ /**
42339
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42340
+ */
42341
+ databases: Array<{
42342
+ /**
42343
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
42344
+ */
42345
+ id: string;
42346
+ /**
42347
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
42348
+ */
42349
+ access: 'read_only' | 'read_write';
42350
+ /**
42351
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42352
+ */
42353
+ instructions?: string;
42354
+ /**
42355
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42356
+ */
42357
+ enabled?: boolean;
42358
+ }>;
42359
+ /**
42360
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42361
+ */
42362
+ vector_stores: Array<{
42363
+ /**
42364
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
42365
+ */
42366
+ id: string;
42367
+ /**
42368
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
42369
+ */
42370
+ access: 'read_only' | 'read_write';
42371
+ /**
42372
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42373
+ */
42374
+ instructions?: string;
42375
+ /**
42376
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42377
+ */
42378
+ enabled?: boolean;
42379
+ }>;
42380
+ /**
42381
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42382
+ */
42383
+ files: Array<{
42384
+ /**
42385
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
42386
+ */
42387
+ id: string;
42388
+ /**
42389
+ * read_only permits reading the bound file; files do not accept read_write.
42390
+ */
42391
+ access: 'read_only';
42392
+ /**
42393
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42394
+ */
42395
+ instructions?: string;
42396
+ /**
42397
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42398
+ */
42399
+ enabled?: boolean;
42400
+ }>;
42140
42401
  /**
42141
42402
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
42142
42403
  */
@@ -42617,6 +42878,69 @@ export type AgentsRetrieveResponses = {
42617
42878
  * modified.
42618
42879
  */
42619
42880
  version: number;
42881
+ /**
42882
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42883
+ */
42884
+ databases: Array<{
42885
+ /**
42886
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
42887
+ */
42888
+ id: string;
42889
+ /**
42890
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
42891
+ */
42892
+ access: 'read_only' | 'read_write';
42893
+ /**
42894
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42895
+ */
42896
+ instructions?: string;
42897
+ /**
42898
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42899
+ */
42900
+ enabled?: boolean;
42901
+ }>;
42902
+ /**
42903
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42904
+ */
42905
+ vector_stores: Array<{
42906
+ /**
42907
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
42908
+ */
42909
+ id: string;
42910
+ /**
42911
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
42912
+ */
42913
+ access: 'read_only' | 'read_write';
42914
+ /**
42915
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42916
+ */
42917
+ instructions?: string;
42918
+ /**
42919
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42920
+ */
42921
+ enabled?: boolean;
42922
+ }>;
42923
+ /**
42924
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
42925
+ */
42926
+ files: Array<{
42927
+ /**
42928
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
42929
+ */
42930
+ id: string;
42931
+ /**
42932
+ * read_only permits reading the bound file; files do not accept read_write.
42933
+ */
42934
+ access: 'read_only';
42935
+ /**
42936
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
42937
+ */
42938
+ instructions?: string;
42939
+ /**
42940
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
42941
+ */
42942
+ enabled?: boolean;
42943
+ }>;
42620
42944
  /**
42621
42945
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
42622
42946
  */
@@ -43074,6 +43398,69 @@ export type AgentsUpdateData = {
43074
43398
  * current version; omit to apply the update unconditionally.
43075
43399
  */
43076
43400
  version?: number;
43401
+ /**
43402
+ * Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings.
43403
+ */
43404
+ databases?: Array<{
43405
+ /**
43406
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
43407
+ */
43408
+ id: string;
43409
+ /**
43410
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
43411
+ */
43412
+ access: 'read_only' | 'read_write';
43413
+ /**
43414
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43415
+ */
43416
+ instructions?: string;
43417
+ /**
43418
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43419
+ */
43420
+ enabled?: boolean;
43421
+ }> | null;
43422
+ /**
43423
+ * Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings.
43424
+ */
43425
+ vector_stores?: Array<{
43426
+ /**
43427
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
43428
+ */
43429
+ id: string;
43430
+ /**
43431
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
43432
+ */
43433
+ access: 'read_only' | 'read_write';
43434
+ /**
43435
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43436
+ */
43437
+ instructions?: string;
43438
+ /**
43439
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43440
+ */
43441
+ enabled?: boolean;
43442
+ }> | null;
43443
+ /**
43444
+ * Replace this resource allowlist; omission preserves it, and null or [] clears it. Additions apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Only service agents accept nonempty bindings.
43445
+ */
43446
+ files?: Array<{
43447
+ /**
43448
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
43449
+ */
43450
+ id: string;
43451
+ /**
43452
+ * read_only permits reading the bound file; files do not accept read_write.
43453
+ */
43454
+ access: 'read_only';
43455
+ /**
43456
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43457
+ */
43458
+ instructions?: string;
43459
+ /**
43460
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43461
+ */
43462
+ enabled?: boolean;
43463
+ }> | null;
43077
43464
  /**
43078
43465
  * Immutable agent kind. personal requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error.
43079
43466
  */
@@ -43544,6 +43931,69 @@ export type AgentsUpdateResponses = {
43544
43931
  * modified.
43545
43932
  */
43546
43933
  version: number;
43934
+ /**
43935
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
43936
+ */
43937
+ databases: Array<{
43938
+ /**
43939
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
43940
+ */
43941
+ id: string;
43942
+ /**
43943
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
43944
+ */
43945
+ access: 'read_only' | 'read_write';
43946
+ /**
43947
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43948
+ */
43949
+ instructions?: string;
43950
+ /**
43951
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43952
+ */
43953
+ enabled?: boolean;
43954
+ }>;
43955
+ /**
43956
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
43957
+ */
43958
+ vector_stores: Array<{
43959
+ /**
43960
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
43961
+ */
43962
+ id: string;
43963
+ /**
43964
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
43965
+ */
43966
+ access: 'read_only' | 'read_write';
43967
+ /**
43968
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43969
+ */
43970
+ instructions?: string;
43971
+ /**
43972
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43973
+ */
43974
+ enabled?: boolean;
43975
+ }>;
43976
+ /**
43977
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
43978
+ */
43979
+ files: Array<{
43980
+ /**
43981
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
43982
+ */
43983
+ id: string;
43984
+ /**
43985
+ * read_only permits reading the bound file; files do not accept read_write.
43986
+ */
43987
+ access: 'read_only';
43988
+ /**
43989
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
43990
+ */
43991
+ instructions?: string;
43992
+ /**
43993
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
43994
+ */
43995
+ enabled?: boolean;
43996
+ }>;
43547
43997
  /**
43548
43998
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
43549
43999
  */
@@ -44018,6 +44468,69 @@ export type AgentsArchiveResponses = {
44018
44468
  * modified.
44019
44469
  */
44020
44470
  version: number;
44471
+ /**
44472
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
44473
+ */
44474
+ databases: Array<{
44475
+ /**
44476
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
44477
+ */
44478
+ id: string;
44479
+ /**
44480
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
44481
+ */
44482
+ access: 'read_only' | 'read_write';
44483
+ /**
44484
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
44485
+ */
44486
+ instructions?: string;
44487
+ /**
44488
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
44489
+ */
44490
+ enabled?: boolean;
44491
+ }>;
44492
+ /**
44493
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
44494
+ */
44495
+ vector_stores: Array<{
44496
+ /**
44497
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
44498
+ */
44499
+ id: string;
44500
+ /**
44501
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
44502
+ */
44503
+ access: 'read_only' | 'read_write';
44504
+ /**
44505
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
44506
+ */
44507
+ instructions?: string;
44508
+ /**
44509
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
44510
+ */
44511
+ enabled?: boolean;
44512
+ }>;
44513
+ /**
44514
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
44515
+ */
44516
+ files: Array<{
44517
+ /**
44518
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
44519
+ */
44520
+ id: string;
44521
+ /**
44522
+ * read_only permits reading the bound file; files do not accept read_write.
44523
+ */
44524
+ access: 'read_only';
44525
+ /**
44526
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
44527
+ */
44528
+ instructions?: string;
44529
+ /**
44530
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
44531
+ */
44532
+ enabled?: boolean;
44533
+ }>;
44021
44534
  /**
44022
44535
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
44023
44536
  */
@@ -44502,6 +45015,69 @@ export type AgentsVersionsListResponses = {
44502
45015
  * modified.
44503
45016
  */
44504
45017
  version: number;
45018
+ /**
45019
+ * Database allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
45020
+ */
45021
+ databases: Array<{
45022
+ /**
45023
+ * Resource id from database.databases.list or database.databases.create; use the returned id, not its name. Must start with db_ and be unique within this binding array.
45024
+ */
45025
+ id: string;
45026
+ /**
45027
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
45028
+ */
45029
+ access: 'read_only' | 'read_write';
45030
+ /**
45031
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
45032
+ */
45033
+ instructions?: string;
45034
+ /**
45035
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
45036
+ */
45037
+ enabled?: boolean;
45038
+ }>;
45039
+ /**
45040
+ * Knowledge vector store allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
45041
+ */
45042
+ vector_stores: Array<{
45043
+ /**
45044
+ * Resource id from knowledge.vectorStores.list or knowledge.vectorStores.create; use the returned id, not its name. Must start with vs_ and be unique within this binding array.
45045
+ */
45046
+ id: string;
45047
+ /**
45048
+ * read_only permits reads of the bound resource; read_write permits reads and writes.
45049
+ */
45050
+ access: 'read_only' | 'read_write';
45051
+ /**
45052
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
45053
+ */
45054
+ instructions?: string;
45055
+ /**
45056
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
45057
+ */
45058
+ enabled?: boolean;
45059
+ }>;
45060
+ /**
45061
+ * File allowlist for platform resources accessible through service-agent codemode. Only kind=service accepts nonempty bindings; personal agents return 400. At most 20 bindings per resource type, with no duplicate ids. Newly added bindings apply only to new sessions; disabling or removing a binding immediately revokes access in running sessions. Unbound resources return 404; writes to read_only resources are refused. Other platform APIs return 403, except public API discovery. Invalid bindings and unknown item fields return 400. Omit on create for no bindings.
45062
+ */
45063
+ files: Array<{
45064
+ /**
45065
+ * Resource id from file.files.list or file.files.create (upload); use the returned id, not its name. Must start with file_ and be unique within this binding array.
45066
+ */
45067
+ id: string;
45068
+ /**
45069
+ * read_only permits reading the bound file; files do not accept read_write.
45070
+ */
45071
+ access: 'read_only';
45072
+ /**
45073
+ * Optional guidance for using this resource, up to 4096 characters; does not expand access.
45074
+ */
45075
+ instructions?: string;
45076
+ /**
45077
+ * Whether this binding grants access. Defaults to true; false immediately disables it for running sessions.
45078
+ */
45079
+ enabled?: boolean;
45080
+ }>;
44505
45081
  /**
44506
45082
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
44507
45083
  */
@@ -45053,7 +45629,7 @@ export type SessionsListResponses = {
45053
45629
  */
45054
45630
  created_at: string;
45055
45631
  /**
45056
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
45632
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
45057
45633
  */
45058
45634
  environment_id?: string;
45059
45635
  metadata: AgentManaged173;
@@ -45187,10 +45763,9 @@ export type SessionsCreateData = {
45187
45763
  */
45188
45764
  agent: string | AgentManaged10 | AgentManaged167;
45189
45765
  /**
45190
- * ID of the `environment` defining the container configuration for
45191
- * this session.
45766
+ * Execution environment id from agent.environments.list or agent.environments.create. For a service agent, omission selects the built-in light environment and returns session.environment_id=light; explicit null allocates no machine and makes machine tools, including codemode and bash, unavailable. Personal agents use their selected Computer.
45192
45767
  */
45193
- environment_id?: string;
45768
+ environment_id?: string | null;
45194
45769
  /**
45195
45770
  * A hard spend ceiling. The session stops issuing new model requests
45196
45771
  * once the tracked list cost reaches `max_list_cost`.
@@ -45362,7 +45937,7 @@ export type SessionsCreateResponses = {
45362
45937
  */
45363
45938
  created_at: string;
45364
45939
  /**
45365
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
45940
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
45366
45941
  */
45367
45942
  environment_id?: string;
45368
45943
  metadata: AgentManaged173;
@@ -45600,7 +46175,7 @@ export type SessionsArchiveResponses = {
45600
46175
  */
45601
46176
  created_at: string;
45602
46177
  /**
45603
- * Id of the environment recipe the session's sandbox was created from. Omitted when no recipe was selected, that is, for a light machine or the Computer chosen by computer_id.
46178
+ * Execution environment selected for this session. Service sessions return light when environment_id was omitted, or null when explicitly created without a machine; Computer sessions may omit this field.
45604
46179
  */
45605
46180
  environment_id?: string;
45606
46181
  metadata: AgentManaged173;
@@ -54449,7 +55024,7 @@ export type DatabaseDeleteData = {
54449
55024
  */
54450
55025
  'Range-Unit'?: string;
54451
55026
  /**
54452
- * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default uses field defaults for missing batch columns (otherwise NULL). Unknown preferences are ignored unless handling=strict (400 PGRST122).
55027
+ * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122).
54453
55028
  */
54454
55029
  Prefer?: string;
54455
55030
  /**
@@ -54473,7 +55048,7 @@ export type DatabaseDeleteData = {
54473
55048
  */
54474
55049
  select?: string;
54475
55050
  /**
54476
- * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. See the filter operator matrix.
55051
+ * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. Supported operators: eq (equal), neq (not equal; ne is not supported), gt/gte/lt/lte (comparisons), like (case-sensitive text pattern), ilike (case-insensitive text pattern), in (membership), is (null/boolean test), cs (contains), cd (contained by), and ov (array overlap). For like/ilike, * or % matches any sequence and _ matches one character, e.g. title=ilike.*spring*; URL-encode a literal % as %25. Use days=in.(1,2,3), title=is.null, active=is.true or active=is.false; is.not_null and is.unknown are also accepted (unknown means null). Negate a condition with not., e.g. title=not.eq.draft. Multiple filters are ANDed; use or=(title.eq.a,title.eq.b), and=(days.gte.1,days.lte.3), not.or=(...) or not.and=(...), with nested and(...) and or(...) groups as needed. cs/cd accept JSON objects or arrays on JSON fields; cs also accepts a JSON scalar. For array values or multi-link fields, use cs.{a,b}, cd.{a,b} or ov.{a,b}. JSON paths use -> for JSON and ->> for text, e.g. attributes->>has_onsen=eq.true or attributes->tags=cs.[1,2]; chain -> segments and end with ->> for text. Dot paths such as attributes.has_onsen are unsupported. Full-text, regex, range operators and any/all modifiers are unsupported.
54477
55052
  */
54478
55053
  '{column}'?: string;
54479
55054
  /**
@@ -54505,7 +55080,7 @@ export type DatabaseDeleteData = {
54505
55080
  */
54506
55081
  offset?: number;
54507
55082
  /**
54508
- * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
55083
+ * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
54509
55084
  */
54510
55085
  on_conflict?: string;
54511
55086
  /**
@@ -54565,7 +55140,7 @@ export type DatabaseSelectData = {
54565
55140
  */
54566
55141
  'Range-Unit'?: string;
54567
55142
  /**
54568
- * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default uses field defaults for missing batch columns (otherwise NULL). Unknown preferences are ignored unless handling=strict (400 PGRST122).
55143
+ * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122).
54569
55144
  */
54570
55145
  Prefer?: string;
54571
55146
  /**
@@ -54593,7 +55168,7 @@ export type DatabaseSelectData = {
54593
55168
  */
54594
55169
  select?: string;
54595
55170
  /**
54596
- * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. See the filter operator matrix.
55171
+ * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. Supported operators: eq (equal), neq (not equal; ne is not supported), gt/gte/lt/lte (comparisons), like (case-sensitive text pattern), ilike (case-insensitive text pattern), in (membership), is (null/boolean test), cs (contains), cd (contained by), and ov (array overlap). For like/ilike, * or % matches any sequence and _ matches one character, e.g. title=ilike.*spring*; URL-encode a literal % as %25. Use days=in.(1,2,3), title=is.null, active=is.true or active=is.false; is.not_null and is.unknown are also accepted (unknown means null). Negate a condition with not., e.g. title=not.eq.draft. Multiple filters are ANDed; use or=(title.eq.a,title.eq.b), and=(days.gte.1,days.lte.3), not.or=(...) or not.and=(...), with nested and(...) and or(...) groups as needed. cs/cd accept JSON objects or arrays on JSON fields; cs also accepts a JSON scalar. For array values or multi-link fields, use cs.{a,b}, cd.{a,b} or ov.{a,b}. JSON paths use -> for JSON and ->> for text, e.g. attributes->>has_onsen=eq.true or attributes->tags=cs.[1,2]; chain -> segments and end with ->> for text. Dot paths such as attributes.has_onsen are unsupported. Full-text, regex, range operators and any/all modifiers are unsupported.
54597
55172
  */
54598
55173
  '{column}'?: string;
54599
55174
  /**
@@ -54625,7 +55200,7 @@ export type DatabaseSelectData = {
54625
55200
  */
54626
55201
  offset?: number;
54627
55202
  /**
54628
- * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
55203
+ * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
54629
55204
  */
54630
55205
  on_conflict?: string;
54631
55206
  /**
@@ -54685,7 +55260,7 @@ export type DatabaseHeadData = {
54685
55260
  */
54686
55261
  'Range-Unit'?: string;
54687
55262
  /**
54688
- * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default uses field defaults for missing batch columns (otherwise NULL). Unknown preferences are ignored unless handling=strict (400 PGRST122).
55263
+ * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122).
54689
55264
  */
54690
55265
  Prefer?: string;
54691
55266
  /**
@@ -54713,7 +55288,7 @@ export type DatabaseHeadData = {
54713
55288
  */
54714
55289
  select?: string;
54715
55290
  /**
54716
- * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. See the filter operator matrix.
55291
+ * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. Supported operators: eq (equal), neq (not equal; ne is not supported), gt/gte/lt/lte (comparisons), like (case-sensitive text pattern), ilike (case-insensitive text pattern), in (membership), is (null/boolean test), cs (contains), cd (contained by), and ov (array overlap). For like/ilike, * or % matches any sequence and _ matches one character, e.g. title=ilike.*spring*; URL-encode a literal % as %25. Use days=in.(1,2,3), title=is.null, active=is.true or active=is.false; is.not_null and is.unknown are also accepted (unknown means null). Negate a condition with not., e.g. title=not.eq.draft. Multiple filters are ANDed; use or=(title.eq.a,title.eq.b), and=(days.gte.1,days.lte.3), not.or=(...) or not.and=(...), with nested and(...) and or(...) groups as needed. cs/cd accept JSON objects or arrays on JSON fields; cs also accepts a JSON scalar. For array values or multi-link fields, use cs.{a,b}, cd.{a,b} or ov.{a,b}. JSON paths use -> for JSON and ->> for text, e.g. attributes->>has_onsen=eq.true or attributes->tags=cs.[1,2]; chain -> segments and end with ->> for text. Dot paths such as attributes.has_onsen are unsupported. Full-text, regex, range operators and any/all modifiers are unsupported.
54717
55292
  */
54718
55293
  '{column}'?: string;
54719
55294
  /**
@@ -54745,7 +55320,7 @@ export type DatabaseHeadData = {
54745
55320
  */
54746
55321
  offset?: number;
54747
55322
  /**
54748
- * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
55323
+ * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
54749
55324
  */
54750
55325
  on_conflict?: string;
54751
55326
  /**
@@ -54806,7 +55381,7 @@ export type DatabaseUpdateData = {
54806
55381
  */
54807
55382
  'Range-Unit'?: string;
54808
55383
  /**
54809
- * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default uses field defaults for missing batch columns (otherwise NULL). Unknown preferences are ignored unless handling=strict (400 PGRST122).
55384
+ * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122).
54810
55385
  */
54811
55386
  Prefer?: string;
54812
55387
  /**
@@ -54830,7 +55405,7 @@ export type DatabaseUpdateData = {
54830
55405
  */
54831
55406
  select?: string;
54832
55407
  /**
54833
- * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. See the filter operator matrix.
55408
+ * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. Supported operators: eq (equal), neq (not equal; ne is not supported), gt/gte/lt/lte (comparisons), like (case-sensitive text pattern), ilike (case-insensitive text pattern), in (membership), is (null/boolean test), cs (contains), cd (contained by), and ov (array overlap). For like/ilike, * or % matches any sequence and _ matches one character, e.g. title=ilike.*spring*; URL-encode a literal % as %25. Use days=in.(1,2,3), title=is.null, active=is.true or active=is.false; is.not_null and is.unknown are also accepted (unknown means null). Negate a condition with not., e.g. title=not.eq.draft. Multiple filters are ANDed; use or=(title.eq.a,title.eq.b), and=(days.gte.1,days.lte.3), not.or=(...) or not.and=(...), with nested and(...) and or(...) groups as needed. cs/cd accept JSON objects or arrays on JSON fields; cs also accepts a JSON scalar. For array values or multi-link fields, use cs.{a,b}, cd.{a,b} or ov.{a,b}. JSON paths use -> for JSON and ->> for text, e.g. attributes->>has_onsen=eq.true or attributes->tags=cs.[1,2]; chain -> segments and end with ->> for text. Dot paths such as attributes.has_onsen are unsupported. Full-text, regex, range operators and any/all modifiers are unsupported.
54834
55409
  */
54835
55410
  '{column}'?: string;
54836
55411
  /**
@@ -54862,7 +55437,7 @@ export type DatabaseUpdateData = {
54862
55437
  */
54863
55438
  offset?: number;
54864
55439
  /**
54865
- * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
55440
+ * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
54866
55441
  */
54867
55442
  on_conflict?: string;
54868
55443
  /**
@@ -54926,7 +55501,7 @@ export type DatabaseInsertData = {
54926
55501
  */
54927
55502
  'Range-Unit'?: string;
54928
55503
  /**
54929
- * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default uses field defaults for missing batch columns (otherwise NULL). Unknown preferences are ignored unless handling=strict (400 PGRST122).
55504
+ * Comma-separated preferences. count=exact|planned|estimated: unfiltered counts are exact; filtered planned reports *, estimated falls back to * when predicted over budget. missing=default skips null-filling of missing batch columns: inserts use field defaults (or null without a default), while conflict merges preserve omitted columns. Otherwise, holes in the batch key union are filled with null and can clear values during merge. Explicit null stays null. resolution=merge-duplicates updates supplied columns on conflict; resolution=ignore-duplicates leaves conflicting rows unchanged. Unknown preferences are ignored unless handling=strict (400 PGRST122).
54930
55505
  */
54931
55506
  Prefer?: string;
54932
55507
  /**
@@ -54950,7 +55525,7 @@ export type DatabaseInsertData = {
54950
55525
  */
54951
55526
  select?: string;
54952
55527
  /**
54953
- * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. See the filter operator matrix.
55528
+ * Horizontal filter: replace {column} with a field name or JSON path, e.g. title=eq.summary. Repeat for more columns. Supported operators: eq (equal), neq (not equal; ne is not supported), gt/gte/lt/lte (comparisons), like (case-sensitive text pattern), ilike (case-insensitive text pattern), in (membership), is (null/boolean test), cs (contains), cd (contained by), and ov (array overlap). For like/ilike, * or % matches any sequence and _ matches one character, e.g. title=ilike.*spring*; URL-encode a literal % as %25. Use days=in.(1,2,3), title=is.null, active=is.true or active=is.false; is.not_null and is.unknown are also accepted (unknown means null). Negate a condition with not., e.g. title=not.eq.draft. Multiple filters are ANDed; use or=(title.eq.a,title.eq.b), and=(days.gte.1,days.lte.3), not.or=(...) or not.and=(...), with nested and(...) and or(...) groups as needed. cs/cd accept JSON objects or arrays on JSON fields; cs also accepts a JSON scalar. For array values or multi-link fields, use cs.{a,b}, cd.{a,b} or ov.{a,b}. JSON paths use -> for JSON and ->> for text, e.g. attributes->>has_onsen=eq.true or attributes->tags=cs.[1,2]; chain -> segments and end with ->> for text. Dot paths such as attributes.has_onsen are unsupported. Full-text, regex, range operators and any/all modifiers are unsupported.
54954
55529
  */
54955
55530
  '{column}'?: string;
54956
55531
  /**
@@ -54982,7 +55557,7 @@ export type DatabaseInsertData = {
54982
55557
  */
54983
55558
  offset?: number;
54984
55559
  /**
54985
- * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
55560
+ * POST upsert: id or one unique field with resolution=merge-duplicates|ignore-duplicates. With resolution=merge-duplicates, a conflicting row keeps columns omitted from the request; supplied values replace the whole field value (including JSON objects), and explicit null clears a nullable field. With resolution=ignore-duplicates, a conflicting row is left unchanged. Without a conflict, both modes insert a new row using field defaults for omitted fields. In a batch, a key present in another row is filled with null when omitted in this row unless missing=default is set; that null can overwrite a value during merge. With missing=default, omitted keys stay omitted for conflict merges (existing values are preserved); new rows use defaults, or null when no default exists. Explicit null never invokes a default. POST accepts an optional client id matching [A-Za-z0-9_-]{1,64}; omitted ids are generated. PATCH cannot change id.
54986
55561
  */
54987
55562
  on_conflict?: string;
54988
55563
  /**