@1agents/acp-service 0.3.0 → 0.4.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/README.md +57 -33
- package/dist/bin/acp-service.js +2 -2
- package/dist/src/bridge.d.ts +2 -2
- package/dist/src/bridge.js +1 -1
- package/dist/src/catalog.js +20 -3
- package/dist/src/manifest.js +1 -1
- package/package.json +27 -8
- package/vendor/runtime/LICENSE +21 -0
- package/vendor/runtime/README.md +115 -0
- package/vendor/runtime/dist/agent-registry-CMg8LHKY.js +806 -0
- package/vendor/runtime/dist/agent-registry-CMg8LHKY.js.map +1 -0
- package/vendor/runtime/dist/agent-registry.d.ts +70 -0
- package/vendor/runtime/dist/agent-registry.d.ts.map +1 -0
- package/vendor/runtime/dist/agent-registry.js +2 -0
- package/vendor/runtime/dist/cli-DUHyAADv.js +182 -0
- package/vendor/runtime/dist/cli-DUHyAADv.js.map +1 -0
- package/vendor/runtime/dist/cli.d.ts +12 -0
- package/vendor/runtime/dist/cli.d.ts.map +1 -0
- package/vendor/runtime/dist/cli.js +2632 -0
- package/vendor/runtime/dist/cli.js.map +1 -0
- package/vendor/runtime/dist/client-DjkWknf7.d.ts +262 -0
- package/vendor/runtime/dist/client-DjkWknf7.d.ts.map +1 -0
- package/vendor/runtime/dist/docs-site/.nojekyll +0 -0
- package/vendor/runtime/dist/docs-site/CLI.html +832 -0
- package/vendor/runtime/dist/docs-site/CNAME +1 -0
- package/vendor/runtime/dist/docs-site/VISION.html +415 -0
- package/vendor/runtime/dist/docs-site/agents.html +391 -0
- package/vendor/runtime/dist/docs-site/compare.html +359 -0
- package/vendor/runtime/dist/docs-site/config.html +450 -0
- package/vendor/runtime/dist/docs-site/custom-agents.html +408 -0
- package/vendor/runtime/dist/docs-site/exit-codes.html +347 -0
- package/vendor/runtime/dist/docs-site/favicon.svg +21 -0
- package/vendor/runtime/dist/docs-site/flows.html +497 -0
- package/vendor/runtime/dist/docs-site/index.html +367 -0
- package/vendor/runtime/dist/docs-site/install.html +386 -0
- package/vendor/runtime/dist/docs-site/llms.txt +35 -0
- package/vendor/runtime/dist/docs-site/output-formats.html +403 -0
- package/vendor/runtime/dist/docs-site/permissions.html +413 -0
- package/vendor/runtime/dist/docs-site/prompting.html +460 -0
- package/vendor/runtime/dist/docs-site/proof-2026-07-18-grok-ext-methods/index.html +336 -0
- package/vendor/runtime/dist/docs-site/quickstart.html +382 -0
- package/vendor/runtime/dist/docs-site/runtime-environment.html +329 -0
- package/vendor/runtime/dist/docs-site/runtime-process-lifecycle.html +335 -0
- package/vendor/runtime/dist/docs-site/session-control.html +406 -0
- package/vendor/runtime/dist/docs-site/session-watch.html +354 -0
- package/vendor/runtime/dist/docs-site/sessions.html +486 -0
- package/vendor/runtime/dist/docs-site/shared-sessions.html +377 -0
- package/vendor/runtime/dist/flows-CiJSCy4D.js +2474 -0
- package/vendor/runtime/dist/flows-CiJSCy4D.js.map +1 -0
- package/vendor/runtime/dist/flows.d.ts +334 -0
- package/vendor/runtime/dist/flows.d.ts.map +1 -0
- package/vendor/runtime/dist/flows.js +2 -0
- package/vendor/runtime/dist/invocation-options-BlIySxIw.js +345 -0
- package/vendor/runtime/dist/invocation-options-BlIySxIw.js.map +1 -0
- package/vendor/runtime/dist/ipc-BlljKR2b.js +5336 -0
- package/vendor/runtime/dist/ipc-BlljKR2b.js.map +1 -0
- package/vendor/runtime/dist/output-BzXQKArM.js +1012 -0
- package/vendor/runtime/dist/output-BzXQKArM.js.map +1 -0
- package/vendor/runtime/dist/queue-owner-runtime-DSFdsS_y.js +8867 -0
- package/vendor/runtime/dist/queue-owner-runtime-DSFdsS_y.js.map +1 -0
- package/vendor/runtime/dist/runtime.d.ts +1156 -0
- package/vendor/runtime/dist/runtime.d.ts.map +1 -0
- package/vendor/runtime/dist/runtime.js +3675 -0
- package/vendor/runtime/dist/runtime.js.map +1 -0
- package/vendor/runtime/dist/session-options-ORCchZGk.d.ts +426 -0
- package/vendor/runtime/dist/session-options-ORCchZGk.d.ts.map +1 -0
- package/vendor/runtime/dist/session-watch-BiBTBMz4.js +76 -0
- package/vendor/runtime/dist/session-watch-BiBTBMz4.js.map +1 -0
- package/vendor/runtime/dist/watch-iYiP-lOo.js +85 -0
- package/vendor/runtime/dist/watch-iYiP-lOo.js.map +1 -0
- package/vendor/runtime/package.json +46 -0
- package/vendor/runtime/skills/acpx/SKILL.md +688 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { C as PermissionPolicy, E as PromptInput, S as PermissionMode, b as McpServer$1, t as SessionAgentOptions, x as NonInteractivePermissionPolicy, y as AuthPolicy } from "./session-options-ORCchZGk.js";
|
|
2
|
+
import "./client-DjkWknf7.js";
|
|
3
|
+
import { SetSessionConfigOptionResponse } from "@1agents/acp-runtime-sdk";
|
|
4
|
+
import net from "node:net";
|
|
5
|
+
//#region src/flows/types.d.ts
|
|
6
|
+
type MaybePromise<T> = T | Promise<T>;
|
|
7
|
+
type FlowRunDefinition<TInput = unknown> = {
|
|
8
|
+
title?: string | ((context: {
|
|
9
|
+
input: TInput;
|
|
10
|
+
flowName: string;
|
|
11
|
+
flowPath?: string;
|
|
12
|
+
}) => MaybePromise<string | undefined>);
|
|
13
|
+
};
|
|
14
|
+
type FlowNodeContext<TInput = unknown> = {
|
|
15
|
+
input: TInput;
|
|
16
|
+
outputs: Record<string, unknown>;
|
|
17
|
+
results: Record<string, FlowNodeResult>;
|
|
18
|
+
state: FlowRunState;
|
|
19
|
+
services: Record<string, unknown>;
|
|
20
|
+
/** Supplied by FlowRunner; aborts when this attempt times out or is cancelled. */
|
|
21
|
+
signal?: AbortSignal;
|
|
22
|
+
/** Supplied to function actions; cancellation retires the owned command before the attempt ends. */
|
|
23
|
+
runShell?: (execution: FlowShellExecution) => Promise<FlowShellResult>;
|
|
24
|
+
};
|
|
25
|
+
type FlowNodeCommon = {
|
|
26
|
+
timeoutMs?: number;
|
|
27
|
+
heartbeatMs?: number;
|
|
28
|
+
statusDetail?: string;
|
|
29
|
+
};
|
|
30
|
+
type FlowEdge = {
|
|
31
|
+
from: string;
|
|
32
|
+
to: string;
|
|
33
|
+
} | {
|
|
34
|
+
from: string;
|
|
35
|
+
switch: {
|
|
36
|
+
on: string;
|
|
37
|
+
cases: Record<string, string>;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type AcpNodeDefinition = FlowNodeCommon & {
|
|
41
|
+
nodeType: "acp";
|
|
42
|
+
profile?: string;
|
|
43
|
+
cwd?: string | ((context: FlowNodeContext) => MaybePromise<string | undefined>);
|
|
44
|
+
session?: {
|
|
45
|
+
handle?: string;
|
|
46
|
+
isolated?: boolean;
|
|
47
|
+
};
|
|
48
|
+
prompt: (context: FlowNodeContext) => MaybePromise<PromptInput | string>;
|
|
49
|
+
parse?: (text: string, context: FlowNodeContext) => MaybePromise<unknown>;
|
|
50
|
+
};
|
|
51
|
+
type ComputeNodeDefinition = FlowNodeCommon & {
|
|
52
|
+
nodeType: "compute";
|
|
53
|
+
run: (context: FlowNodeContext) => MaybePromise<unknown>;
|
|
54
|
+
};
|
|
55
|
+
type FunctionActionNodeDefinition = FlowNodeCommon & {
|
|
56
|
+
nodeType: "action";
|
|
57
|
+
run: (context: FlowNodeContext) => MaybePromise<unknown>;
|
|
58
|
+
};
|
|
59
|
+
type ShellActionExecution = {
|
|
60
|
+
command: string;
|
|
61
|
+
args?: string[];
|
|
62
|
+
cwd?: string;
|
|
63
|
+
env?: Record<string, string>;
|
|
64
|
+
stdin?: string;
|
|
65
|
+
shell?: boolean | string;
|
|
66
|
+
allowNonZeroExit?: boolean;
|
|
67
|
+
timeoutMs?: number;
|
|
68
|
+
/** Per-stream UTF-8 capture limit. Omitted is unlimited; zero permits empty output only. */
|
|
69
|
+
maxBufferBytes?: number;
|
|
70
|
+
};
|
|
71
|
+
type ShellActionResult = {
|
|
72
|
+
command: string;
|
|
73
|
+
args: string[];
|
|
74
|
+
cwd: string;
|
|
75
|
+
stdout: string;
|
|
76
|
+
stderr: string;
|
|
77
|
+
combinedOutput: string;
|
|
78
|
+
exitCode: number | null;
|
|
79
|
+
signal: NodeJS.Signals | null;
|
|
80
|
+
durationMs: number;
|
|
81
|
+
};
|
|
82
|
+
type FlowShellExecution = Omit<ShellActionExecution, "allowNonZeroExit">;
|
|
83
|
+
type FlowShellResult = ShellActionResult & {
|
|
84
|
+
/** The command's own deadline expired; an enclosing attempt cancellation rejects instead. */
|
|
85
|
+
timedOut: boolean;
|
|
86
|
+
};
|
|
87
|
+
type ShellActionNodeDefinition = FlowNodeCommon & {
|
|
88
|
+
nodeType: "action";
|
|
89
|
+
exec: (context: FlowNodeContext) => MaybePromise<ShellActionExecution>;
|
|
90
|
+
parse?: (result: ShellActionResult, context: FlowNodeContext) => MaybePromise<unknown>;
|
|
91
|
+
};
|
|
92
|
+
type ActionNodeDefinition = FunctionActionNodeDefinition | ShellActionNodeDefinition;
|
|
93
|
+
type CheckpointNodeDefinition = FlowNodeCommon & {
|
|
94
|
+
nodeType: "checkpoint";
|
|
95
|
+
summary?: string;
|
|
96
|
+
run?: (context: FlowNodeContext) => MaybePromise<unknown>;
|
|
97
|
+
};
|
|
98
|
+
type FlowNodeDefinition = AcpNodeDefinition | ComputeNodeDefinition | ActionNodeDefinition | CheckpointNodeDefinition;
|
|
99
|
+
type FlowPermissionRequirements = {
|
|
100
|
+
requiredMode: PermissionMode;
|
|
101
|
+
requireExplicitGrant?: boolean;
|
|
102
|
+
reason?: string;
|
|
103
|
+
};
|
|
104
|
+
type FlowDefinition = {
|
|
105
|
+
name: string;
|
|
106
|
+
run?: FlowRunDefinition;
|
|
107
|
+
permissions?: FlowPermissionRequirements;
|
|
108
|
+
startAt: string;
|
|
109
|
+
nodes: Record<string, FlowNodeDefinition>;
|
|
110
|
+
edges: FlowEdge[];
|
|
111
|
+
};
|
|
112
|
+
type FlowNodeOutcome = "ok" | "timed_out" | "failed" | "cancelled";
|
|
113
|
+
type FlowNodeResult = {
|
|
114
|
+
attemptId: string;
|
|
115
|
+
nodeId: string;
|
|
116
|
+
nodeType: FlowNodeDefinition["nodeType"];
|
|
117
|
+
outcome: FlowNodeOutcome;
|
|
118
|
+
startedAt: string;
|
|
119
|
+
finishedAt: string;
|
|
120
|
+
durationMs: number;
|
|
121
|
+
output?: unknown;
|
|
122
|
+
error?: string;
|
|
123
|
+
};
|
|
124
|
+
type FlowArtifactRef = {
|
|
125
|
+
path: string;
|
|
126
|
+
mediaType: string;
|
|
127
|
+
bytes: number;
|
|
128
|
+
sha256: string;
|
|
129
|
+
};
|
|
130
|
+
type FlowConversationTrace = {
|
|
131
|
+
sessionId: string;
|
|
132
|
+
messageStart: number;
|
|
133
|
+
messageEnd: number;
|
|
134
|
+
eventStartSeq: number;
|
|
135
|
+
eventEndSeq: number;
|
|
136
|
+
};
|
|
137
|
+
type FlowActionReceipt = {
|
|
138
|
+
actionType: "shell" | "function";
|
|
139
|
+
command?: string;
|
|
140
|
+
args?: string[];
|
|
141
|
+
cwd?: string;
|
|
142
|
+
exitCode?: number | null;
|
|
143
|
+
signal?: NodeJS.Signals | null;
|
|
144
|
+
durationMs?: number;
|
|
145
|
+
};
|
|
146
|
+
type FlowStepTrace = {
|
|
147
|
+
sessionId?: string;
|
|
148
|
+
promptArtifact?: FlowArtifactRef;
|
|
149
|
+
rawResponseArtifact?: FlowArtifactRef;
|
|
150
|
+
outputArtifact?: FlowArtifactRef;
|
|
151
|
+
outputInline?: unknown;
|
|
152
|
+
stdoutArtifact?: FlowArtifactRef;
|
|
153
|
+
stderrArtifact?: FlowArtifactRef;
|
|
154
|
+
conversation?: FlowConversationTrace;
|
|
155
|
+
action?: FlowActionReceipt;
|
|
156
|
+
};
|
|
157
|
+
type FlowStepRecord = {
|
|
158
|
+
attemptId: string;
|
|
159
|
+
nodeId: string;
|
|
160
|
+
nodeType: FlowNodeDefinition["nodeType"];
|
|
161
|
+
outcome: FlowNodeOutcome;
|
|
162
|
+
startedAt: string;
|
|
163
|
+
finishedAt: string;
|
|
164
|
+
promptText: string | null;
|
|
165
|
+
rawText: string | null;
|
|
166
|
+
output: unknown;
|
|
167
|
+
error?: string;
|
|
168
|
+
session: FlowSessionBinding | null;
|
|
169
|
+
agent: {
|
|
170
|
+
agentName: string;
|
|
171
|
+
agentCommand: string;
|
|
172
|
+
cwd: string;
|
|
173
|
+
} | null;
|
|
174
|
+
trace?: FlowStepTrace;
|
|
175
|
+
};
|
|
176
|
+
type FlowSessionBinding = {
|
|
177
|
+
key: string;
|
|
178
|
+
handle: string;
|
|
179
|
+
bundleId: string;
|
|
180
|
+
name: string;
|
|
181
|
+
profile?: string;
|
|
182
|
+
agentName: string;
|
|
183
|
+
agentCommand: string;
|
|
184
|
+
agentArgv?: string[];
|
|
185
|
+
cwd: string;
|
|
186
|
+
acpxRecordId: string;
|
|
187
|
+
acpSessionId: string;
|
|
188
|
+
agentSessionId?: string;
|
|
189
|
+
};
|
|
190
|
+
type FlowRunState = {
|
|
191
|
+
runId: string;
|
|
192
|
+
flowName: string;
|
|
193
|
+
runTitle?: string;
|
|
194
|
+
flowPath?: string;
|
|
195
|
+
startedAt: string;
|
|
196
|
+
finishedAt?: string;
|
|
197
|
+
updatedAt: string;
|
|
198
|
+
status: "running" | "waiting" | "completed" | "failed" | "timed_out";
|
|
199
|
+
input: unknown;
|
|
200
|
+
outputs: Record<string, unknown>;
|
|
201
|
+
results: Record<string, FlowNodeResult>;
|
|
202
|
+
steps: FlowStepRecord[];
|
|
203
|
+
sessionBindings: Record<string, FlowSessionBinding>;
|
|
204
|
+
currentNode?: string;
|
|
205
|
+
currentAttemptId?: string;
|
|
206
|
+
currentNodeType?: FlowNodeDefinition["nodeType"];
|
|
207
|
+
currentNodeStartedAt?: string;
|
|
208
|
+
lastHeartbeatAt?: string;
|
|
209
|
+
statusDetail?: string;
|
|
210
|
+
waitingOn?: string;
|
|
211
|
+
error?: string;
|
|
212
|
+
};
|
|
213
|
+
type FlowRunResult = {
|
|
214
|
+
runDir: string;
|
|
215
|
+
state: FlowRunState;
|
|
216
|
+
};
|
|
217
|
+
type ResolvedFlowAgent = {
|
|
218
|
+
agentName: string;
|
|
219
|
+
agentCommand: string;
|
|
220
|
+
agentArgv?: string[];
|
|
221
|
+
cwd: string;
|
|
222
|
+
};
|
|
223
|
+
type FlowRunnerOptions = {
|
|
224
|
+
resolveAgent: (profile?: string) => ResolvedFlowAgent;
|
|
225
|
+
permissionMode: PermissionMode;
|
|
226
|
+
mcpServers?: McpServer$1[];
|
|
227
|
+
nonInteractivePermissions?: NonInteractivePermissionPolicy;
|
|
228
|
+
permissionPolicy?: PermissionPolicy;
|
|
229
|
+
authCredentials?: Record<string, string>;
|
|
230
|
+
authPolicy?: AuthPolicy;
|
|
231
|
+
fs?: boolean;
|
|
232
|
+
timeoutMs?: number;
|
|
233
|
+
defaultNodeTimeoutMs?: number;
|
|
234
|
+
ttlMs?: number;
|
|
235
|
+
verbose?: boolean;
|
|
236
|
+
suppressSdkConsoleErrors?: boolean;
|
|
237
|
+
sessionOptions?: SessionAgentOptions;
|
|
238
|
+
services?: Record<string, unknown>;
|
|
239
|
+
outputRoot?: string;
|
|
240
|
+
};
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/flows/definition.d.ts
|
|
243
|
+
export declare function defineFlow<TFlow extends FlowDefinition>(definition: TFlow): TFlow;
|
|
244
|
+
export declare function acp(definition: Omit<AcpNodeDefinition, "nodeType">): AcpNodeDefinition;
|
|
245
|
+
export declare function compute(definition: Omit<ComputeNodeDefinition, "nodeType">): ComputeNodeDefinition;
|
|
246
|
+
export declare function action(definition: Omit<FunctionActionNodeDefinition, "nodeType">): FunctionActionNodeDefinition;
|
|
247
|
+
export declare function action(definition: Omit<ShellActionNodeDefinition, "nodeType">): ShellActionNodeDefinition;
|
|
248
|
+
export declare function shell(definition: Omit<ShellActionNodeDefinition, "nodeType">): ShellActionNodeDefinition;
|
|
249
|
+
export declare function checkpoint(definition?: Omit<CheckpointNodeDefinition, "nodeType">): CheckpointNodeDefinition;
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/flows/runtime.d.ts
|
|
252
|
+
export declare class FlowRunner {
|
|
253
|
+
private readonly resolveAgent;
|
|
254
|
+
private readonly defaultCwd;
|
|
255
|
+
private readonly connectionOptions;
|
|
256
|
+
private readonly defaultNodeTimeoutMs;
|
|
257
|
+
private readonly suppressSdkConsoleErrors?;
|
|
258
|
+
private readonly sessionOptions?;
|
|
259
|
+
private readonly services;
|
|
260
|
+
private readonly store;
|
|
261
|
+
private readonly pendingPersistentSessionClients;
|
|
262
|
+
private readonly attempts;
|
|
263
|
+
private readonly pendingClientReleases;
|
|
264
|
+
private readonly runInterruptions;
|
|
265
|
+
private readonly shellOwners;
|
|
266
|
+
constructor(options: FlowRunnerOptions);
|
|
267
|
+
run(flow: FlowDefinition, input: unknown, options?: {
|
|
268
|
+
flowPath?: string;
|
|
269
|
+
}): Promise<FlowRunResult>;
|
|
270
|
+
private runWithOwnership;
|
|
271
|
+
private registerShellOwner;
|
|
272
|
+
private cancelShellOwners;
|
|
273
|
+
private releaseShellOwners;
|
|
274
|
+
private executeFlowRun;
|
|
275
|
+
private throwIfRunInterrupted;
|
|
276
|
+
private executeFlowStep;
|
|
277
|
+
private makeAttemptContext;
|
|
278
|
+
private writeNodeStartedSnapshot;
|
|
279
|
+
private maybeCompleteCheckpointStep;
|
|
280
|
+
private resolveNextNode;
|
|
281
|
+
private completeFlowRun;
|
|
282
|
+
private recordFlowStepOutcome;
|
|
283
|
+
private executeNode;
|
|
284
|
+
private executeCallbackNode;
|
|
285
|
+
private executeShellNode;
|
|
286
|
+
private shellControl;
|
|
287
|
+
private runCallbackShell;
|
|
288
|
+
private executeAcpNode;
|
|
289
|
+
private prepareAcpPrompt;
|
|
290
|
+
private writeAcpPromptHeartbeat;
|
|
291
|
+
private executeIsolatedAcpPrompt;
|
|
292
|
+
private initializeIsolatedSessionBundle;
|
|
293
|
+
private executePersistentAcpPrompt;
|
|
294
|
+
private appendAcpPromptPreparedTrace;
|
|
295
|
+
private finishAcpPrompt;
|
|
296
|
+
private publishAcpCapture;
|
|
297
|
+
private appendAcpResponseParsedTrace;
|
|
298
|
+
private parseAcpOutput;
|
|
299
|
+
private startHeartbeat;
|
|
300
|
+
private ensureSessionBinding;
|
|
301
|
+
private createPromptEventCapture;
|
|
302
|
+
private runPersistentPrompt;
|
|
303
|
+
private closePendingPersistentSessionClients;
|
|
304
|
+
private runIsolatedPrompt;
|
|
305
|
+
}
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region src/flows/decision.d.ts
|
|
308
|
+
type DecisionAcpOptions = Omit<AcpNodeDefinition, "nodeType" | "prompt" | "parse">;
|
|
309
|
+
type DecisionDefinition<TChoice extends string> = DecisionAcpOptions & {
|
|
310
|
+
question: string | ((context: FlowNodeContext) => string | Promise<string>);
|
|
311
|
+
choices: readonly TChoice[];
|
|
312
|
+
field?: string;
|
|
313
|
+
};
|
|
314
|
+
export declare function decision<TChoice extends string>(definition: DecisionDefinition<TChoice>): AcpNodeDefinition;
|
|
315
|
+
export declare function decisionEdge<TChoice extends string>(args: {
|
|
316
|
+
from: string;
|
|
317
|
+
choices: readonly TChoice[];
|
|
318
|
+
field?: string;
|
|
319
|
+
cases: Record<TChoice, string>;
|
|
320
|
+
}): FlowEdge;
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region src/flows/store.d.ts
|
|
323
|
+
export declare function flowRunsBaseDir(homeDir?: string): string;
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region src/flows/json.d.ts
|
|
326
|
+
type JsonObjectParseMode = "strict" | "fenced" | "compat";
|
|
327
|
+
export declare function parseJsonObject(text: string, options?: {
|
|
328
|
+
mode?: JsonObjectParseMode;
|
|
329
|
+
}): unknown;
|
|
330
|
+
export declare function parseStrictJsonObject(text: string): unknown;
|
|
331
|
+
export declare function extractJsonObject(text: string): unknown;
|
|
332
|
+
//#endregion
|
|
333
|
+
export type { AcpNodeDefinition, ActionNodeDefinition, CheckpointNodeDefinition, ComputeNodeDefinition, DecisionDefinition, FlowDefinition, FlowEdge, FlowNodeCommon, FlowNodeContext, FlowNodeDefinition, FlowPermissionRequirements, FlowRunDefinition, FlowRunResult, FlowRunState, FlowRunnerOptions, FlowSessionBinding, FlowShellExecution, FlowShellResult, FlowStepRecord, FunctionActionNodeDefinition, JsonObjectParseMode, ResolvedFlowAgent, ShellActionExecution, ShellActionNodeDefinition, ShellActionResult };
|
|
334
|
+
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flows.d.ts","names":[],"sources":["../src/flows/types.ts","../src/flows/definition.ts","../src/flows/runtime.ts","../src/flows/decision.ts","../src/flows/store.ts","../src/flows/json.ts"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as parseStrictJsonObject, d as checkpoint, f as compute, i as parseJsonObject, l as acp, m as shell, n as decisionEdge, o as FlowRunner, p as defineFlow, r as extractJsonObject, s as flowRunsBaseDir, t as decision, u as action } from "./flows-CiJSCy4D.js";
|
|
2
|
+
export { FlowRunner, acp, action, checkpoint, compute, decision, decisionEdge, defineFlow, extractJsonObject, flowRunsBaseDir, parseJsonObject, parseStrictJsonObject, shell };
|