@adhdev/mesh-shared 1.0.77 → 1.0.78-rc.1

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 CHANGED
@@ -1042,16 +1042,13 @@ var CANONICAL_MESH_TOOL_NAMES = [
1042
1042
  "mesh_mission_upsert",
1043
1043
  "mesh_mission_list",
1044
1044
  "mesh_review_inbox",
1045
- "mesh_node_slots",
1046
- "mesh_coordinator_prompt_append"
1045
+ "mesh_node_slots"
1047
1046
  ];
1048
1047
  var CANONICAL_MESH_TOOL_COUNT = CANONICAL_MESH_TOOL_NAMES.length;
1049
1048
  var RETIRED_MESH_TOOLS = {
1050
1049
  mesh_node_slots_set: { tool: "mesh_node_slots", args: { action: "set" } },
1051
1050
  mesh_node_slots_list: { tool: "mesh_node_slots", args: { action: "list" } },
1052
1051
  mesh_node_slots_propose: { tool: "mesh_node_slots", args: { action: "propose" } },
1053
- mesh_coordinator_prompt_append_get: { tool: "mesh_coordinator_prompt_append", args: { action: "get" } },
1054
- mesh_coordinator_prompt_append_set: { tool: "mesh_coordinator_prompt_append", args: { action: "set" } },
1055
1052
  mesh_record_note: { tool: "mesh_note", args: { action: "record" } },
1056
1053
  mesh_forget_note: { tool: "mesh_note", args: { action: "forget" } },
1057
1054
  mesh_reinit: { tool: "mesh_init", args: { mode: "reinit" } },
@@ -1061,6 +1058,7 @@ var RETIRED_MESH_TOOLS = {
1061
1058
  mesh_plan_onboarding: { tool: "mesh_create", args: { mode: "plan" } },
1062
1059
  mesh_prune_stale_direct: { tool: "mesh_cleanup_sessions", args: { mode: "prune_stale_direct" } }
1063
1060
  };
1061
+ var 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.`;
1064
1062
  var REMOVED_MESH_TOOLS = {
1065
1063
  mesh_magi_review: "For a multi-perspective review, send the same question to 2-3 workers on different providers with mesh_send_task, wait for their report_completion, then synthesize the answers yourself.",
1066
1064
  mesh_magi_collect: "Worker answers arrive as report_completion events; synthesize them yourself.",
@@ -1068,7 +1066,11 @@ var REMOVED_MESH_TOOLS = {
1068
1066
  mesh_magi_kind_panel_set: "There are no review panels any more; pick the workers per review with mesh_send_task.",
1069
1067
  mesh_magi_kind_panel_list: "There are no review panels any more; pick the workers per review with mesh_send_task.",
1070
1068
  // 2026-10-08: was a pure alias — mesh_refine_node's default dry-run returns the same plan.
1071
- 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."
1069
+ 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.",
1070
+ // 2026-10-08: the per-machine coordinator-prompts/ file layer was removed (assistant-layer design §11 Q2).
1071
+ mesh_coordinator_prompt_append: COORDINATOR_PROMPT_APPEND_REMOVED,
1072
+ mesh_coordinator_prompt_append_get: COORDINATOR_PROMPT_APPEND_REMOVED,
1073
+ mesh_coordinator_prompt_append_set: COORDINATOR_PROMPT_APPEND_REMOVED
1072
1074
  };
1073
1075
  function retiredMeshToolError(name) {
1074
1076
  if (Object.prototype.hasOwnProperty.call(REMOVED_MESH_TOOLS, name)) {