@adhdev/daemon-core 1.0.28-rc.3 → 1.0.28-rc.5
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/index.d.ts +1 -1
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/commands/med-family/mesh-crud.ts +2 -0
- package/src/commands/upgrade-helper.ts +15 -1
- package/src/index.ts +1 -1
- package/src/mesh/coordinator-prompt.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -786,10 +786,10 @@ function readInjected(value) {
|
|
|
786
786
|
}
|
|
787
787
|
function getDaemonBuildInfo() {
|
|
788
788
|
if (cached) return cached;
|
|
789
|
-
const commit = readInjected(true ? "
|
|
790
|
-
const commitShort = readInjected(true ? "
|
|
791
|
-
const version = readInjected(true ? "1.0.28-rc.
|
|
792
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
789
|
+
const commit = readInjected(true ? "a1cba539ff9abee6cdeb8e3331318daa1bf075a0" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "a1cba539" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.28-rc.5" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-25T06:48:48.092Z" : void 0);
|
|
793
793
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
794
794
|
return cached;
|
|
795
795
|
}
|
|
@@ -3492,6 +3492,8 @@ var init_dist = __esm({
|
|
|
3492
3492
|
"mesh_approve",
|
|
3493
3493
|
"mesh_answer_question",
|
|
3494
3494
|
"mesh_list_pending_approvals",
|
|
3495
|
+
"mesh_create",
|
|
3496
|
+
"mesh_add_node",
|
|
3495
3497
|
"mesh_clone_node",
|
|
3496
3498
|
"mesh_remove_node",
|
|
3497
3499
|
"mesh_refine_node",
|
|
@@ -10678,6 +10680,8 @@ var init_coordinator_prompt = __esm({
|
|
|
10678
10680
|
| \`mesh_approve\` | Approve/reject a pending agent action (a yes/no tool-consent modal) |
|
|
10679
10681
|
| \`mesh_answer_question\` | Answer a delegated session's multi-choice QUESTION (AskUserQuestion / status awaiting_choice). NOT an approval \u2014 it offers labelled options (possibly multi-select or freeform). Pass the promptId from the agent:waiting_choice event + one answer per question (select by option label or 1-based index). Use this, never mesh_approve, for a question |
|
|
10680
10682
|
| \`mesh_list_pending_approvals\` | List every session across the mesh awaiting an approval decision (the approval inbox) \u2014 read-only; enumerate all blocked sessions at once, then drive a mesh_approve for each |
|
|
10683
|
+
| \`mesh_create\` | Bootstrap a NEW mesh for a repo (name + repo_remote_url/repo_identity); optionally register the current workspace as the first node. The from-scratch entry point when no mesh exists yet |
|
|
10684
|
+
| \`mesh_add_node\` | Register a workspace as a node in an existing mesh (workspace + optional read_only/provider_priority). The second bootstrap step after mesh_create; use mesh_clone_node instead to create a fresh git worktree |
|
|
10681
10685
|
| \`mesh_clone_node\` | Create a worktree node for isolated parallel branch work |
|
|
10682
10686
|
| \`mesh_refine_node\` | Validate and merge a completed worktree node back into its base branch |
|
|
10683
10687
|
| \`mesh_refine_batch\` | Batch Refinery: converge multiple sibling worktree nodes onto the base branch in one conflict-aware sequential pipeline |
|
|
@@ -44772,7 +44776,11 @@ async function runDaemonUpgradeHelper(payload) {
|
|
|
44772
44776
|
appendUpgradeLog(`Waiting for parent pid ${payload.parentPid} to exit`);
|
|
44773
44777
|
await waitForPidExit(payload.parentPid, 15e3);
|
|
44774
44778
|
}
|
|
44775
|
-
|
|
44779
|
+
if (process.platform === "win32") {
|
|
44780
|
+
await stopSessionHostProcesses(sessionHostAppName);
|
|
44781
|
+
} else {
|
|
44782
|
+
appendUpgradeLog("POSIX \u2014 session-host left running (survives upgrade; sessions rebind on next boot)");
|
|
44783
|
+
}
|
|
44776
44784
|
removeDaemonPidFile();
|
|
44777
44785
|
const instanceDir = resolveInstanceDir();
|
|
44778
44786
|
const windowsInstallerLayout = resolveWindowsInstallerLayout({
|
|
@@ -61013,6 +61021,7 @@ var meshCrudHandlers = {
|
|
|
61013
61021
|
const machineId = typeof args?.machineId === "string" && args.machineId.trim() ? args.machineId.trim() : void 0;
|
|
61014
61022
|
const repoRoot = typeof args?.repoRoot === "string" && args.repoRoot.trim() ? args.repoRoot.trim() : void 0;
|
|
61015
61023
|
const capabilities = Array.isArray(args?.capabilities) ? args.capabilities.map((t) => typeof t === "string" ? t.trim() : "").filter(Boolean) : void 0;
|
|
61024
|
+
const isLocalWorktree = args?.isLocalWorktree === true;
|
|
61016
61025
|
const node = addNode2(meshId, {
|
|
61017
61026
|
workspace,
|
|
61018
61027
|
...repoRoot ? { repoRoot } : {},
|
|
@@ -61020,6 +61029,7 @@ var meshCrudHandlers = {
|
|
|
61020
61029
|
...machineId ? { machineId } : {},
|
|
61021
61030
|
...policy ? { policy } : {},
|
|
61022
61031
|
...role ? { role } : {},
|
|
61032
|
+
...isLocalWorktree ? { isLocalWorktree: true } : {},
|
|
61023
61033
|
...capabilities && capabilities.length ? { capabilities } : {}
|
|
61024
61034
|
});
|
|
61025
61035
|
if (!node) return { success: false, error: "Mesh not found" };
|
|
@@ -77266,6 +77276,7 @@ export {
|
|
|
77266
77276
|
deriveMeshReviewInboxItems,
|
|
77267
77277
|
describeTaskDependencyState,
|
|
77268
77278
|
detectAllVersions,
|
|
77279
|
+
detectCLI,
|
|
77269
77280
|
detectCLIs,
|
|
77270
77281
|
detectClaudeAskUserQuestionPromptFromJson,
|
|
77271
77282
|
detectIDEs,
|