@deepraxis/sdk 0.1.0-dev.56788b6 → 0.1.0-dev.5e0f28e

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.
@@ -27281,6 +27281,69 @@ export type UnarchiveAgentResponses = {
27281
27281
  * modified.
27282
27282
  */
27283
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
+ }>;
27284
27347
  /**
27285
27348
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
27286
27349
  */
@@ -30106,7 +30169,7 @@ export type ConnectComputerErrors = {
30106
30169
  };
30107
30170
  };
30108
30171
  /**
30109
- * 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
30110
30173
  */
30111
30174
  429: {
30112
30175
  error: {
@@ -32122,7 +32185,7 @@ export type ForkSessionResponses = {
32122
32185
  */
32123
32186
  created_at: string;
32124
32187
  /**
32125
- * 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.
32126
32189
  */
32127
32190
  environment_id?: string;
32128
32191
  /**
@@ -40703,7 +40766,7 @@ export type SessionsRetrieveResponses = {
40703
40766
  */
40704
40767
  created_at: string;
40705
40768
  /**
40706
- * 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.
40707
40770
  */
40708
40771
  environment_id?: string;
40709
40772
  metadata: AgentManaged173;
@@ -40981,7 +41044,7 @@ export type SessionsUpdateResponses = {
40981
41044
  */
40982
41045
  created_at: string;
40983
41046
  /**
40984
- * 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.
40985
41048
  */
40986
41049
  environment_id?: string;
40987
41050
  metadata: AgentManaged173;
@@ -41229,6 +41292,69 @@ export type AgentsListResponses = {
41229
41292
  * modified.
41230
41293
  */
41231
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
+ }>;
41232
41358
  /**
41233
41359
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
41234
41360
  */
@@ -41681,6 +41807,69 @@ export type AgentsCreateData = {
41681
41807
  * across all toolsets allowed.
41682
41808
  */
41683
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
+ }>;
41684
41873
  /**
41685
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.
41686
41875
  */
@@ -42146,6 +42335,69 @@ export type AgentsCreateResponses = {
42146
42335
  * modified.
42147
42336
  */
42148
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
+ }>;
42149
42401
  /**
42150
42402
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
42151
42403
  */
@@ -42626,6 +42878,69 @@ export type AgentsRetrieveResponses = {
42626
42878
  * modified.
42627
42879
  */
42628
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
+ }>;
42629
42944
  /**
42630
42945
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
42631
42946
  */
@@ -43083,6 +43398,69 @@ export type AgentsUpdateData = {
43083
43398
  * current version; omit to apply the update unconditionally.
43084
43399
  */
43085
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;
43086
43464
  /**
43087
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.
43088
43466
  */
@@ -43553,6 +43931,69 @@ export type AgentsUpdateResponses = {
43553
43931
  * modified.
43554
43932
  */
43555
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
+ }>;
43556
43997
  /**
43557
43998
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
43558
43999
  */
@@ -44027,6 +44468,69 @@ export type AgentsArchiveResponses = {
44027
44468
  * modified.
44028
44469
  */
44029
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
+ }>;
44030
44534
  /**
44031
44535
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
44032
44536
  */
@@ -44511,6 +45015,69 @@ export type AgentsVersionsListResponses = {
44511
45015
  * modified.
44512
45016
  */
44513
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
+ }>;
44514
45081
  /**
44515
45082
  * Immutable agent kind. personal uses a durable computer; service uses a clean environment per session. Historical agents infer kind from their computer binding.
44516
45083
  */
@@ -45062,7 +45629,7 @@ export type SessionsListResponses = {
45062
45629
  */
45063
45630
  created_at: string;
45064
45631
  /**
45065
- * 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.
45066
45633
  */
45067
45634
  environment_id?: string;
45068
45635
  metadata: AgentManaged173;
@@ -45196,10 +45763,9 @@ export type SessionsCreateData = {
45196
45763
  */
45197
45764
  agent: string | AgentManaged10 | AgentManaged167;
45198
45765
  /**
45199
- * ID of the `environment` defining the container configuration for
45200
- * 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.
45201
45767
  */
45202
- environment_id?: string;
45768
+ environment_id?: string | null;
45203
45769
  /**
45204
45770
  * A hard spend ceiling. The session stops issuing new model requests
45205
45771
  * once the tracked list cost reaches `max_list_cost`.
@@ -45371,7 +45937,7 @@ export type SessionsCreateResponses = {
45371
45937
  */
45372
45938
  created_at: string;
45373
45939
  /**
45374
- * 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.
45375
45941
  */
45376
45942
  environment_id?: string;
45377
45943
  metadata: AgentManaged173;
@@ -45609,7 +46175,7 @@ export type SessionsArchiveResponses = {
45609
46175
  */
45610
46176
  created_at: string;
45611
46177
  /**
45612
- * 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.
45613
46179
  */
45614
46180
  environment_id?: string;
45615
46181
  metadata: AgentManaged173;
@@ -54458,7 +55024,7 @@ export type DatabaseDeleteData = {
54458
55024
  */
54459
55025
  'Range-Unit'?: string;
54460
55026
  /**
54461
- * 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).
54462
55028
  */
54463
55029
  Prefer?: string;
54464
55030
  /**
@@ -54482,7 +55048,7 @@ export type DatabaseDeleteData = {
54482
55048
  */
54483
55049
  select?: string;
54484
55050
  /**
54485
- * 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.
54486
55052
  */
54487
55053
  '{column}'?: string;
54488
55054
  /**
@@ -54514,7 +55080,7 @@ export type DatabaseDeleteData = {
54514
55080
  */
54515
55081
  offset?: number;
54516
55082
  /**
54517
- * 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.
54518
55084
  */
54519
55085
  on_conflict?: string;
54520
55086
  /**
@@ -54574,7 +55140,7 @@ export type DatabaseSelectData = {
54574
55140
  */
54575
55141
  'Range-Unit'?: string;
54576
55142
  /**
54577
- * 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).
54578
55144
  */
54579
55145
  Prefer?: string;
54580
55146
  /**
@@ -54602,7 +55168,7 @@ export type DatabaseSelectData = {
54602
55168
  */
54603
55169
  select?: string;
54604
55170
  /**
54605
- * 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.
54606
55172
  */
54607
55173
  '{column}'?: string;
54608
55174
  /**
@@ -54634,7 +55200,7 @@ export type DatabaseSelectData = {
54634
55200
  */
54635
55201
  offset?: number;
54636
55202
  /**
54637
- * 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.
54638
55204
  */
54639
55205
  on_conflict?: string;
54640
55206
  /**
@@ -54694,7 +55260,7 @@ export type DatabaseHeadData = {
54694
55260
  */
54695
55261
  'Range-Unit'?: string;
54696
55262
  /**
54697
- * 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).
54698
55264
  */
54699
55265
  Prefer?: string;
54700
55266
  /**
@@ -54722,7 +55288,7 @@ export type DatabaseHeadData = {
54722
55288
  */
54723
55289
  select?: string;
54724
55290
  /**
54725
- * 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.
54726
55292
  */
54727
55293
  '{column}'?: string;
54728
55294
  /**
@@ -54754,7 +55320,7 @@ export type DatabaseHeadData = {
54754
55320
  */
54755
55321
  offset?: number;
54756
55322
  /**
54757
- * 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.
54758
55324
  */
54759
55325
  on_conflict?: string;
54760
55326
  /**
@@ -54815,7 +55381,7 @@ export type DatabaseUpdateData = {
54815
55381
  */
54816
55382
  'Range-Unit'?: string;
54817
55383
  /**
54818
- * 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).
54819
55385
  */
54820
55386
  Prefer?: string;
54821
55387
  /**
@@ -54839,7 +55405,7 @@ export type DatabaseUpdateData = {
54839
55405
  */
54840
55406
  select?: string;
54841
55407
  /**
54842
- * 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.
54843
55409
  */
54844
55410
  '{column}'?: string;
54845
55411
  /**
@@ -54871,7 +55437,7 @@ export type DatabaseUpdateData = {
54871
55437
  */
54872
55438
  offset?: number;
54873
55439
  /**
54874
- * 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.
54875
55441
  */
54876
55442
  on_conflict?: string;
54877
55443
  /**
@@ -54935,7 +55501,7 @@ export type DatabaseInsertData = {
54935
55501
  */
54936
55502
  'Range-Unit'?: string;
54937
55503
  /**
54938
- * 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).
54939
55505
  */
54940
55506
  Prefer?: string;
54941
55507
  /**
@@ -54959,7 +55525,7 @@ export type DatabaseInsertData = {
54959
55525
  */
54960
55526
  select?: string;
54961
55527
  /**
54962
- * 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.
54963
55529
  */
54964
55530
  '{column}'?: string;
54965
55531
  /**
@@ -54991,7 +55557,7 @@ export type DatabaseInsertData = {
54991
55557
  */
54992
55558
  offset?: number;
54993
55559
  /**
54994
- * 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.
54995
55561
  */
54996
55562
  on_conflict?: string;
54997
55563
  /**