@agentconnect.md/daemon 1.0.0-rc.212 → 1.0.0-rc.214
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/{acp-host-CuMoxt_h.js → acp-host-C1MZcqZo.js} +29 -11
- package/dist/acp-host-C1MZcqZo.js.map +1 -0
- package/dist/{chat-CMmt04kZ.js → chat-BjhxExGt.js} +2 -2
- package/dist/{chat-CMmt04kZ.js.map → chat-BjhxExGt.js.map} +1 -1
- package/dist/index.js +3 -3
- package/dist/{login-hti12388.js → login-CmjeJfAo.js} +3 -3
- package/dist/{login-hti12388.js.map → login-CmjeJfAo.js.map} +1 -1
- package/dist/{run-foreground-Bzas4Kly.js → run-foreground-CD2uFFvp.js} +69 -17
- package/dist/run-foreground-CD2uFFvp.js.map +1 -0
- package/dist/run-foreground-CdY92tUb.js +2 -0
- package/package.json +1 -1
- package/dist/acp-host-CuMoxt_h.js.map +0 -1
- package/dist/run-foreground-Bzas4Kly.js.map +0 -1
- package/dist/run-foreground-DJyg3onO.js +0 -2
|
@@ -637,14 +637,13 @@ const GitCredGrant = object({
|
|
|
637
637
|
/**
|
|
638
638
|
* Session read-back (C→D REQ → REP) — the console's on-demand pulls.
|
|
639
639
|
*
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
*
|
|
645
|
-
*
|
|
646
|
-
* -
|
|
647
|
-
* online daemons and merges, for "all sessions across the workspace").
|
|
640
|
+
* Session bodies are daemon-local (body-locality, §1/§12). The CP may persist a
|
|
641
|
+
* metadata-only session-list snapshot from daemon `event/session` events, while
|
|
642
|
+
* transcript/tool bodies are pulled live from the owning daemon and proxied to
|
|
643
|
+
* the console only for display.
|
|
644
|
+
*
|
|
645
|
+
* - `session/list`: the daemon's local metadata projection, used for snapshots
|
|
646
|
+
* and direct read-back/debugging.
|
|
648
647
|
* - `session/history`: one cursor-paginated page of a session's transcript.
|
|
649
648
|
*/
|
|
650
649
|
/**
|
|
@@ -934,6 +933,13 @@ const EventSession = object({
|
|
|
934
933
|
thread: string().optional(),
|
|
935
934
|
link: string().optional(),
|
|
936
935
|
summary: string().optional(),
|
|
936
|
+
title: string().optional(),
|
|
937
|
+
status: string().optional(),
|
|
938
|
+
lastActivityAt: string().datetime().optional(),
|
|
939
|
+
triggeredBy: string().optional(),
|
|
940
|
+
channelName: string().optional(),
|
|
941
|
+
triggeredByName: string().optional(),
|
|
942
|
+
threadUrl: string().optional(),
|
|
937
943
|
ts: string().datetime()
|
|
938
944
|
});
|
|
939
945
|
/**
|
|
@@ -9962,7 +9968,19 @@ function isCommandAvailable(command, env = process.env) {
|
|
|
9962
9968
|
*/
|
|
9963
9969
|
function resolveCommandPath(command, env = process.env) {
|
|
9964
9970
|
const exts = isWin ? ["", ...(env.PATHEXT ?? ".EXE;.CMD;.BAT;.COM").split(";")] : [""];
|
|
9965
|
-
if (command.includes("/") || isWin && command.includes("\\"))
|
|
9971
|
+
if (command.includes("/") || isWin && command.includes("\\")) {
|
|
9972
|
+
const literal = exts.map((ext) => command + ext).find(isExecutableFile);
|
|
9973
|
+
if (literal) return literal;
|
|
9974
|
+
const basename = command.split(/[/\\]/).filter(Boolean).pop() ?? command;
|
|
9975
|
+
if (basename !== command || isWin && basename !== command) {
|
|
9976
|
+
const dirs = (env.PATH ?? "").split(delimiter).filter(Boolean);
|
|
9977
|
+
for (const dir of dirs) for (const ext of exts) {
|
|
9978
|
+
const p = join(dir, basename) + ext;
|
|
9979
|
+
if (isExecutableFile(p)) return p;
|
|
9980
|
+
}
|
|
9981
|
+
}
|
|
9982
|
+
return;
|
|
9983
|
+
}
|
|
9966
9984
|
const dirs = (env.PATH ?? "").split(delimiter).filter(Boolean);
|
|
9967
9985
|
for (const dir of dirs) for (const ext of exts) {
|
|
9968
9986
|
const p = join(dir, command) + ext;
|
|
@@ -10168,7 +10186,7 @@ var AcpHost = class {
|
|
|
10168
10186
|
this.opts.log?.info(`acp: CLAUDE_CODE_EXECUTABLE not set — using claude on PATH (${claude})`);
|
|
10169
10187
|
}
|
|
10170
10188
|
}
|
|
10171
|
-
const child = spawn$1(this.runtime.command, this.runtime.args, {
|
|
10189
|
+
const child = spawn$1(resolveCommandPath(this.runtime.command, env) ?? this.runtime.command, this.runtime.args, {
|
|
10172
10190
|
stdio: [
|
|
10173
10191
|
"pipe",
|
|
10174
10192
|
"pipe",
|
|
@@ -10407,4 +10425,4 @@ var AcpHost = class {
|
|
|
10407
10425
|
//#endregion
|
|
10408
10426
|
export { resolveRuntimes as _, initGitInjection as a, simpleGit as c, MAX_FRAME_BYTES as d, buildEnvelope as f, cachedRuntimeVersions as g, cachedRuntimeNames as h, prepareWorkspace as i, isFrame as l, encode as m, installedRuntimes as n, probeGitVersion as o, decodeEnvelope as p, prefetchWorkspace as r, sessionGitEnv as s, AcpHost as t, normalizeGitUrl as u };
|
|
10409
10427
|
|
|
10410
|
-
//# sourceMappingURL=acp-host-
|
|
10428
|
+
//# sourceMappingURL=acp-host-C1MZcqZo.js.map
|