@runtypelabs/sdk 5.0.0 → 5.1.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 +1 -1
- package/dist/index.d.cts +908 -907
- package/dist/index.d.ts +908 -907
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -34634,7 +34634,7 @@ interface paths {
|
|
|
34634
34634
|
put?: never;
|
|
34635
34635
|
/**
|
|
34636
34636
|
* Execute tool
|
|
34637
|
-
* @description Execute a tool by ID with the provided parameters.
|
|
34637
|
+
* @description Execute a tool by ID with the provided parameters. Non-flow tools return the documented JSON result. Flow tools return a text/event-stream response whose frames use the ExecutionStreamEvent vocabulary by default; use a raw/streaming client helper for flow tools.
|
|
34638
34638
|
*/
|
|
34639
34639
|
post: {
|
|
34640
34640
|
parameters: {
|
|
@@ -35861,446 +35861,405 @@ interface components {
|
|
|
35861
35861
|
}[];
|
|
35862
35862
|
error: string;
|
|
35863
35863
|
};
|
|
35864
|
-
|
|
35865
|
-
|
|
35866
|
-
|
|
35867
|
-
|
|
35868
|
-
error: string;
|
|
35869
|
-
lastModifiedSource?: string;
|
|
35870
|
-
modifiedAt?: string | null;
|
|
35871
|
-
};
|
|
35872
|
-
FlowEnsureHashMismatch: {
|
|
35873
|
-
/** @enum {string} */
|
|
35874
|
-
code: "content_hash_mismatch";
|
|
35875
|
-
/** @description The server-computed canonical hash of the submitted definition. */
|
|
35876
|
-
contentHash: string;
|
|
35877
|
-
error: string;
|
|
35878
|
-
};
|
|
35879
|
-
FlowEnsureResponse: {
|
|
35880
|
-
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
35881
|
-
contentHash: string;
|
|
35882
|
-
flowId: string;
|
|
35883
|
-
/** @enum {string} */
|
|
35884
|
-
result: "unchanged" | "created" | "updated";
|
|
35885
|
-
/** @description The version snapshot backing this state (null if snapshotting failed). */
|
|
35886
|
-
versionId: string | null;
|
|
35887
|
-
} | {
|
|
35888
|
-
/** @enum {string} */
|
|
35889
|
-
result: "definitionRequired";
|
|
35890
|
-
} | {
|
|
35891
|
-
changedKeys: string[];
|
|
35892
|
-
/** @enum {string} */
|
|
35893
|
-
changes: "none" | "create" | "update";
|
|
35894
|
-
contentHash: string;
|
|
35895
|
-
flowId?: string;
|
|
35896
|
-
remoteHash?: string;
|
|
35897
|
-
/** @enum {string} */
|
|
35898
|
-
result: "plan";
|
|
35899
|
-
};
|
|
35900
|
-
FlowPullResponse: {
|
|
35901
|
-
contentHash: string;
|
|
35902
|
-
definition: {
|
|
35903
|
-
name: string;
|
|
35904
|
-
steps: {
|
|
35905
|
-
config?: {
|
|
35906
|
-
[key: string]: unknown;
|
|
35907
|
-
};
|
|
35908
|
-
enabled?: boolean;
|
|
35909
|
-
name: string;
|
|
35910
|
-
order?: number;
|
|
35911
|
-
type: string;
|
|
35912
|
-
when?: string;
|
|
35913
|
-
}[];
|
|
35914
|
-
};
|
|
35915
|
-
flowId: string;
|
|
35916
|
-
lastModifiedSource: string | null;
|
|
35917
|
-
updatedAt: string | null;
|
|
35918
|
-
versionId: string | null;
|
|
35919
|
-
/** @description Present only when a raw tool_… reference could not be emitted as a portable tool:<name> (the tool was deleted, or its name is shadowed by an older same-named tool). Those references are left as raw ids, which the ensure surface rejects; each warning explains how to fix it. */
|
|
35920
|
-
warnings?: string[];
|
|
35921
|
-
};
|
|
35922
|
-
FlowSSEEvent: {
|
|
35923
|
-
executionContext?: {
|
|
35864
|
+
ExecutionStreamEvent: {
|
|
35865
|
+
agentId?: string;
|
|
35866
|
+
agentName?: string;
|
|
35867
|
+
config?: {
|
|
35924
35868
|
[key: string]: unknown;
|
|
35925
35869
|
};
|
|
35926
|
-
executionId
|
|
35927
|
-
flowId
|
|
35870
|
+
executionId: string;
|
|
35871
|
+
flowId?: string;
|
|
35928
35872
|
flowName?: string;
|
|
35929
|
-
|
|
35930
|
-
|
|
35873
|
+
/** @enum {string} */
|
|
35874
|
+
kind: "agent" | "flow";
|
|
35875
|
+
maxTurns?: number;
|
|
35876
|
+
seq: number;
|
|
35931
35877
|
source?: string;
|
|
35932
35878
|
startedAt: string;
|
|
35933
|
-
toolContext?: {
|
|
35934
|
-
executionId: string;
|
|
35935
|
-
stepId: string;
|
|
35936
|
-
toolId: string;
|
|
35937
|
-
};
|
|
35938
35879
|
totalSteps?: number;
|
|
35939
35880
|
/** @enum {string} */
|
|
35940
|
-
type: "
|
|
35881
|
+
type: "execution_start";
|
|
35941
35882
|
} | {
|
|
35942
|
-
claudeManagedAgentId?: string;
|
|
35943
35883
|
completedAt?: string;
|
|
35944
|
-
|
|
35945
|
-
|
|
35946
|
-
executionContext?: {
|
|
35947
|
-
[key: string]: unknown;
|
|
35948
|
-
};
|
|
35949
|
-
executionId?: string;
|
|
35950
|
-
executionTime?: number;
|
|
35884
|
+
durationMs?: number;
|
|
35885
|
+
executionId: string;
|
|
35951
35886
|
failedSteps?: number;
|
|
35952
35887
|
finalOutput?: string;
|
|
35953
|
-
|
|
35954
|
-
|
|
35955
|
-
|
|
35956
|
-
seq
|
|
35957
|
-
|
|
35958
|
-
success
|
|
35888
|
+
iterations?: number;
|
|
35889
|
+
/** @enum {string} */
|
|
35890
|
+
kind: "agent" | "flow";
|
|
35891
|
+
seq: number;
|
|
35892
|
+
stopReason?: string;
|
|
35893
|
+
success: boolean;
|
|
35959
35894
|
successfulSteps?: number;
|
|
35960
|
-
|
|
35961
|
-
executionId: string;
|
|
35962
|
-
stepId: string;
|
|
35963
|
-
toolId: string;
|
|
35964
|
-
};
|
|
35895
|
+
totalCost?: number;
|
|
35965
35896
|
totalSteps?: number;
|
|
35966
|
-
|
|
35897
|
+
totalTokens?: {
|
|
35898
|
+
input: number;
|
|
35899
|
+
output: number;
|
|
35900
|
+
};
|
|
35967
35901
|
/** @enum {string} */
|
|
35968
|
-
type: "
|
|
35902
|
+
type: "execution_complete";
|
|
35969
35903
|
} | {
|
|
35970
35904
|
code?: string;
|
|
35905
|
+
completedAt?: string;
|
|
35971
35906
|
error: string | {
|
|
35972
35907
|
code: string;
|
|
35908
|
+
details?: {
|
|
35909
|
+
[key: string]: unknown;
|
|
35910
|
+
};
|
|
35973
35911
|
message: string;
|
|
35974
|
-
stepId?: string;
|
|
35975
|
-
stepType?: string;
|
|
35976
|
-
};
|
|
35977
|
-
executionId?: string;
|
|
35978
|
-
executionTime?: number;
|
|
35979
|
-
flowId?: string;
|
|
35980
|
-
seq?: number;
|
|
35981
|
-
timestamp?: string;
|
|
35982
|
-
toolContext?: {
|
|
35983
|
-
executionId: string;
|
|
35984
|
-
stepId: string;
|
|
35985
|
-
toolId: string;
|
|
35986
35912
|
};
|
|
35913
|
+
executionId: string;
|
|
35987
35914
|
/** @enum {string} */
|
|
35988
|
-
|
|
35915
|
+
kind: "agent" | "flow";
|
|
35916
|
+
seq: number;
|
|
35917
|
+
/** @enum {string} */
|
|
35918
|
+
type: "execution_error";
|
|
35989
35919
|
upgradeUrl?: string;
|
|
35990
35920
|
} | {
|
|
35991
|
-
|
|
35992
|
-
|
|
35993
|
-
|
|
35921
|
+
executionId: string;
|
|
35922
|
+
id: string;
|
|
35923
|
+
iteration?: number;
|
|
35994
35924
|
/** @enum {string} */
|
|
35995
|
-
|
|
35996
|
-
|
|
35997
|
-
|
|
35998
|
-
|
|
35925
|
+
role: "user" | "assistant" | "system";
|
|
35926
|
+
seq: number;
|
|
35927
|
+
turnIndex?: number;
|
|
35928
|
+
/** @enum {string} */
|
|
35929
|
+
type: "turn_start";
|
|
35930
|
+
} | {
|
|
35931
|
+
completedAt?: string;
|
|
35932
|
+
content?: string;
|
|
35933
|
+
cost?: number;
|
|
35934
|
+
executionId: string;
|
|
35935
|
+
fallback?: {
|
|
35936
|
+
attempts: {
|
|
35937
|
+
attempt: number;
|
|
35938
|
+
error?: string;
|
|
35939
|
+
model?: string;
|
|
35940
|
+
success: boolean;
|
|
35941
|
+
/** @enum {string} */
|
|
35942
|
+
type: "retry" | "model" | "message" | "flow";
|
|
35943
|
+
}[];
|
|
35944
|
+
exhausted: boolean;
|
|
35945
|
+
model?: string;
|
|
35946
|
+
reason?: string | null;
|
|
35947
|
+
used: boolean;
|
|
35999
35948
|
};
|
|
36000
|
-
|
|
36001
|
-
|
|
36002
|
-
toolId?: string;
|
|
36003
|
-
toolName?: string;
|
|
35949
|
+
id: string;
|
|
35950
|
+
iteration?: number;
|
|
36004
35951
|
/** @enum {string} */
|
|
36005
|
-
|
|
35952
|
+
role: "user" | "assistant" | "system";
|
|
35953
|
+
seq: number;
|
|
35954
|
+
/** @enum {string} */
|
|
35955
|
+
stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
|
|
35956
|
+
tokens?: {
|
|
35957
|
+
input: number;
|
|
35958
|
+
output: number;
|
|
35959
|
+
};
|
|
35960
|
+
/** @enum {string} */
|
|
35961
|
+
type: "turn_complete";
|
|
36006
35962
|
} | {
|
|
36007
|
-
|
|
36008
|
-
|
|
36009
|
-
id?: string;
|
|
35963
|
+
executionId: string;
|
|
35964
|
+
id: string;
|
|
36010
35965
|
index?: number;
|
|
36011
35966
|
name?: string;
|
|
36012
35967
|
outputVariable?: string;
|
|
36013
|
-
seq
|
|
36014
|
-
startedAt
|
|
36015
|
-
stepId?: string;
|
|
36016
|
-
stepName?: string;
|
|
35968
|
+
seq: number;
|
|
35969
|
+
startedAt?: string;
|
|
36017
35970
|
stepType?: string;
|
|
36018
|
-
toolContext?: {
|
|
36019
|
-
executionId: string;
|
|
36020
|
-
stepId: string;
|
|
36021
|
-
toolId: string;
|
|
36022
|
-
};
|
|
36023
35971
|
totalSteps?: number;
|
|
36024
35972
|
/** @enum {string} */
|
|
36025
35973
|
type: "step_start";
|
|
36026
|
-
} | {
|
|
36027
|
-
delta?: string;
|
|
36028
|
-
executionId?: string;
|
|
36029
|
-
id?: string;
|
|
36030
|
-
messageId?: string;
|
|
36031
|
-
partId?: string;
|
|
36032
|
-
seq?: number;
|
|
36033
|
-
text?: string;
|
|
36034
|
-
toolContext?: {
|
|
36035
|
-
executionId: string;
|
|
36036
|
-
stepId: string;
|
|
36037
|
-
toolId: string;
|
|
36038
|
-
};
|
|
36039
|
-
toolId?: string;
|
|
36040
|
-
/** @enum {string} */
|
|
36041
|
-
type: "step_delta";
|
|
36042
35974
|
} | {
|
|
36043
35975
|
completedAt?: string;
|
|
36044
|
-
duration?: number;
|
|
36045
35976
|
durationMs?: number;
|
|
36046
35977
|
error?: string;
|
|
36047
|
-
executionId
|
|
36048
|
-
|
|
36049
|
-
|
|
36050
|
-
|
|
35978
|
+
executionId: string;
|
|
35979
|
+
fallback?: {
|
|
35980
|
+
attempts: {
|
|
35981
|
+
attempt: number;
|
|
35982
|
+
error?: string;
|
|
35983
|
+
model?: string;
|
|
35984
|
+
success: boolean;
|
|
35985
|
+
/** @enum {string} */
|
|
35986
|
+
type: "retry" | "model" | "message" | "flow";
|
|
35987
|
+
}[];
|
|
35988
|
+
exhausted: boolean;
|
|
35989
|
+
model?: string;
|
|
35990
|
+
reason?: string | null;
|
|
35991
|
+
used: boolean;
|
|
35992
|
+
};
|
|
35993
|
+
id: string;
|
|
36051
35994
|
name?: string;
|
|
36052
|
-
output?: unknown;
|
|
36053
35995
|
result?: unknown;
|
|
36054
|
-
seq
|
|
36055
|
-
stepId?: string;
|
|
36056
|
-
stepName?: string;
|
|
35996
|
+
seq: number;
|
|
36057
35997
|
stepType?: string;
|
|
36058
35998
|
/** @enum {string} */
|
|
36059
35999
|
stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
|
|
36060
36000
|
success?: boolean;
|
|
36061
36001
|
tokensUsed?: number;
|
|
36062
|
-
toolContext?: {
|
|
36063
|
-
executionId: string;
|
|
36064
|
-
stepId: string;
|
|
36065
|
-
toolId: string;
|
|
36066
|
-
};
|
|
36067
36002
|
/** @enum {string} */
|
|
36068
36003
|
type: "step_complete";
|
|
36069
36004
|
unresolvedVariables?: string[];
|
|
36070
36005
|
} | {
|
|
36071
|
-
|
|
36072
|
-
|
|
36073
|
-
executionTime?: number;
|
|
36074
|
-
id?: string;
|
|
36006
|
+
executionId: string;
|
|
36007
|
+
id: string;
|
|
36075
36008
|
index?: number;
|
|
36076
36009
|
name?: string;
|
|
36077
|
-
seq
|
|
36010
|
+
seq: number;
|
|
36011
|
+
skippedAt?: string;
|
|
36078
36012
|
stepType?: string;
|
|
36013
|
+
totalSteps?: number;
|
|
36079
36014
|
/** @enum {string} */
|
|
36080
|
-
type: "
|
|
36015
|
+
type: "step_skip";
|
|
36016
|
+
when?: string;
|
|
36081
36017
|
} | {
|
|
36082
|
-
|
|
36018
|
+
executionId: string;
|
|
36019
|
+
id: string;
|
|
36020
|
+
/** @enum {string} */
|
|
36021
|
+
role?: "user" | "assistant" | "system";
|
|
36022
|
+
seq: number;
|
|
36023
|
+
stepId?: string;
|
|
36024
|
+
turnId?: string;
|
|
36025
|
+
/** @enum {string} */
|
|
36026
|
+
type: "text_start";
|
|
36027
|
+
} | {
|
|
36028
|
+
delta: string;
|
|
36029
|
+
executionId: string;
|
|
36030
|
+
id: string;
|
|
36031
|
+
seq: number;
|
|
36032
|
+
/** @enum {string} */
|
|
36033
|
+
type: "text_delta";
|
|
36034
|
+
} | {
|
|
36035
|
+
executionId: string;
|
|
36036
|
+
id: string;
|
|
36037
|
+
seq: number;
|
|
36038
|
+
text?: string;
|
|
36039
|
+
/** @enum {string} */
|
|
36040
|
+
type: "text_complete";
|
|
36041
|
+
} | {
|
|
36042
|
+
executionId: string;
|
|
36043
|
+
id: string;
|
|
36044
|
+
/** @enum {string} */
|
|
36045
|
+
scope?: "turn" | "loop";
|
|
36046
|
+
seq: number;
|
|
36047
|
+
/** @enum {string} */
|
|
36048
|
+
type: "reasoning_start";
|
|
36049
|
+
} | {
|
|
36050
|
+
delta: string;
|
|
36051
|
+
executionId: string;
|
|
36052
|
+
id: string;
|
|
36053
|
+
seq: number;
|
|
36054
|
+
/** @enum {string} */
|
|
36055
|
+
type: "reasoning_delta";
|
|
36056
|
+
} | {
|
|
36057
|
+
executionId: string;
|
|
36058
|
+
id: string;
|
|
36059
|
+
/** @enum {string} */
|
|
36060
|
+
scope?: "turn" | "loop";
|
|
36061
|
+
seq: number;
|
|
36062
|
+
text?: string;
|
|
36063
|
+
/** @enum {string} */
|
|
36064
|
+
type: "reasoning_complete";
|
|
36065
|
+
} | {
|
|
36066
|
+
executionId: string;
|
|
36067
|
+
id: string;
|
|
36068
|
+
mediaType: string;
|
|
36069
|
+
/** @enum {string} */
|
|
36070
|
+
role?: "user" | "assistant" | "system";
|
|
36071
|
+
seq: number;
|
|
36072
|
+
toolCallId?: string;
|
|
36073
|
+
/** @enum {string} */
|
|
36074
|
+
type: "media_start";
|
|
36075
|
+
} | {
|
|
36076
|
+
delta: string;
|
|
36077
|
+
executionId: string;
|
|
36078
|
+
id: string;
|
|
36079
|
+
seq: number;
|
|
36080
|
+
/** @enum {string} */
|
|
36081
|
+
type: "media_delta";
|
|
36082
|
+
} | {
|
|
36083
|
+
data?: string;
|
|
36084
|
+
executionId: string;
|
|
36085
|
+
id: string;
|
|
36086
|
+
mediaType?: string;
|
|
36087
|
+
seq: number;
|
|
36088
|
+
toolCallId?: string;
|
|
36089
|
+
/** @enum {string} */
|
|
36090
|
+
type: "media_complete";
|
|
36091
|
+
url?: string;
|
|
36092
|
+
} | {
|
|
36093
|
+
/** @enum {string} */
|
|
36094
|
+
artifactType: "markdown" | "component";
|
|
36095
|
+
component?: string;
|
|
36083
36096
|
executionId?: string;
|
|
36084
36097
|
id: string;
|
|
36085
|
-
index?: number;
|
|
36086
|
-
name?: string;
|
|
36087
36098
|
seq?: number;
|
|
36088
|
-
|
|
36089
|
-
stepType: string;
|
|
36090
|
-
totalSteps: number;
|
|
36099
|
+
title?: string;
|
|
36091
36100
|
/** @enum {string} */
|
|
36092
|
-
type: "
|
|
36093
|
-
|
|
36094
|
-
|
|
36101
|
+
type: "artifact_start";
|
|
36102
|
+
} | {
|
|
36103
|
+
delta: string;
|
|
36095
36104
|
executionId?: string;
|
|
36096
|
-
|
|
36105
|
+
id: string;
|
|
36097
36106
|
seq?: number;
|
|
36098
36107
|
/** @enum {string} */
|
|
36099
|
-
type: "
|
|
36100
|
-
}
|
|
36101
|
-
|
|
36102
|
-
}) | ({
|
|
36103
|
-
agentContext?: {
|
|
36104
|
-
executionId: string;
|
|
36105
|
-
iteration: number;
|
|
36106
|
-
seq: number;
|
|
36107
|
-
};
|
|
36108
|
+
type: "artifact_delta";
|
|
36109
|
+
} | {
|
|
36110
|
+
component: string;
|
|
36108
36111
|
executionId?: string;
|
|
36109
|
-
|
|
36110
|
-
|
|
36111
|
-
parameters?: {
|
|
36112
|
-
[key: string]: unknown;
|
|
36113
|
-
};
|
|
36114
|
-
providerOptions?: {
|
|
36112
|
+
id: string;
|
|
36113
|
+
props: {
|
|
36115
36114
|
[key: string]: unknown;
|
|
36116
36115
|
};
|
|
36117
36116
|
seq?: number;
|
|
36118
|
-
startedAt?: string;
|
|
36119
|
-
stepId?: string;
|
|
36120
|
-
toolCallId?: string;
|
|
36121
|
-
toolId?: string;
|
|
36122
|
-
toolName?: string;
|
|
36123
|
-
/** @enum {string} */
|
|
36124
|
-
toolType: "flow" | "mcp" | "builtin" | "custom" | "external" | "advisor" | "subagent" | "local";
|
|
36125
36117
|
/** @enum {string} */
|
|
36126
|
-
type: "
|
|
36127
|
-
}
|
|
36128
|
-
[key: string]: unknown;
|
|
36129
|
-
}) | ({
|
|
36130
|
-
delta?: string;
|
|
36118
|
+
type: "artifact_update";
|
|
36119
|
+
} | {
|
|
36131
36120
|
executionId?: string;
|
|
36121
|
+
id: string;
|
|
36132
36122
|
seq?: number;
|
|
36133
|
-
toolId?: string;
|
|
36134
36123
|
/** @enum {string} */
|
|
36135
|
-
type: "
|
|
36124
|
+
type: "artifact_complete";
|
|
36125
|
+
} | ({
|
|
36126
|
+
executionId: string;
|
|
36127
|
+
id?: string;
|
|
36128
|
+
seq: number;
|
|
36129
|
+
sourceType?: string;
|
|
36130
|
+
title?: string;
|
|
36131
|
+
/** @enum {string} */
|
|
36132
|
+
type: "source";
|
|
36133
|
+
url?: string;
|
|
36136
36134
|
} & {
|
|
36137
36135
|
[key: string]: unknown;
|
|
36138
36136
|
}) | {
|
|
36139
|
-
|
|
36140
|
-
|
|
36141
|
-
|
|
36137
|
+
executionId: string;
|
|
36138
|
+
hiddenParameterNames?: string[];
|
|
36139
|
+
iteration?: number;
|
|
36140
|
+
/** @enum {string} */
|
|
36141
|
+
origin?: "webmcp" | "sdk";
|
|
36142
|
+
pageOrigin?: string;
|
|
36143
|
+
parameters?: {
|
|
36144
|
+
[key: string]: unknown;
|
|
36145
|
+
};
|
|
36146
|
+
seq: number;
|
|
36147
|
+
startedAt?: string;
|
|
36142
36148
|
stepId?: string;
|
|
36143
|
-
toolCallId
|
|
36144
|
-
|
|
36149
|
+
toolCallId: string;
|
|
36150
|
+
toolName: string;
|
|
36151
|
+
toolType: string;
|
|
36152
|
+
/** @enum {string} */
|
|
36153
|
+
type: "tool_start";
|
|
36154
|
+
} | {
|
|
36155
|
+
delta: string;
|
|
36156
|
+
executionId: string;
|
|
36157
|
+
seq: number;
|
|
36158
|
+
toolCallId: string;
|
|
36145
36159
|
/** @enum {string} */
|
|
36146
36160
|
type: "tool_input_delta";
|
|
36147
36161
|
} | {
|
|
36148
|
-
executionId
|
|
36162
|
+
executionId: string;
|
|
36149
36163
|
hiddenParameterNames?: string[];
|
|
36150
36164
|
parameters: {
|
|
36151
36165
|
[key: string]: unknown;
|
|
36152
36166
|
};
|
|
36153
|
-
|
|
36154
|
-
|
|
36155
|
-
};
|
|
36156
|
-
seq?: number;
|
|
36157
|
-
stepId?: string;
|
|
36158
|
-
toolCallId?: string;
|
|
36159
|
-
toolId?: string;
|
|
36167
|
+
seq: number;
|
|
36168
|
+
toolCallId: string;
|
|
36160
36169
|
toolName?: string;
|
|
36161
36170
|
/** @enum {string} */
|
|
36162
36171
|
type: "tool_input_complete";
|
|
36163
36172
|
} | {
|
|
36164
|
-
|
|
36165
|
-
|
|
36166
|
-
|
|
36167
|
-
|
|
36168
|
-
}
|
|
36169
|
-
|
|
36173
|
+
delta: string;
|
|
36174
|
+
executionId: string;
|
|
36175
|
+
seq: number;
|
|
36176
|
+
toolCallId: string;
|
|
36177
|
+
/** @enum {string} */
|
|
36178
|
+
type: "tool_output_delta";
|
|
36179
|
+
} | {
|
|
36170
36180
|
error?: string;
|
|
36171
|
-
executionId
|
|
36181
|
+
executionId: string;
|
|
36172
36182
|
executionTime?: number;
|
|
36173
|
-
|
|
36183
|
+
iteration?: number;
|
|
36174
36184
|
result?: unknown;
|
|
36175
|
-
seq
|
|
36185
|
+
seq: number;
|
|
36176
36186
|
stepId?: string;
|
|
36177
36187
|
success: boolean;
|
|
36178
|
-
toolCallId
|
|
36179
|
-
toolCost?: number;
|
|
36180
|
-
toolId?: string;
|
|
36188
|
+
toolCallId: string;
|
|
36181
36189
|
toolName?: string;
|
|
36182
36190
|
/** @enum {string} */
|
|
36183
36191
|
type: "tool_complete";
|
|
36184
36192
|
} | {
|
|
36185
|
-
|
|
36186
|
-
|
|
36187
|
-
|
|
36188
|
-
|
|
36193
|
+
approvalId: string;
|
|
36194
|
+
description?: string;
|
|
36195
|
+
executionId: string;
|
|
36196
|
+
iteration?: number;
|
|
36197
|
+
parameters?: {
|
|
36198
|
+
[key: string]: unknown;
|
|
36189
36199
|
};
|
|
36190
|
-
|
|
36191
|
-
|
|
36192
|
-
|
|
36193
|
-
|
|
36194
|
-
|
|
36195
|
-
|
|
36196
|
-
|
|
36200
|
+
reason?: string;
|
|
36201
|
+
seq: number;
|
|
36202
|
+
startedAt?: string;
|
|
36203
|
+
timeout?: number;
|
|
36204
|
+
toolCallId?: string;
|
|
36205
|
+
toolName: string;
|
|
36206
|
+
toolType?: string;
|
|
36197
36207
|
/** @enum {string} */
|
|
36198
|
-
type: "
|
|
36208
|
+
type: "approval_start";
|
|
36199
36209
|
} | {
|
|
36200
|
-
|
|
36201
|
-
|
|
36202
|
-
seq?: number;
|
|
36203
|
-
text: string;
|
|
36210
|
+
approvalId: string;
|
|
36211
|
+
completedAt?: string;
|
|
36204
36212
|
/** @enum {string} */
|
|
36205
|
-
|
|
36206
|
-
|
|
36207
|
-
executionId?: string;
|
|
36208
|
-
seq?: number;
|
|
36213
|
+
decision: "approved" | "denied" | "timeout";
|
|
36214
|
+
executionId: string;
|
|
36209
36215
|
/** @enum {string} */
|
|
36210
|
-
|
|
36211
|
-
|
|
36212
|
-
[key: string]: unknown;
|
|
36213
|
-
}) | ({
|
|
36214
|
-
executionId?: string;
|
|
36215
|
-
seq?: number;
|
|
36216
|
+
resolvedBy?: "user" | "system";
|
|
36217
|
+
seq: number;
|
|
36216
36218
|
/** @enum {string} */
|
|
36217
|
-
type: "
|
|
36218
|
-
}
|
|
36219
|
-
|
|
36220
|
-
|
|
36221
|
-
executionId?: string;
|
|
36222
|
-
seq?: number;
|
|
36223
|
-
/** @enum {string} */
|
|
36224
|
-
type: "reason_start";
|
|
36225
|
-
} & {
|
|
36226
|
-
[key: string]: unknown;
|
|
36227
|
-
}) | ({
|
|
36228
|
-
executionId?: string;
|
|
36229
|
-
seq?: number;
|
|
36230
|
-
/** @enum {string} */
|
|
36231
|
-
type: "reason_delta";
|
|
36232
|
-
} & {
|
|
36233
|
-
[key: string]: unknown;
|
|
36234
|
-
}) | ({
|
|
36235
|
-
executionId?: string;
|
|
36236
|
-
seq?: number;
|
|
36219
|
+
type: "approval_complete";
|
|
36220
|
+
} | {
|
|
36221
|
+
awaitedAt?: string;
|
|
36222
|
+
executionId: string;
|
|
36237
36223
|
/** @enum {string} */
|
|
36238
|
-
|
|
36239
|
-
|
|
36240
|
-
|
|
36241
|
-
|
|
36242
|
-
|
|
36243
|
-
seq
|
|
36224
|
+
origin?: "webmcp" | "sdk";
|
|
36225
|
+
pageOrigin?: string;
|
|
36226
|
+
parameters?: {
|
|
36227
|
+
[key: string]: unknown;
|
|
36228
|
+
};
|
|
36229
|
+
seq: number;
|
|
36230
|
+
toolCallId?: string;
|
|
36231
|
+
toolId?: string;
|
|
36232
|
+
toolName?: string;
|
|
36244
36233
|
/** @enum {string} */
|
|
36245
|
-
type: "
|
|
36246
|
-
}
|
|
36247
|
-
|
|
36248
|
-
|
|
36249
|
-
|
|
36250
|
-
|
|
36234
|
+
type: "await";
|
|
36235
|
+
} | {
|
|
36236
|
+
error: string | {
|
|
36237
|
+
code: string;
|
|
36238
|
+
details?: {
|
|
36239
|
+
[key: string]: unknown;
|
|
36240
|
+
};
|
|
36241
|
+
message: string;
|
|
36242
|
+
};
|
|
36243
|
+
executionId: string;
|
|
36244
|
+
recoverable?: boolean;
|
|
36245
|
+
seq: number;
|
|
36251
36246
|
/** @enum {string} */
|
|
36252
|
-
type: "
|
|
36253
|
-
}
|
|
36254
|
-
|
|
36255
|
-
|
|
36256
|
-
|
|
36257
|
-
seq?: number;
|
|
36247
|
+
type: "error";
|
|
36248
|
+
} | {
|
|
36249
|
+
executionId: string;
|
|
36250
|
+
seq: number;
|
|
36251
|
+
timestamp: string;
|
|
36258
36252
|
/** @enum {string} */
|
|
36259
|
-
type: "
|
|
36260
|
-
}
|
|
36261
|
-
[key: string]: unknown;
|
|
36262
|
-
}) | ({
|
|
36253
|
+
type: "ping";
|
|
36254
|
+
} | {
|
|
36263
36255
|
executionId?: string;
|
|
36256
|
+
name: string;
|
|
36264
36257
|
seq?: number;
|
|
36265
36258
|
/** @enum {string} */
|
|
36266
|
-
type: "
|
|
36267
|
-
|
|
36268
|
-
[key: string]: unknown;
|
|
36269
|
-
});
|
|
36270
|
-
FlowValidationIssue: {
|
|
36271
|
-
code: string;
|
|
36272
|
-
details?: unknown;
|
|
36273
|
-
message: string;
|
|
36274
|
-
path?: string;
|
|
36275
|
-
step?: {
|
|
36276
|
-
index: number;
|
|
36277
|
-
name: string;
|
|
36278
|
-
type: string;
|
|
36279
|
-
};
|
|
36280
|
-
};
|
|
36281
|
-
FlowValidationResult: {
|
|
36282
|
-
context: {
|
|
36283
|
-
accountChecksPerformed: boolean;
|
|
36284
|
-
accountChecksSkipped: boolean;
|
|
36285
|
-
authenticated: boolean;
|
|
36286
|
-
};
|
|
36287
|
-
errors: components["schemas"]["FlowValidationIssue"][];
|
|
36288
|
-
recommendations: components["schemas"]["FlowValidationIssue"][];
|
|
36289
|
-
valid: boolean;
|
|
36290
|
-
warnings: components["schemas"]["FlowValidationIssue"][];
|
|
36291
|
-
};
|
|
36292
|
-
Pagination: {
|
|
36293
|
-
currentOffset: number;
|
|
36294
|
-
currentPage?: number;
|
|
36295
|
-
hasMore: boolean;
|
|
36296
|
-
hasPrev: boolean;
|
|
36297
|
-
limit: number;
|
|
36298
|
-
nextCursor: string | null;
|
|
36299
|
-
prevCursor: string | null;
|
|
36300
|
-
totalCount?: number;
|
|
36301
|
-
totalPages?: number;
|
|
36259
|
+
type: "custom";
|
|
36260
|
+
value?: unknown;
|
|
36302
36261
|
};
|
|
36303
|
-
|
|
36262
|
+
FlowEnsureConflict: {
|
|
36304
36263
|
/** @enum {string} */
|
|
36305
36264
|
code: "external_modification" | "remote_changed";
|
|
36306
36265
|
currentHash?: string | null;
|
|
@@ -36308,19 +36267,21 @@ interface components {
|
|
|
36308
36267
|
lastModifiedSource?: string;
|
|
36309
36268
|
modifiedAt?: string | null;
|
|
36310
36269
|
};
|
|
36311
|
-
|
|
36270
|
+
FlowEnsureHashMismatch: {
|
|
36312
36271
|
/** @enum {string} */
|
|
36313
36272
|
code: "content_hash_mismatch";
|
|
36314
36273
|
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36315
36274
|
contentHash: string;
|
|
36316
36275
|
error: string;
|
|
36317
36276
|
};
|
|
36318
|
-
|
|
36277
|
+
FlowEnsureResponse: {
|
|
36319
36278
|
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36320
36279
|
contentHash: string;
|
|
36321
|
-
|
|
36280
|
+
flowId: string;
|
|
36322
36281
|
/** @enum {string} */
|
|
36323
36282
|
result: "unchanged" | "created" | "updated";
|
|
36283
|
+
/** @description The version snapshot backing this state (null if snapshotting failed). */
|
|
36284
|
+
versionId: string | null;
|
|
36324
36285
|
} | {
|
|
36325
36286
|
/** @enum {string} */
|
|
36326
36287
|
result: "definitionRequired";
|
|
@@ -36329,685 +36290,725 @@ interface components {
|
|
|
36329
36290
|
/** @enum {string} */
|
|
36330
36291
|
changes: "none" | "create" | "update";
|
|
36331
36292
|
contentHash: string;
|
|
36332
|
-
|
|
36293
|
+
flowId?: string;
|
|
36333
36294
|
remoteHash?: string;
|
|
36334
36295
|
/** @enum {string} */
|
|
36335
36296
|
result: "plan";
|
|
36336
36297
|
};
|
|
36337
|
-
|
|
36338
|
-
/** @description Server-computed canonical whole-FPO content hash. */
|
|
36339
|
-
contentHash: string;
|
|
36340
|
-
entities: {
|
|
36341
|
-
error?: string;
|
|
36342
|
-
/** @description Resulting platform id (absent on failure/skip/pruned). */
|
|
36343
|
-
id?: string;
|
|
36344
|
-
/** @enum {string} */
|
|
36345
|
-
kind: "product" | "flow" | "agent" | "capability" | "tool" | "surface" | "record" | "schedule";
|
|
36346
|
-
name: string;
|
|
36347
|
-
/** @description The FPO-local ref (capability id / entity name) for correlation. */
|
|
36348
|
-
ref: string;
|
|
36349
|
-
/** @enum {string} */
|
|
36350
|
-
result: "created" | "updated" | "unchanged" | "failed" | "skipped" | "pruned";
|
|
36351
|
-
}[];
|
|
36352
|
-
/** @description True when one or more entities failed to converge (re-run to self-heal). */
|
|
36353
|
-
hasFailures: boolean;
|
|
36354
|
-
productId?: string;
|
|
36355
|
-
/**
|
|
36356
|
-
* @description `unchanged` when every entity was unchanged, `converged` when at least one was created/updated, `plan` for dryRun.
|
|
36357
|
-
* @enum {string}
|
|
36358
|
-
*/
|
|
36359
|
-
result: "unchanged" | "converged" | "plan";
|
|
36360
|
-
};
|
|
36361
|
-
ProductFpoPullResponse: {
|
|
36362
|
-
/** @description Server-computed canonical whole-FPO content hash. */
|
|
36363
|
-
contentHash: string;
|
|
36364
|
-
/** @description A self-contained Full Product Object reconstructed from the live graph. Feeding it back into POST /products/ensure-fpo converges to `unchanged`. records/schedules/secrets are not reconstructed (see `warnings`); tool refs are emitted as portable `tool:<name>`. */
|
|
36365
|
-
fpo: {
|
|
36366
|
-
[key: string]: unknown;
|
|
36367
|
-
};
|
|
36368
|
-
productId: string;
|
|
36369
|
-
/** @description Reconstruction caveats (omitted entities, unrepresentable rows). */
|
|
36370
|
-
warnings?: string[];
|
|
36371
|
-
};
|
|
36372
|
-
ProductPullResponse: {
|
|
36298
|
+
FlowPullResponse: {
|
|
36373
36299
|
contentHash: string;
|
|
36374
36300
|
definition: {
|
|
36375
|
-
description?: string | null;
|
|
36376
|
-
icon?: string | null;
|
|
36377
36301
|
name: string;
|
|
36378
|
-
|
|
36379
|
-
|
|
36380
|
-
|
|
36381
|
-
dataSourceTypes?: string[];
|
|
36382
|
-
deploymentTargets?: string[];
|
|
36383
|
-
existingTools?: string[];
|
|
36384
|
-
importedFrom?: {
|
|
36385
|
-
importedAt: string;
|
|
36386
|
-
/** @enum {string} */
|
|
36387
|
-
source: "github" | "linear" | "chatprd" | "manual";
|
|
36388
|
-
sourceId?: string;
|
|
36389
|
-
syncEnabled?: boolean;
|
|
36390
|
-
};
|
|
36391
|
-
internalDocs?: {
|
|
36392
|
-
content?: string;
|
|
36393
|
-
resources?: {
|
|
36394
|
-
content?: string;
|
|
36395
|
-
title: string;
|
|
36396
|
-
type: string;
|
|
36397
|
-
url?: string;
|
|
36398
|
-
}[];
|
|
36399
|
-
tags?: string[];
|
|
36400
|
-
} | null;
|
|
36401
|
-
/** @enum {string} */
|
|
36402
|
-
loggingPolicy?: "default" | "on" | "off";
|
|
36403
|
-
preferredModels?: string[];
|
|
36404
|
-
productGoal?: string;
|
|
36405
|
-
/** @enum {string} */
|
|
36406
|
-
productStage?: "idea" | "prototype" | "beta" | "production" | "scaling";
|
|
36407
|
-
targetAudience?: string;
|
|
36408
|
-
techStack?: {
|
|
36409
|
-
backend?: string[];
|
|
36410
|
-
database?: string[];
|
|
36411
|
-
frontend?: string[];
|
|
36412
|
-
infrastructure?: string[];
|
|
36413
|
-
languages?: string[];
|
|
36302
|
+
steps: {
|
|
36303
|
+
config?: {
|
|
36304
|
+
[key: string]: unknown;
|
|
36414
36305
|
};
|
|
36415
|
-
|
|
36306
|
+
enabled?: boolean;
|
|
36307
|
+
name: string;
|
|
36308
|
+
order?: number;
|
|
36309
|
+
type: string;
|
|
36310
|
+
when?: string;
|
|
36311
|
+
}[];
|
|
36416
36312
|
};
|
|
36313
|
+
flowId: string;
|
|
36417
36314
|
lastModifiedSource: string | null;
|
|
36418
|
-
productId: string;
|
|
36419
36315
|
updatedAt: string | null;
|
|
36420
|
-
};
|
|
36421
|
-
RecordFilterCondition: {
|
|
36422
|
-
field: string;
|
|
36423
|
-
/** @enum {string} */
|
|
36424
|
-
op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "between" | "contains" | "startsWith" | "endsWith" | "in" | "notIn" | "isSet" | "isNotSet" | "isTrue" | "isFalse" | "withinLastDays" | "olderThanDays";
|
|
36425
|
-
value?: unknown;
|
|
36426
|
-
};
|
|
36427
|
-
SkillEnsureConflict: {
|
|
36428
|
-
/** @enum {string} */
|
|
36429
|
-
code: "external_modification" | "remote_changed";
|
|
36430
|
-
currentHash?: string | null;
|
|
36431
|
-
error: string;
|
|
36432
|
-
lastModifiedSource?: string;
|
|
36433
|
-
modifiedAt?: string | null;
|
|
36434
|
-
};
|
|
36435
|
-
SkillEnsureHashMismatch: {
|
|
36436
|
-
/** @enum {string} */
|
|
36437
|
-
code: "content_hash_mismatch";
|
|
36438
|
-
/** @description The server-computed canonical hash of the submitted manifest. */
|
|
36439
|
-
contentHash: string;
|
|
36440
|
-
error: string;
|
|
36441
|
-
};
|
|
36442
|
-
SkillEnsureResponse: {
|
|
36443
|
-
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36444
|
-
contentHash: string;
|
|
36445
|
-
/** @enum {string} */
|
|
36446
|
-
result: "unchanged" | "created" | "updated";
|
|
36447
|
-
skillId: string;
|
|
36448
36316
|
versionId: string | null;
|
|
36449
|
-
|
|
36450
|
-
|
|
36451
|
-
result: "definitionRequired";
|
|
36452
|
-
} | {
|
|
36453
|
-
changedKeys: string[];
|
|
36454
|
-
/** @enum {string} */
|
|
36455
|
-
changes: "none" | "create" | "update";
|
|
36456
|
-
contentHash: string;
|
|
36457
|
-
remoteHash?: string;
|
|
36458
|
-
/** @enum {string} */
|
|
36459
|
-
result: "plan";
|
|
36460
|
-
skillId?: string;
|
|
36317
|
+
/** @description Present only when a raw tool_… reference could not be emitted as a portable tool:<name> (the tool was deleted, or its name is shadowed by an older same-named tool). Those references are left as raw ids, which the ensure surface rejects; each warning explains how to fix it. */
|
|
36318
|
+
warnings?: string[];
|
|
36461
36319
|
};
|
|
36462
|
-
|
|
36463
|
-
|
|
36464
|
-
/** @enum {string} */
|
|
36465
|
-
code: "unsupported_capability";
|
|
36466
|
-
error: string;
|
|
36467
|
-
};
|
|
36468
|
-
SkillProposal: {
|
|
36469
|
-
createdAt: string;
|
|
36470
|
-
id: string;
|
|
36471
|
-
organizationId: string | null;
|
|
36472
|
-
proposingAgentExecutionId: string | null;
|
|
36473
|
-
proposingUserId: string;
|
|
36474
|
-
rejectionReason: string | null;
|
|
36475
|
-
reviewedAt: string | null;
|
|
36476
|
-
reviewedBy: string | null;
|
|
36477
|
-
skillVersionId: string;
|
|
36478
|
-
status: string;
|
|
36479
|
-
};
|
|
36480
|
-
SkillPullResponse: {
|
|
36481
|
-
contentHash: string;
|
|
36482
|
-
definition: {
|
|
36483
|
-
manifest: {
|
|
36484
|
-
[key: string]: unknown;
|
|
36485
|
-
};
|
|
36486
|
-
name: string;
|
|
36487
|
-
};
|
|
36488
|
-
lastModifiedSource: string | null;
|
|
36489
|
-
skillId: string;
|
|
36490
|
-
updatedAt: string | null;
|
|
36491
|
-
versionId: string | null;
|
|
36492
|
-
};
|
|
36493
|
-
SurfaceEnsureConflict: {
|
|
36494
|
-
/** @enum {string} */
|
|
36495
|
-
code: "external_modification" | "remote_changed";
|
|
36496
|
-
currentHash?: string | null;
|
|
36497
|
-
error: string;
|
|
36498
|
-
lastModifiedSource?: string;
|
|
36499
|
-
modifiedAt?: string | null;
|
|
36500
|
-
};
|
|
36501
|
-
SurfaceEnsureHashMismatch: {
|
|
36502
|
-
/** @enum {string} */
|
|
36503
|
-
code: "content_hash_mismatch";
|
|
36504
|
-
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36505
|
-
contentHash: string;
|
|
36506
|
-
error: string;
|
|
36507
|
-
};
|
|
36508
|
-
SurfaceEnsureResponse: {
|
|
36509
|
-
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36510
|
-
contentHash: string;
|
|
36511
|
-
/** @enum {string} */
|
|
36512
|
-
result: "unchanged" | "created" | "updated";
|
|
36513
|
-
surfaceId: string;
|
|
36514
|
-
} | {
|
|
36515
|
-
/** @enum {string} */
|
|
36516
|
-
result: "definitionRequired";
|
|
36517
|
-
} | {
|
|
36518
|
-
changedKeys: string[];
|
|
36519
|
-
/** @enum {string} */
|
|
36520
|
-
changes: "none" | "create" | "update";
|
|
36521
|
-
contentHash: string;
|
|
36522
|
-
remoteHash?: string;
|
|
36523
|
-
/** @enum {string} */
|
|
36524
|
-
result: "plan";
|
|
36525
|
-
surfaceId?: string;
|
|
36526
|
-
};
|
|
36527
|
-
SurfacePullResponse: {
|
|
36528
|
-
contentHash: string;
|
|
36529
|
-
definition: {
|
|
36530
|
-
behavior?: {
|
|
36531
|
-
[key: string]: unknown;
|
|
36532
|
-
};
|
|
36533
|
-
/** @enum {string} */
|
|
36534
|
-
environment?: "production" | "development";
|
|
36535
|
-
inbound?: {
|
|
36536
|
-
[key: string]: unknown;
|
|
36537
|
-
};
|
|
36538
|
-
name: string;
|
|
36539
|
-
outbound?: {
|
|
36540
|
-
[key: string]: unknown;
|
|
36541
|
-
};
|
|
36542
|
-
/** @enum {string} */
|
|
36543
|
-
status?: "draft" | "active" | "paused";
|
|
36544
|
-
/** @enum {string} */
|
|
36545
|
-
type: "chat" | "mcp" | "mcp_code" | "api" | "webhook" | "schedule" | "a2a" | "email" | "slack" | "sms" | "imessage" | "discord" | "whatsapp" | "telegram" | "hosted-page" | "chrome_extension";
|
|
36546
|
-
};
|
|
36547
|
-
lastModifiedSource: string | null;
|
|
36548
|
-
surfaceId: string;
|
|
36549
|
-
updatedAt: string | null;
|
|
36550
|
-
};
|
|
36551
|
-
ToolApprovalGrant: {
|
|
36552
|
-
agentId: string;
|
|
36553
|
-
createdAt: string;
|
|
36554
|
-
decision: string;
|
|
36555
|
-
endUserRef: string | null;
|
|
36556
|
-
expiresAt: string | null;
|
|
36557
|
-
id: string;
|
|
36558
|
-
sourceApprovalId: string | null;
|
|
36559
|
-
sourceExecutionId: string | null;
|
|
36560
|
-
toolName: string;
|
|
36561
|
-
toolType: string;
|
|
36562
|
-
};
|
|
36563
|
-
ToolEnsureConflict: {
|
|
36564
|
-
/** @enum {string} */
|
|
36565
|
-
code: "external_modification" | "remote_changed";
|
|
36566
|
-
currentHash?: string | null;
|
|
36567
|
-
error: string;
|
|
36568
|
-
lastModifiedSource?: string;
|
|
36569
|
-
modifiedAt?: string | null;
|
|
36570
|
-
};
|
|
36571
|
-
ToolEnsureHashMismatch: {
|
|
36572
|
-
/** @enum {string} */
|
|
36573
|
-
code: "content_hash_mismatch";
|
|
36574
|
-
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36575
|
-
contentHash: string;
|
|
36576
|
-
error: string;
|
|
36577
|
-
};
|
|
36578
|
-
ToolEnsureResponse: {
|
|
36579
|
-
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36580
|
-
contentHash: string;
|
|
36581
|
-
/** @enum {string} */
|
|
36582
|
-
result: "unchanged" | "created" | "updated";
|
|
36583
|
-
toolId: string;
|
|
36584
|
-
} | {
|
|
36585
|
-
/** @enum {string} */
|
|
36586
|
-
result: "definitionRequired";
|
|
36587
|
-
} | {
|
|
36588
|
-
changedKeys: string[];
|
|
36589
|
-
/** @enum {string} */
|
|
36590
|
-
changes: "none" | "create" | "update";
|
|
36591
|
-
contentHash: string;
|
|
36592
|
-
remoteHash?: string;
|
|
36593
|
-
/** @enum {string} */
|
|
36594
|
-
result: "plan";
|
|
36595
|
-
toolId?: string;
|
|
36596
|
-
};
|
|
36597
|
-
ToolPullResponse: {
|
|
36598
|
-
contentHash: string;
|
|
36599
|
-
definition: {
|
|
36600
|
-
config: {
|
|
36601
|
-
[key: string]: unknown;
|
|
36602
|
-
};
|
|
36603
|
-
description: string;
|
|
36604
|
-
name: string;
|
|
36605
|
-
parametersSchema: {
|
|
36606
|
-
[key: string]: unknown;
|
|
36607
|
-
};
|
|
36608
|
-
/** @enum {string} */
|
|
36609
|
-
toolType: "flow" | "custom" | "external" | "graphql" | "mcp" | "local" | "subagent";
|
|
36610
|
-
};
|
|
36611
|
-
lastModifiedSource: string | null;
|
|
36612
|
-
toolId: string;
|
|
36613
|
-
updatedAt: string | null;
|
|
36614
|
-
};
|
|
36615
|
-
UnifiedSSEEvent: {
|
|
36616
|
-
agentId?: string;
|
|
36617
|
-
agentName?: string;
|
|
36618
|
-
config?: {
|
|
36320
|
+
FlowSSEEvent: {
|
|
36321
|
+
executionContext?: {
|
|
36619
36322
|
[key: string]: unknown;
|
|
36620
36323
|
};
|
|
36621
|
-
executionId
|
|
36622
|
-
flowId
|
|
36324
|
+
executionId?: string;
|
|
36325
|
+
flowId: string;
|
|
36623
36326
|
flowName?: string;
|
|
36624
|
-
|
|
36625
|
-
|
|
36626
|
-
maxTurns?: number;
|
|
36627
|
-
seq: number;
|
|
36327
|
+
input?: unknown;
|
|
36328
|
+
seq?: number;
|
|
36628
36329
|
source?: string;
|
|
36629
36330
|
startedAt: string;
|
|
36331
|
+
toolContext?: {
|
|
36332
|
+
executionId: string;
|
|
36333
|
+
stepId: string;
|
|
36334
|
+
toolId: string;
|
|
36335
|
+
};
|
|
36630
36336
|
totalSteps?: number;
|
|
36631
36337
|
/** @enum {string} */
|
|
36632
|
-
type: "
|
|
36338
|
+
type: "flow_start";
|
|
36633
36339
|
} | {
|
|
36340
|
+
claudeManagedAgentId?: string;
|
|
36634
36341
|
completedAt?: string;
|
|
36635
|
-
|
|
36636
|
-
|
|
36342
|
+
completedSteps?: number;
|
|
36343
|
+
duration?: number;
|
|
36344
|
+
executionContext?: {
|
|
36345
|
+
[key: string]: unknown;
|
|
36346
|
+
};
|
|
36347
|
+
executionId?: string;
|
|
36348
|
+
executionTime?: number;
|
|
36637
36349
|
failedSteps?: number;
|
|
36638
36350
|
finalOutput?: string;
|
|
36639
|
-
|
|
36640
|
-
|
|
36641
|
-
|
|
36642
|
-
seq
|
|
36643
|
-
|
|
36644
|
-
success
|
|
36351
|
+
flowId?: string;
|
|
36352
|
+
flowName?: string;
|
|
36353
|
+
output?: unknown;
|
|
36354
|
+
seq?: number;
|
|
36355
|
+
source?: string;
|
|
36356
|
+
success?: boolean;
|
|
36645
36357
|
successfulSteps?: number;
|
|
36646
|
-
|
|
36647
|
-
|
|
36648
|
-
|
|
36649
|
-
|
|
36650
|
-
output: number;
|
|
36358
|
+
toolContext?: {
|
|
36359
|
+
executionId: string;
|
|
36360
|
+
stepId: string;
|
|
36361
|
+
toolId: string;
|
|
36651
36362
|
};
|
|
36363
|
+
totalSteps?: number;
|
|
36364
|
+
totalTokensUsed?: number;
|
|
36652
36365
|
/** @enum {string} */
|
|
36653
|
-
type: "
|
|
36366
|
+
type: "flow_complete";
|
|
36654
36367
|
} | {
|
|
36655
36368
|
code?: string;
|
|
36656
|
-
completedAt?: string;
|
|
36657
36369
|
error: string | {
|
|
36658
36370
|
code: string;
|
|
36659
|
-
details?: {
|
|
36660
|
-
[key: string]: unknown;
|
|
36661
|
-
};
|
|
36662
36371
|
message: string;
|
|
36372
|
+
stepId?: string;
|
|
36373
|
+
stepType?: string;
|
|
36374
|
+
};
|
|
36375
|
+
executionId?: string;
|
|
36376
|
+
executionTime?: number;
|
|
36377
|
+
flowId?: string;
|
|
36378
|
+
seq?: number;
|
|
36379
|
+
timestamp?: string;
|
|
36380
|
+
toolContext?: {
|
|
36381
|
+
executionId: string;
|
|
36382
|
+
stepId: string;
|
|
36383
|
+
toolId: string;
|
|
36663
36384
|
};
|
|
36664
|
-
executionId: string;
|
|
36665
|
-
/** @enum {string} */
|
|
36666
|
-
kind: "agent" | "flow";
|
|
36667
|
-
seq: number;
|
|
36668
36385
|
/** @enum {string} */
|
|
36669
|
-
type: "
|
|
36386
|
+
type: "flow_error";
|
|
36670
36387
|
upgradeUrl?: string;
|
|
36671
36388
|
} | {
|
|
36672
|
-
|
|
36673
|
-
|
|
36674
|
-
|
|
36389
|
+
awaitedAt: string;
|
|
36390
|
+
executionId?: string;
|
|
36391
|
+
flowId: string;
|
|
36675
36392
|
/** @enum {string} */
|
|
36676
|
-
|
|
36677
|
-
|
|
36678
|
-
|
|
36393
|
+
origin?: "webmcp" | "sdk";
|
|
36394
|
+
pageOrigin?: string;
|
|
36395
|
+
parameters?: {
|
|
36396
|
+
[key: string]: unknown;
|
|
36397
|
+
};
|
|
36398
|
+
seq?: number;
|
|
36399
|
+
toolCallId?: string;
|
|
36400
|
+
toolId?: string;
|
|
36401
|
+
toolName?: string;
|
|
36679
36402
|
/** @enum {string} */
|
|
36680
|
-
type: "
|
|
36403
|
+
type: "flow_await";
|
|
36681
36404
|
} | {
|
|
36682
|
-
|
|
36683
|
-
|
|
36684
|
-
|
|
36685
|
-
executionId: string;
|
|
36686
|
-
fallback?: {
|
|
36687
|
-
attempts: {
|
|
36688
|
-
attempt: number;
|
|
36689
|
-
error?: string;
|
|
36690
|
-
model?: string;
|
|
36691
|
-
success: boolean;
|
|
36692
|
-
/** @enum {string} */
|
|
36693
|
-
type: "retry" | "model" | "message" | "flow";
|
|
36694
|
-
}[];
|
|
36695
|
-
exhausted: boolean;
|
|
36696
|
-
model?: string;
|
|
36697
|
-
reason?: string | null;
|
|
36698
|
-
used: boolean;
|
|
36699
|
-
};
|
|
36700
|
-
id: string;
|
|
36701
|
-
iteration?: number;
|
|
36702
|
-
/** @enum {string} */
|
|
36703
|
-
role: "user" | "assistant" | "system";
|
|
36704
|
-
seq: number;
|
|
36705
|
-
/** @enum {string} */
|
|
36706
|
-
stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
|
|
36707
|
-
tokens?: {
|
|
36708
|
-
input: number;
|
|
36709
|
-
output: number;
|
|
36710
|
-
};
|
|
36711
|
-
/** @enum {string} */
|
|
36712
|
-
type: "turn_complete";
|
|
36713
|
-
} | {
|
|
36714
|
-
executionId: string;
|
|
36715
|
-
id: string;
|
|
36405
|
+
estimatedTokens?: number;
|
|
36406
|
+
executionId?: string;
|
|
36407
|
+
id?: string;
|
|
36716
36408
|
index?: number;
|
|
36717
36409
|
name?: string;
|
|
36718
36410
|
outputVariable?: string;
|
|
36719
|
-
seq
|
|
36720
|
-
startedAt
|
|
36411
|
+
seq?: number;
|
|
36412
|
+
startedAt: string;
|
|
36413
|
+
stepId?: string;
|
|
36414
|
+
stepName?: string;
|
|
36721
36415
|
stepType?: string;
|
|
36416
|
+
toolContext?: {
|
|
36417
|
+
executionId: string;
|
|
36418
|
+
stepId: string;
|
|
36419
|
+
toolId: string;
|
|
36420
|
+
};
|
|
36722
36421
|
totalSteps?: number;
|
|
36723
36422
|
/** @enum {string} */
|
|
36724
36423
|
type: "step_start";
|
|
36424
|
+
} | {
|
|
36425
|
+
delta?: string;
|
|
36426
|
+
executionId?: string;
|
|
36427
|
+
id?: string;
|
|
36428
|
+
messageId?: string;
|
|
36429
|
+
partId?: string;
|
|
36430
|
+
seq?: number;
|
|
36431
|
+
text?: string;
|
|
36432
|
+
toolContext?: {
|
|
36433
|
+
executionId: string;
|
|
36434
|
+
stepId: string;
|
|
36435
|
+
toolId: string;
|
|
36436
|
+
};
|
|
36437
|
+
toolId?: string;
|
|
36438
|
+
/** @enum {string} */
|
|
36439
|
+
type: "step_delta";
|
|
36725
36440
|
} | {
|
|
36726
36441
|
completedAt?: string;
|
|
36442
|
+
duration?: number;
|
|
36727
36443
|
durationMs?: number;
|
|
36728
36444
|
error?: string;
|
|
36729
|
-
executionId
|
|
36730
|
-
|
|
36731
|
-
|
|
36732
|
-
|
|
36733
|
-
error?: string;
|
|
36734
|
-
model?: string;
|
|
36735
|
-
success: boolean;
|
|
36736
|
-
/** @enum {string} */
|
|
36737
|
-
type: "retry" | "model" | "message" | "flow";
|
|
36738
|
-
}[];
|
|
36739
|
-
exhausted: boolean;
|
|
36740
|
-
model?: string;
|
|
36741
|
-
reason?: string | null;
|
|
36742
|
-
used: boolean;
|
|
36743
|
-
};
|
|
36744
|
-
id: string;
|
|
36445
|
+
executionId?: string;
|
|
36446
|
+
executionTime?: number;
|
|
36447
|
+
id?: string;
|
|
36448
|
+
index?: number;
|
|
36745
36449
|
name?: string;
|
|
36450
|
+
output?: unknown;
|
|
36746
36451
|
result?: unknown;
|
|
36747
|
-
seq
|
|
36452
|
+
seq?: number;
|
|
36453
|
+
stepId?: string;
|
|
36454
|
+
stepName?: string;
|
|
36748
36455
|
stepType?: string;
|
|
36749
36456
|
/** @enum {string} */
|
|
36750
36457
|
stopReason?: "end_turn" | "max_tool_calls" | "length" | "content_filter" | "error" | "unknown";
|
|
36751
36458
|
success?: boolean;
|
|
36459
|
+
tokensUsed?: number;
|
|
36460
|
+
toolContext?: {
|
|
36461
|
+
executionId: string;
|
|
36462
|
+
stepId: string;
|
|
36463
|
+
toolId: string;
|
|
36464
|
+
};
|
|
36752
36465
|
/** @enum {string} */
|
|
36753
36466
|
type: "step_complete";
|
|
36754
36467
|
unresolvedVariables?: string[];
|
|
36755
36468
|
} | {
|
|
36756
|
-
|
|
36757
|
-
|
|
36469
|
+
error: string;
|
|
36470
|
+
executionId?: string;
|
|
36471
|
+
executionTime?: number;
|
|
36472
|
+
id?: string;
|
|
36758
36473
|
index?: number;
|
|
36759
36474
|
name?: string;
|
|
36760
|
-
seq
|
|
36761
|
-
skippedAt?: string;
|
|
36475
|
+
seq?: number;
|
|
36762
36476
|
stepType?: string;
|
|
36763
|
-
totalSteps?: number;
|
|
36764
|
-
/** @enum {string} */
|
|
36765
|
-
type: "step_skip";
|
|
36766
|
-
when?: string;
|
|
36767
|
-
} | {
|
|
36768
|
-
executionId: string;
|
|
36769
|
-
id: string;
|
|
36770
|
-
/** @enum {string} */
|
|
36771
|
-
role?: "user" | "assistant" | "system";
|
|
36772
|
-
seq: number;
|
|
36773
|
-
stepId?: string;
|
|
36774
|
-
turnId?: string;
|
|
36775
|
-
/** @enum {string} */
|
|
36776
|
-
type: "text_start";
|
|
36777
|
-
} | {
|
|
36778
|
-
delta: string;
|
|
36779
|
-
executionId: string;
|
|
36780
|
-
id: string;
|
|
36781
|
-
seq: number;
|
|
36782
|
-
/** @enum {string} */
|
|
36783
|
-
type: "text_delta";
|
|
36784
|
-
} | {
|
|
36785
|
-
executionId: string;
|
|
36786
|
-
id: string;
|
|
36787
|
-
seq: number;
|
|
36788
|
-
text?: string;
|
|
36789
|
-
/** @enum {string} */
|
|
36790
|
-
type: "text_complete";
|
|
36791
|
-
} | {
|
|
36792
|
-
executionId: string;
|
|
36793
|
-
id: string;
|
|
36794
|
-
/** @enum {string} */
|
|
36795
|
-
scope?: "turn" | "loop";
|
|
36796
|
-
seq: number;
|
|
36797
|
-
/** @enum {string} */
|
|
36798
|
-
type: "reasoning_start";
|
|
36799
|
-
} | {
|
|
36800
|
-
delta: string;
|
|
36801
|
-
executionId: string;
|
|
36802
|
-
id: string;
|
|
36803
|
-
seq: number;
|
|
36804
|
-
/** @enum {string} */
|
|
36805
|
-
type: "reasoning_delta";
|
|
36806
|
-
} | {
|
|
36807
|
-
executionId: string;
|
|
36808
|
-
id: string;
|
|
36809
|
-
/** @enum {string} */
|
|
36810
|
-
scope?: "turn" | "loop";
|
|
36811
|
-
seq: number;
|
|
36812
|
-
text?: string;
|
|
36813
36477
|
/** @enum {string} */
|
|
36814
|
-
type: "
|
|
36478
|
+
type: "step_error";
|
|
36815
36479
|
} | {
|
|
36816
|
-
|
|
36480
|
+
error?: string;
|
|
36481
|
+
executionId?: string;
|
|
36817
36482
|
id: string;
|
|
36818
|
-
|
|
36819
|
-
|
|
36820
|
-
|
|
36821
|
-
|
|
36822
|
-
|
|
36483
|
+
index?: number;
|
|
36484
|
+
name?: string;
|
|
36485
|
+
seq?: number;
|
|
36486
|
+
skippedAt: string;
|
|
36487
|
+
stepType: string;
|
|
36488
|
+
totalSteps: number;
|
|
36823
36489
|
/** @enum {string} */
|
|
36824
|
-
type: "
|
|
36825
|
-
|
|
36826
|
-
|
|
36827
|
-
executionId
|
|
36828
|
-
|
|
36829
|
-
seq
|
|
36490
|
+
type: "step_skip";
|
|
36491
|
+
when: string;
|
|
36492
|
+
} | ({
|
|
36493
|
+
executionId?: string;
|
|
36494
|
+
reason?: string;
|
|
36495
|
+
seq?: number;
|
|
36830
36496
|
/** @enum {string} */
|
|
36831
|
-
type: "
|
|
36832
|
-
}
|
|
36833
|
-
|
|
36834
|
-
|
|
36835
|
-
|
|
36836
|
-
|
|
36837
|
-
|
|
36497
|
+
type: "step_await";
|
|
36498
|
+
} & {
|
|
36499
|
+
[key: string]: unknown;
|
|
36500
|
+
}) | ({
|
|
36501
|
+
agentContext?: {
|
|
36502
|
+
executionId: string;
|
|
36503
|
+
iteration: number;
|
|
36504
|
+
seq: number;
|
|
36505
|
+
};
|
|
36506
|
+
executionId?: string;
|
|
36507
|
+
hiddenParameterNames?: string[];
|
|
36508
|
+
name?: string;
|
|
36509
|
+
parameters?: {
|
|
36510
|
+
[key: string]: unknown;
|
|
36511
|
+
};
|
|
36512
|
+
providerOptions?: {
|
|
36513
|
+
[key: string]: unknown;
|
|
36514
|
+
};
|
|
36515
|
+
seq?: number;
|
|
36516
|
+
startedAt?: string;
|
|
36517
|
+
stepId?: string;
|
|
36838
36518
|
toolCallId?: string;
|
|
36519
|
+
toolId?: string;
|
|
36520
|
+
toolName?: string;
|
|
36839
36521
|
/** @enum {string} */
|
|
36840
|
-
|
|
36841
|
-
url?: string;
|
|
36842
|
-
} | {
|
|
36522
|
+
toolType: "flow" | "mcp" | "builtin" | "custom" | "external" | "advisor" | "subagent" | "local";
|
|
36843
36523
|
/** @enum {string} */
|
|
36844
|
-
|
|
36845
|
-
|
|
36524
|
+
type: "tool_start";
|
|
36525
|
+
} & {
|
|
36526
|
+
[key: string]: unknown;
|
|
36527
|
+
}) | ({
|
|
36528
|
+
delta?: string;
|
|
36846
36529
|
executionId?: string;
|
|
36847
|
-
id: string;
|
|
36848
36530
|
seq?: number;
|
|
36849
|
-
|
|
36531
|
+
toolId?: string;
|
|
36850
36532
|
/** @enum {string} */
|
|
36851
|
-
type: "
|
|
36852
|
-
}
|
|
36533
|
+
type: "tool_delta";
|
|
36534
|
+
} & {
|
|
36535
|
+
[key: string]: unknown;
|
|
36536
|
+
}) | {
|
|
36853
36537
|
delta: string;
|
|
36854
36538
|
executionId?: string;
|
|
36855
|
-
id: string;
|
|
36856
36539
|
seq?: number;
|
|
36540
|
+
stepId?: string;
|
|
36541
|
+
toolCallId?: string;
|
|
36542
|
+
toolId?: string;
|
|
36857
36543
|
/** @enum {string} */
|
|
36858
|
-
type: "
|
|
36544
|
+
type: "tool_input_delta";
|
|
36859
36545
|
} | {
|
|
36860
|
-
component: string;
|
|
36861
36546
|
executionId?: string;
|
|
36862
|
-
|
|
36863
|
-
|
|
36547
|
+
hiddenParameterNames?: string[];
|
|
36548
|
+
parameters: {
|
|
36549
|
+
[key: string]: unknown;
|
|
36550
|
+
};
|
|
36551
|
+
providerOptions?: {
|
|
36864
36552
|
[key: string]: unknown;
|
|
36865
36553
|
};
|
|
36866
36554
|
seq?: number;
|
|
36555
|
+
stepId?: string;
|
|
36556
|
+
toolCallId?: string;
|
|
36557
|
+
toolId?: string;
|
|
36558
|
+
toolName?: string;
|
|
36867
36559
|
/** @enum {string} */
|
|
36868
|
-
type: "
|
|
36560
|
+
type: "tool_input_complete";
|
|
36869
36561
|
} | {
|
|
36562
|
+
agentContext?: {
|
|
36563
|
+
executionId: string;
|
|
36564
|
+
iteration: number;
|
|
36565
|
+
seq: number;
|
|
36566
|
+
};
|
|
36567
|
+
completedAt?: string;
|
|
36568
|
+
error?: string;
|
|
36870
36569
|
executionId?: string;
|
|
36871
|
-
|
|
36570
|
+
executionTime?: number;
|
|
36571
|
+
name?: string;
|
|
36572
|
+
result?: unknown;
|
|
36872
36573
|
seq?: number;
|
|
36873
|
-
|
|
36874
|
-
|
|
36574
|
+
stepId?: string;
|
|
36575
|
+
success: boolean;
|
|
36576
|
+
toolCallId?: string;
|
|
36577
|
+
toolCost?: number;
|
|
36578
|
+
toolId?: string;
|
|
36579
|
+
toolName?: string;
|
|
36580
|
+
/** @enum {string} */
|
|
36581
|
+
type: "tool_complete";
|
|
36582
|
+
} | {
|
|
36583
|
+
agentContext?: {
|
|
36584
|
+
executionId: string;
|
|
36585
|
+
iteration: number;
|
|
36586
|
+
seq: number;
|
|
36587
|
+
};
|
|
36588
|
+
error: string;
|
|
36589
|
+
executionId?: string;
|
|
36590
|
+
executionTime?: number;
|
|
36591
|
+
failedAt?: string;
|
|
36592
|
+
name: string;
|
|
36593
|
+
seq?: number;
|
|
36594
|
+
toolId: string;
|
|
36595
|
+
/** @enum {string} */
|
|
36596
|
+
type: "tool_error";
|
|
36597
|
+
} | {
|
|
36598
|
+
executionId?: string;
|
|
36599
|
+
id: string;
|
|
36600
|
+
seq?: number;
|
|
36601
|
+
text: string;
|
|
36602
|
+
/** @enum {string} */
|
|
36603
|
+
type: "chunk";
|
|
36875
36604
|
} | ({
|
|
36876
|
-
executionId
|
|
36877
|
-
|
|
36878
|
-
|
|
36879
|
-
|
|
36880
|
-
|
|
36605
|
+
executionId?: string;
|
|
36606
|
+
seq?: number;
|
|
36607
|
+
/** @enum {string} */
|
|
36608
|
+
type: "text_start";
|
|
36609
|
+
} & {
|
|
36610
|
+
[key: string]: unknown;
|
|
36611
|
+
}) | ({
|
|
36612
|
+
executionId?: string;
|
|
36613
|
+
seq?: number;
|
|
36614
|
+
/** @enum {string} */
|
|
36615
|
+
type: "text_end";
|
|
36616
|
+
} & {
|
|
36617
|
+
[key: string]: unknown;
|
|
36618
|
+
}) | ({
|
|
36619
|
+
executionId?: string;
|
|
36620
|
+
seq?: number;
|
|
36621
|
+
/** @enum {string} */
|
|
36622
|
+
type: "reason_start";
|
|
36623
|
+
} & {
|
|
36624
|
+
[key: string]: unknown;
|
|
36625
|
+
}) | ({
|
|
36626
|
+
executionId?: string;
|
|
36627
|
+
seq?: number;
|
|
36628
|
+
/** @enum {string} */
|
|
36629
|
+
type: "reason_delta";
|
|
36630
|
+
} & {
|
|
36631
|
+
[key: string]: unknown;
|
|
36632
|
+
}) | ({
|
|
36633
|
+
executionId?: string;
|
|
36634
|
+
seq?: number;
|
|
36635
|
+
/** @enum {string} */
|
|
36636
|
+
type: "reason_complete";
|
|
36637
|
+
} & {
|
|
36638
|
+
[key: string]: unknown;
|
|
36639
|
+
}) | ({
|
|
36640
|
+
executionId?: string;
|
|
36641
|
+
seq?: number;
|
|
36881
36642
|
/** @enum {string} */
|
|
36882
36643
|
type: "source";
|
|
36883
|
-
url?: string;
|
|
36884
36644
|
} & {
|
|
36885
36645
|
[key: string]: unknown;
|
|
36886
|
-
}) | {
|
|
36887
|
-
executionId
|
|
36888
|
-
|
|
36889
|
-
iteration?: number;
|
|
36646
|
+
}) | ({
|
|
36647
|
+
executionId?: string;
|
|
36648
|
+
seq?: number;
|
|
36890
36649
|
/** @enum {string} */
|
|
36891
|
-
|
|
36892
|
-
|
|
36893
|
-
|
|
36894
|
-
|
|
36650
|
+
type: "fallback_start";
|
|
36651
|
+
} & {
|
|
36652
|
+
[key: string]: unknown;
|
|
36653
|
+
}) | ({
|
|
36654
|
+
executionId?: string;
|
|
36655
|
+
seq?: number;
|
|
36656
|
+
/** @enum {string} */
|
|
36657
|
+
type: "fallback_complete";
|
|
36658
|
+
} & {
|
|
36659
|
+
[key: string]: unknown;
|
|
36660
|
+
}) | ({
|
|
36661
|
+
executionId?: string;
|
|
36662
|
+
seq?: number;
|
|
36663
|
+
/** @enum {string} */
|
|
36664
|
+
type: "fallback_exhausted";
|
|
36665
|
+
} & {
|
|
36666
|
+
[key: string]: unknown;
|
|
36667
|
+
});
|
|
36668
|
+
FlowValidationIssue: {
|
|
36669
|
+
code: string;
|
|
36670
|
+
details?: unknown;
|
|
36671
|
+
message: string;
|
|
36672
|
+
path?: string;
|
|
36673
|
+
step?: {
|
|
36674
|
+
index: number;
|
|
36675
|
+
name: string;
|
|
36676
|
+
type: string;
|
|
36895
36677
|
};
|
|
36896
|
-
|
|
36897
|
-
|
|
36898
|
-
|
|
36899
|
-
|
|
36900
|
-
|
|
36901
|
-
|
|
36678
|
+
};
|
|
36679
|
+
FlowValidationResult: {
|
|
36680
|
+
context: {
|
|
36681
|
+
accountChecksPerformed: boolean;
|
|
36682
|
+
accountChecksSkipped: boolean;
|
|
36683
|
+
authenticated: boolean;
|
|
36684
|
+
};
|
|
36685
|
+
errors: components["schemas"]["FlowValidationIssue"][];
|
|
36686
|
+
recommendations: components["schemas"]["FlowValidationIssue"][];
|
|
36687
|
+
valid: boolean;
|
|
36688
|
+
warnings: components["schemas"]["FlowValidationIssue"][];
|
|
36689
|
+
};
|
|
36690
|
+
Pagination: {
|
|
36691
|
+
currentOffset: number;
|
|
36692
|
+
currentPage?: number;
|
|
36693
|
+
hasMore: boolean;
|
|
36694
|
+
hasPrev: boolean;
|
|
36695
|
+
limit: number;
|
|
36696
|
+
nextCursor: string | null;
|
|
36697
|
+
prevCursor: string | null;
|
|
36698
|
+
totalCount?: number;
|
|
36699
|
+
totalPages?: number;
|
|
36700
|
+
};
|
|
36701
|
+
ProductEnsureConflict: {
|
|
36902
36702
|
/** @enum {string} */
|
|
36903
|
-
|
|
36703
|
+
code: "external_modification" | "remote_changed";
|
|
36704
|
+
currentHash?: string | null;
|
|
36705
|
+
error: string;
|
|
36706
|
+
lastModifiedSource?: string;
|
|
36707
|
+
modifiedAt?: string | null;
|
|
36708
|
+
};
|
|
36709
|
+
ProductEnsureHashMismatch: {
|
|
36710
|
+
/** @enum {string} */
|
|
36711
|
+
code: "content_hash_mismatch";
|
|
36712
|
+
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36713
|
+
contentHash: string;
|
|
36714
|
+
error: string;
|
|
36715
|
+
};
|
|
36716
|
+
ProductEnsureResponse: {
|
|
36717
|
+
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36718
|
+
contentHash: string;
|
|
36719
|
+
productId: string;
|
|
36720
|
+
/** @enum {string} */
|
|
36721
|
+
result: "unchanged" | "created" | "updated";
|
|
36904
36722
|
} | {
|
|
36905
|
-
delta: string;
|
|
36906
|
-
executionId: string;
|
|
36907
|
-
seq: number;
|
|
36908
|
-
toolCallId: string;
|
|
36909
36723
|
/** @enum {string} */
|
|
36910
|
-
|
|
36724
|
+
result: "definitionRequired";
|
|
36911
36725
|
} | {
|
|
36912
|
-
|
|
36913
|
-
|
|
36914
|
-
|
|
36726
|
+
changedKeys: string[];
|
|
36727
|
+
/** @enum {string} */
|
|
36728
|
+
changes: "none" | "create" | "update";
|
|
36729
|
+
contentHash: string;
|
|
36730
|
+
productId?: string;
|
|
36731
|
+
remoteHash?: string;
|
|
36732
|
+
/** @enum {string} */
|
|
36733
|
+
result: "plan";
|
|
36734
|
+
};
|
|
36735
|
+
ProductFpoEnsureResponse: {
|
|
36736
|
+
/** @description Server-computed canonical whole-FPO content hash. */
|
|
36737
|
+
contentHash: string;
|
|
36738
|
+
entities: {
|
|
36739
|
+
error?: string;
|
|
36740
|
+
/** @description Resulting platform id (absent on failure/skip/pruned). */
|
|
36741
|
+
id?: string;
|
|
36742
|
+
/** @enum {string} */
|
|
36743
|
+
kind: "product" | "flow" | "agent" | "capability" | "tool" | "surface" | "record" | "schedule";
|
|
36744
|
+
name: string;
|
|
36745
|
+
/** @description The FPO-local ref (capability id / entity name) for correlation. */
|
|
36746
|
+
ref: string;
|
|
36747
|
+
/** @enum {string} */
|
|
36748
|
+
result: "created" | "updated" | "unchanged" | "failed" | "skipped" | "pruned";
|
|
36749
|
+
}[];
|
|
36750
|
+
/** @description True when one or more entities failed to converge (re-run to self-heal). */
|
|
36751
|
+
hasFailures: boolean;
|
|
36752
|
+
productId?: string;
|
|
36753
|
+
/**
|
|
36754
|
+
* @description `unchanged` when every entity was unchanged, `converged` when at least one was created/updated, `plan` for dryRun.
|
|
36755
|
+
* @enum {string}
|
|
36756
|
+
*/
|
|
36757
|
+
result: "unchanged" | "converged" | "plan";
|
|
36758
|
+
};
|
|
36759
|
+
ProductFpoPullResponse: {
|
|
36760
|
+
/** @description Server-computed canonical whole-FPO content hash. */
|
|
36761
|
+
contentHash: string;
|
|
36762
|
+
/** @description A self-contained Full Product Object reconstructed from the live graph. Feeding it back into POST /products/ensure-fpo converges to `unchanged`. records/schedules/secrets are not reconstructed (see `warnings`); tool refs are emitted as portable `tool:<name>`. */
|
|
36763
|
+
fpo: {
|
|
36915
36764
|
[key: string]: unknown;
|
|
36916
36765
|
};
|
|
36917
|
-
|
|
36918
|
-
|
|
36919
|
-
|
|
36766
|
+
productId: string;
|
|
36767
|
+
/** @description Reconstruction caveats (omitted entities, unrepresentable rows). */
|
|
36768
|
+
warnings?: string[];
|
|
36769
|
+
};
|
|
36770
|
+
ProductPullResponse: {
|
|
36771
|
+
contentHash: string;
|
|
36772
|
+
definition: {
|
|
36773
|
+
description?: string | null;
|
|
36774
|
+
icon?: string | null;
|
|
36775
|
+
name: string;
|
|
36776
|
+
spec?: {
|
|
36777
|
+
aiUseCases?: string[];
|
|
36778
|
+
complianceNeeds?: string[];
|
|
36779
|
+
dataSourceTypes?: string[];
|
|
36780
|
+
deploymentTargets?: string[];
|
|
36781
|
+
existingTools?: string[];
|
|
36782
|
+
importedFrom?: {
|
|
36783
|
+
importedAt: string;
|
|
36784
|
+
/** @enum {string} */
|
|
36785
|
+
source: "github" | "linear" | "chatprd" | "manual";
|
|
36786
|
+
sourceId?: string;
|
|
36787
|
+
syncEnabled?: boolean;
|
|
36788
|
+
};
|
|
36789
|
+
internalDocs?: {
|
|
36790
|
+
content?: string;
|
|
36791
|
+
resources?: {
|
|
36792
|
+
content?: string;
|
|
36793
|
+
title: string;
|
|
36794
|
+
type: string;
|
|
36795
|
+
url?: string;
|
|
36796
|
+
}[];
|
|
36797
|
+
tags?: string[];
|
|
36798
|
+
} | null;
|
|
36799
|
+
/** @enum {string} */
|
|
36800
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
36801
|
+
preferredModels?: string[];
|
|
36802
|
+
productGoal?: string;
|
|
36803
|
+
/** @enum {string} */
|
|
36804
|
+
productStage?: "idea" | "prototype" | "beta" | "production" | "scaling";
|
|
36805
|
+
targetAudience?: string;
|
|
36806
|
+
techStack?: {
|
|
36807
|
+
backend?: string[];
|
|
36808
|
+
database?: string[];
|
|
36809
|
+
frontend?: string[];
|
|
36810
|
+
infrastructure?: string[];
|
|
36811
|
+
languages?: string[];
|
|
36812
|
+
};
|
|
36813
|
+
};
|
|
36814
|
+
};
|
|
36815
|
+
lastModifiedSource: string | null;
|
|
36816
|
+
productId: string;
|
|
36817
|
+
updatedAt: string | null;
|
|
36818
|
+
};
|
|
36819
|
+
RecordFilterCondition: {
|
|
36820
|
+
field: string;
|
|
36920
36821
|
/** @enum {string} */
|
|
36921
|
-
|
|
36922
|
-
|
|
36923
|
-
|
|
36924
|
-
|
|
36925
|
-
seq: number;
|
|
36926
|
-
toolCallId: string;
|
|
36822
|
+
op: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "between" | "contains" | "startsWith" | "endsWith" | "in" | "notIn" | "isSet" | "isNotSet" | "isTrue" | "isFalse" | "withinLastDays" | "olderThanDays";
|
|
36823
|
+
value?: unknown;
|
|
36824
|
+
};
|
|
36825
|
+
SkillEnsureConflict: {
|
|
36927
36826
|
/** @enum {string} */
|
|
36928
|
-
|
|
36827
|
+
code: "external_modification" | "remote_changed";
|
|
36828
|
+
currentHash?: string | null;
|
|
36829
|
+
error: string;
|
|
36830
|
+
lastModifiedSource?: string;
|
|
36831
|
+
modifiedAt?: string | null;
|
|
36832
|
+
};
|
|
36833
|
+
SkillEnsureHashMismatch: {
|
|
36834
|
+
/** @enum {string} */
|
|
36835
|
+
code: "content_hash_mismatch";
|
|
36836
|
+
/** @description The server-computed canonical hash of the submitted manifest. */
|
|
36837
|
+
contentHash: string;
|
|
36838
|
+
error: string;
|
|
36839
|
+
};
|
|
36840
|
+
SkillEnsureResponse: {
|
|
36841
|
+
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36842
|
+
contentHash: string;
|
|
36843
|
+
/** @enum {string} */
|
|
36844
|
+
result: "unchanged" | "created" | "updated";
|
|
36845
|
+
skillId: string;
|
|
36846
|
+
versionId: string | null;
|
|
36929
36847
|
} | {
|
|
36930
|
-
error?: string;
|
|
36931
|
-
executionId: string;
|
|
36932
|
-
executionTime?: number;
|
|
36933
|
-
iteration?: number;
|
|
36934
|
-
result?: unknown;
|
|
36935
|
-
seq: number;
|
|
36936
|
-
stepId?: string;
|
|
36937
|
-
success: boolean;
|
|
36938
|
-
toolCallId: string;
|
|
36939
|
-
toolName?: string;
|
|
36940
36848
|
/** @enum {string} */
|
|
36941
|
-
|
|
36849
|
+
result: "definitionRequired";
|
|
36942
36850
|
} | {
|
|
36943
|
-
|
|
36944
|
-
|
|
36945
|
-
|
|
36946
|
-
|
|
36947
|
-
|
|
36948
|
-
|
|
36851
|
+
changedKeys: string[];
|
|
36852
|
+
/** @enum {string} */
|
|
36853
|
+
changes: "none" | "create" | "update";
|
|
36854
|
+
contentHash: string;
|
|
36855
|
+
remoteHash?: string;
|
|
36856
|
+
/** @enum {string} */
|
|
36857
|
+
result: "plan";
|
|
36858
|
+
skillId?: string;
|
|
36859
|
+
};
|
|
36860
|
+
SkillEnsureUnprocessable: components["schemas"]["SkillEnsureHashMismatch"] | components["schemas"]["SkillEnsureUnsupportedCapability"];
|
|
36861
|
+
SkillEnsureUnsupportedCapability: {
|
|
36862
|
+
/** @enum {string} */
|
|
36863
|
+
code: "unsupported_capability";
|
|
36864
|
+
error: string;
|
|
36865
|
+
};
|
|
36866
|
+
SkillProposal: {
|
|
36867
|
+
createdAt: string;
|
|
36868
|
+
id: string;
|
|
36869
|
+
organizationId: string | null;
|
|
36870
|
+
proposingAgentExecutionId: string | null;
|
|
36871
|
+
proposingUserId: string;
|
|
36872
|
+
rejectionReason: string | null;
|
|
36873
|
+
reviewedAt: string | null;
|
|
36874
|
+
reviewedBy: string | null;
|
|
36875
|
+
skillVersionId: string;
|
|
36876
|
+
status: string;
|
|
36877
|
+
};
|
|
36878
|
+
SkillPullResponse: {
|
|
36879
|
+
contentHash: string;
|
|
36880
|
+
definition: {
|
|
36881
|
+
manifest: {
|
|
36882
|
+
[key: string]: unknown;
|
|
36883
|
+
};
|
|
36884
|
+
name: string;
|
|
36949
36885
|
};
|
|
36950
|
-
|
|
36951
|
-
|
|
36952
|
-
|
|
36953
|
-
|
|
36954
|
-
|
|
36955
|
-
|
|
36956
|
-
toolType?: string;
|
|
36886
|
+
lastModifiedSource: string | null;
|
|
36887
|
+
skillId: string;
|
|
36888
|
+
updatedAt: string | null;
|
|
36889
|
+
versionId: string | null;
|
|
36890
|
+
};
|
|
36891
|
+
SurfaceEnsureConflict: {
|
|
36957
36892
|
/** @enum {string} */
|
|
36958
|
-
|
|
36959
|
-
|
|
36960
|
-
|
|
36961
|
-
|
|
36893
|
+
code: "external_modification" | "remote_changed";
|
|
36894
|
+
currentHash?: string | null;
|
|
36895
|
+
error: string;
|
|
36896
|
+
lastModifiedSource?: string;
|
|
36897
|
+
modifiedAt?: string | null;
|
|
36898
|
+
};
|
|
36899
|
+
SurfaceEnsureHashMismatch: {
|
|
36962
36900
|
/** @enum {string} */
|
|
36963
|
-
|
|
36964
|
-
|
|
36901
|
+
code: "content_hash_mismatch";
|
|
36902
|
+
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36903
|
+
contentHash: string;
|
|
36904
|
+
error: string;
|
|
36905
|
+
};
|
|
36906
|
+
SurfaceEnsureResponse: {
|
|
36907
|
+
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36908
|
+
contentHash: string;
|
|
36965
36909
|
/** @enum {string} */
|
|
36966
|
-
|
|
36967
|
-
|
|
36910
|
+
result: "unchanged" | "created" | "updated";
|
|
36911
|
+
surfaceId: string;
|
|
36912
|
+
} | {
|
|
36968
36913
|
/** @enum {string} */
|
|
36969
|
-
|
|
36914
|
+
result: "definitionRequired";
|
|
36970
36915
|
} | {
|
|
36971
|
-
|
|
36972
|
-
executionId: string;
|
|
36916
|
+
changedKeys: string[];
|
|
36973
36917
|
/** @enum {string} */
|
|
36974
|
-
|
|
36975
|
-
|
|
36976
|
-
|
|
36977
|
-
[key: string]: unknown;
|
|
36978
|
-
};
|
|
36979
|
-
seq: number;
|
|
36980
|
-
toolCallId?: string;
|
|
36981
|
-
toolId?: string;
|
|
36982
|
-
toolName?: string;
|
|
36918
|
+
changes: "none" | "create" | "update";
|
|
36919
|
+
contentHash: string;
|
|
36920
|
+
remoteHash?: string;
|
|
36983
36921
|
/** @enum {string} */
|
|
36984
|
-
|
|
36985
|
-
|
|
36986
|
-
|
|
36987
|
-
|
|
36988
|
-
|
|
36922
|
+
result: "plan";
|
|
36923
|
+
surfaceId?: string;
|
|
36924
|
+
};
|
|
36925
|
+
SurfacePullResponse: {
|
|
36926
|
+
contentHash: string;
|
|
36927
|
+
definition: {
|
|
36928
|
+
behavior?: {
|
|
36989
36929
|
[key: string]: unknown;
|
|
36990
36930
|
};
|
|
36991
|
-
|
|
36931
|
+
/** @enum {string} */
|
|
36932
|
+
environment?: "production" | "development";
|
|
36933
|
+
inbound?: {
|
|
36934
|
+
[key: string]: unknown;
|
|
36935
|
+
};
|
|
36936
|
+
name: string;
|
|
36937
|
+
outbound?: {
|
|
36938
|
+
[key: string]: unknown;
|
|
36939
|
+
};
|
|
36940
|
+
/** @enum {string} */
|
|
36941
|
+
status?: "draft" | "active" | "paused";
|
|
36942
|
+
/** @enum {string} */
|
|
36943
|
+
type: "chat" | "mcp" | "mcp_code" | "api" | "webhook" | "schedule" | "a2a" | "email" | "slack" | "sms" | "imessage" | "discord" | "whatsapp" | "telegram" | "hosted-page" | "chrome_extension";
|
|
36992
36944
|
};
|
|
36993
|
-
|
|
36994
|
-
|
|
36995
|
-
|
|
36945
|
+
lastModifiedSource: string | null;
|
|
36946
|
+
surfaceId: string;
|
|
36947
|
+
updatedAt: string | null;
|
|
36948
|
+
};
|
|
36949
|
+
ToolApprovalGrant: {
|
|
36950
|
+
agentId: string;
|
|
36951
|
+
createdAt: string;
|
|
36952
|
+
decision: string;
|
|
36953
|
+
endUserRef: string | null;
|
|
36954
|
+
expiresAt: string | null;
|
|
36955
|
+
id: string;
|
|
36956
|
+
sourceApprovalId: string | null;
|
|
36957
|
+
sourceExecutionId: string | null;
|
|
36958
|
+
toolName: string;
|
|
36959
|
+
toolType: string;
|
|
36960
|
+
};
|
|
36961
|
+
ToolEnsureConflict: {
|
|
36996
36962
|
/** @enum {string} */
|
|
36997
|
-
|
|
36963
|
+
code: "external_modification" | "remote_changed";
|
|
36964
|
+
currentHash?: string | null;
|
|
36965
|
+
error: string;
|
|
36966
|
+
lastModifiedSource?: string;
|
|
36967
|
+
modifiedAt?: string | null;
|
|
36968
|
+
};
|
|
36969
|
+
ToolEnsureHashMismatch: {
|
|
36970
|
+
/** @enum {string} */
|
|
36971
|
+
code: "content_hash_mismatch";
|
|
36972
|
+
/** @description The server-computed canonical hash of the submitted definition. */
|
|
36973
|
+
contentHash: string;
|
|
36974
|
+
error: string;
|
|
36975
|
+
};
|
|
36976
|
+
ToolEnsureResponse: {
|
|
36977
|
+
/** @description Server-computed canonical content hash. Clients should echo this hash in probes. */
|
|
36978
|
+
contentHash: string;
|
|
36979
|
+
/** @enum {string} */
|
|
36980
|
+
result: "unchanged" | "created" | "updated";
|
|
36981
|
+
toolId: string;
|
|
36998
36982
|
} | {
|
|
36999
|
-
executionId: string;
|
|
37000
|
-
seq: number;
|
|
37001
|
-
timestamp: string;
|
|
37002
36983
|
/** @enum {string} */
|
|
37003
|
-
|
|
36984
|
+
result: "definitionRequired";
|
|
37004
36985
|
} | {
|
|
37005
|
-
|
|
37006
|
-
name: string;
|
|
37007
|
-
seq?: number;
|
|
36986
|
+
changedKeys: string[];
|
|
37008
36987
|
/** @enum {string} */
|
|
37009
|
-
|
|
37010
|
-
|
|
36988
|
+
changes: "none" | "create" | "update";
|
|
36989
|
+
contentHash: string;
|
|
36990
|
+
remoteHash?: string;
|
|
36991
|
+
/** @enum {string} */
|
|
36992
|
+
result: "plan";
|
|
36993
|
+
toolId?: string;
|
|
36994
|
+
};
|
|
36995
|
+
ToolPullResponse: {
|
|
36996
|
+
contentHash: string;
|
|
36997
|
+
definition: {
|
|
36998
|
+
config: {
|
|
36999
|
+
[key: string]: unknown;
|
|
37000
|
+
};
|
|
37001
|
+
description: string;
|
|
37002
|
+
name: string;
|
|
37003
|
+
parametersSchema: {
|
|
37004
|
+
[key: string]: unknown;
|
|
37005
|
+
};
|
|
37006
|
+
/** @enum {string} */
|
|
37007
|
+
toolType: "flow" | "custom" | "external" | "graphql" | "mcp" | "local" | "subagent";
|
|
37008
|
+
};
|
|
37009
|
+
lastModifiedSource: string | null;
|
|
37010
|
+
toolId: string;
|
|
37011
|
+
updatedAt: string | null;
|
|
37011
37012
|
};
|
|
37012
37013
|
UpdateUserProfileResponse: {
|
|
37013
37014
|
email?: string;
|
|
@@ -37105,25 +37106,25 @@ interface components {
|
|
|
37105
37106
|
*/
|
|
37106
37107
|
|
|
37107
37108
|
/**
|
|
37108
|
-
* The
|
|
37109
|
-
*
|
|
37109
|
+
* The single SSE event union — the wire format for every execution stream
|
|
37110
|
+
* (dispatch, agents, client chat, eval). This is the canonical stream type.
|
|
37110
37111
|
*/
|
|
37111
|
-
type
|
|
37112
|
+
type ExecutionStreamEvent = components['schemas']['ExecutionStreamEvent'];
|
|
37112
37113
|
/**
|
|
37113
|
-
* @deprecated
|
|
37114
|
-
* alias of {@link UnifiedStreamEvent}. Prefer `UnifiedStreamEvent`.
|
|
37114
|
+
* @deprecated Alias of {@link ExecutionStreamEvent}. Prefer `ExecutionStreamEvent`.
|
|
37115
37115
|
*/
|
|
37116
|
-
type DispatchEvent = components['schemas']['
|
|
37116
|
+
type DispatchEvent = components['schemas']['ExecutionStreamEvent'];
|
|
37117
37117
|
/**
|
|
37118
|
-
* Legacy flow-execution event union.
|
|
37119
|
-
* (
|
|
37118
|
+
* Legacy flow-execution event union. Kept for the SDK's FlowBuilder convenience
|
|
37119
|
+
* types (`StreamEventOf<FlowStreamEvent, 'flow_start' | 'step_delta' | …>`),
|
|
37120
|
+
* which use the historical event names. The wire is the unified stream;
|
|
37121
|
+
* {@link ExecutionStreamEvent} is the current shape.
|
|
37120
37122
|
*/
|
|
37121
37123
|
type FlowStreamEvent = components['schemas']['FlowSSEEvent'];
|
|
37122
37124
|
/**
|
|
37123
|
-
* @deprecated
|
|
37124
|
-
* alias of {@link UnifiedStreamEvent}. Prefer `UnifiedStreamEvent`.
|
|
37125
|
+
* @deprecated Alias of {@link ExecutionStreamEvent}. Prefer `ExecutionStreamEvent`.
|
|
37125
37126
|
*/
|
|
37126
|
-
type AgentStreamEvent = components['schemas']['
|
|
37127
|
+
type AgentStreamEvent = components['schemas']['ExecutionStreamEvent'];
|
|
37127
37128
|
/**
|
|
37128
37129
|
* Narrow a stream union to one event by its `type` discriminant.
|
|
37129
37130
|
* @example type StepStart = StreamEventOf<FlowStreamEvent, 'step_start'>
|
|
@@ -46849,4 +46850,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
46849
46850
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
46850
46851
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
46851
46852
|
|
|
46852
|
-
export { type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, 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, ApiKeysEndpoint, type ApiResponse, type App, type AppManifest, type AppVersion, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, AppsEndpoint, type AssetReferenceContentPart, 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 BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, ChatEndpoint, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, 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 CreateAppRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateConversationRequest, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DefineAgentInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchClient, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, 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 EvalClient, EvalEndpoint, type EvalListParams, type EvalOptions, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunConfig, EvalRunner, type EvalStatus, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchGitHubStepConfig$1 as FetchGitHubStepConfig, 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 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 GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type ImageContentPart, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListConversationsResponse, type ListParams, 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 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 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 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 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 FetchGitHubStepConfig as RuntypeFetchGitHubStepConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, 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 SendTextStepConfig as RuntypeSendTextStepConfig, 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 SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, 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 SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SendTextStepConfig$1 as SendTextStepConfig, 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 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 SurfaceDefinitionEnvironment, 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, UNIFIED_EVENTS_QUERY, type UnifiedStreamEvent, type UpdateAppRequest, type UpdateClientTokenRequest, type UpdateConversationRequest, 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 VectorSearchStepConfig$1 as VectorSearchStepConfig, 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, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, compileWorkflowConfig, computeAgentContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, listWorkflowHooks, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullFpo, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, streamEvents, unregisterWorkflowHook, withUnifiedEvents };
|
|
46853
|
+
export { type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, 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, ApiKeysEndpoint, type ApiResponse, type App, type AppManifest, type AppVersion, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, AppsEndpoint, type AssetReferenceContentPart, 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 BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, ChatEndpoint, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, 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 CreateAppRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateConversationRequest, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DefineAgentInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchClient, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, 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 EvalClient, EvalEndpoint, type EvalListParams, type EvalOptions, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunConfig, EvalRunner, type EvalStatus, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchGitHubStepConfig$1 as FetchGitHubStepConfig, 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 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 GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type ImageContentPart, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListConversationsResponse, type ListParams, 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 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 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 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 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 FetchGitHubStepConfig as RuntypeFetchGitHubStepConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, 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 SendTextStepConfig as RuntypeSendTextStepConfig, 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 SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, 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 SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SendTextStepConfig$1 as SendTextStepConfig, 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 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 SurfaceDefinitionEnvironment, 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, UNIFIED_EVENTS_QUERY, type UpdateAppRequest, type UpdateClientTokenRequest, type UpdateConversationRequest, 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 VectorSearchStepConfig$1 as VectorSearchStepConfig, 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, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, compileWorkflowConfig, computeAgentContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, listWorkflowHooks, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullFpo, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, streamEvents, unregisterWorkflowHook, withUnifiedEvents };
|