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/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-CzN8vLdE.js";
3
- import { Dt as textPrompt, G as findSessionByDirectoryWalk, Kt as EXIT_CODES, L as renderArgvIdentity, Mt as DEFAULT_AGENT_NAME, Nt as listBuiltInAgents, Ot as InterruptedError, Pt as normalizeAgentName$1, Q as writeSessionRecord, Rt as exitCodeForOutputErrorCode, St as PromptInputValidationError, Tt as parsePromptSource, U as findGitRepositoryRoot, Vt as normalizeOutputError, W as findSession, Xt as OUTPUT_FORMATS, Y as normalizeName, _t as sessionEventSegmentPath, dt as normalizeRuntimeSessionId, en as AcpxOperationalError, gt as sessionEventLockPath, ht as sessionEventActivePath, kt as TimeoutError, lt as parseSessionRecord, pt as defaultSessionEventLog, q as listSessions, tn as AgentSpawnError, ut as serializeSessionRecordForDisk, wt as mergePromptSourceWithText, yt as isAcpJsonRpcMessage, z as getAcpxVersion } from "./live-checkpoint-CBecfnSH.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---9OR06b.js";
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-CzN8vLdE.js").then((n) => n.i);
390
+ sessionModulePromise ??= import("./output-BZQE0gI1.js").then((n) => n.i);
391
391
  return sessionModulePromise;
392
392
  }
393
393
  function loadOutputModule() {
394
- outputModulePromise ??= import("./output-CzN8vLdE.js").then((n) => n.r);
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-D52eGvxU.js");
2235
+ const { handleFlowRun } = await import("./cli-_7Sei6dD.js");
2236
2236
  await handleFlowRun(file, flags, this, config);
2237
2237
  });
2238
2238
  }