@parall/daemon 1.58.2 → 1.60.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/bundle/manifest.json +11 -11
- package/bundle/parall-browser-pod.js +144 -6
- package/bundle/parall-claude-agent.js +2453 -805
- package/bundle/parall-codex-agent.js +2038 -746
- package/bundle/parall-daemon.js +682 -355
- package/dist/daemon-main.d.ts.map +1 -1
- package/dist/daemon-main.js +9 -2
- package/dist/runtimes.d.ts.map +1 -1
- package/dist/runtimes.js +5 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemon-main.d.ts","sourceRoot":"","sources":["../src/daemon-main.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"daemon-main.d.ts","sourceRoot":"","sources":["../src/daemon-main.ts"],"names":[],"mappings":";AA2BA,MAAM,MAAM,oBAAoB,GAAG;IACjC,sBAAsB,EAAE,OAAO,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAqLF,wBAAsB,cAAc,CAClC,SAAS,EAAE,oBAAoB,EAC/B,IAAI,WAAwB,GAC3B,OAAO,CAAC,IAAI,CAAC,CASf"}
|
package/dist/daemon-main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { configureHttpKeepAlive, createLogger, createOtelLogger, initAgentTelemetry, } from '@parall/agent-core';
|
|
2
|
+
import { configureHttpKeepAlive, createLogger, createOtelLogger, initAgentTelemetry, resolveServiceVersion, } from '@parall/agent-core';
|
|
3
3
|
import { ParallClient } from '@parall/sdk';
|
|
4
4
|
import { runCLI } from './cli.js';
|
|
5
5
|
import { resolveBundleDir, resolveClaudeDaemonConfig, resolveWsUrl, } from './config.js';
|
|
@@ -78,7 +78,14 @@ async function main(bootstrap) {
|
|
|
78
78
|
// Before any fetch: long-lived HTTP connections for control-plane calls.
|
|
79
79
|
configureHttpKeepAlive();
|
|
80
80
|
const config = resolveClaudeDaemonConfig(process.env);
|
|
81
|
-
|
|
81
|
+
// Credentials come from the resolved config (config.json for service
|
|
82
|
+
// installs, env for foreground runs) — the env-only read this replaced left
|
|
83
|
+
// every launchd/systemd-installed daemon exporting nothing.
|
|
84
|
+
const telemetry = await initAgentTelemetry('parall-daemon', 'daemon', {
|
|
85
|
+
apiUrl: config.apiUrl,
|
|
86
|
+
apiKey: config.apiKey,
|
|
87
|
+
serviceVersion: resolveServiceVersion(import.meta.url),
|
|
88
|
+
});
|
|
82
89
|
log = createOtelLogger('daemon', 'daemon');
|
|
83
90
|
log.info(`boot: api=${config.apiUrl} pollMs=${config.pollIntervalMs} heartbeatMs=${config.heartbeatIntervalMs} agentBin=${config.agentBin}`);
|
|
84
91
|
log.info(`keepalive: bootstrapBackoffMs=${config.bootstrapBackoffMs} supervisorRestartBackoffMs=${config.supervisorRestartBackoffMs}`);
|
package/dist/runtimes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimes.d.ts","sourceRoot":"","sources":["../src/runtimes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAa,MAAM,oBAAoB,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,YAAY,EAAE,cAAc,EAAE,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,CACN,OAAO,EAAE,MAAM,CAAC,UAAU,EAC1B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,SAAS,EACf,EAAE,CAAC,EAAE,cAAc,GAClB,MAAM,CAAC,UAAU,CAAC;CACtB;AAED,MAAM,WAAW,SA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GED
|
@@ -22,7 +22,11 @@ function buildStandardEnv(baseEnv, agentId, orgId, apiKey, dirs, pc) {
|
|
|
22
22
|
// BEFORE buildEnv. Do not hoist this assignment above that call site.
|
|
23
23
|
if (dirs.homeDir)
|
|
24
24
|
env.HOME = dirs.homeDir;
|
|
25
|
-
|
|
25
|
+
// The bridge reports this as the `parall.daemon_mode` telemetry resource
|
|
26
|
+
// attribute — a daemon-spawned bridge is BYOC by definition, and dropping the
|
|
27
|
+
// flag here made every self-hosted bridge indistinguishable from a bare
|
|
28
|
+
// standalone run in SigNoz.
|
|
29
|
+
env.PRLL_DAEMON_MODE = '1';
|
|
26
30
|
return env;
|
|
27
31
|
}
|
|
28
32
|
const claudeCodeAdapter = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.60.0",
|
|
4
4
|
"description": "Parall local agent runtime — daemon supervisor + bridge runtimes, bundled as standalone JS files",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@aws-sdk/client-s3": "3.984.0",
|
|
34
34
|
"@pinixai/bb-browser-pro": "0.15.0",
|
|
35
35
|
"ws": "^8.18.0",
|
|
36
|
-
"@parall/agent-core": "1.
|
|
37
|
-
"@parall/sdk": "1.
|
|
38
|
-
"@parall/
|
|
39
|
-
"@parall/
|
|
40
|
-
"@parall/
|
|
36
|
+
"@parall/agent-core": "1.60.0",
|
|
37
|
+
"@parall/sdk": "1.60.0",
|
|
38
|
+
"@parall/codex-agent": "1.60.0",
|
|
39
|
+
"@parall/openclaw-agent": "1.60.0",
|
|
40
|
+
"@parall/claude-agent": "1.60.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^22.0.0",
|