@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.
- package/README.md +8 -23
- package/dist/actions.d.ts +9 -50
- package/dist/actions.d.ts.map +1 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +9 -4
- package/dist/browser.js.map +3 -3
- package/dist/{chunk-bvasdctr.js → chunk-12s8gbwj.js} +2 -2
- package/dist/{chunk-aqpr0h1n.js → chunk-3aa3m9z6.js} +2 -2
- package/dist/{chunk-mjvdcaw4.js → chunk-95bnb04n.js} +1 -1
- package/dist/{chunk-p1j3d7t0.js → chunk-awbb496e.js} +1 -1
- package/dist/{chunk-bcyvstee.js → chunk-j512cs3e.js} +15 -224
- package/dist/chunk-j512cs3e.js.map +17 -0
- package/dist/{chunk-hdgztpzs.js → chunk-tkjkrcdt.js} +1 -3
- package/dist/{chunk-hdgztpzs.js.map → chunk-tkjkrcdt.js.map} +3 -3
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/events-builder.d.ts +2 -27
- package/dist/events-builder.d.ts.map +1 -1
- package/dist/events-transport.d.ts +1 -3
- package/dist/events-transport.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +428 -194
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +3 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +220 -46
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +18 -29
- package/dist/hooks.js.map +4 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -15
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.js +1 -1
- package/dist/query-hooks.d.ts +5 -5
- package/dist/query-hooks.d.ts.map +1 -1
- package/dist/query.js +3 -3
- package/package.json +2 -2
- package/src/actions.ts +9 -288
- package/src/browser.ts +9 -0
- package/src/events-builder.ts +4 -80
- package/src/events-transport.ts +2 -5
- package/src/file.ts +5 -2
- package/src/generated/@tanstack/react-query.gen.ts +3 -1
- package/src/generated/index.ts +1 -0
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +296 -71
- package/src/index.ts +2 -1
- package/src/query-hooks.ts +29 -44
- package/dist/chunk-bcyvstee.js.map +0 -17
- /package/dist/{chunk-bvasdctr.js.map → chunk-12s8gbwj.js.map} +0 -0
- /package/dist/{chunk-aqpr0h1n.js.map → chunk-3aa3m9z6.js.map} +0 -0
- /package/dist/{chunk-mjvdcaw4.js.map → chunk-95bnb04n.js.map} +0 -0
- /package/dist/{chunk-p1j3d7t0.js.map → chunk-awbb496e.js.map} +0 -0
|
@@ -4,6 +4,11 @@ export type ClientOptions = {
|
|
|
4
4
|
export type ErrorResponse = {
|
|
5
5
|
error: string;
|
|
6
6
|
};
|
|
7
|
+
export type Redactions = {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
reason: "missing_clearance";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
7
12
|
export type ObjectQueryObject = {
|
|
8
13
|
score?: number;
|
|
9
14
|
primaryId: string;
|
|
@@ -11,6 +16,7 @@ export type ObjectQueryObject = {
|
|
|
11
16
|
properties: {
|
|
12
17
|
[key: string]: unknown;
|
|
13
18
|
};
|
|
19
|
+
redactions?: Redactions;
|
|
14
20
|
createdAt: string;
|
|
15
21
|
updatedAt: string;
|
|
16
22
|
links?: {
|
|
@@ -339,6 +345,7 @@ export type GetAuthSessionResponses = {
|
|
|
339
345
|
*/
|
|
340
346
|
200: {
|
|
341
347
|
authenticated: false;
|
|
348
|
+
authEnabled: boolean;
|
|
342
349
|
} | {
|
|
343
350
|
authenticated: true;
|
|
344
351
|
csrfToken?: string;
|
|
@@ -2710,6 +2717,8 @@ export type GetProjectInfoResponses = {
|
|
|
2710
2717
|
*/
|
|
2711
2718
|
200: {
|
|
2712
2719
|
id: string;
|
|
2720
|
+
locale: string;
|
|
2721
|
+
timeZone: string;
|
|
2713
2722
|
};
|
|
2714
2723
|
};
|
|
2715
2724
|
export type GetProjectInfoResponse = GetProjectInfoResponses[keyof GetProjectInfoResponses];
|
|
@@ -4175,7 +4184,7 @@ export type ListDatasetRowsData = {
|
|
|
4175
4184
|
};
|
|
4176
4185
|
query?: {
|
|
4177
4186
|
versionId?: string;
|
|
4178
|
-
columns?: string
|
|
4187
|
+
columns?: Array<string>;
|
|
4179
4188
|
limit?: string;
|
|
4180
4189
|
offset?: string;
|
|
4181
4190
|
};
|
|
@@ -4233,6 +4242,11 @@ export type ListDatasetRowsResponses = {
|
|
|
4233
4242
|
sizeBytes?: number;
|
|
4234
4243
|
};
|
|
4235
4244
|
columns: Array<string>;
|
|
4245
|
+
redactions?: {
|
|
4246
|
+
[key: string]: {
|
|
4247
|
+
reason: "missing_clearance";
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4236
4250
|
rows: Array<{
|
|
4237
4251
|
[key: string]: unknown;
|
|
4238
4252
|
}>;
|
|
@@ -5761,6 +5775,8 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5761
5775
|
providerMetadata?: string | number | boolean | Array<unknown> | {
|
|
5762
5776
|
[key: string]: unknown;
|
|
5763
5777
|
} | null;
|
|
5778
|
+
} | {
|
|
5779
|
+
type: "continuation";
|
|
5764
5780
|
} | {
|
|
5765
5781
|
type: "reasoning";
|
|
5766
5782
|
text: string;
|
|
@@ -5804,6 +5820,10 @@ export type GetWorkflowAgentNodeExecutionResponses = {
|
|
|
5804
5820
|
objectTypeId: string;
|
|
5805
5821
|
primaryId: string;
|
|
5806
5822
|
};
|
|
5823
|
+
/**
|
|
5824
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
5825
|
+
*/
|
|
5826
|
+
label?: string;
|
|
5807
5827
|
} | {
|
|
5808
5828
|
kind: "app-state";
|
|
5809
5829
|
id: string;
|
|
@@ -7208,6 +7228,11 @@ export type ListObjectsResponses = {
|
|
|
7208
7228
|
properties: {
|
|
7209
7229
|
[key: string]: unknown;
|
|
7210
7230
|
};
|
|
7231
|
+
redactions?: {
|
|
7232
|
+
[key: string]: {
|
|
7233
|
+
reason: "missing_clearance";
|
|
7234
|
+
};
|
|
7235
|
+
};
|
|
7211
7236
|
createdAt: string;
|
|
7212
7237
|
updatedAt: string;
|
|
7213
7238
|
}>;
|
|
@@ -7496,6 +7521,11 @@ export type GetObjectResponses = {
|
|
|
7496
7521
|
properties: {
|
|
7497
7522
|
[key: string]: unknown;
|
|
7498
7523
|
};
|
|
7524
|
+
redactions?: {
|
|
7525
|
+
[key: string]: {
|
|
7526
|
+
reason: "missing_clearance";
|
|
7527
|
+
};
|
|
7528
|
+
};
|
|
7499
7529
|
createdAt: string;
|
|
7500
7530
|
updatedAt: string;
|
|
7501
7531
|
};
|
|
@@ -7546,6 +7576,11 @@ export type UpsertObjectResponses = {
|
|
|
7546
7576
|
properties: {
|
|
7547
7577
|
[key: string]: unknown;
|
|
7548
7578
|
};
|
|
7579
|
+
redactions?: {
|
|
7580
|
+
[key: string]: {
|
|
7581
|
+
reason: "missing_clearance";
|
|
7582
|
+
};
|
|
7583
|
+
};
|
|
7549
7584
|
createdAt: string;
|
|
7550
7585
|
updatedAt: string;
|
|
7551
7586
|
};
|
|
@@ -7670,17 +7705,122 @@ export type RequestActionErrors = {
|
|
|
7670
7705
|
404: {
|
|
7671
7706
|
error: string;
|
|
7672
7707
|
};
|
|
7708
|
+
/**
|
|
7709
|
+
* Response for status 409
|
|
7710
|
+
*/
|
|
7711
|
+
409: {
|
|
7712
|
+
error: string;
|
|
7713
|
+
/**
|
|
7714
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
7715
|
+
*/
|
|
7716
|
+
code: "action.run_in_progress";
|
|
7717
|
+
};
|
|
7718
|
+
/**
|
|
7719
|
+
* Response for status 500
|
|
7720
|
+
*/
|
|
7721
|
+
500: {
|
|
7722
|
+
error: string;
|
|
7723
|
+
/**
|
|
7724
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
7725
|
+
*/
|
|
7726
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
7727
|
+
};
|
|
7728
|
+
/**
|
|
7729
|
+
* Response for status 503
|
|
7730
|
+
*/
|
|
7731
|
+
503: {
|
|
7732
|
+
error: string;
|
|
7733
|
+
/**
|
|
7734
|
+
* Stable machine-readable failure code for programmatic handling.
|
|
7735
|
+
*/
|
|
7736
|
+
code: "runtime.stopping";
|
|
7737
|
+
};
|
|
7673
7738
|
};
|
|
7674
7739
|
export type RequestActionError = RequestActionErrors[keyof RequestActionErrors];
|
|
7675
7740
|
export type RequestActionResponses = {
|
|
7676
7741
|
/**
|
|
7677
|
-
* Response for status
|
|
7742
|
+
* Response for status 200
|
|
7678
7743
|
*/
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7744
|
+
200: {
|
|
7745
|
+
id: string;
|
|
7746
|
+
projectId: string;
|
|
7747
|
+
actionId: string;
|
|
7748
|
+
subject: {
|
|
7749
|
+
kind: "none";
|
|
7750
|
+
} | {
|
|
7751
|
+
kind: "object";
|
|
7752
|
+
objectTypeId: string;
|
|
7753
|
+
primaryId: string;
|
|
7754
|
+
};
|
|
7755
|
+
status: "succeeded" | "failed";
|
|
7756
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
7757
|
+
startedAt: string;
|
|
7758
|
+
finishedAt: string;
|
|
7759
|
+
error?: {
|
|
7760
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
7761
|
+
message: string;
|
|
7762
|
+
retryable: boolean;
|
|
7763
|
+
at: string;
|
|
7764
|
+
details: {
|
|
7765
|
+
actionId: string;
|
|
7766
|
+
runId: string;
|
|
7767
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
7768
|
+
};
|
|
7769
|
+
httpStatus?: number;
|
|
7770
|
+
redacted?: true;
|
|
7771
|
+
truncated?: true;
|
|
7772
|
+
};
|
|
7773
|
+
params: {
|
|
7774
|
+
[key: string]: unknown;
|
|
7775
|
+
};
|
|
7776
|
+
writeback?: {
|
|
7777
|
+
status: "succeeded";
|
|
7778
|
+
completedAt: string;
|
|
7779
|
+
/**
|
|
7780
|
+
* Any JSON-compatible value.
|
|
7781
|
+
*/
|
|
7782
|
+
result: string | number | boolean | Array<unknown> | {
|
|
7783
|
+
[key: string]: unknown;
|
|
7784
|
+
} | null;
|
|
7785
|
+
} | {
|
|
7786
|
+
status: "failed";
|
|
7787
|
+
completedAt: string;
|
|
7788
|
+
error: {
|
|
7789
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
7790
|
+
message: string;
|
|
7791
|
+
retryable: boolean;
|
|
7792
|
+
at: string;
|
|
7793
|
+
details: {
|
|
7794
|
+
actionId: string;
|
|
7795
|
+
runId: string;
|
|
7796
|
+
phase: "writeback";
|
|
7797
|
+
};
|
|
7798
|
+
httpStatus?: number;
|
|
7799
|
+
redacted?: true;
|
|
7800
|
+
truncated?: true;
|
|
7801
|
+
};
|
|
7802
|
+
};
|
|
7803
|
+
effects?: {
|
|
7804
|
+
status: "succeeded";
|
|
7805
|
+
completedAt: string;
|
|
7806
|
+
} | {
|
|
7807
|
+
status: "failed";
|
|
7808
|
+
completedAt: string;
|
|
7809
|
+
error: {
|
|
7810
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
7811
|
+
message: string;
|
|
7812
|
+
retryable: boolean;
|
|
7813
|
+
at: string;
|
|
7814
|
+
details: {
|
|
7815
|
+
actionId: string;
|
|
7816
|
+
runId: string;
|
|
7817
|
+
phase: "effects";
|
|
7818
|
+
};
|
|
7819
|
+
httpStatus?: number;
|
|
7820
|
+
redacted?: true;
|
|
7821
|
+
truncated?: true;
|
|
7822
|
+
};
|
|
7823
|
+
};
|
|
7684
7824
|
};
|
|
7685
7825
|
};
|
|
7686
7826
|
export type RequestActionResponse = RequestActionResponses[keyof RequestActionResponses];
|
|
@@ -7810,6 +7950,12 @@ export type UploadFileContentErrors = {
|
|
|
7810
7950
|
410: {
|
|
7811
7951
|
error: string;
|
|
7812
7952
|
};
|
|
7953
|
+
/**
|
|
7954
|
+
* Response for status 413
|
|
7955
|
+
*/
|
|
7956
|
+
413: {
|
|
7957
|
+
error: string;
|
|
7958
|
+
};
|
|
7813
7959
|
/**
|
|
7814
7960
|
* Response for status 501
|
|
7815
7961
|
*/
|
|
@@ -8001,7 +8147,7 @@ export type ListActionRunsData = {
|
|
|
8001
8147
|
path?: never;
|
|
8002
8148
|
query?: {
|
|
8003
8149
|
actionId?: string;
|
|
8004
|
-
status?: "
|
|
8150
|
+
status?: "succeeded" | "failed";
|
|
8005
8151
|
objectTypeId?: string;
|
|
8006
8152
|
primaryId?: string;
|
|
8007
8153
|
startedAfter?: string;
|
|
@@ -8043,20 +8189,19 @@ export type ListActionRunsResponses = {
|
|
|
8043
8189
|
objectTypeId: string;
|
|
8044
8190
|
primaryId: string;
|
|
8045
8191
|
};
|
|
8046
|
-
status: "
|
|
8047
|
-
phase
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
finishedAt?: string;
|
|
8192
|
+
status: "succeeded" | "failed";
|
|
8193
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
8194
|
+
startedAt: string;
|
|
8195
|
+
finishedAt: string;
|
|
8051
8196
|
error?: {
|
|
8052
|
-
code: "internal.unexpected" | "runtime.cancelled" | "
|
|
8197
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
8053
8198
|
message: string;
|
|
8054
8199
|
retryable: boolean;
|
|
8055
8200
|
at: string;
|
|
8056
8201
|
details: {
|
|
8057
8202
|
actionId: string;
|
|
8058
8203
|
runId: string;
|
|
8059
|
-
phase: "
|
|
8204
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
8060
8205
|
};
|
|
8061
8206
|
httpStatus?: number;
|
|
8062
8207
|
redacted?: true;
|
|
@@ -8112,20 +8257,19 @@ export type GetActionRunResponses = {
|
|
|
8112
8257
|
objectTypeId: string;
|
|
8113
8258
|
primaryId: string;
|
|
8114
8259
|
};
|
|
8115
|
-
status: "
|
|
8116
|
-
phase
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
finishedAt?: string;
|
|
8260
|
+
status: "succeeded" | "failed";
|
|
8261
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
8262
|
+
startedAt: string;
|
|
8263
|
+
finishedAt: string;
|
|
8120
8264
|
error?: {
|
|
8121
|
-
code: "internal.unexpected" | "runtime.cancelled" | "
|
|
8265
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
8122
8266
|
message: string;
|
|
8123
8267
|
retryable: boolean;
|
|
8124
8268
|
at: string;
|
|
8125
8269
|
details: {
|
|
8126
8270
|
actionId: string;
|
|
8127
8271
|
runId: string;
|
|
8128
|
-
phase: "
|
|
8272
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects";
|
|
8129
8273
|
};
|
|
8130
8274
|
httpStatus?: number;
|
|
8131
8275
|
redacted?: true;
|
|
@@ -8147,7 +8291,7 @@ export type GetActionRunResponses = {
|
|
|
8147
8291
|
status: "failed";
|
|
8148
8292
|
completedAt: string;
|
|
8149
8293
|
error: {
|
|
8150
|
-
code: "internal.unexpected" | "runtime.cancelled" | "
|
|
8294
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
8151
8295
|
message: string;
|
|
8152
8296
|
retryable: boolean;
|
|
8153
8297
|
at: string;
|
|
@@ -8168,7 +8312,7 @@ export type GetActionRunResponses = {
|
|
|
8168
8312
|
status: "failed";
|
|
8169
8313
|
completedAt: string;
|
|
8170
8314
|
error: {
|
|
8171
|
-
code: "internal.unexpected" | "runtime.cancelled" | "
|
|
8315
|
+
code: "internal.unexpected" | "runtime.cancelled" | "action.phase_failed" | "action.read_conflict" | "action.timeout";
|
|
8172
8316
|
message: string;
|
|
8173
8317
|
retryable: boolean;
|
|
8174
8318
|
at: string;
|
|
@@ -8626,6 +8770,8 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8626
8770
|
providerMetadata?: string | number | boolean | Array<unknown> | {
|
|
8627
8771
|
[key: string]: unknown;
|
|
8628
8772
|
} | null;
|
|
8773
|
+
} | {
|
|
8774
|
+
type: "continuation";
|
|
8629
8775
|
} | {
|
|
8630
8776
|
type: "reasoning";
|
|
8631
8777
|
text: string;
|
|
@@ -8669,6 +8815,10 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8669
8815
|
objectTypeId: string;
|
|
8670
8816
|
primaryId: string;
|
|
8671
8817
|
};
|
|
8818
|
+
/**
|
|
8819
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
8820
|
+
*/
|
|
8821
|
+
label?: string;
|
|
8672
8822
|
} | {
|
|
8673
8823
|
kind: "app-state";
|
|
8674
8824
|
id: string;
|
|
@@ -8730,9 +8880,9 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8730
8880
|
errorText: string;
|
|
8731
8881
|
}>;
|
|
8732
8882
|
annotations: Array<{
|
|
8733
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
8883
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
8734
8884
|
severity: "warning" | "error";
|
|
8735
|
-
scope: "output";
|
|
8885
|
+
scope: "output" | "run";
|
|
8736
8886
|
path?: string;
|
|
8737
8887
|
message: string;
|
|
8738
8888
|
}>;
|
|
@@ -8758,7 +8908,8 @@ export type ListAgentThreadMessagesResponses = {
|
|
|
8758
8908
|
export type ListAgentThreadMessagesResponse = ListAgentThreadMessagesResponses[keyof ListAgentThreadMessagesResponses];
|
|
8759
8909
|
export type PostAgentThreadMessageData = {
|
|
8760
8910
|
body: {
|
|
8761
|
-
text
|
|
8911
|
+
text?: string;
|
|
8912
|
+
continue?: true;
|
|
8762
8913
|
model?: {
|
|
8763
8914
|
provider: string;
|
|
8764
8915
|
modelId: string;
|
|
@@ -8766,6 +8917,8 @@ export type PostAgentThreadMessageData = {
|
|
|
8766
8917
|
reasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
8767
8918
|
budgetTokens: number;
|
|
8768
8919
|
};
|
|
8920
|
+
timeZone?: string;
|
|
8921
|
+
locale?: string;
|
|
8769
8922
|
attachments?: Array<{
|
|
8770
8923
|
blobId: string;
|
|
8771
8924
|
digest: string;
|
|
@@ -8781,6 +8934,10 @@ export type PostAgentThreadMessageData = {
|
|
|
8781
8934
|
objectTypeId: string;
|
|
8782
8935
|
primaryId: string;
|
|
8783
8936
|
};
|
|
8937
|
+
/**
|
|
8938
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
8939
|
+
*/
|
|
8940
|
+
label?: string;
|
|
8784
8941
|
} | {
|
|
8785
8942
|
kind: "app-state";
|
|
8786
8943
|
id: string;
|
|
@@ -8809,6 +8966,7 @@ export type PostAgentThreadMessageErrors = {
|
|
|
8809
8966
|
*/
|
|
8810
8967
|
400: {
|
|
8811
8968
|
error: string;
|
|
8969
|
+
code?: string;
|
|
8812
8970
|
};
|
|
8813
8971
|
/**
|
|
8814
8972
|
* Response for status 403
|
|
@@ -8875,7 +9033,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8875
9033
|
budgetTokens: number;
|
|
8876
9034
|
};
|
|
8877
9035
|
modelId?: string;
|
|
8878
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9036
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
8879
9037
|
usage?: {
|
|
8880
9038
|
inputTokens?: number;
|
|
8881
9039
|
outputTokens?: number;
|
|
@@ -8901,9 +9059,9 @@ export type PostAgentThreadMessageResponses = {
|
|
|
8901
9059
|
unvaluedCallCount: number;
|
|
8902
9060
|
};
|
|
8903
9061
|
diagnostics?: Array<{
|
|
8904
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9062
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
8905
9063
|
severity: "warning" | "error";
|
|
8906
|
-
scope: "output";
|
|
9064
|
+
scope: "output" | "run";
|
|
8907
9065
|
path?: string;
|
|
8908
9066
|
message: string;
|
|
8909
9067
|
}>;
|
|
@@ -9090,7 +9248,7 @@ export type CancelAgentRunResponses = {
|
|
|
9090
9248
|
budgetTokens: number;
|
|
9091
9249
|
};
|
|
9092
9250
|
modelId?: string;
|
|
9093
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9251
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9094
9252
|
usage?: {
|
|
9095
9253
|
inputTokens?: number;
|
|
9096
9254
|
outputTokens?: number;
|
|
@@ -9116,9 +9274,9 @@ export type CancelAgentRunResponses = {
|
|
|
9116
9274
|
unvaluedCallCount: number;
|
|
9117
9275
|
};
|
|
9118
9276
|
diagnostics?: Array<{
|
|
9119
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9277
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9120
9278
|
severity: "warning" | "error";
|
|
9121
|
-
scope: "output";
|
|
9279
|
+
scope: "output" | "run";
|
|
9122
9280
|
path?: string;
|
|
9123
9281
|
message: string;
|
|
9124
9282
|
}>;
|
|
@@ -9221,7 +9379,7 @@ export type RetryAgentRunResponses = {
|
|
|
9221
9379
|
budgetTokens: number;
|
|
9222
9380
|
};
|
|
9223
9381
|
modelId?: string;
|
|
9224
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9382
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9225
9383
|
usage?: {
|
|
9226
9384
|
inputTokens?: number;
|
|
9227
9385
|
outputTokens?: number;
|
|
@@ -9247,9 +9405,9 @@ export type RetryAgentRunResponses = {
|
|
|
9247
9405
|
unvaluedCallCount: number;
|
|
9248
9406
|
};
|
|
9249
9407
|
diagnostics?: Array<{
|
|
9250
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9408
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9251
9409
|
severity: "warning" | "error";
|
|
9252
|
-
scope: "output";
|
|
9410
|
+
scope: "output" | "run";
|
|
9253
9411
|
path?: string;
|
|
9254
9412
|
message: string;
|
|
9255
9413
|
}>;
|
|
@@ -9334,7 +9492,7 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9334
9492
|
budgetTokens: number;
|
|
9335
9493
|
};
|
|
9336
9494
|
modelId?: string;
|
|
9337
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9495
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9338
9496
|
usage?: {
|
|
9339
9497
|
inputTokens?: number;
|
|
9340
9498
|
outputTokens?: number;
|
|
@@ -9360,9 +9518,9 @@ export type ListAgentThreadRunsResponses = {
|
|
|
9360
9518
|
unvaluedCallCount: number;
|
|
9361
9519
|
};
|
|
9362
9520
|
diagnostics?: Array<{
|
|
9363
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9521
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9364
9522
|
severity: "warning" | "error";
|
|
9365
|
-
scope: "output";
|
|
9523
|
+
scope: "output" | "run";
|
|
9366
9524
|
path?: string;
|
|
9367
9525
|
message: string;
|
|
9368
9526
|
}>;
|
|
@@ -9443,7 +9601,7 @@ export type GetAgentRunResponses = {
|
|
|
9443
9601
|
budgetTokens: number;
|
|
9444
9602
|
};
|
|
9445
9603
|
modelId?: string;
|
|
9446
|
-
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "error" | "other" | "unknown";
|
|
9604
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "error" | "other" | "unknown";
|
|
9447
9605
|
usage?: {
|
|
9448
9606
|
inputTokens?: number;
|
|
9449
9607
|
outputTokens?: number;
|
|
@@ -9469,9 +9627,9 @@ export type GetAgentRunResponses = {
|
|
|
9469
9627
|
unvaluedCallCount: number;
|
|
9470
9628
|
};
|
|
9471
9629
|
diagnostics?: Array<{
|
|
9472
|
-
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
|
|
9630
|
+
code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
|
|
9473
9631
|
severity: "warning" | "error";
|
|
9474
|
-
scope: "output";
|
|
9632
|
+
scope: "output" | "run";
|
|
9475
9633
|
path?: string;
|
|
9476
9634
|
message: string;
|
|
9477
9635
|
}>;
|
|
@@ -9530,6 +9688,7 @@ export type ListModelsResponses = {
|
|
|
9530
9688
|
contextWindowTokens?: number;
|
|
9531
9689
|
};
|
|
9532
9690
|
reasoningLevels: Array<"provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max">;
|
|
9691
|
+
defaultReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
9533
9692
|
}>;
|
|
9534
9693
|
};
|
|
9535
9694
|
};
|
|
@@ -9809,8 +9968,8 @@ export type ListEventsData = {
|
|
|
9809
9968
|
body?: never;
|
|
9810
9969
|
path?: never;
|
|
9811
9970
|
query?: {
|
|
9812
|
-
topic?: "objects" | "telemetry" | "links" | "
|
|
9813
|
-
type?: "object.created" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "
|
|
9971
|
+
topic?: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules";
|
|
9972
|
+
type?: "object.created" | "object.updated" | "object.deleted" | "telemetry.appended" | "link.created" | "link.updated" | "link.deleted" | "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved";
|
|
9814
9973
|
afterCursor?: string;
|
|
9815
9974
|
limit?: string;
|
|
9816
9975
|
};
|
|
@@ -9945,6 +10104,11 @@ export type ListEventsResponses = {
|
|
|
9945
10104
|
after: null;
|
|
9946
10105
|
};
|
|
9947
10106
|
};
|
|
10107
|
+
redactions?: {
|
|
10108
|
+
[key: string]: {
|
|
10109
|
+
reason: "missing_clearance";
|
|
10110
|
+
};
|
|
10111
|
+
};
|
|
9948
10112
|
};
|
|
9949
10113
|
} | {
|
|
9950
10114
|
id: string;
|
|
@@ -10054,6 +10218,11 @@ export type ListEventsResponses = {
|
|
|
10054
10218
|
after: null;
|
|
10055
10219
|
};
|
|
10056
10220
|
};
|
|
10221
|
+
redactions?: {
|
|
10222
|
+
[key: string]: {
|
|
10223
|
+
reason: "missing_clearance";
|
|
10224
|
+
};
|
|
10225
|
+
};
|
|
10057
10226
|
};
|
|
10058
10227
|
} | {
|
|
10059
10228
|
id: string;
|
|
@@ -10158,6 +10327,11 @@ export type ListEventsResponses = {
|
|
|
10158
10327
|
after: null;
|
|
10159
10328
|
};
|
|
10160
10329
|
};
|
|
10330
|
+
redactions?: {
|
|
10331
|
+
[key: string]: {
|
|
10332
|
+
reason: "missing_clearance";
|
|
10333
|
+
};
|
|
10334
|
+
};
|
|
10161
10335
|
};
|
|
10162
10336
|
} | {
|
|
10163
10337
|
id: string;
|
|
@@ -10611,8 +10785,8 @@ export type ListEventsResponses = {
|
|
|
10611
10785
|
[key: string]: unknown;
|
|
10612
10786
|
} | null;
|
|
10613
10787
|
};
|
|
10614
|
-
type: "
|
|
10615
|
-
topic: "objects" | "telemetry" | "links" | "
|
|
10788
|
+
type: "schedule.triggered" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "rule.triggered" | "rule.resolved";
|
|
10789
|
+
topic: "objects" | "telemetry" | "links" | "schedules" | "syncs" | "pipelines" | "workflows" | "datasets" | "rules";
|
|
10616
10790
|
payload: {
|
|
10617
10791
|
[key: string]: unknown;
|
|
10618
10792
|
};
|