claude-nomad 0.56.0 → 0.56.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/CHANGELOG.md +12 -0
- package/dist/nomad.mjs +35 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.56.1](https://github.com/funkadelic/claude-nomad/compare/v0.56.0...v0.56.1) (2026-06-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Fixed
|
|
7
|
+
|
|
8
|
+
* **push:** surface recovery hints for subagent-only leak findings ([#373](https://github.com/funkadelic/claude-nomad/issues/373)) ([07d74f8](https://github.com/funkadelic/claude-nomad/commit/07d74f8f1a595767ad651f9e7b3517dcc2e2012a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
* **release-please:** add workflow_dispatch for manual trigger ([#374](https://github.com/funkadelic/claude-nomad/issues/374)) ([e4436d7](https://github.com/funkadelic/claude-nomad/commit/e4436d7fc9b8700a088b10e94d424726b1e1b77c))
|
|
14
|
+
|
|
3
15
|
## [0.56.0](https://github.com/funkadelic/claude-nomad/compare/v0.55.1...v0.56.0) (2026-06-30)
|
|
4
16
|
|
|
5
17
|
|
package/dist/nomad.mjs
CHANGED
|
@@ -1041,22 +1041,38 @@ function otherFindingHint(f) {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
return " Review with: git diff --cached, then unstage manually.";
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1045
|
-
if (bySession.size === 0) return LEGACY_FATAL;
|
|
1044
|
+
function renderOtherFindings(other) {
|
|
1046
1045
|
const lines = [];
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
"nomad drop-session also clears each session's sibling subagent transcript directory."
|
|
1050
|
-
);
|
|
1051
|
-
for (const [sid, counts] of bySession) {
|
|
1052
|
-
const summary = [...counts.entries()].map(([rule, n]) => `${rule} (${n})`).join(", ");
|
|
1053
|
-
lines.push("", `Session ${sid}:`, ` ${summary}`, ` Recover with: nomad drop-session ${sid}`);
|
|
1046
|
+
for (const f of other) {
|
|
1047
|
+
lines.push(formatOtherFinding(f), otherFindingHint(f));
|
|
1054
1048
|
}
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1049
|
+
return lines;
|
|
1050
|
+
}
|
|
1051
|
+
function buildSessionAwareFatal(bySession, other) {
|
|
1052
|
+
if (bySession.size === 0 && other.length === 0) return LEGACY_FATAL;
|
|
1053
|
+
const lines = [];
|
|
1054
|
+
if (bySession.size > 0) {
|
|
1055
|
+
lines.push(
|
|
1056
|
+
`gitleaks detected secrets in ${bySession.size} session transcript(s).`,
|
|
1057
|
+
"nomad drop-session also clears each session's sibling subagent transcript directory."
|
|
1058
|
+
);
|
|
1059
|
+
for (const [sid, counts] of bySession) {
|
|
1060
|
+
const summary = [...counts.entries()].map(([rule, n]) => `${rule} (${n})`).join(", ");
|
|
1061
|
+
lines.push(
|
|
1062
|
+
"",
|
|
1063
|
+
`Session ${sid}:`,
|
|
1064
|
+
` ${summary}`,
|
|
1065
|
+
` Recover with: nomad drop-session ${sid}`
|
|
1066
|
+
);
|
|
1059
1067
|
}
|
|
1068
|
+
if (other.length > 0) {
|
|
1069
|
+
lines.push("", "Also found:", ...renderOtherFindings(other));
|
|
1070
|
+
}
|
|
1071
|
+
} else {
|
|
1072
|
+
lines.push(
|
|
1073
|
+
`gitleaks detected secrets in ${other.length} location(s):`,
|
|
1074
|
+
...renderOtherFindings(other)
|
|
1075
|
+
);
|
|
1060
1076
|
}
|
|
1061
1077
|
lines.push("", "After recovery, re-run nomad push.");
|
|
1062
1078
|
return lines.join("\n");
|
|
@@ -1086,9 +1102,11 @@ __export(push_leak_verdict_exports, {
|
|
|
1086
1102
|
verdictScanError: () => verdictScanError
|
|
1087
1103
|
});
|
|
1088
1104
|
function leakVerdictRow(findings) {
|
|
1089
|
-
const { bySession } = partitionFindings(findings);
|
|
1090
|
-
|
|
1091
|
-
|
|
1105
|
+
const { bySession, other } = partitionFindings(findings);
|
|
1106
|
+
if (bySession.size > 0) {
|
|
1107
|
+
return failRow(`gitleaks detected secrets in ${bySession.size} session transcript(s)`);
|
|
1108
|
+
}
|
|
1109
|
+
return failRow(`gitleaks detected secrets in ${other.length} location(s)`);
|
|
1092
1110
|
}
|
|
1093
1111
|
function leakFound(findings) {
|
|
1094
1112
|
const { bySession, other } = partitionFindings(findings);
|
|
@@ -7478,7 +7496,7 @@ function parsePushArgs(argv) {
|
|
|
7478
7496
|
// package.json
|
|
7479
7497
|
var package_default = {
|
|
7480
7498
|
name: "claude-nomad",
|
|
7481
|
-
version: "0.56.
|
|
7499
|
+
version: "0.56.1",
|
|
7482
7500
|
type: "module",
|
|
7483
7501
|
description: "Sync Claude Code config (~/.claude/) across machines via a private Git repo, with path remapping and per-host settings overrides.",
|
|
7484
7502
|
keywords: [
|
package/package.json
CHANGED