@buildautomaton/cli 0.1.43 → 0.1.44
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 +5 -3
- package/dist/cli.js.map +2 -2
- package/dist/index.js +5 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24468,7 +24468,7 @@ function installBridgeProcessResilience() {
|
|
|
24468
24468
|
}
|
|
24469
24469
|
|
|
24470
24470
|
// src/cli-version.ts
|
|
24471
|
-
var CLI_VERSION = "0.1.
|
|
24471
|
+
var CLI_VERSION = "0.1.44".length > 0 ? "0.1.44" : "0.0.0-dev";
|
|
24472
24472
|
|
|
24473
24473
|
// src/connection/heartbeat/constants.ts
|
|
24474
24474
|
var BRIDGE_APP_HEARTBEAT_INTERVAL_MS = 1e4;
|
|
@@ -26265,9 +26265,9 @@ async function execProbeShutdownAware(file2, args, timeoutMs) {
|
|
|
26265
26265
|
|
|
26266
26266
|
// src/agents/acp/clients/claude-code-acp-client.ts
|
|
26267
26267
|
var BACKEND_LOCAL_AGENT_TYPE = "claude-code";
|
|
26268
|
+
var CLAUDE_ACP_ADAPTER_NPX_ARGS = ["--yes", "@agentclientprotocol/claude-agent-acp"];
|
|
26268
26269
|
async function detectLocalAgentPresence() {
|
|
26269
|
-
|
|
26270
|
-
return execProbeShutdownAware("npx", ["--yes", "@anthropic-ai/claude-code", "--version"], 3e3);
|
|
26270
|
+
return execProbeShutdownAware("npx", [...CLAUDE_ACP_ADAPTER_NPX_ARGS, "--help"], 8e3);
|
|
26271
26271
|
}
|
|
26272
26272
|
function buildClaudeCodeAcpSpawnCommand(base, _sessionMode) {
|
|
26273
26273
|
return [...base];
|
|
@@ -27102,6 +27102,8 @@ function createBridgeOnRequest(opts) {
|
|
|
27102
27102
|
...sessionId ? { sessionId } : {},
|
|
27103
27103
|
runId,
|
|
27104
27104
|
kind,
|
|
27105
|
+
/** Top-level for bridge DO jobs / web push when `payload` is E2EE-encrypted. */
|
|
27106
|
+
requestId: request.requestId,
|
|
27105
27107
|
payload: {
|
|
27106
27108
|
sessionUpdate,
|
|
27107
27109
|
requestId: request.requestId,
|