acpx 0.13.0 → 0.13.1
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 +64 -382
- package/dist/{cli-D52eGvxU.js → cli-_7Sei6dD.js} +4 -4
- package/dist/{cli-D52eGvxU.js.map → cli-_7Sei6dD.js.map} +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +6 -6
- package/dist/cli.js.map +1 -1
- package/dist/{client-BeKvumq9.d.ts → client-CxNllqui.d.ts} +15 -3
- package/dist/client-CxNllqui.d.ts.map +1 -0
- package/dist/{flags---9OR06b.js → flags-Ds6FzmHG.js} +3 -3
- package/dist/{flags---9OR06b.js.map → flags-Ds6FzmHG.js.map} +1 -1
- package/dist/{flows-CYfjwbn2.js → flows-fzH0GKYF.js} +3 -3
- package/dist/{flows-CYfjwbn2.js.map → flows-fzH0GKYF.js.map} +1 -1
- package/dist/flows.d.ts +2 -2
- package/dist/flows.js +1 -1
- package/dist/{live-checkpoint-CBecfnSH.js → live-checkpoint-BSIrfgVo.js} +345 -186
- package/dist/live-checkpoint-BSIrfgVo.js.map +1 -0
- package/dist/{output-CzN8vLdE.js → output-BZQE0gI1.js} +50 -11
- package/dist/output-BZQE0gI1.js.map +1 -0
- package/dist/runtime.d.ts +104 -17
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +600 -149
- package/dist/runtime.js.map +1 -1
- package/dist/{session-options-CTdZvr68.d.ts → session-options-DwRDODlr.d.ts} +25 -3
- package/dist/session-options-DwRDODlr.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/client-BeKvumq9.d.ts.map +0 -1
- package/dist/live-checkpoint-CBecfnSH.js.map +0 -1
- package/dist/output-CzN8vLdE.js.map +0 -1
- package/dist/session-options-CTdZvr68.d.ts.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as runSessionQueueOwner, c as buildQueueOwnerArgOverride, g as __exportAll, h as isProcessAlive, l as flushPerfMetricsCapture, n as getTextErrorRemediationHints, o as runOnce, p as probeQueueOwnerHealth, t as createOutputFormatter, u as installPerfMetricsCapture } from "./output-
|
|
3
|
-
import {
|
|
4
|
-
import { S as loadPermissionPolicySpec, _ as resolveGlobalFlags, b as resolveSessionNameFromFlags, c as parseHistoryLimit, d as parseOutputFormat$1, f as parsePruneBeforeDate, g as resolveAgentInvocation, h as parseTtlSeconds, i as addSessionOption, l as parseMaxTurns, m as parseTimeoutSeconds, n as addPromptInputOption, o as parseAllowedTools, p as parseSessionName, r as addSessionNameOption, s as parseDaysOlderThan, t as addGlobalFlags, u as parseNonEmptyValue, v as resolveOutputPolicy, x as toTimerMilliseconds, y as resolvePermissionMode } from "./flags
|
|
2
|
+
import { a as runSessionQueueOwner, c as buildQueueOwnerArgOverride, g as __exportAll, h as isProcessAlive, l as flushPerfMetricsCapture, n as getTextErrorRemediationHints, o as runOnce, p as probeQueueOwnerHealth, t as createOutputFormatter, u as installPerfMetricsCapture } from "./output-BZQE0gI1.js";
|
|
3
|
+
import { $ as writeSessionRecord, At as TimeoutError, B as getAcpxVersion, Ct as PromptInputValidationError, Et as parsePromptSource, Ft as normalizeAgentName$1, G as findSession, Ht as normalizeOutputError, J as listSessions, K as findSessionByDirectoryWalk, L as renderArgvIdentity, Nt as DEFAULT_AGENT_NAME, Ot as textPrompt, Pt as listBuiltInAgents, Tt as mergePromptSourceWithText, W as findGitRepositoryRoot, X as normalizeName, Zt as OUTPUT_FORMATS, _t as sessionEventLockPath, bt as isAcpJsonRpcMessage, dt as serializeSessionRecordForDisk, ft as normalizeRuntimeSessionId, gt as sessionEventActivePath, kt as InterruptedError, mt as defaultSessionEventLog, nn as AgentSpawnError, qt as EXIT_CODES, tn as AcpxOperationalError, ut as parseSessionRecord, vt as sessionEventSegmentPath, zt as exitCodeForOutputErrorCode } from "./live-checkpoint-BSIrfgVo.js";
|
|
4
|
+
import { S as loadPermissionPolicySpec, _ as resolveGlobalFlags, b as resolveSessionNameFromFlags, c as parseHistoryLimit, d as parseOutputFormat$1, f as parsePruneBeforeDate, g as resolveAgentInvocation, h as parseTtlSeconds, i as addSessionOption, l as parseMaxTurns, m as parseTimeoutSeconds, n as addPromptInputOption, o as parseAllowedTools, p as parseSessionName, r as addSessionNameOption, s as parseDaysOlderThan, t as addGlobalFlags, u as parseNonEmptyValue, v as resolveOutputPolicy, x as toTimerMilliseconds, y as resolvePermissionMode } from "./flags-Ds6FzmHG.js";
|
|
5
5
|
import { realpathSync } from "node:fs";
|
|
6
6
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
@@ -387,11 +387,11 @@ let sessionModulePromise;
|
|
|
387
387
|
let outputModulePromise;
|
|
388
388
|
let outputRenderModulePromise;
|
|
389
389
|
function loadSessionModule() {
|
|
390
|
-
sessionModulePromise ??= import("./output-
|
|
390
|
+
sessionModulePromise ??= import("./output-BZQE0gI1.js").then((n) => n.i);
|
|
391
391
|
return sessionModulePromise;
|
|
392
392
|
}
|
|
393
393
|
function loadOutputModule() {
|
|
394
|
-
outputModulePromise ??= import("./output-
|
|
394
|
+
outputModulePromise ??= import("./output-BZQE0gI1.js").then((n) => n.r);
|
|
395
395
|
return outputModulePromise;
|
|
396
396
|
}
|
|
397
397
|
function loadOutputRenderModule() {
|
|
@@ -2232,7 +2232,7 @@ function registerAgentCommand(program, agentName, config) {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
function registerFlowCommand(program, config) {
|
|
2234
2234
|
program.command("flow").description("Run multi-step ACP workflows from flow files").command("run").description("Run a flow file").argument("<file>", "Flow module path").option("--input-json <json>", "Flow input as JSON").option("--input-file <path>", "Read flow input JSON from file").option("--default-agent <name>", "Default agent profile for ACP nodes without profile", (value) => parseNonEmptyValue("Default agent", value)).action(async function(file, flags) {
|
|
2235
|
-
const { handleFlowRun } = await import("./cli-
|
|
2235
|
+
const { handleFlowRun } = await import("./cli-_7Sei6dD.js");
|
|
2236
2236
|
await handleFlowRun(file, flags, this, config);
|
|
2237
2237
|
});
|
|
2238
2238
|
}
|