@runtypelabs/sdk 9.6.0 → 9.7.0
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/dist/index.cjs +26 -4
- package/dist/index.d.cts +246 -4
- package/dist/index.d.ts +246 -4
- package/dist/index.mjs +26 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2891,6 +2891,17 @@ async function pullFlow(client, name) {
|
|
|
2891
2891
|
}
|
|
2892
2892
|
|
|
2893
2893
|
// src/flows-namespace.ts
|
|
2894
|
+
function isPersistedFlowHashMiss(err) {
|
|
2895
|
+
if (err == null || typeof err !== "object") return false;
|
|
2896
|
+
const message = err instanceof Error ? err.message : "";
|
|
2897
|
+
const statusCode = err.statusCode;
|
|
2898
|
+
const is422 = statusCode === 422 || statusCode === void 0 && /\b422\b/.test(message);
|
|
2899
|
+
if (!is422) return false;
|
|
2900
|
+
const data = err.data;
|
|
2901
|
+
const code = data && typeof data === "object" ? data.code : void 0;
|
|
2902
|
+
if (code !== void 0) return code === "FLOW_DEFINITION_REQUIRED";
|
|
2903
|
+
return message.includes("FLOW_DEFINITION_REQUIRED");
|
|
2904
|
+
}
|
|
2894
2905
|
var FlowsNamespace = class {
|
|
2895
2906
|
constructor(getClient) {
|
|
2896
2907
|
this.getClient = getClient;
|
|
@@ -3868,8 +3879,7 @@ var RuntypeFlowBuilder = class {
|
|
|
3868
3879
|
try {
|
|
3869
3880
|
return await client.dispatch(hashOnlyConfig);
|
|
3870
3881
|
} catch (err) {
|
|
3871
|
-
|
|
3872
|
-
if (!is422) {
|
|
3882
|
+
if (!isPersistedFlowHashMiss(err)) {
|
|
3873
3883
|
throw err;
|
|
3874
3884
|
}
|
|
3875
3885
|
}
|
|
@@ -4924,7 +4934,8 @@ var AGENT_CONFIG_KEYS = [
|
|
|
4924
4934
|
"memory",
|
|
4925
4935
|
"sandbox",
|
|
4926
4936
|
"tenancyStrategy",
|
|
4927
|
-
"durability"
|
|
4937
|
+
"durability",
|
|
4938
|
+
"state"
|
|
4928
4939
|
];
|
|
4929
4940
|
var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
|
|
4930
4941
|
function isPlainObject2(value) {
|
|
@@ -6484,7 +6495,7 @@ var Runtype = class {
|
|
|
6484
6495
|
|
|
6485
6496
|
// src/version.ts
|
|
6486
6497
|
var FALLBACK_VERSION = "0.0.0";
|
|
6487
|
-
var SDK_VERSION = "9.
|
|
6498
|
+
var SDK_VERSION = "9.7.0".length > 0 ? "9.7.0" : FALLBACK_VERSION;
|
|
6488
6499
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6489
6500
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6490
6501
|
|
|
@@ -13240,6 +13251,17 @@ var IntegrationsEndpoint = class {
|
|
|
13240
13251
|
async generateSlackManifest(data) {
|
|
13241
13252
|
return this.client.post("/integrations/slack/manifest", data);
|
|
13242
13253
|
}
|
|
13254
|
+
/**
|
|
13255
|
+
* Report whether Slack has verified a surface's events URL. Slack sends that
|
|
13256
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
13257
|
+
* than the one read before the manifest was handed out is evidence the app
|
|
13258
|
+
* now exists. Markers expire after an hour.
|
|
13259
|
+
*/
|
|
13260
|
+
async getSlackAppStatus(surfaceId) {
|
|
13261
|
+
return this.client.get(
|
|
13262
|
+
`/integrations/slack/app-status?surfaceId=${encodeURIComponent(surfaceId)}`
|
|
13263
|
+
);
|
|
13264
|
+
}
|
|
13243
13265
|
};
|
|
13244
13266
|
var BillingEndpoint = class {
|
|
13245
13267
|
constructor(client) {
|
package/dist/index.d.cts
CHANGED
|
@@ -785,6 +785,24 @@ interface paths {
|
|
|
785
785
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
786
786
|
};
|
|
787
787
|
seed?: number;
|
|
788
|
+
state?: {
|
|
789
|
+
initial?: {
|
|
790
|
+
[key: string]: unknown;
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* @default merge
|
|
794
|
+
* @enum {string}
|
|
795
|
+
*/
|
|
796
|
+
mergeStrategy?: "replace" | "merge";
|
|
797
|
+
predictState?: {
|
|
798
|
+
stateKey: string;
|
|
799
|
+
tool: string;
|
|
800
|
+
toolArgument: string;
|
|
801
|
+
}[];
|
|
802
|
+
schema?: {
|
|
803
|
+
[key: string]: unknown;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
788
806
|
systemPrompt?: string;
|
|
789
807
|
temperature?: number;
|
|
790
808
|
temporal?: {
|
|
@@ -1219,6 +1237,24 @@ interface paths {
|
|
|
1219
1237
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
1220
1238
|
};
|
|
1221
1239
|
seed?: number;
|
|
1240
|
+
state?: {
|
|
1241
|
+
initial?: {
|
|
1242
|
+
[key: string]: unknown;
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* @default merge
|
|
1246
|
+
* @enum {string}
|
|
1247
|
+
*/
|
|
1248
|
+
mergeStrategy?: "replace" | "merge";
|
|
1249
|
+
predictState?: {
|
|
1250
|
+
stateKey: string;
|
|
1251
|
+
tool: string;
|
|
1252
|
+
toolArgument: string;
|
|
1253
|
+
}[];
|
|
1254
|
+
schema?: {
|
|
1255
|
+
[key: string]: unknown;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1222
1258
|
systemPrompt?: string;
|
|
1223
1259
|
temperature?: number;
|
|
1224
1260
|
temporal?: {
|
|
@@ -1913,6 +1949,24 @@ interface paths {
|
|
|
1913
1949
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
1914
1950
|
};
|
|
1915
1951
|
seed?: number;
|
|
1952
|
+
state?: {
|
|
1953
|
+
initial?: {
|
|
1954
|
+
[key: string]: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
/**
|
|
1957
|
+
* @default merge
|
|
1958
|
+
* @enum {string}
|
|
1959
|
+
*/
|
|
1960
|
+
mergeStrategy?: "replace" | "merge";
|
|
1961
|
+
predictState?: {
|
|
1962
|
+
stateKey: string;
|
|
1963
|
+
tool: string;
|
|
1964
|
+
toolArgument: string;
|
|
1965
|
+
}[];
|
|
1966
|
+
schema?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1916
1970
|
systemPrompt?: string;
|
|
1917
1971
|
temperature?: number;
|
|
1918
1972
|
temporal?: {
|
|
@@ -2378,6 +2432,15 @@ interface paths {
|
|
|
2378
2432
|
"application/json": components["schemas"]["Error"];
|
|
2379
2433
|
};
|
|
2380
2434
|
};
|
|
2435
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
2436
|
+
410: {
|
|
2437
|
+
headers: {
|
|
2438
|
+
[name: string]: unknown;
|
|
2439
|
+
};
|
|
2440
|
+
content: {
|
|
2441
|
+
"application/json": components["schemas"]["Error"];
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2381
2444
|
/** @description Internal server error */
|
|
2382
2445
|
500: {
|
|
2383
2446
|
headers: {
|
|
@@ -3916,6 +3979,15 @@ interface paths {
|
|
|
3916
3979
|
"application/json": components["schemas"]["Error"];
|
|
3917
3980
|
};
|
|
3918
3981
|
};
|
|
3982
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
3983
|
+
410: {
|
|
3984
|
+
headers: {
|
|
3985
|
+
[name: string]: unknown;
|
|
3986
|
+
};
|
|
3987
|
+
content: {
|
|
3988
|
+
"application/json": components["schemas"]["Error"];
|
|
3989
|
+
};
|
|
3990
|
+
};
|
|
3919
3991
|
/** @description Internal server error */
|
|
3920
3992
|
500: {
|
|
3921
3993
|
headers: {
|
|
@@ -8029,6 +8101,15 @@ interface paths {
|
|
|
8029
8101
|
"application/json": components["schemas"]["Error"];
|
|
8030
8102
|
};
|
|
8031
8103
|
};
|
|
8104
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
8105
|
+
410: {
|
|
8106
|
+
headers: {
|
|
8107
|
+
[name: string]: unknown;
|
|
8108
|
+
};
|
|
8109
|
+
content: {
|
|
8110
|
+
"application/json": components["schemas"]["Error"];
|
|
8111
|
+
};
|
|
8112
|
+
};
|
|
8032
8113
|
/** @description Internal server error */
|
|
8033
8114
|
500: {
|
|
8034
8115
|
headers: {
|
|
@@ -11709,7 +11790,16 @@ interface paths {
|
|
|
11709
11790
|
"application/json": components["schemas"]["Error"];
|
|
11710
11791
|
};
|
|
11711
11792
|
};
|
|
11712
|
-
/** @description
|
|
11793
|
+
/** @description Saved flow not found (FLOW_NOT_FOUND) */
|
|
11794
|
+
404: {
|
|
11795
|
+
headers: {
|
|
11796
|
+
[name: string]: unknown;
|
|
11797
|
+
};
|
|
11798
|
+
content: {
|
|
11799
|
+
"application/json": components["schemas"]["Error"];
|
|
11800
|
+
};
|
|
11801
|
+
};
|
|
11802
|
+
/** @description The dispatch cannot run: a persisted-flow hash miss (FLOW_DEFINITION_REQUIRED, retry with the full definition), a shaped-wrong definition write (FLOW_DEFINITION_WRITE_REJECTED), no flow definition (FLOW_DEFINITION_MISSING), an unresolvable record or definition (FLOW_RECORD_UNRESOLVED, FLOW_DEFINITION_UNRESOLVED), or a capability the runtime lane cannot host (RUNTIME_LANE_INELIGIBLE, with `reasons`) */
|
|
11713
11803
|
422: {
|
|
11714
11804
|
headers: {
|
|
11715
11805
|
[name: string]: unknown;
|
|
@@ -11852,6 +11942,15 @@ interface paths {
|
|
|
11852
11942
|
"application/json": components["schemas"]["Error"];
|
|
11853
11943
|
};
|
|
11854
11944
|
};
|
|
11945
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
11946
|
+
410: {
|
|
11947
|
+
headers: {
|
|
11948
|
+
[name: string]: unknown;
|
|
11949
|
+
};
|
|
11950
|
+
content: {
|
|
11951
|
+
"application/json": components["schemas"]["Error"];
|
|
11952
|
+
};
|
|
11953
|
+
};
|
|
11855
11954
|
/** @description Internal server error */
|
|
11856
11955
|
500: {
|
|
11857
11956
|
headers: {
|
|
@@ -12005,6 +12104,15 @@ interface paths {
|
|
|
12005
12104
|
"application/json": components["schemas"]["Error"];
|
|
12006
12105
|
};
|
|
12007
12106
|
};
|
|
12107
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
12108
|
+
410: {
|
|
12109
|
+
headers: {
|
|
12110
|
+
[name: string]: unknown;
|
|
12111
|
+
};
|
|
12112
|
+
content: {
|
|
12113
|
+
"application/json": components["schemas"]["Error"];
|
|
12114
|
+
};
|
|
12115
|
+
};
|
|
12008
12116
|
/** @description Internal server error */
|
|
12009
12117
|
500: {
|
|
12010
12118
|
headers: {
|
|
@@ -12146,6 +12254,15 @@ interface paths {
|
|
|
12146
12254
|
"application/json": components["schemas"]["Error"];
|
|
12147
12255
|
};
|
|
12148
12256
|
};
|
|
12257
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
12258
|
+
410: {
|
|
12259
|
+
headers: {
|
|
12260
|
+
[name: string]: unknown;
|
|
12261
|
+
};
|
|
12262
|
+
content: {
|
|
12263
|
+
"application/json": components["schemas"]["Error"];
|
|
12264
|
+
};
|
|
12265
|
+
};
|
|
12149
12266
|
/** @description Internal server error */
|
|
12150
12267
|
500: {
|
|
12151
12268
|
headers: {
|
|
@@ -19416,6 +19533,86 @@ interface paths {
|
|
|
19416
19533
|
patch?: never;
|
|
19417
19534
|
trace?: never;
|
|
19418
19535
|
};
|
|
19536
|
+
"/v1/integrations/slack/app-status": {
|
|
19537
|
+
parameters: {
|
|
19538
|
+
query?: never;
|
|
19539
|
+
header?: never;
|
|
19540
|
+
path?: never;
|
|
19541
|
+
cookie?: never;
|
|
19542
|
+
};
|
|
19543
|
+
/**
|
|
19544
|
+
* Check Slack app creation status
|
|
19545
|
+
* @description Report whether Slack has sent an events-URL verification challenge to a surface's Slack webhook. Slack issues that challenge when an app is created from a manifest, so a verifiedAt newer than the one observed before the manifest was handed out is evidence the customer's Slack app now exists. Verification markers expire an hour after they are recorded, and the check is advisory: the OAuth install remains the authority on whether an integration is usable.
|
|
19546
|
+
*/
|
|
19547
|
+
get: {
|
|
19548
|
+
parameters: {
|
|
19549
|
+
query: {
|
|
19550
|
+
surfaceId: string;
|
|
19551
|
+
};
|
|
19552
|
+
header?: never;
|
|
19553
|
+
path?: never;
|
|
19554
|
+
cookie?: never;
|
|
19555
|
+
};
|
|
19556
|
+
requestBody?: never;
|
|
19557
|
+
responses: {
|
|
19558
|
+
/** @description Slack app creation status */
|
|
19559
|
+
200: {
|
|
19560
|
+
headers: {
|
|
19561
|
+
[name: string]: unknown;
|
|
19562
|
+
};
|
|
19563
|
+
content: {
|
|
19564
|
+
"application/json": {
|
|
19565
|
+
verified: boolean;
|
|
19566
|
+
verifiedAt?: string;
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
};
|
|
19570
|
+
/** @description Invalid surface ID format */
|
|
19571
|
+
400: {
|
|
19572
|
+
headers: {
|
|
19573
|
+
[name: string]: unknown;
|
|
19574
|
+
};
|
|
19575
|
+
content: {
|
|
19576
|
+
"application/json": components["schemas"]["Error"];
|
|
19577
|
+
};
|
|
19578
|
+
};
|
|
19579
|
+
/** @description Unauthorized */
|
|
19580
|
+
401: {
|
|
19581
|
+
headers: {
|
|
19582
|
+
[name: string]: unknown;
|
|
19583
|
+
};
|
|
19584
|
+
content: {
|
|
19585
|
+
"application/json": components["schemas"]["Error"];
|
|
19586
|
+
};
|
|
19587
|
+
};
|
|
19588
|
+
/** @description Insufficient permissions */
|
|
19589
|
+
403: {
|
|
19590
|
+
headers: {
|
|
19591
|
+
[name: string]: unknown;
|
|
19592
|
+
};
|
|
19593
|
+
content: {
|
|
19594
|
+
"application/json": components["schemas"]["Error"];
|
|
19595
|
+
};
|
|
19596
|
+
};
|
|
19597
|
+
/** @description Surface not found */
|
|
19598
|
+
404: {
|
|
19599
|
+
headers: {
|
|
19600
|
+
[name: string]: unknown;
|
|
19601
|
+
};
|
|
19602
|
+
content: {
|
|
19603
|
+
"application/json": components["schemas"]["Error"];
|
|
19604
|
+
};
|
|
19605
|
+
};
|
|
19606
|
+
};
|
|
19607
|
+
};
|
|
19608
|
+
put?: never;
|
|
19609
|
+
post?: never;
|
|
19610
|
+
delete?: never;
|
|
19611
|
+
options?: never;
|
|
19612
|
+
head?: never;
|
|
19613
|
+
patch?: never;
|
|
19614
|
+
trace?: never;
|
|
19615
|
+
};
|
|
19419
19616
|
"/v1/integrations/slack/install": {
|
|
19420
19617
|
parameters: {
|
|
19421
19618
|
query?: never;
|
|
@@ -19570,6 +19767,7 @@ interface paths {
|
|
|
19570
19767
|
interactivityWebhookUrl: string;
|
|
19571
19768
|
manifestJson: string;
|
|
19572
19769
|
redirectUrl: string;
|
|
19770
|
+
webhookVerifiedAt?: string;
|
|
19573
19771
|
};
|
|
19574
19772
|
};
|
|
19575
19773
|
};
|
|
@@ -33077,7 +33275,7 @@ interface paths {
|
|
|
33077
33275
|
requestBody?: {
|
|
33078
33276
|
content: {
|
|
33079
33277
|
"application/json": {
|
|
33080
|
-
/** @default gemini-3.
|
|
33278
|
+
/** @default gemini-3.8-flash */
|
|
33081
33279
|
model?: string;
|
|
33082
33280
|
name: string;
|
|
33083
33281
|
/**
|
|
@@ -33274,7 +33472,7 @@ interface paths {
|
|
|
33274
33472
|
requestBody?: {
|
|
33275
33473
|
content: {
|
|
33276
33474
|
"application/json": {
|
|
33277
|
-
/** @default gemini-3.
|
|
33475
|
+
/** @default gemini-3.8-flash */
|
|
33278
33476
|
model?: string;
|
|
33279
33477
|
name?: string;
|
|
33280
33478
|
/**
|
|
@@ -45273,6 +45471,24 @@ interface components {
|
|
|
45273
45471
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
45274
45472
|
};
|
|
45275
45473
|
seed?: number;
|
|
45474
|
+
state?: {
|
|
45475
|
+
initial?: {
|
|
45476
|
+
[key: string]: unknown;
|
|
45477
|
+
};
|
|
45478
|
+
/**
|
|
45479
|
+
* @default merge
|
|
45480
|
+
* @enum {string}
|
|
45481
|
+
*/
|
|
45482
|
+
mergeStrategy: "replace" | "merge";
|
|
45483
|
+
predictState?: {
|
|
45484
|
+
stateKey: string;
|
|
45485
|
+
tool: string;
|
|
45486
|
+
toolArgument: string;
|
|
45487
|
+
}[];
|
|
45488
|
+
schema?: {
|
|
45489
|
+
[key: string]: unknown;
|
|
45490
|
+
};
|
|
45491
|
+
};
|
|
45276
45492
|
systemPrompt?: string;
|
|
45277
45493
|
temperature?: number;
|
|
45278
45494
|
temporal?: {
|
|
@@ -49907,6 +50123,13 @@ type SlackManifestRequest = NonNullable<paths['/v1/integrations/slack/manifest']
|
|
|
49907
50123
|
* already connected and gets the manifest without a handoff.
|
|
49908
50124
|
*/
|
|
49909
50125
|
type SlackManifestResponse = paths['/v1/integrations/slack/manifest']['post']['responses'][200]['content']['application/json'];
|
|
50126
|
+
/**
|
|
50127
|
+
* Whether Slack has verified a surface's events URL. Slack sends that
|
|
50128
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
50129
|
+
* than the one read before the manifest was handed out means the app now
|
|
50130
|
+
* exists. Advisory only: OAuth decides whether an integration is usable.
|
|
50131
|
+
*/
|
|
50132
|
+
type SlackAppStatusResponse = paths['/v1/integrations/slack/app-status']['get']['responses'][200]['content']['application/json'];
|
|
49910
50133
|
interface EndUserUsageQuery {
|
|
49911
50134
|
productId: string;
|
|
49912
50135
|
productTenantId?: string;
|
|
@@ -52655,6 +52878,18 @@ interface AgentDefinitionConfig {
|
|
|
52655
52878
|
maxBudgetMs?: number | null;
|
|
52656
52879
|
forced?: 'durable' | 'in_process';
|
|
52657
52880
|
};
|
|
52881
|
+
/** Opt-in agent state channel — a shared JSON document the client and agent both see. */
|
|
52882
|
+
state?: {
|
|
52883
|
+
initial?: Record<string, unknown>;
|
|
52884
|
+
schema?: Record<string, unknown>;
|
|
52885
|
+
mergeStrategy?: 'replace' | 'merge';
|
|
52886
|
+
/** Tool arguments an AG-UI client may project into state while they stream. */
|
|
52887
|
+
predictState?: Array<{
|
|
52888
|
+
stateKey: string;
|
|
52889
|
+
tool: string;
|
|
52890
|
+
toolArgument: string;
|
|
52891
|
+
}>;
|
|
52892
|
+
};
|
|
52658
52893
|
}
|
|
52659
52894
|
/**
|
|
52660
52895
|
* `defineAgent` input — the flat authoring shape: identity + presentation
|
|
@@ -57110,6 +57345,13 @@ declare class IntegrationsEndpoint {
|
|
|
57110
57345
|
* embedded in `createAppUrl`.
|
|
57111
57346
|
*/
|
|
57112
57347
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
57348
|
+
/**
|
|
57349
|
+
* Report whether Slack has verified a surface's events URL. Slack sends that
|
|
57350
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
57351
|
+
* than the one read before the manifest was handed out is evidence the app
|
|
57352
|
+
* now exists. Markers expire after an hour.
|
|
57353
|
+
*/
|
|
57354
|
+
getSlackAppStatus(surfaceId: string): Promise<SlackAppStatusResponse>;
|
|
57113
57355
|
}
|
|
57114
57356
|
/**
|
|
57115
57357
|
* Billing endpoint handlers
|
|
@@ -58768,4 +59010,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
58768
59010
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
58769
59011
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
58770
59012
|
|
|
58771
|
-
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };
|
|
59013
|
+
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };
|
package/dist/index.d.ts
CHANGED
|
@@ -785,6 +785,24 @@ interface paths {
|
|
|
785
785
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
786
786
|
};
|
|
787
787
|
seed?: number;
|
|
788
|
+
state?: {
|
|
789
|
+
initial?: {
|
|
790
|
+
[key: string]: unknown;
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* @default merge
|
|
794
|
+
* @enum {string}
|
|
795
|
+
*/
|
|
796
|
+
mergeStrategy?: "replace" | "merge";
|
|
797
|
+
predictState?: {
|
|
798
|
+
stateKey: string;
|
|
799
|
+
tool: string;
|
|
800
|
+
toolArgument: string;
|
|
801
|
+
}[];
|
|
802
|
+
schema?: {
|
|
803
|
+
[key: string]: unknown;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
788
806
|
systemPrompt?: string;
|
|
789
807
|
temperature?: number;
|
|
790
808
|
temporal?: {
|
|
@@ -1219,6 +1237,24 @@ interface paths {
|
|
|
1219
1237
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
1220
1238
|
};
|
|
1221
1239
|
seed?: number;
|
|
1240
|
+
state?: {
|
|
1241
|
+
initial?: {
|
|
1242
|
+
[key: string]: unknown;
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* @default merge
|
|
1246
|
+
* @enum {string}
|
|
1247
|
+
*/
|
|
1248
|
+
mergeStrategy?: "replace" | "merge";
|
|
1249
|
+
predictState?: {
|
|
1250
|
+
stateKey: string;
|
|
1251
|
+
tool: string;
|
|
1252
|
+
toolArgument: string;
|
|
1253
|
+
}[];
|
|
1254
|
+
schema?: {
|
|
1255
|
+
[key: string]: unknown;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1222
1258
|
systemPrompt?: string;
|
|
1223
1259
|
temperature?: number;
|
|
1224
1260
|
temporal?: {
|
|
@@ -1913,6 +1949,24 @@ interface paths {
|
|
|
1913
1949
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
1914
1950
|
};
|
|
1915
1951
|
seed?: number;
|
|
1952
|
+
state?: {
|
|
1953
|
+
initial?: {
|
|
1954
|
+
[key: string]: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
/**
|
|
1957
|
+
* @default merge
|
|
1958
|
+
* @enum {string}
|
|
1959
|
+
*/
|
|
1960
|
+
mergeStrategy?: "replace" | "merge";
|
|
1961
|
+
predictState?: {
|
|
1962
|
+
stateKey: string;
|
|
1963
|
+
tool: string;
|
|
1964
|
+
toolArgument: string;
|
|
1965
|
+
}[];
|
|
1966
|
+
schema?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1969
|
+
};
|
|
1916
1970
|
systemPrompt?: string;
|
|
1917
1971
|
temperature?: number;
|
|
1918
1972
|
temporal?: {
|
|
@@ -2378,6 +2432,15 @@ interface paths {
|
|
|
2378
2432
|
"application/json": components["schemas"]["Error"];
|
|
2379
2433
|
};
|
|
2380
2434
|
};
|
|
2435
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
2436
|
+
410: {
|
|
2437
|
+
headers: {
|
|
2438
|
+
[name: string]: unknown;
|
|
2439
|
+
};
|
|
2440
|
+
content: {
|
|
2441
|
+
"application/json": components["schemas"]["Error"];
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2381
2444
|
/** @description Internal server error */
|
|
2382
2445
|
500: {
|
|
2383
2446
|
headers: {
|
|
@@ -3916,6 +3979,15 @@ interface paths {
|
|
|
3916
3979
|
"application/json": components["schemas"]["Error"];
|
|
3917
3980
|
};
|
|
3918
3981
|
};
|
|
3982
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
3983
|
+
410: {
|
|
3984
|
+
headers: {
|
|
3985
|
+
[name: string]: unknown;
|
|
3986
|
+
};
|
|
3987
|
+
content: {
|
|
3988
|
+
"application/json": components["schemas"]["Error"];
|
|
3989
|
+
};
|
|
3990
|
+
};
|
|
3919
3991
|
/** @description Internal server error */
|
|
3920
3992
|
500: {
|
|
3921
3993
|
headers: {
|
|
@@ -8029,6 +8101,15 @@ interface paths {
|
|
|
8029
8101
|
"application/json": components["schemas"]["Error"];
|
|
8030
8102
|
};
|
|
8031
8103
|
};
|
|
8104
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
8105
|
+
410: {
|
|
8106
|
+
headers: {
|
|
8107
|
+
[name: string]: unknown;
|
|
8108
|
+
};
|
|
8109
|
+
content: {
|
|
8110
|
+
"application/json": components["schemas"]["Error"];
|
|
8111
|
+
};
|
|
8112
|
+
};
|
|
8032
8113
|
/** @description Internal server error */
|
|
8033
8114
|
500: {
|
|
8034
8115
|
headers: {
|
|
@@ -11709,7 +11790,16 @@ interface paths {
|
|
|
11709
11790
|
"application/json": components["schemas"]["Error"];
|
|
11710
11791
|
};
|
|
11711
11792
|
};
|
|
11712
|
-
/** @description
|
|
11793
|
+
/** @description Saved flow not found (FLOW_NOT_FOUND) */
|
|
11794
|
+
404: {
|
|
11795
|
+
headers: {
|
|
11796
|
+
[name: string]: unknown;
|
|
11797
|
+
};
|
|
11798
|
+
content: {
|
|
11799
|
+
"application/json": components["schemas"]["Error"];
|
|
11800
|
+
};
|
|
11801
|
+
};
|
|
11802
|
+
/** @description The dispatch cannot run: a persisted-flow hash miss (FLOW_DEFINITION_REQUIRED, retry with the full definition), a shaped-wrong definition write (FLOW_DEFINITION_WRITE_REJECTED), no flow definition (FLOW_DEFINITION_MISSING), an unresolvable record or definition (FLOW_RECORD_UNRESOLVED, FLOW_DEFINITION_UNRESOLVED), or a capability the runtime lane cannot host (RUNTIME_LANE_INELIGIBLE, with `reasons`) */
|
|
11713
11803
|
422: {
|
|
11714
11804
|
headers: {
|
|
11715
11805
|
[name: string]: unknown;
|
|
@@ -11852,6 +11942,15 @@ interface paths {
|
|
|
11852
11942
|
"application/json": components["schemas"]["Error"];
|
|
11853
11943
|
};
|
|
11854
11944
|
};
|
|
11945
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
11946
|
+
410: {
|
|
11947
|
+
headers: {
|
|
11948
|
+
[name: string]: unknown;
|
|
11949
|
+
};
|
|
11950
|
+
content: {
|
|
11951
|
+
"application/json": components["schemas"]["Error"];
|
|
11952
|
+
};
|
|
11953
|
+
};
|
|
11855
11954
|
/** @description Internal server error */
|
|
11856
11955
|
500: {
|
|
11857
11956
|
headers: {
|
|
@@ -12005,6 +12104,15 @@ interface paths {
|
|
|
12005
12104
|
"application/json": components["schemas"]["Error"];
|
|
12006
12105
|
};
|
|
12007
12106
|
};
|
|
12107
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
12108
|
+
410: {
|
|
12109
|
+
headers: {
|
|
12110
|
+
[name: string]: unknown;
|
|
12111
|
+
};
|
|
12112
|
+
content: {
|
|
12113
|
+
"application/json": components["schemas"]["Error"];
|
|
12114
|
+
};
|
|
12115
|
+
};
|
|
12008
12116
|
/** @description Internal server error */
|
|
12009
12117
|
500: {
|
|
12010
12118
|
headers: {
|
|
@@ -12146,6 +12254,15 @@ interface paths {
|
|
|
12146
12254
|
"application/json": components["schemas"]["Error"];
|
|
12147
12255
|
};
|
|
12148
12256
|
};
|
|
12257
|
+
/** @description The paused execution was armed by the retired legacy flow engine and cannot be resumed (LEGACY_PAUSE_UNRESUMABLE); re-run the flow */
|
|
12258
|
+
410: {
|
|
12259
|
+
headers: {
|
|
12260
|
+
[name: string]: unknown;
|
|
12261
|
+
};
|
|
12262
|
+
content: {
|
|
12263
|
+
"application/json": components["schemas"]["Error"];
|
|
12264
|
+
};
|
|
12265
|
+
};
|
|
12149
12266
|
/** @description Internal server error */
|
|
12150
12267
|
500: {
|
|
12151
12268
|
headers: {
|
|
@@ -19416,6 +19533,86 @@ interface paths {
|
|
|
19416
19533
|
patch?: never;
|
|
19417
19534
|
trace?: never;
|
|
19418
19535
|
};
|
|
19536
|
+
"/v1/integrations/slack/app-status": {
|
|
19537
|
+
parameters: {
|
|
19538
|
+
query?: never;
|
|
19539
|
+
header?: never;
|
|
19540
|
+
path?: never;
|
|
19541
|
+
cookie?: never;
|
|
19542
|
+
};
|
|
19543
|
+
/**
|
|
19544
|
+
* Check Slack app creation status
|
|
19545
|
+
* @description Report whether Slack has sent an events-URL verification challenge to a surface's Slack webhook. Slack issues that challenge when an app is created from a manifest, so a verifiedAt newer than the one observed before the manifest was handed out is evidence the customer's Slack app now exists. Verification markers expire an hour after they are recorded, and the check is advisory: the OAuth install remains the authority on whether an integration is usable.
|
|
19546
|
+
*/
|
|
19547
|
+
get: {
|
|
19548
|
+
parameters: {
|
|
19549
|
+
query: {
|
|
19550
|
+
surfaceId: string;
|
|
19551
|
+
};
|
|
19552
|
+
header?: never;
|
|
19553
|
+
path?: never;
|
|
19554
|
+
cookie?: never;
|
|
19555
|
+
};
|
|
19556
|
+
requestBody?: never;
|
|
19557
|
+
responses: {
|
|
19558
|
+
/** @description Slack app creation status */
|
|
19559
|
+
200: {
|
|
19560
|
+
headers: {
|
|
19561
|
+
[name: string]: unknown;
|
|
19562
|
+
};
|
|
19563
|
+
content: {
|
|
19564
|
+
"application/json": {
|
|
19565
|
+
verified: boolean;
|
|
19566
|
+
verifiedAt?: string;
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
};
|
|
19570
|
+
/** @description Invalid surface ID format */
|
|
19571
|
+
400: {
|
|
19572
|
+
headers: {
|
|
19573
|
+
[name: string]: unknown;
|
|
19574
|
+
};
|
|
19575
|
+
content: {
|
|
19576
|
+
"application/json": components["schemas"]["Error"];
|
|
19577
|
+
};
|
|
19578
|
+
};
|
|
19579
|
+
/** @description Unauthorized */
|
|
19580
|
+
401: {
|
|
19581
|
+
headers: {
|
|
19582
|
+
[name: string]: unknown;
|
|
19583
|
+
};
|
|
19584
|
+
content: {
|
|
19585
|
+
"application/json": components["schemas"]["Error"];
|
|
19586
|
+
};
|
|
19587
|
+
};
|
|
19588
|
+
/** @description Insufficient permissions */
|
|
19589
|
+
403: {
|
|
19590
|
+
headers: {
|
|
19591
|
+
[name: string]: unknown;
|
|
19592
|
+
};
|
|
19593
|
+
content: {
|
|
19594
|
+
"application/json": components["schemas"]["Error"];
|
|
19595
|
+
};
|
|
19596
|
+
};
|
|
19597
|
+
/** @description Surface not found */
|
|
19598
|
+
404: {
|
|
19599
|
+
headers: {
|
|
19600
|
+
[name: string]: unknown;
|
|
19601
|
+
};
|
|
19602
|
+
content: {
|
|
19603
|
+
"application/json": components["schemas"]["Error"];
|
|
19604
|
+
};
|
|
19605
|
+
};
|
|
19606
|
+
};
|
|
19607
|
+
};
|
|
19608
|
+
put?: never;
|
|
19609
|
+
post?: never;
|
|
19610
|
+
delete?: never;
|
|
19611
|
+
options?: never;
|
|
19612
|
+
head?: never;
|
|
19613
|
+
patch?: never;
|
|
19614
|
+
trace?: never;
|
|
19615
|
+
};
|
|
19419
19616
|
"/v1/integrations/slack/install": {
|
|
19420
19617
|
parameters: {
|
|
19421
19618
|
query?: never;
|
|
@@ -19570,6 +19767,7 @@ interface paths {
|
|
|
19570
19767
|
interactivityWebhookUrl: string;
|
|
19571
19768
|
manifestJson: string;
|
|
19572
19769
|
redirectUrl: string;
|
|
19770
|
+
webhookVerifiedAt?: string;
|
|
19573
19771
|
};
|
|
19574
19772
|
};
|
|
19575
19773
|
};
|
|
@@ -33077,7 +33275,7 @@ interface paths {
|
|
|
33077
33275
|
requestBody?: {
|
|
33078
33276
|
content: {
|
|
33079
33277
|
"application/json": {
|
|
33080
|
-
/** @default gemini-3.
|
|
33278
|
+
/** @default gemini-3.8-flash */
|
|
33081
33279
|
model?: string;
|
|
33082
33280
|
name: string;
|
|
33083
33281
|
/**
|
|
@@ -33274,7 +33472,7 @@ interface paths {
|
|
|
33274
33472
|
requestBody?: {
|
|
33275
33473
|
content: {
|
|
33276
33474
|
"application/json": {
|
|
33277
|
-
/** @default gemini-3.
|
|
33475
|
+
/** @default gemini-3.8-flash */
|
|
33278
33476
|
model?: string;
|
|
33279
33477
|
name?: string;
|
|
33280
33478
|
/**
|
|
@@ -45273,6 +45471,24 @@ interface components {
|
|
|
45273
45471
|
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
45274
45472
|
};
|
|
45275
45473
|
seed?: number;
|
|
45474
|
+
state?: {
|
|
45475
|
+
initial?: {
|
|
45476
|
+
[key: string]: unknown;
|
|
45477
|
+
};
|
|
45478
|
+
/**
|
|
45479
|
+
* @default merge
|
|
45480
|
+
* @enum {string}
|
|
45481
|
+
*/
|
|
45482
|
+
mergeStrategy: "replace" | "merge";
|
|
45483
|
+
predictState?: {
|
|
45484
|
+
stateKey: string;
|
|
45485
|
+
tool: string;
|
|
45486
|
+
toolArgument: string;
|
|
45487
|
+
}[];
|
|
45488
|
+
schema?: {
|
|
45489
|
+
[key: string]: unknown;
|
|
45490
|
+
};
|
|
45491
|
+
};
|
|
45276
45492
|
systemPrompt?: string;
|
|
45277
45493
|
temperature?: number;
|
|
45278
45494
|
temporal?: {
|
|
@@ -49907,6 +50123,13 @@ type SlackManifestRequest = NonNullable<paths['/v1/integrations/slack/manifest']
|
|
|
49907
50123
|
* already connected and gets the manifest without a handoff.
|
|
49908
50124
|
*/
|
|
49909
50125
|
type SlackManifestResponse = paths['/v1/integrations/slack/manifest']['post']['responses'][200]['content']['application/json'];
|
|
50126
|
+
/**
|
|
50127
|
+
* Whether Slack has verified a surface's events URL. Slack sends that
|
|
50128
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
50129
|
+
* than the one read before the manifest was handed out means the app now
|
|
50130
|
+
* exists. Advisory only: OAuth decides whether an integration is usable.
|
|
50131
|
+
*/
|
|
50132
|
+
type SlackAppStatusResponse = paths['/v1/integrations/slack/app-status']['get']['responses'][200]['content']['application/json'];
|
|
49910
50133
|
interface EndUserUsageQuery {
|
|
49911
50134
|
productId: string;
|
|
49912
50135
|
productTenantId?: string;
|
|
@@ -52655,6 +52878,18 @@ interface AgentDefinitionConfig {
|
|
|
52655
52878
|
maxBudgetMs?: number | null;
|
|
52656
52879
|
forced?: 'durable' | 'in_process';
|
|
52657
52880
|
};
|
|
52881
|
+
/** Opt-in agent state channel — a shared JSON document the client and agent both see. */
|
|
52882
|
+
state?: {
|
|
52883
|
+
initial?: Record<string, unknown>;
|
|
52884
|
+
schema?: Record<string, unknown>;
|
|
52885
|
+
mergeStrategy?: 'replace' | 'merge';
|
|
52886
|
+
/** Tool arguments an AG-UI client may project into state while they stream. */
|
|
52887
|
+
predictState?: Array<{
|
|
52888
|
+
stateKey: string;
|
|
52889
|
+
tool: string;
|
|
52890
|
+
toolArgument: string;
|
|
52891
|
+
}>;
|
|
52892
|
+
};
|
|
52658
52893
|
}
|
|
52659
52894
|
/**
|
|
52660
52895
|
* `defineAgent` input — the flat authoring shape: identity + presentation
|
|
@@ -57110,6 +57345,13 @@ declare class IntegrationsEndpoint {
|
|
|
57110
57345
|
* embedded in `createAppUrl`.
|
|
57111
57346
|
*/
|
|
57112
57347
|
generateSlackManifest(data: SlackManifestRequest): Promise<SlackManifestResponse>;
|
|
57348
|
+
/**
|
|
57349
|
+
* Report whether Slack has verified a surface's events URL. Slack sends that
|
|
57350
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
57351
|
+
* than the one read before the manifest was handed out is evidence the app
|
|
57352
|
+
* now exists. Markers expire after an hour.
|
|
57353
|
+
*/
|
|
57354
|
+
getSlackAppStatus(surfaceId: string): Promise<SlackAppStatusResponse>;
|
|
57113
57355
|
}
|
|
57114
57356
|
/**
|
|
57115
57357
|
* Billing endpoint handlers
|
|
@@ -58768,4 +59010,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
58768
59010
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
58769
59011
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
58770
59012
|
|
|
58771
|
-
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };
|
|
59013
|
+
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_MAX_DETACHED_RECONNECTS, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type LoopStepConfig as RuntypeLoopStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackAppStatusResponse, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionPublishOptions, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isCatalogClientToolRef, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withDetachedReconnect, withUnifiedEvents };
|
package/dist/index.mjs
CHANGED
|
@@ -2696,6 +2696,17 @@ async function pullFlow(client, name) {
|
|
|
2696
2696
|
}
|
|
2697
2697
|
|
|
2698
2698
|
// src/flows-namespace.ts
|
|
2699
|
+
function isPersistedFlowHashMiss(err) {
|
|
2700
|
+
if (err == null || typeof err !== "object") return false;
|
|
2701
|
+
const message = err instanceof Error ? err.message : "";
|
|
2702
|
+
const statusCode = err.statusCode;
|
|
2703
|
+
const is422 = statusCode === 422 || statusCode === void 0 && /\b422\b/.test(message);
|
|
2704
|
+
if (!is422) return false;
|
|
2705
|
+
const data = err.data;
|
|
2706
|
+
const code = data && typeof data === "object" ? data.code : void 0;
|
|
2707
|
+
if (code !== void 0) return code === "FLOW_DEFINITION_REQUIRED";
|
|
2708
|
+
return message.includes("FLOW_DEFINITION_REQUIRED");
|
|
2709
|
+
}
|
|
2699
2710
|
var FlowsNamespace = class {
|
|
2700
2711
|
constructor(getClient) {
|
|
2701
2712
|
this.getClient = getClient;
|
|
@@ -3673,8 +3684,7 @@ var RuntypeFlowBuilder = class {
|
|
|
3673
3684
|
try {
|
|
3674
3685
|
return await client.dispatch(hashOnlyConfig);
|
|
3675
3686
|
} catch (err) {
|
|
3676
|
-
|
|
3677
|
-
if (!is422) {
|
|
3687
|
+
if (!isPersistedFlowHashMiss(err)) {
|
|
3678
3688
|
throw err;
|
|
3679
3689
|
}
|
|
3680
3690
|
}
|
|
@@ -4729,7 +4739,8 @@ var AGENT_CONFIG_KEYS = [
|
|
|
4729
4739
|
"memory",
|
|
4730
4740
|
"sandbox",
|
|
4731
4741
|
"tenancyStrategy",
|
|
4732
|
-
"durability"
|
|
4742
|
+
"durability",
|
|
4743
|
+
"state"
|
|
4733
4744
|
];
|
|
4734
4745
|
var AGENT_CONFIG_KEY_LIST = [...AGENT_CONFIG_KEYS].sort();
|
|
4735
4746
|
function isPlainObject2(value) {
|
|
@@ -6289,7 +6300,7 @@ var Runtype = class {
|
|
|
6289
6300
|
|
|
6290
6301
|
// src/version.ts
|
|
6291
6302
|
var FALLBACK_VERSION = "0.0.0";
|
|
6292
|
-
var SDK_VERSION = "9.
|
|
6303
|
+
var SDK_VERSION = "9.7.0".length > 0 ? "9.7.0" : FALLBACK_VERSION;
|
|
6293
6304
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6294
6305
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6295
6306
|
|
|
@@ -13045,6 +13056,17 @@ var IntegrationsEndpoint = class {
|
|
|
13045
13056
|
async generateSlackManifest(data) {
|
|
13046
13057
|
return this.client.post("/integrations/slack/manifest", data);
|
|
13047
13058
|
}
|
|
13059
|
+
/**
|
|
13060
|
+
* Report whether Slack has verified a surface's events URL. Slack sends that
|
|
13061
|
+
* challenge when an app is created from a manifest, so a `verifiedAt` newer
|
|
13062
|
+
* than the one read before the manifest was handed out is evidence the app
|
|
13063
|
+
* now exists. Markers expire after an hour.
|
|
13064
|
+
*/
|
|
13065
|
+
async getSlackAppStatus(surfaceId) {
|
|
13066
|
+
return this.client.get(
|
|
13067
|
+
`/integrations/slack/app-status?surfaceId=${encodeURIComponent(surfaceId)}`
|
|
13068
|
+
);
|
|
13069
|
+
}
|
|
13048
13070
|
};
|
|
13049
13071
|
var BillingEndpoint = class {
|
|
13050
13072
|
constructor(client) {
|
package/package.json
CHANGED