@adhdev/daemon-standalone 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.js +16 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public/assets/{index-B51nIfEq.css → index-8TNNoifN.css} +1 -1
- package/public/assets/{index-CX3wQvni.js → index-QamS-QkE.js} +50 -50
- package/public/index.html +2 -2
- package/vendor/mcp-server/index.js +152 -0
- package/vendor/mcp-server/index.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -33262,10 +33262,10 @@ var require_dist3 = __commonJS({
|
|
|
33262
33262
|
}
|
|
33263
33263
|
function getDaemonBuildInfo() {
|
|
33264
33264
|
if (cached2) return cached2;
|
|
33265
|
-
const commit = readInjected(true ? "
|
|
33266
|
-
const commitShort = readInjected(true ? "
|
|
33267
|
-
const version2 = readInjected(true ? "1.0.28-rc.
|
|
33268
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
33265
|
+
const commit = readInjected(true ? "a1cba539ff9abee6cdeb8e3331318daa1bf075a0" : void 0) ?? "unknown";
|
|
33266
|
+
const commitShort = readInjected(true ? "a1cba539" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
33267
|
+
const version2 = readInjected(true ? "1.0.28-rc.5" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
33268
|
+
const builtAt = readInjected(true ? "2026-07-25T06:49:20.388Z" : void 0);
|
|
33269
33269
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
33270
33270
|
return cached2;
|
|
33271
33271
|
}
|
|
@@ -35992,6 +35992,8 @@ ${error48.message || ""}`;
|
|
|
35992
35992
|
"mesh_approve",
|
|
35993
35993
|
"mesh_answer_question",
|
|
35994
35994
|
"mesh_list_pending_approvals",
|
|
35995
|
+
"mesh_create",
|
|
35996
|
+
"mesh_add_node",
|
|
35995
35997
|
"mesh_clone_node",
|
|
35996
35998
|
"mesh_remove_node",
|
|
35997
35999
|
"mesh_refine_node",
|
|
@@ -43256,6 +43258,8 @@ When you compose the task message you dispatch to a node, include these requirem
|
|
|
43256
43258
|
| \`mesh_approve\` | Approve/reject a pending agent action (a yes/no tool-consent modal) |
|
|
43257
43259
|
| \`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 |
|
|
43258
43260
|
| \`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 |
|
|
43261
|
+
| \`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 |
|
|
43262
|
+
| \`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 |
|
|
43259
43263
|
| \`mesh_clone_node\` | Create a worktree node for isolated parallel branch work |
|
|
43260
43264
|
| \`mesh_refine_node\` | Validate and merge a completed worktree node back into its base branch |
|
|
43261
43265
|
| \`mesh_refine_batch\` | Batch Refinery: converge multiple sibling worktree nodes onto the base branch in one conflict-aware sequential pipeline |
|
|
@@ -65154,6 +65158,7 @@ ${lastSnapshot}`;
|
|
|
65154
65158
|
deriveMeshReviewInboxItems: () => deriveMeshReviewInboxItems,
|
|
65155
65159
|
describeTaskDependencyState: () => describeTaskDependencyState,
|
|
65156
65160
|
detectAllVersions: () => detectAllVersions,
|
|
65161
|
+
detectCLI: () => detectCLI,
|
|
65157
65162
|
detectCLIs: () => detectCLIs,
|
|
65158
65163
|
detectClaudeAskUserQuestionPromptFromJson: () => detectClaudeAskUserQuestionPromptFromJson,
|
|
65159
65164
|
detectIDEs: () => detectIDEs,
|
|
@@ -77744,7 +77749,11 @@ ${body}
|
|
|
77744
77749
|
appendUpgradeLog(`Waiting for parent pid ${payload.parentPid} to exit`);
|
|
77745
77750
|
await waitForPidExit(payload.parentPid, 15e3);
|
|
77746
77751
|
}
|
|
77747
|
-
|
|
77752
|
+
if (process.platform === "win32") {
|
|
77753
|
+
await stopSessionHostProcesses(sessionHostAppName);
|
|
77754
|
+
} else {
|
|
77755
|
+
appendUpgradeLog("POSIX \u2014 session-host left running (survives upgrade; sessions rebind on next boot)");
|
|
77756
|
+
}
|
|
77748
77757
|
removeDaemonPidFile();
|
|
77749
77758
|
const instanceDir = resolveInstanceDir();
|
|
77750
77759
|
const windowsInstallerLayout = resolveWindowsInstallerLayout({
|
|
@@ -93872,6 +93881,7 @@ ${formatManifestValidationIssues2(validation2.issues)}`);
|
|
|
93872
93881
|
const machineId = typeof args?.machineId === "string" && args.machineId.trim() ? args.machineId.trim() : void 0;
|
|
93873
93882
|
const repoRoot = typeof args?.repoRoot === "string" && args.repoRoot.trim() ? args.repoRoot.trim() : void 0;
|
|
93874
93883
|
const capabilities = Array.isArray(args?.capabilities) ? args.capabilities.map((t) => typeof t === "string" ? t.trim() : "").filter(Boolean) : void 0;
|
|
93884
|
+
const isLocalWorktree = args?.isLocalWorktree === true;
|
|
93875
93885
|
const node = addNode2(meshId, {
|
|
93876
93886
|
workspace,
|
|
93877
93887
|
...repoRoot ? { repoRoot } : {},
|
|
@@ -93879,6 +93889,7 @@ ${formatManifestValidationIssues2(validation2.issues)}`);
|
|
|
93879
93889
|
...machineId ? { machineId } : {},
|
|
93880
93890
|
...policy ? { policy } : {},
|
|
93881
93891
|
...role ? { role } : {},
|
|
93892
|
+
...isLocalWorktree ? { isLocalWorktree: true } : {},
|
|
93882
93893
|
...capabilities && capabilities.length ? { capabilities } : {}
|
|
93883
93894
|
});
|
|
93884
93895
|
if (!node) return { success: false, error: "Mesh not found" };
|