chief-clancy 0.9.5 → 0.9.6

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.
Files changed (2) hide show
  1. package/bin/clancy.js +8 -0
  2. package/package.json +2 -1
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,17 @@ 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
+
46
50
  const sources = {
47
51
  rolesDir: join(terminalRoot, 'src', 'roles'),
48
52
  hooksDir: join(terminalRoot, 'dist', 'hooks'),
49
53
  bundleDir: join(terminalRoot, 'dist', 'bundle'),
50
54
  agentsDir: join(terminalRoot, 'src', 'agents'),
55
+ briefCommandsDir: join(briefRoot, 'src', 'commands'),
56
+ briefWorkflowsDir: join(briefRoot, 'src', 'workflows'),
57
+ briefAgentsDir: join(briefRoot, 'src', 'agents'),
51
58
  };
52
59
 
53
60
  // ---------------------------------------------------------------------------
@@ -128,6 +135,7 @@ async function main() {
128
135
  writeFile: (p, c) => writeFileSync(p, c, 'utf8'),
129
136
  mkdir: (p) => mkdirSync(p, { recursive: true }),
130
137
  copyFile: (s, d) => copyFileSync(s, d),
138
+ unlink: (p) => unlinkSync(p),
131
139
  // TOCTOU: narrow window between lstat and the caller's write. Acceptable
132
140
  // for a local CLI installer — no privileged paths are involved.
133
141
  rejectSymlink: (p) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chief-clancy",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Autonomous, board-driven development for Claude Code",
5
5
  "author": "Alex Clapperton",
6
6
  "license": "MIT",
@@ -30,6 +30,7 @@
30
30
  "bin"
31
31
  ],
32
32
  "dependencies": {
33
+ "@chief-clancy/brief": "0.1.2",
33
34
  "@chief-clancy/terminal": "0.1.4"
34
35
  }
35
36
  }