@adhdev/daemon-standalone 0.9.82-rc.261 → 0.9.82-rc.262

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-standalone",
3
- "version": "0.9.82-rc.261",
3
+ "version": "0.9.82-rc.262",
4
4
  "description": "ADHDev standalone daemon — embedded HTTP/WS server for local dashboard",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -2260,7 +2260,7 @@ var MESH_REFINE_NODE_TOOL = {
2260
2260
  };
2261
2261
  var MESH_REFINE_BATCH_TOOL = {
2262
2262
  name: "mesh_refine_batch",
2263
- description: "Batch Refinery: converge multiple sibling worktree nodes onto the base branch in one conflict-aware sequential pipeline. Orders nodes by change-area (non-submodule nodes first, submodule-touching nodes serialized last) so each merged sibling advances the base and the next node auto-rebases + re-checks patch-equivalence before its own merge. Each node runs the same validation/patch-equivalence/submodule-reachability/merge/cleanup gates as mesh_refine_node. Conflicting or blocked nodes are isolated as blocked_review while the rest of the batch proceeds. Defaults to dry-run (plan only); set execute=true to converge. Never force-pushes or resets.",
2263
+ description: "Batch Refinery: converge multiple sibling worktree nodes onto the base branch in one conflict-aware sequential pipeline. Orders nodes by change-area (non-submodule nodes first, submodule-touching nodes serialized last) so each merged sibling advances the base and the next node auto-rebases + re-checks patch-equivalence before its own merge. Each node runs the same validation/patch-equivalence/submodule-reachability/merge/cleanup gates as mesh_refine_node. Conflicting or blocked nodes are isolated as blocked_review while the rest of the batch proceeds. Defaults to dry-run (plan only); set execute=true to converge. Never force-pushes or resets. execute=true is async: the immediate response is async:true / status:'accepted' with the batch jobId and ordered target node list; per-node convergence runs in the background and the aggregate completion/failure (with per-node merged / blocked_review / not_mergeable results) is delivered as a terminal refine event via pending mesh events and the ledger \u2014 do not re-invoke while a batch is in flight. dry_run returns the plan synchronously.",
2264
2264
  inputSchema: {
2265
2265
  type: "object",
2266
2266
  properties: {
@@ -3745,7 +3745,7 @@ async function meshRefineBatch(ctx, args = {}) {
3745
3745
  inlineMesh: ctx.mesh
3746
3746
  });
3747
3747
  const payload = unwrapCommandPayload(result) ?? result;
3748
- if (payload?.batch && payload?.dryRun === false && Array.isArray(payload?.results)) {
3748
+ if (payload?.batch && payload?.dryRun === false && payload?.async !== true && Array.isArray(payload?.results)) {
3749
3749
  for (const outcome of payload.results) {
3750
3750
  if (outcome?.convergence === "merged_to_main" || outcome?.convergence === "skipped_patch_equivalent") {
3751
3751
  const idx = ctx.mesh.nodes.findIndex((n) => n.id === outcome.nodeId);