cleargate 0.6.0 → 0.6.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/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ import { Command } from "commander";
|
|
|
14
14
|
// package.json
|
|
15
15
|
var package_default = {
|
|
16
16
|
name: "cleargate",
|
|
17
|
-
version: "0.6.
|
|
17
|
+
version: "0.6.2",
|
|
18
18
|
private: false,
|
|
19
19
|
type: "module",
|
|
20
20
|
description: "Planning framework for Claude Code agents \u2014 sprint/epic/story protocol, four-agent loop (architect/developer/qa/reporter), Karpathy-style awareness wiki.",
|
|
@@ -1285,6 +1285,7 @@ var HOOK_FILES_WITH_PIN = /* @__PURE__ */ new Set([
|
|
|
1285
1285
|
".claude/hooks/stamp-and-gate.sh",
|
|
1286
1286
|
".claude/hooks/session-start.sh"
|
|
1287
1287
|
]);
|
|
1288
|
+
var SKIP_FILES = /* @__PURE__ */ new Set(["CLAUDE.md"]);
|
|
1288
1289
|
function listFilesRecursive(dir) {
|
|
1289
1290
|
const results = [];
|
|
1290
1291
|
function walk(current, rel) {
|
|
@@ -1307,7 +1308,7 @@ function copyPayload(payloadDir, targetCwd, opts) {
|
|
|
1307
1308
|
if (!fs5.existsSync(payloadDir)) {
|
|
1308
1309
|
throw new Error(`copyPayload: payloadDir does not exist: ${payloadDir}`);
|
|
1309
1310
|
}
|
|
1310
|
-
const files = listFilesRecursive(payloadDir);
|
|
1311
|
+
const files = listFilesRecursive(payloadDir).filter((r) => !SKIP_FILES.has(r));
|
|
1311
1312
|
for (const relPath of files) {
|
|
1312
1313
|
const srcPath = path4.join(payloadDir, relPath);
|
|
1313
1314
|
const dstPath = path4.join(targetCwd, relPath);
|
|
@@ -2539,13 +2540,12 @@ async function initHandler(opts = {}) {
|
|
|
2539
2540
|
`);
|
|
2540
2541
|
} else {
|
|
2541
2542
|
stdout(
|
|
2542
|
-
`[cleargate init] \u{
|
|
2543
|
+
`[cleargate init] \u{1F7E1} cleargate CLI: not resolvable in this environment.
|
|
2543
2544
|
[cleargate init] Attempted: ${branchLabel}
|
|
2545
|
+
[cleargate init] This is a warning, not a fatal error. Hooks will no-op until resolved.
|
|
2544
2546
|
[cleargate init] Fix: npm i -g cleargate@${pinVersion} or npx cleargate@${pinVersion} doctor
|
|
2545
2547
|
`
|
|
2546
2548
|
);
|
|
2547
|
-
exit(1);
|
|
2548
|
-
return;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
2551
|
}
|