@adhdev/mesh-shared 1.0.77 → 1.0.78-rc.2
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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/dist/mesh-tool-names.d.ts +2 -2
- package/package.json +1 -1
- package/src/mesh-tool-names.ts +6 -3
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
* Order mirrors mcp-server `ALL_MESH_TOOLS` for easy visual diffing, but the consistency
|
|
19
19
|
* checks are set-based (order-insensitive).
|
|
20
20
|
*/
|
|
21
|
-
export declare const CANONICAL_MESH_TOOL_NAMES: readonly ["mesh_status", "mesh_route_preview", "mesh_list_nodes", "mesh_enqueue_batch", "mesh_enqueue_task", "mesh_view_queue", "mesh_queue_cancel", "mesh_queue_requeue", "mesh_send_task", "mesh_read_chat", "mesh_read_debug", "mesh_read_terminal", "mesh_send_keys", "mesh_launch_session", "mesh_git_status", "mesh_read_node_logs", "mesh_fast_forward_node", "mesh_restart_daemon", "mesh_checkpoint", "mesh_approve", "mesh_answer_question", "mesh_list_pending_approvals", "mesh_create", "mesh_add_node", "mesh_clone_node", "mesh_remove_node", "mesh_cleanup_worktree_nodes", "mesh_refine_node", "mesh_refine_batch", "mesh_config", "mesh_init", "mesh_cleanup_sessions", "mesh_task_history", "mesh_ledger_query", "mesh_note", "mesh_reconcile_ledger", "mesh_mission_upsert", "mesh_mission_list", "mesh_review_inbox", "mesh_node_slots"
|
|
21
|
+
export declare const CANONICAL_MESH_TOOL_NAMES: readonly ["mesh_status", "mesh_route_preview", "mesh_list_nodes", "mesh_enqueue_batch", "mesh_enqueue_task", "mesh_view_queue", "mesh_queue_cancel", "mesh_queue_requeue", "mesh_send_task", "mesh_read_chat", "mesh_read_debug", "mesh_read_terminal", "mesh_send_keys", "mesh_launch_session", "mesh_git_status", "mesh_read_node_logs", "mesh_fast_forward_node", "mesh_restart_daemon", "mesh_checkpoint", "mesh_approve", "mesh_answer_question", "mesh_list_pending_approvals", "mesh_create", "mesh_add_node", "mesh_clone_node", "mesh_remove_node", "mesh_cleanup_worktree_nodes", "mesh_refine_node", "mesh_refine_batch", "mesh_config", "mesh_init", "mesh_cleanup_sessions", "mesh_task_history", "mesh_ledger_query", "mesh_note", "mesh_reconcile_ledger", "mesh_mission_upsert", "mesh_mission_list", "mesh_review_inbox", "mesh_node_slots"];
|
|
22
22
|
export type CanonicalMeshToolName = typeof CANONICAL_MESH_TOOL_NAMES[number];
|
|
23
23
|
/** The count the `NN tools` barrel doc comments and consistency test assert against. */
|
|
24
|
-
export declare const CANONICAL_MESH_TOOL_COUNT:
|
|
24
|
+
export declare const CANONICAL_MESH_TOOL_COUNT: 40;
|
|
25
25
|
/**
|
|
26
26
|
* Tool names retired by the 2026-09-26 tool-surface consolidation (60 → 48).
|
|
27
27
|
* Every capability behind them is still reachable: each retired name maps to the
|
package/package.json
CHANGED
package/src/mesh-tool-names.ts
CHANGED
|
@@ -64,7 +64,6 @@ export const CANONICAL_MESH_TOOL_NAMES = [
|
|
|
64
64
|
'mesh_mission_list',
|
|
65
65
|
'mesh_review_inbox',
|
|
66
66
|
'mesh_node_slots',
|
|
67
|
-
'mesh_coordinator_prompt_append',
|
|
68
67
|
] as const;
|
|
69
68
|
|
|
70
69
|
export type CanonicalMeshToolName = typeof CANONICAL_MESH_TOOL_NAMES[number];
|
|
@@ -93,8 +92,6 @@ export const RETIRED_MESH_TOOLS: Readonly<Record<string, {
|
|
|
93
92
|
mesh_node_slots_set: { tool: 'mesh_node_slots', args: { action: 'set' } },
|
|
94
93
|
mesh_node_slots_list: { tool: 'mesh_node_slots', args: { action: 'list' } },
|
|
95
94
|
mesh_node_slots_propose: { tool: 'mesh_node_slots', args: { action: 'propose' } },
|
|
96
|
-
mesh_coordinator_prompt_append_get: { tool: 'mesh_coordinator_prompt_append', args: { action: 'get' } },
|
|
97
|
-
mesh_coordinator_prompt_append_set: { tool: 'mesh_coordinator_prompt_append', args: { action: 'set' } },
|
|
98
95
|
mesh_record_note: { tool: 'mesh_note', args: { action: 'record' } },
|
|
99
96
|
mesh_forget_note: { tool: 'mesh_note', args: { action: 'forget' } },
|
|
100
97
|
mesh_reinit: { tool: 'mesh_init', args: { mode: 'reinit' } },
|
|
@@ -105,6 +102,8 @@ export const RETIRED_MESH_TOOLS: Readonly<Record<string, {
|
|
|
105
102
|
mesh_prune_stale_direct: { tool: 'mesh_cleanup_sessions', args: { mode: 'prune_stale_direct' } },
|
|
106
103
|
};
|
|
107
104
|
|
|
105
|
+
const COORDINATOR_PROMPT_APPEND_REMOVED = 'Per-machine coordinator prompt files are no longer read. For a standing instruction on this project\'s coordinator, put it in the repo\'s .adhdev/mesh.json coordinator.systemPromptAppend (mesh_config kind "mesh_json"), or record a durable lesson with mesh_note.';
|
|
106
|
+
|
|
108
107
|
/**
|
|
109
108
|
* Tool names removed outright (no merged replacement), mapped to the guidance a
|
|
110
109
|
* coordinator on an old prompt needs to do the same job with the remaining tools.
|
|
@@ -117,6 +116,10 @@ export const REMOVED_MESH_TOOLS: Readonly<Record<string, string>> = {
|
|
|
117
116
|
mesh_magi_kind_panel_list: 'There are no review panels any more; pick the workers per review with mesh_send_task.',
|
|
118
117
|
// 2026-10-08: was a pure alias — mesh_refine_node's default dry-run returns the same plan.
|
|
119
118
|
mesh_refine_plan: 'Call mesh_refine_node with the same node_id and no execute: its default dry-run returns the same Refinery plan and executes nothing.',
|
|
119
|
+
// 2026-10-08: the per-machine coordinator-prompts/ file layer was removed (assistant-layer design §11 Q2).
|
|
120
|
+
mesh_coordinator_prompt_append: COORDINATOR_PROMPT_APPEND_REMOVED,
|
|
121
|
+
mesh_coordinator_prompt_append_get: COORDINATOR_PROMPT_APPEND_REMOVED,
|
|
122
|
+
mesh_coordinator_prompt_append_set: COORDINATOR_PROMPT_APPEND_REMOVED,
|
|
120
123
|
};
|
|
121
124
|
|
|
122
125
|
/**
|