chief-clancy 0.9.5 → 0.9.7
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/bin/clancy.js +13 -0
- package/package.json +4 -2
package/bin/clancy.js
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
lstatSync,
|
|
15
15
|
mkdirSync,
|
|
16
16
|
readFileSync,
|
|
17
|
+
unlinkSync,
|
|
17
18
|
writeFileSync,
|
|
18
19
|
} from 'node:fs';
|
|
19
20
|
import { createRequire } from 'node:module';
|
|
@@ -43,11 +44,22 @@ const terminalEntry = fileURLToPath(
|
|
|
43
44
|
);
|
|
44
45
|
const terminalRoot = join(dirname(terminalEntry), '..');
|
|
45
46
|
|
|
47
|
+
const briefEntry = fileURLToPath(import.meta.resolve('@chief-clancy/brief'));
|
|
48
|
+
const briefRoot = join(dirname(briefEntry), '..');
|
|
49
|
+
|
|
50
|
+
const planEntry = fileURLToPath(import.meta.resolve('@chief-clancy/plan'));
|
|
51
|
+
const planRoot = join(dirname(planEntry), '..');
|
|
52
|
+
|
|
46
53
|
const sources = {
|
|
47
54
|
rolesDir: join(terminalRoot, 'src', 'roles'),
|
|
48
55
|
hooksDir: join(terminalRoot, 'dist', 'hooks'),
|
|
49
56
|
bundleDir: join(terminalRoot, 'dist', 'bundle'),
|
|
50
57
|
agentsDir: join(terminalRoot, 'src', 'agents'),
|
|
58
|
+
briefCommandsDir: join(briefRoot, 'src', 'commands'),
|
|
59
|
+
briefWorkflowsDir: join(briefRoot, 'src', 'workflows'),
|
|
60
|
+
briefAgentsDir: join(briefRoot, 'src', 'agents'),
|
|
61
|
+
planCommandsDir: join(planRoot, 'src', 'commands'),
|
|
62
|
+
planWorkflowsDir: join(planRoot, 'src', 'workflows'),
|
|
51
63
|
};
|
|
52
64
|
|
|
53
65
|
// ---------------------------------------------------------------------------
|
|
@@ -128,6 +140,7 @@ async function main() {
|
|
|
128
140
|
writeFile: (p, c) => writeFileSync(p, c, 'utf8'),
|
|
129
141
|
mkdir: (p) => mkdirSync(p, { recursive: true }),
|
|
130
142
|
copyFile: (s, d) => copyFileSync(s, d),
|
|
143
|
+
unlink: (p) => unlinkSync(p),
|
|
131
144
|
// TOCTOU: narrow window between lstat and the caller's write. Acceptable
|
|
132
145
|
// for a local CLI installer — no privileged paths are involved.
|
|
133
146
|
rejectSymlink: (p) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chief-clancy",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "Autonomous, board-driven development for Claude Code",
|
|
5
5
|
"author": "Alex Clapperton",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"bin"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@chief-clancy/
|
|
33
|
+
"@chief-clancy/brief": "0.1.2",
|
|
34
|
+
"@chief-clancy/plan": "0.1.0",
|
|
35
|
+
"@chief-clancy/terminal": "0.1.5"
|
|
34
36
|
}
|
|
35
37
|
}
|