@sixb/client 0.1.17 → 0.1.19

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.
Files changed (55) hide show
  1. package/README.md +8 -23
  2. package/dist/actions.d.ts +9 -50
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/browser.d.ts.map +1 -1
  5. package/dist/browser.js +9 -4
  6. package/dist/browser.js.map +3 -3
  7. package/dist/{chunk-bvasdctr.js → chunk-12s8gbwj.js} +2 -2
  8. package/dist/{chunk-aqpr0h1n.js → chunk-3aa3m9z6.js} +2 -2
  9. package/dist/{chunk-mjvdcaw4.js → chunk-95bnb04n.js} +1 -1
  10. package/dist/{chunk-p1j3d7t0.js → chunk-awbb496e.js} +1 -1
  11. package/dist/{chunk-bcyvstee.js → chunk-j512cs3e.js} +15 -224
  12. package/dist/chunk-j512cs3e.js.map +17 -0
  13. package/dist/{chunk-hdgztpzs.js → chunk-tkjkrcdt.js} +1 -3
  14. package/dist/{chunk-hdgztpzs.js.map → chunk-tkjkrcdt.js.map} +3 -3
  15. package/dist/connectors/queries.d.ts.map +1 -1
  16. package/dist/events-builder.d.ts +2 -27
  17. package/dist/events-builder.d.ts.map +1 -1
  18. package/dist/events-transport.d.ts +1 -3
  19. package/dist/events-transport.d.ts.map +1 -1
  20. package/dist/generated/@tanstack/react-query.gen.d.ts +428 -194
  21. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  22. package/dist/generated/index.d.ts +1 -1
  23. package/dist/generated/index.d.ts.map +1 -1
  24. package/dist/generated/sdk.gen.d.ts +3 -1
  25. package/dist/generated/sdk.gen.d.ts.map +1 -1
  26. package/dist/generated/types.gen.d.ts +220 -46
  27. package/dist/generated/types.gen.d.ts.map +1 -1
  28. package/dist/hooks.js +18 -29
  29. package/dist/hooks.js.map +4 -4
  30. package/dist/index.d.ts +2 -1
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +7 -15
  33. package/dist/index.js.map +1 -1
  34. package/dist/logs.js +3 -3
  35. package/dist/models.js +1 -1
  36. package/dist/query-hooks.d.ts +5 -5
  37. package/dist/query-hooks.d.ts.map +1 -1
  38. package/dist/query.js +3 -3
  39. package/package.json +2 -2
  40. package/src/actions.ts +9 -288
  41. package/src/browser.ts +9 -0
  42. package/src/events-builder.ts +4 -80
  43. package/src/events-transport.ts +2 -5
  44. package/src/file.ts +5 -2
  45. package/src/generated/@tanstack/react-query.gen.ts +3 -1
  46. package/src/generated/index.ts +1 -0
  47. package/src/generated/sdk.gen.ts +3 -3
  48. package/src/generated/types.gen.ts +296 -71
  49. package/src/index.ts +2 -1
  50. package/src/query-hooks.ts +29 -44
  51. package/dist/chunk-bcyvstee.js.map +0 -17
  52. /package/dist/{chunk-bvasdctr.js.map → chunk-12s8gbwj.js.map} +0 -0
  53. /package/dist/{chunk-aqpr0h1n.js.map → chunk-3aa3m9z6.js.map} +0 -0
  54. /package/dist/{chunk-mjvdcaw4.js.map → chunk-95bnb04n.js.map} +0 -0
  55. /package/dist/{chunk-p1j3d7t0.js.map → chunk-awbb496e.js.map} +0 -0
@@ -8,6 +8,12 @@ export type ErrorResponse = {
8
8
  error: string
9
9
  }
10
10
 
11
+ export type Redactions = {
12
+ [key: string]: {
13
+ reason: "missing_clearance"
14
+ }
15
+ }
16
+
11
17
  export type ObjectQueryObject = {
12
18
  score?: number
13
19
  primaryId: string
@@ -15,6 +21,7 @@ export type ObjectQueryObject = {
15
21
  properties: {
16
22
  [key: string]: unknown
17
23
  }
24
+ redactions?: Redactions
18
25
  createdAt: string
19
26
  updatedAt: string
20
27
  links?: {
@@ -418,6 +425,7 @@ export type GetAuthSessionResponses = {
418
425
  200:
419
426
  | {
420
427
  authenticated: false
428
+ authEnabled: boolean
421
429
  }
422
430
  | {
423
431
  authenticated: true
@@ -3155,6 +3163,8 @@ export type GetProjectInfoResponses = {
3155
3163
  */
3156
3164
  200: {
3157
3165
  id: string
3166
+ locale: string
3167
+ timeZone: string
3158
3168
  }
3159
3169
  }
3160
3170
 
@@ -4872,7 +4882,7 @@ export type ListDatasetRowsData = {
4872
4882
  }
4873
4883
  query?: {
4874
4884
  versionId?: string
4875
- columns?: string
4885
+ columns?: Array<string>
4876
4886
  limit?: string
4877
4887
  offset?: string
4878
4888
  }
@@ -4942,6 +4952,11 @@ export type ListDatasetRowsResponses = {
4942
4952
  sizeBytes?: number
4943
4953
  }
4944
4954
  columns: Array<string>
4955
+ redactions?: {
4956
+ [key: string]: {
4957
+ reason: "missing_clearance"
4958
+ }
4959
+ }
4945
4960
  rows: Array<{
4946
4961
  [key: string]: unknown
4947
4962
  }>
@@ -6973,6 +6988,9 @@ export type GetWorkflowAgentNodeExecutionResponses = {
6973
6988
  }
6974
6989
  | null
6975
6990
  }
6991
+ | {
6992
+ type: "continuation"
6993
+ }
6976
6994
  | {
6977
6995
  type: "reasoning"
6978
6996
  text: string
@@ -7039,6 +7057,10 @@ export type GetWorkflowAgentNodeExecutionResponses = {
7039
7057
  objectTypeId: string
7040
7058
  primaryId: string
7041
7059
  }
7060
+ /**
7061
+ * Shown in the chat instead of the object's title. Never sent to the model.
7062
+ */
7063
+ label?: string
7042
7064
  }
7043
7065
  | {
7044
7066
  kind: "app-state"
@@ -8710,6 +8732,11 @@ export type ListObjectsResponses = {
8710
8732
  properties: {
8711
8733
  [key: string]: unknown
8712
8734
  }
8735
+ redactions?: {
8736
+ [key: string]: {
8737
+ reason: "missing_clearance"
8738
+ }
8739
+ }
8713
8740
  createdAt: string
8714
8741
  updatedAt: string
8715
8742
  }>
@@ -9039,6 +9066,11 @@ export type GetObjectResponses = {
9039
9066
  properties: {
9040
9067
  [key: string]: unknown
9041
9068
  }
9069
+ redactions?: {
9070
+ [key: string]: {
9071
+ reason: "missing_clearance"
9072
+ }
9073
+ }
9042
9074
  createdAt: string
9043
9075
  updatedAt: string
9044
9076
  }
@@ -9094,6 +9126,11 @@ export type UpsertObjectResponses = {
9094
9126
  properties: {
9095
9127
  [key: string]: unknown
9096
9128
  }
9129
+ redactions?: {
9130
+ [key: string]: {
9131
+ reason: "missing_clearance"
9132
+ }
9133
+ }
9097
9134
  createdAt: string
9098
9135
  updatedAt: string
9099
9136
  }
@@ -9231,19 +9268,193 @@ export type RequestActionErrors = {
9231
9268
  404: {
9232
9269
  error: string
9233
9270
  }
9271
+ /**
9272
+ * Response for status 409
9273
+ */
9274
+ 409: {
9275
+ error: string
9276
+ /**
9277
+ * Stable machine-readable failure code for programmatic handling.
9278
+ */
9279
+ code: "action.run_in_progress"
9280
+ }
9281
+ /**
9282
+ * Response for status 500
9283
+ */
9284
+ 500: {
9285
+ error: string
9286
+ /**
9287
+ * Stable machine-readable failure code for programmatic handling.
9288
+ */
9289
+ code:
9290
+ | "action.phase_failed"
9291
+ | "action.read_conflict"
9292
+ | "action.run_in_progress"
9293
+ | "action.timeout"
9294
+ | "agent.execution_failed"
9295
+ | "ai.usage_limit_exceeded"
9296
+ | "ai.usage_limit_unavailable"
9297
+ | "connector.adapter_invalid"
9298
+ | "connector.authorization_invalid"
9299
+ | "connector.authorization_required"
9300
+ | "connector.configuration_invalid"
9301
+ | "connector.credentials_unavailable"
9302
+ | "connector.not_found"
9303
+ | "connector.operation_conflict"
9304
+ | "connector.operation_in_progress"
9305
+ | "connector.provider_failed"
9306
+ | "connector.provider_unavailable"
9307
+ | "connector.replacement_required"
9308
+ | "connector.revocation_pending"
9309
+ | "dataset.not_found"
9310
+ | "dataset.version_incompatible"
9311
+ | "dataset.version_not_found"
9312
+ | "dataset.version_read_inconsistent"
9313
+ | "event.delivery_failed"
9314
+ | "internal.unexpected"
9315
+ | "queue.enqueue_failed"
9316
+ | "pipeline.step_failed"
9317
+ | "projection.definition_invalid"
9318
+ | "projection.execution_failed"
9319
+ | "projection.not_found"
9320
+ | "projection.run_already_terminal"
9321
+ | "projection.run_identity_mismatch"
9322
+ | "runtime.cancelled"
9323
+ | "runtime.stopping"
9324
+ | "vector.model_unavailable"
9325
+ | "vector.response_invalid"
9326
+ | "vector.outcome_unknown"
9327
+ | "storage.unavailable"
9328
+ | "sync.execution_failed"
9329
+ | "webhook.delivery_failed"
9330
+ | "webhook.delivery_rejected"
9331
+ | "workflow.node_failed"
9332
+ }
9333
+ /**
9334
+ * Response for status 503
9335
+ */
9336
+ 503: {
9337
+ error: string
9338
+ /**
9339
+ * Stable machine-readable failure code for programmatic handling.
9340
+ */
9341
+ code: "runtime.stopping"
9342
+ }
9234
9343
  }
9235
9344
 
9236
9345
  export type RequestActionError = RequestActionErrors[keyof RequestActionErrors]
9237
9346
 
9238
9347
  export type RequestActionResponses = {
9239
9348
  /**
9240
- * Response for status 202
9349
+ * Response for status 200
9241
9350
  */
9242
- 202: {
9243
- runId: string
9244
- queuedAt: string
9245
- jobId?: string
9246
- created: boolean
9351
+ 200: {
9352
+ id: string
9353
+ projectId: string
9354
+ actionId: string
9355
+ subject:
9356
+ | {
9357
+ kind: "none"
9358
+ }
9359
+ | {
9360
+ kind: "object"
9361
+ objectTypeId: string
9362
+ primaryId: string
9363
+ }
9364
+ status: "succeeded" | "failed"
9365
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9366
+ startedAt: string
9367
+ finishedAt: string
9368
+ error?: {
9369
+ code:
9370
+ | "internal.unexpected"
9371
+ | "runtime.cancelled"
9372
+ | "action.phase_failed"
9373
+ | "action.read_conflict"
9374
+ | "action.timeout"
9375
+ message: string
9376
+ retryable: boolean
9377
+ at: string
9378
+ details: {
9379
+ actionId: string
9380
+ runId: string
9381
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9382
+ }
9383
+ httpStatus?: number
9384
+ redacted?: true
9385
+ truncated?: true
9386
+ }
9387
+ params: {
9388
+ [key: string]: unknown
9389
+ }
9390
+ writeback?:
9391
+ | {
9392
+ status: "succeeded"
9393
+ completedAt: string
9394
+ /**
9395
+ * Any JSON-compatible value.
9396
+ */
9397
+ result:
9398
+ | string
9399
+ | number
9400
+ | boolean
9401
+ | Array<unknown>
9402
+ | {
9403
+ [key: string]: unknown
9404
+ }
9405
+ | null
9406
+ }
9407
+ | {
9408
+ status: "failed"
9409
+ completedAt: string
9410
+ error: {
9411
+ code:
9412
+ | "internal.unexpected"
9413
+ | "runtime.cancelled"
9414
+ | "action.phase_failed"
9415
+ | "action.read_conflict"
9416
+ | "action.timeout"
9417
+ message: string
9418
+ retryable: boolean
9419
+ at: string
9420
+ details: {
9421
+ actionId: string
9422
+ runId: string
9423
+ phase: "writeback"
9424
+ }
9425
+ httpStatus?: number
9426
+ redacted?: true
9427
+ truncated?: true
9428
+ }
9429
+ }
9430
+ effects?:
9431
+ | {
9432
+ status: "succeeded"
9433
+ completedAt: string
9434
+ }
9435
+ | {
9436
+ status: "failed"
9437
+ completedAt: string
9438
+ error: {
9439
+ code:
9440
+ | "internal.unexpected"
9441
+ | "runtime.cancelled"
9442
+ | "action.phase_failed"
9443
+ | "action.read_conflict"
9444
+ | "action.timeout"
9445
+ message: string
9446
+ retryable: boolean
9447
+ at: string
9448
+ details: {
9449
+ actionId: string
9450
+ runId: string
9451
+ phase: "effects"
9452
+ }
9453
+ httpStatus?: number
9454
+ redacted?: true
9455
+ truncated?: true
9456
+ }
9457
+ }
9247
9458
  }
9248
9459
  }
9249
9460
 
@@ -9389,6 +9600,12 @@ export type UploadFileContentErrors = {
9389
9600
  410: {
9390
9601
  error: string
9391
9602
  }
9603
+ /**
9604
+ * Response for status 413
9605
+ */
9606
+ 413: {
9607
+ error: string
9608
+ }
9392
9609
  /**
9393
9610
  * Response for status 501
9394
9611
  */
@@ -9601,7 +9818,7 @@ export type ListActionRunsData = {
9601
9818
  path?: never
9602
9819
  query?: {
9603
9820
  actionId?: string
9604
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled"
9821
+ status?: "succeeded" | "failed"
9605
9822
  objectTypeId?: string
9606
9823
  primaryId?: string
9607
9824
  startedAfter?: string
@@ -9648,41 +9865,24 @@ export type ListActionRunsResponses = {
9648
9865
  objectTypeId: string
9649
9866
  primaryId: string
9650
9867
  }
9651
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
9652
- phase?:
9653
- | "request"
9654
- | "enqueue"
9655
- | "validation"
9656
- | "writeback"
9657
- | "edits"
9658
- | "commit"
9659
- | "effects"
9660
- | "cancelled"
9661
- queuedAt: string
9662
- startedAt?: string
9663
- finishedAt?: string
9868
+ status: "succeeded" | "failed"
9869
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9870
+ startedAt: string
9871
+ finishedAt: string
9664
9872
  error?: {
9665
9873
  code:
9666
9874
  | "internal.unexpected"
9667
9875
  | "runtime.cancelled"
9668
- | "queue.enqueue_failed"
9669
9876
  | "action.phase_failed"
9670
9877
  | "action.read_conflict"
9878
+ | "action.timeout"
9671
9879
  message: string
9672
9880
  retryable: boolean
9673
9881
  at: string
9674
9882
  details: {
9675
9883
  actionId: string
9676
9884
  runId: string
9677
- phase:
9678
- | "request"
9679
- | "enqueue"
9680
- | "validation"
9681
- | "writeback"
9682
- | "edits"
9683
- | "commit"
9684
- | "effects"
9685
- | "cancelled"
9885
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9686
9886
  }
9687
9887
  httpStatus?: number
9688
9888
  redacted?: true
@@ -9745,41 +9945,24 @@ export type GetActionRunResponses = {
9745
9945
  objectTypeId: string
9746
9946
  primaryId: string
9747
9947
  }
9748
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled"
9749
- phase?:
9750
- | "request"
9751
- | "enqueue"
9752
- | "validation"
9753
- | "writeback"
9754
- | "edits"
9755
- | "commit"
9756
- | "effects"
9757
- | "cancelled"
9758
- queuedAt: string
9759
- startedAt?: string
9760
- finishedAt?: string
9948
+ status: "succeeded" | "failed"
9949
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9950
+ startedAt: string
9951
+ finishedAt: string
9761
9952
  error?: {
9762
9953
  code:
9763
9954
  | "internal.unexpected"
9764
9955
  | "runtime.cancelled"
9765
- | "queue.enqueue_failed"
9766
9956
  | "action.phase_failed"
9767
9957
  | "action.read_conflict"
9958
+ | "action.timeout"
9768
9959
  message: string
9769
9960
  retryable: boolean
9770
9961
  at: string
9771
9962
  details: {
9772
9963
  actionId: string
9773
9964
  runId: string
9774
- phase:
9775
- | "request"
9776
- | "enqueue"
9777
- | "validation"
9778
- | "writeback"
9779
- | "edits"
9780
- | "commit"
9781
- | "effects"
9782
- | "cancelled"
9965
+ phase: "validation" | "writeback" | "edits" | "commit" | "effects"
9783
9966
  }
9784
9967
  httpStatus?: number
9785
9968
  redacted?: true
@@ -9812,9 +9995,9 @@ export type GetActionRunResponses = {
9812
9995
  code:
9813
9996
  | "internal.unexpected"
9814
9997
  | "runtime.cancelled"
9815
- | "queue.enqueue_failed"
9816
9998
  | "action.phase_failed"
9817
9999
  | "action.read_conflict"
10000
+ | "action.timeout"
9818
10001
  message: string
9819
10002
  retryable: boolean
9820
10003
  at: string
@@ -9840,9 +10023,9 @@ export type GetActionRunResponses = {
9840
10023
  code:
9841
10024
  | "internal.unexpected"
9842
10025
  | "runtime.cancelled"
9843
- | "queue.enqueue_failed"
9844
10026
  | "action.phase_failed"
9845
10027
  | "action.read_conflict"
10028
+ | "action.timeout"
9846
10029
  message: string
9847
10030
  retryable: boolean
9848
10031
  at: string
@@ -10383,6 +10566,9 @@ export type ListAgentThreadMessagesResponses = {
10383
10566
  }
10384
10567
  | null
10385
10568
  }
10569
+ | {
10570
+ type: "continuation"
10571
+ }
10386
10572
  | {
10387
10573
  type: "reasoning"
10388
10574
  text: string
@@ -10449,6 +10635,10 @@ export type ListAgentThreadMessagesResponses = {
10449
10635
  objectTypeId: string
10450
10636
  primaryId: string
10451
10637
  }
10638
+ /**
10639
+ * Shown in the chat instead of the object's title. Never sent to the model.
10640
+ */
10641
+ label?: string
10452
10642
  }
10453
10643
  | {
10454
10644
  kind: "app-state"
@@ -10557,8 +10747,9 @@ export type ListAgentThreadMessagesResponses = {
10557
10747
  | "output_collection_failed"
10558
10748
  | "output_file_changed"
10559
10749
  | "output_storage_failed"
10750
+ | "step_limit_reached"
10560
10751
  severity: "warning" | "error"
10561
- scope: "output"
10752
+ scope: "output" | "run"
10562
10753
  path?: string
10563
10754
  message: string
10564
10755
  }>
@@ -10593,7 +10784,8 @@ export type ListAgentThreadMessagesResponse =
10593
10784
 
10594
10785
  export type PostAgentThreadMessageData = {
10595
10786
  body: {
10596
- text: string
10787
+ text?: string
10788
+ continue?: true
10597
10789
  model?: {
10598
10790
  provider: string
10599
10791
  modelId: string
@@ -10610,6 +10802,8 @@ export type PostAgentThreadMessageData = {
10610
10802
  | {
10611
10803
  budgetTokens: number
10612
10804
  }
10805
+ timeZone?: string
10806
+ locale?: string
10613
10807
  attachments?: Array<{
10614
10808
  blobId: string
10615
10809
  digest: string
@@ -10626,6 +10820,10 @@ export type PostAgentThreadMessageData = {
10626
10820
  objectTypeId: string
10627
10821
  primaryId: string
10628
10822
  }
10823
+ /**
10824
+ * Shown in the chat instead of the object's title. Never sent to the model.
10825
+ */
10826
+ label?: string
10629
10827
  }
10630
10828
  | {
10631
10829
  kind: "app-state"
@@ -10662,6 +10860,7 @@ export type PostAgentThreadMessageErrors = {
10662
10860
  */
10663
10861
  400: {
10664
10862
  error: string
10863
+ code?: string
10665
10864
  }
10666
10865
  /**
10667
10866
  * Response for status 403
@@ -10752,6 +10951,7 @@ export type PostAgentThreadMessageResponses = {
10752
10951
  | "content-filter"
10753
10952
  | "tool-calls"
10754
10953
  | "timeout"
10954
+ | "interrupted"
10755
10955
  | "error"
10756
10956
  | "other"
10757
10957
  | "unknown"
@@ -10787,8 +10987,9 @@ export type PostAgentThreadMessageResponses = {
10787
10987
  | "output_collection_failed"
10788
10988
  | "output_file_changed"
10789
10989
  | "output_storage_failed"
10990
+ | "step_limit_reached"
10790
10991
  severity: "warning" | "error"
10791
- scope: "output"
10992
+ scope: "output" | "run"
10792
10993
  path?: string
10793
10994
  message: string
10794
10995
  }>
@@ -11019,6 +11220,7 @@ export type CancelAgentRunResponses = {
11019
11220
  | "content-filter"
11020
11221
  | "tool-calls"
11021
11222
  | "timeout"
11223
+ | "interrupted"
11022
11224
  | "error"
11023
11225
  | "other"
11024
11226
  | "unknown"
@@ -11054,8 +11256,9 @@ export type CancelAgentRunResponses = {
11054
11256
  | "output_collection_failed"
11055
11257
  | "output_file_changed"
11056
11258
  | "output_storage_failed"
11259
+ | "step_limit_reached"
11057
11260
  severity: "warning" | "error"
11058
- scope: "output"
11261
+ scope: "output" | "run"
11059
11262
  path?: string
11060
11263
  message: string
11061
11264
  }>
@@ -11195,6 +11398,7 @@ export type RetryAgentRunResponses = {
11195
11398
  | "content-filter"
11196
11399
  | "tool-calls"
11197
11400
  | "timeout"
11401
+ | "interrupted"
11198
11402
  | "error"
11199
11403
  | "other"
11200
11404
  | "unknown"
@@ -11230,8 +11434,9 @@ export type RetryAgentRunResponses = {
11230
11434
  | "output_collection_failed"
11231
11435
  | "output_file_changed"
11232
11436
  | "output_storage_failed"
11437
+ | "step_limit_reached"
11233
11438
  severity: "warning" | "error"
11234
- scope: "output"
11439
+ scope: "output" | "run"
11235
11440
  path?: string
11236
11441
  message: string
11237
11442
  }>
@@ -11347,6 +11552,7 @@ export type ListAgentThreadRunsResponses = {
11347
11552
  | "content-filter"
11348
11553
  | "tool-calls"
11349
11554
  | "timeout"
11555
+ | "interrupted"
11350
11556
  | "error"
11351
11557
  | "other"
11352
11558
  | "unknown"
@@ -11382,8 +11588,9 @@ export type ListAgentThreadRunsResponses = {
11382
11588
  | "output_collection_failed"
11383
11589
  | "output_file_changed"
11384
11590
  | "output_storage_failed"
11591
+ | "step_limit_reached"
11385
11592
  severity: "warning" | "error"
11386
- scope: "output"
11593
+ scope: "output" | "run"
11387
11594
  path?: string
11388
11595
  message: string
11389
11596
  }>
@@ -11496,6 +11703,7 @@ export type GetAgentRunResponses = {
11496
11703
  | "content-filter"
11497
11704
  | "tool-calls"
11498
11705
  | "timeout"
11706
+ | "interrupted"
11499
11707
  | "error"
11500
11708
  | "other"
11501
11709
  | "unknown"
@@ -11531,8 +11739,9 @@ export type GetAgentRunResponses = {
11531
11739
  | "output_collection_failed"
11532
11740
  | "output_file_changed"
11533
11741
  | "output_storage_failed"
11742
+ | "step_limit_reached"
11534
11743
  severity: "warning" | "error"
11535
- scope: "output"
11744
+ scope: "output" | "run"
11536
11745
  path?: string
11537
11746
  message: string
11538
11747
  }>
@@ -11607,6 +11816,15 @@ export type ListModelsResponses = {
11607
11816
  reasoningLevels: Array<
11608
11817
  "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
11609
11818
  >
11819
+ defaultReasoning?:
11820
+ | "provider-default"
11821
+ | "none"
11822
+ | "minimal"
11823
+ | "low"
11824
+ | "medium"
11825
+ | "high"
11826
+ | "xhigh"
11827
+ | "max"
11610
11828
  }>
11611
11829
  }
11612
11830
  }
@@ -11926,7 +12144,6 @@ export type ListEventsData = {
11926
12144
  | "objects"
11927
12145
  | "telemetry"
11928
12146
  | "links"
11929
- | "actions"
11930
12147
  | "schedules"
11931
12148
  | "syncs"
11932
12149
  | "pipelines"
@@ -11941,9 +12158,6 @@ export type ListEventsData = {
11941
12158
  | "link.created"
11942
12159
  | "link.updated"
11943
12160
  | "link.deleted"
11944
- | "action.requested"
11945
- | "action.completed"
11946
- | "action.failed"
11947
12161
  | "schedule.triggered"
11948
12162
  | "sync.run.started"
11949
12163
  | "sync.run.finished"
@@ -12155,6 +12369,11 @@ export type ListEventsResponses = {
12155
12369
  after: null
12156
12370
  }
12157
12371
  }
12372
+ redactions?: {
12373
+ [key: string]: {
12374
+ reason: "missing_clearance"
12375
+ }
12376
+ }
12158
12377
  }
12159
12378
  }
12160
12379
  | {
@@ -12317,6 +12536,11 @@ export type ListEventsResponses = {
12317
12536
  after: null
12318
12537
  }
12319
12538
  }
12539
+ redactions?: {
12540
+ [key: string]: {
12541
+ reason: "missing_clearance"
12542
+ }
12543
+ }
12320
12544
  }
12321
12545
  }
12322
12546
  | {
@@ -12468,6 +12692,11 @@ export type ListEventsResponses = {
12468
12692
  after: null
12469
12693
  }
12470
12694
  }
12695
+ redactions?: {
12696
+ [key: string]: {
12697
+ reason: "missing_clearance"
12698
+ }
12699
+ }
12471
12700
  }
12472
12701
  }
12473
12702
  | {
@@ -13114,9 +13343,6 @@ export type ListEventsResponses = {
13114
13343
  | null
13115
13344
  }
13116
13345
  type:
13117
- | "action.requested"
13118
- | "action.completed"
13119
- | "action.failed"
13120
13346
  | "schedule.triggered"
13121
13347
  | "sync.run.started"
13122
13348
  | "sync.run.finished"
@@ -13142,7 +13368,6 @@ export type ListEventsResponses = {
13142
13368
  | "objects"
13143
13369
  | "telemetry"
13144
13370
  | "links"
13145
- | "actions"
13146
13371
  | "schedules"
13147
13372
  | "syncs"
13148
13373
  | "pipelines"
package/src/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  // Generated SDK surface (modern)
2
2
 
3
- export * from "./actions"
3
+ export type { ActionRunDetail } from "./actions"
4
+ export { ActionRunFailedError } from "./actions"
4
5
  export * from "./agent-streams"
5
6
  export * from "./api"
6
7
  export type {