claude-code-autoconfig 1.0.71 → 1.0.73

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.
@@ -1,8 +1,8 @@
1
- <!-- @description Background worker that syncs the guide when .claude/ files change. -->
1
+ <!-- @description Background worker that syncs the docs when .claude/ files change. -->
2
2
 
3
- # Guide Refresh Agent
3
+ # Docs Refresh Agent
4
4
 
5
- Incrementally update the guide's treeInfo when `.claude/` files are added or modified.
5
+ Incrementally update the docs' treeInfo when `.claude/` files are added or modified.
6
6
 
7
7
  ## Trigger
8
8
 
@@ -11,13 +11,13 @@ Incrementally update the guide's treeInfo when `.claude/` files are added or mod
11
11
  ## Scope
12
12
 
13
13
  - Read `.claude/**/*.md` for `@description` comments
14
- - Update `.claude/guide/autoconfig.guide.html` treeInfo
14
+ - Update `.claude/docs/autoconfig.docs.html` treeInfo
15
15
 
16
16
  ## Behavior
17
17
 
18
18
  1. Check which `.claude/` file was just modified
19
19
  2. Extract the `<!-- @description ... -->` comment from the top
20
- 3. Find the corresponding entry in the guide's `treeInfo` object
20
+ 3. Find the corresponding entry in the docs' `treeInfo` object
21
21
  4. Update only that entry's `desc` field
22
22
  5. If file is new, add a new treeInfo entry
23
23
  6. If file was deleted, remove the treeInfo entry
@@ -173,31 +173,43 @@ Set session-level env vars:
173
173
  - Optimize for Claude's efficiency, not human documentation
174
174
  - When uncertain, leave it out — Claude can ask or explore
175
175
 
176
- ## Step 6: Update the Guide
176
+ ## Step 6: Update the Docs
177
177
 
178
- After populating CLAUDE.md, update the guide's file preview to show the actual content:
178
+ After populating CLAUDE.md, update the docs file preview to show the actual content:
179
179
 
180
- 1. Open `.claude/guide/autoconfig.guide.html`
180
+ 1. Open `.claude/docs/autoconfig.docs.html`
181
181
  2. Find the `fileContents` JavaScript object (search for `'claude-md':`)
182
182
  3. Replace the `content` value with the actual CLAUDE.md content you just generated
183
183
  4. Use template literal syntax and escape any backticks in the content
184
184
 
185
- This ensures double-clicking CLAUDE.md in the guide shows the real generated content.
185
+ This ensures double-clicking CLAUDE.md in the docs shows the real generated content.
186
186
 
187
187
  ## After Completion
188
188
 
189
- ### Open Guide & Finale
189
+ ### Open Docs & Finale
190
190
 
191
- Open the interactive guide in the user's browser:
191
+ **Only if `.claude/docs/autoconfig.docs.html` exists**, open it in the user's browser:
192
192
 
193
- - macOS: `open .claude/guide/autoconfig.guide.html`
194
- - Linux: `xdg-open .claude/guide/autoconfig.guide.html`
195
- - Windows: `start .claude/guide/autoconfig.guide.html`
193
+ - macOS: `open .claude/docs/autoconfig.docs.html`
194
+ - Linux: `xdg-open .claude/docs/autoconfig.docs.html`
195
+ - Windows: `start .claude/docs/autoconfig.docs.html`
196
196
 
197
- Then output this finale message (just output it directly as text, no bash command needed):
197
+ If the docs file exists, output:
198
198
 
199
199
  ---
200
200
 
201
- ✅ Setup complete! The interactive guide is now open in your browser.
201
+ ✅ Setup complete! The interactive docs are now open in your browser.
202
+
203
+ ---
204
+
205
+ If the docs file does NOT exist (e.g., user ran `/autoconfig` without the full npx install), output:
206
+
207
+ ---
208
+
209
+ ✅ Setup complete!
210
+
211
+ Run `/show-docs` to view the interactive documentation (requires full install via `npx claude-code-autoconfig`).
212
+
213
+ ---
202
214
 
203
215
  **IMPORTANT**: Do not add any additional text, summaries, or details after this message. The finale should be clean and punchy - end here.
@@ -1,28 +1,28 @@
1
- <!-- @description Opens the interactive guide in your browser. -->
1
+ <!-- @description Opens the interactive docs in your browser. -->
2
2
 
3
- # Show Guide
3
+ # Show Docs
4
4
 
5
- Open the interactive guide for Claude Code Autoconfig.
5
+ Open the interactive documentation for Claude Code Autoconfig.
6
6
 
7
7
  ## Step 1: Check for Changes
8
8
 
9
- Compare modification times of files in `.claude/` against `.claude/guide/autoconfig.guide.html`.
9
+ Compare modification times of files in `.claude/` against `.claude/docs/autoconfig.docs.html`.
10
10
 
11
- If any files or folders in `.claude/` have a newer modification time than the guide HTML:
12
- 1. Output: "Syncing guide with latest changes..."
11
+ If any files or folders in `.claude/` have a newer modification time than the docs HTML:
12
+ 1. Output: "Syncing docs with latest changes..."
13
13
  2. Proceed to Step 2
14
14
 
15
- If the guide is already current, skip to Step 3.
15
+ If the docs are already current, skip to Step 3.
16
16
 
17
17
  ## Step 2: Delta Sync
18
18
 
19
- For each file in `.claude/` that is newer than the guide HTML:
19
+ For each file in `.claude/` that is newer than the docs HTML:
20
20
 
21
- 1. Map the file to its `fileContents` key in the guide HTML:
21
+ 1. Map the file to its `fileContents` key in the docs HTML:
22
22
  - `CLAUDE.md` → `claude-md`
23
23
  - `settings.json` → `settings`
24
24
  - `commands/autoconfig.md` → `autoconfig`
25
- - `commands/show-guide.md` → `guide-cmd`
25
+ - `commands/show-docs.md` → `docs-cmd`
26
26
  - `commands/sync-claude-md.md` → `sync-claude-md`
27
27
  - `commands/commit-and-push.md` → `commit-and-push`
28
28
  - `commands/enable-retro.md` → `enable-retro`
@@ -32,21 +32,21 @@ For each file in `.claude/` that is newer than the guide HTML:
32
32
 
33
33
  2. Read the current content of the changed file
34
34
 
35
- 3. Update only that entry's `content` value in the `fileContents` object in the guide HTML
35
+ 3. Update only that entry's `content` value in the `fileContents` object in the docs HTML
36
36
 
37
- 4. After all deltas are applied, the guide HTML's modification time will naturally update
37
+ 4. After all deltas are applied, the docs HTML's modification time will naturally update
38
38
 
39
- ## Step 3: Open Guide
39
+ ## Step 3: Open Docs
40
40
 
41
- Open the guide in the default browser using the appropriate command for the OS:
41
+ Open the docs in the default browser using the appropriate command for the OS:
42
42
 
43
43
  ```bash
44
44
  # macOS
45
- open .claude/guide/autoconfig.guide.html
45
+ open .claude/docs/autoconfig.docs.html
46
46
 
47
47
  # Linux
48
- xdg-open .claude/guide/autoconfig.guide.html
48
+ xdg-open .claude/docs/autoconfig.docs.html
49
49
 
50
50
  # Windows
51
- start .claude/guide/autoconfig.guide.html
51
+ start .claude/docs/autoconfig.docs.html
52
52
  ```