@adhdev/daemon-core 1.0.28-rc.2 → 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.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export { loadState, saveState, resetState } from './config/state-store.js';
|
|
|
86
86
|
export type { DaemonState } from './config/state-store.js';
|
|
87
87
|
export { detectIDEs } from './detection/ide-detector.js';
|
|
88
88
|
export type { IDEInfo } from './detection/ide-detector.js';
|
|
89
|
-
export { detectCLIs } from './detection/cli-detector.js';
|
|
89
|
+
export { detectCLIs, detectCLI } from './detection/cli-detector.js';
|
|
90
90
|
export { getHostMemorySnapshot } from './system/host-memory.js';
|
|
91
91
|
export type { HostMemorySnapshot } from './system/host-memory.js';
|
|
92
92
|
export { classifyHotChatSessionsForSubscriptionFlush, detectNewlySettledCompletedSessions, DEFAULT_ACTIVE_CHAT_POLL_STATUSES, DEFAULT_CHAT_TAIL_RECENT_MESSAGE_GRACE_MS, } from './status/chat-tail-hot-sessions.js';
|
package/dist/index.js
CHANGED
|
@@ -791,10 +791,10 @@ function readInjected(value) {
|
|
|
791
791
|
}
|
|
792
792
|
function getDaemonBuildInfo() {
|
|
793
793
|
if (cached) return cached;
|
|
794
|
-
const commit = readInjected(true ? "
|
|
795
|
-
const commitShort = readInjected(true ? "
|
|
796
|
-
const version = readInjected(true ? "1.0.28-rc.
|
|
797
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
794
|
+
const commit = readInjected(true ? "7d006abca95003929c0edc067114d6c4214da3e1" : void 0) ?? "unknown";
|
|
795
|
+
const commitShort = readInjected(true ? "7d006abc" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
796
|
+
const version = readInjected(true ? "1.0.28-rc.4" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
797
|
+
const builtAt = readInjected(true ? "2026-07-25T06:08:43.667Z" : void 0);
|
|
798
798
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
799
799
|
return cached;
|
|
800
800
|
}
|
|
@@ -3498,6 +3498,8 @@ var init_dist = __esm({
|
|
|
3498
3498
|
"mesh_approve",
|
|
3499
3499
|
"mesh_answer_question",
|
|
3500
3500
|
"mesh_list_pending_approvals",
|
|
3501
|
+
"mesh_create",
|
|
3502
|
+
"mesh_add_node",
|
|
3501
3503
|
"mesh_clone_node",
|
|
3502
3504
|
"mesh_remove_node",
|
|
3503
3505
|
"mesh_refine_node",
|
|
@@ -10685,6 +10687,8 @@ var init_coordinator_prompt = __esm({
|
|
|
10685
10687
|
| \`mesh_approve\` | Approve/reject a pending agent action (a yes/no tool-consent modal) |
|
|
10686
10688
|
| \`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 |
|
|
10687
10689
|
| \`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 |
|
|
10690
|
+
| \`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 |
|
|
10691
|
+
| \`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 |
|
|
10688
10692
|
| \`mesh_clone_node\` | Create a worktree node for isolated parallel branch work |
|
|
10689
10693
|
| \`mesh_refine_node\` | Validate and merge a completed worktree node back into its base branch |
|
|
10690
10694
|
| \`mesh_refine_batch\` | Batch Refinery: converge multiple sibling worktree nodes onto the base branch in one conflict-aware sequential pipeline |
|
|
@@ -32472,6 +32476,7 @@ __export(index_exports, {
|
|
|
32472
32476
|
deriveMeshReviewInboxItems: () => deriveMeshReviewInboxItems,
|
|
32473
32477
|
describeTaskDependencyState: () => describeTaskDependencyState,
|
|
32474
32478
|
detectAllVersions: () => detectAllVersions,
|
|
32479
|
+
detectCLI: () => detectCLI,
|
|
32475
32480
|
detectCLIs: () => detectCLIs,
|
|
32476
32481
|
detectClaudeAskUserQuestionPromptFromJson: () => detectClaudeAskUserQuestionPromptFromJson,
|
|
32477
32482
|
detectIDEs: () => detectIDEs,
|
|
@@ -61448,6 +61453,7 @@ var meshCrudHandlers = {
|
|
|
61448
61453
|
const machineId = typeof args?.machineId === "string" && args.machineId.trim() ? args.machineId.trim() : void 0;
|
|
61449
61454
|
const repoRoot = typeof args?.repoRoot === "string" && args.repoRoot.trim() ? args.repoRoot.trim() : void 0;
|
|
61450
61455
|
const capabilities = Array.isArray(args?.capabilities) ? args.capabilities.map((t) => typeof t === "string" ? t.trim() : "").filter(Boolean) : void 0;
|
|
61456
|
+
const isLocalWorktree = args?.isLocalWorktree === true;
|
|
61451
61457
|
const node = addNode2(meshId, {
|
|
61452
61458
|
workspace,
|
|
61453
61459
|
...repoRoot ? { repoRoot } : {},
|
|
@@ -61455,6 +61461,7 @@ var meshCrudHandlers = {
|
|
|
61455
61461
|
...machineId ? { machineId } : {},
|
|
61456
61462
|
...policy ? { policy } : {},
|
|
61457
61463
|
...role ? { role } : {},
|
|
61464
|
+
...isLocalWorktree ? { isLocalWorktree: true } : {},
|
|
61458
61465
|
...capabilities && capabilities.length ? { capabilities } : {}
|
|
61459
61466
|
});
|
|
61460
61467
|
if (!node) return { success: false, error: "Mesh not found" };
|
|
@@ -77692,6 +77699,7 @@ var V1_CONTRACT_VERSION = "1.0.0";
|
|
|
77692
77699
|
deriveMeshReviewInboxItems,
|
|
77693
77700
|
describeTaskDependencyState,
|
|
77694
77701
|
detectAllVersions,
|
|
77702
|
+
detectCLI,
|
|
77695
77703
|
detectCLIs,
|
|
77696
77704
|
detectClaudeAskUserQuestionPromptFromJson,
|
|
77697
77705
|
detectIDEs,
|