gossipcat 0.4.3 → 0.4.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-mcp/mcp-server.js +10 -4
- package/package.json +1 -1
package/dist-mcp/mcp-server.js
CHANGED
|
@@ -21630,10 +21630,17 @@ function auditFilesystemSinceSentinel(projectRoot, meta3, options = {}) {
|
|
|
21630
21630
|
violations.push(p);
|
|
21631
21631
|
}
|
|
21632
21632
|
} catch (err) {
|
|
21633
|
+
const e = err;
|
|
21634
|
+
const partial2 = typeof e.stdout === "string" ? e.stdout : e.stdout?.toString?.("utf-8") ?? "";
|
|
21635
|
+
for (const line of partial2.split("\n")) {
|
|
21636
|
+
const p = line.trim();
|
|
21637
|
+
if (p) violations.push(p);
|
|
21638
|
+
}
|
|
21633
21639
|
if (logFailures) {
|
|
21634
|
-
const msg =
|
|
21640
|
+
const msg = e.message || String(err);
|
|
21641
|
+
const parsedCount = partial2 ? partial2.split("\n").filter(Boolean).length : 0;
|
|
21635
21642
|
process.stderr.write(
|
|
21636
|
-
`[gossipcat] Layer 3 audit: find
|
|
21643
|
+
`[gossipcat] Layer 3 audit: find partial failure under '${canonRoot}' (stdout parsed, ${parsedCount} entries): ${msg}
|
|
21637
21644
|
`
|
|
21638
21645
|
);
|
|
21639
21646
|
}
|
|
@@ -42711,8 +42718,7 @@ Then review the plan and dispatch with gossip_dispatch(mode: "parallel", tasks:
|
|
|
42711
42718
|
const entry = collectResult.results[0];
|
|
42712
42719
|
if (write_mode === "worktree") {
|
|
42713
42720
|
try {
|
|
42714
|
-
const
|
|
42715
|
-
const wtPath = task2?.worktreeInfo?.path;
|
|
42721
|
+
const wtPath = entry?.worktreeInfo?.path;
|
|
42716
42722
|
if (wtPath) {
|
|
42717
42723
|
const { updateDispatchMetadata: updateDispatchMetadata2 } = (init_sandbox2(), __toCommonJS(sandbox_exports));
|
|
42718
42724
|
updateDispatchMetadata2(process.cwd(), taskId, { worktreePath: wtPath });
|
package/package.json
CHANGED