@adhdev/daemon-core 1.0.28-rc.3 → 1.0.28-rc.4
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 +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/commands/med-family/mesh-crud.ts +2 -0
- 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 ? "7d006abca95003929c0edc067114d6c4214da3e1" : void 0) ?? "unknown";
|
|
790
|
+
const commitShort = readInjected(true ? "7d006abc" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
791
|
+
const version = readInjected(true ? "1.0.28-rc.4" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
792
|
+
const builtAt = readInjected(true ? "2026-07-25T06:08:43.667Z" : 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 |
|
|
@@ -61013,6 +61017,7 @@ var meshCrudHandlers = {
|
|
|
61013
61017
|
const machineId = typeof args?.machineId === "string" && args.machineId.trim() ? args.machineId.trim() : void 0;
|
|
61014
61018
|
const repoRoot = typeof args?.repoRoot === "string" && args.repoRoot.trim() ? args.repoRoot.trim() : void 0;
|
|
61015
61019
|
const capabilities = Array.isArray(args?.capabilities) ? args.capabilities.map((t) => typeof t === "string" ? t.trim() : "").filter(Boolean) : void 0;
|
|
61020
|
+
const isLocalWorktree = args?.isLocalWorktree === true;
|
|
61016
61021
|
const node = addNode2(meshId, {
|
|
61017
61022
|
workspace,
|
|
61018
61023
|
...repoRoot ? { repoRoot } : {},
|
|
@@ -61020,6 +61025,7 @@ var meshCrudHandlers = {
|
|
|
61020
61025
|
...machineId ? { machineId } : {},
|
|
61021
61026
|
...policy ? { policy } : {},
|
|
61022
61027
|
...role ? { role } : {},
|
|
61028
|
+
...isLocalWorktree ? { isLocalWorktree: true } : {},
|
|
61023
61029
|
...capabilities && capabilities.length ? { capabilities } : {}
|
|
61024
61030
|
});
|
|
61025
61031
|
if (!node) return { success: false, error: "Mesh not found" };
|
|
@@ -77266,6 +77272,7 @@ export {
|
|
|
77266
77272
|
deriveMeshReviewInboxItems,
|
|
77267
77273
|
describeTaskDependencyState,
|
|
77268
77274
|
detectAllVersions,
|
|
77275
|
+
detectCLI,
|
|
77269
77276
|
detectCLIs,
|
|
77270
77277
|
detectClaudeAskUserQuestionPromptFromJson,
|
|
77271
77278
|
detectIDEs,
|