declare-cc 0.3.5 → 0.3.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.
package/bin/install.js CHANGED
@@ -1507,9 +1507,8 @@ function install(isGlobal, runtime = 'claude') {
1507
1507
  fs.writeFileSync(pkgJsonDest, '{"type":"commonjs"}\n');
1508
1508
  console.log(` ${green}✓${reset} Wrote package.json (CommonJS mode)`);
1509
1509
 
1510
- // Copy hooks from dist/ (bundled with dependencies)
1511
- // Template paths for the target runtime (replaces '.claude' with correct config dir)
1512
- const hooksSrc = path.join(src, 'hooks', 'dist');
1510
+ // Copy hooks (replaces '.claude' with runtime-specific config dir in .js files)
1511
+ const hooksSrc = path.join(src, 'hooks');
1513
1512
  if (fs.existsSync(hooksSrc)) {
1514
1513
  const hooksDest = path.join(targetDir, 'hooks');
1515
1514
  fs.mkdirSync(hooksDest, { recursive: true });
@@ -30,7 +30,10 @@ If the `existing` array is non-empty, present the existing files to the user and
30
30
 
31
31
  **Step 3: Report results.**
32
32
 
33
- Show the user a summary of what was created:
34
- - List each created file with a brief description of its purpose
35
- - If a commit was made, mention the commit hash
36
- - Suggest next steps: "Add your first future declaration to `.planning/FUTURE.md`" and "Run `/declare:status` to see graph state"
33
+ Show the user a brief summary of what was created (file name + one-line purpose). If a commit was made, mention the hash.
34
+
35
+ Then immediately prompt the user to start declaring:
36
+
37
+ > **Ready. Run `/declare:future` to declare what's true when this project succeeds.**
38
+
39
+ Do not suggest editing files manually or running `/declare:status`. The next step is always `/declare:future`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "declare-cc",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "A future-driven meta-prompting engine for agentic development, rooted in declared futures and causal graph structure.",
5
5
  "bin": {
6
6
  "declare-cc": "bin/install.js"