claudemd-cli 0.74.1 → 0.75.0

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/README.md +24 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,7 +35,7 @@ Then bootstrap the **current** session (skip the wait-for-next-session restart)
35
35
 
36
36
  Fallback (no slash command — e.g. scripting outside CC): `node ~/.claude/plugins/cache/claudemd/claudemd/<version>/scripts/install.js`. Find `<version>` with `ls ~/.claude/plugins/cache/claudemd/claudemd/ | sort -V | tail -1`.
37
37
 
38
- > ⚠️ **`~/.claude/CLAUDE.md` is shared real estate.** Claude Code reads this file as your user-global instructions across every project. If you've hand-written personal instructions there (`Always reply in 中文`, `My name is X`, etc.), install moves your existing files to `~/.claude/backup-<ISO>/` (last 5 kept automatically) before writing the spec. Since v0.5.3, install prints a `[claudemd] WARN: …` line to stderr when the existing file does not look like a claudemd spec. To bring your personal instructions back on uninstall, run `CLAUDEMD_SPEC_ACTION=restore /claudemd-uninstall`.
38
+ > ⚠️ **`~/.claude/CLAUDE.md` is shared real estate.** Claude Code reads this file as your user-global instructions across every project. If you've hand-written personal instructions there (`Always reply in 中文`, `My name is X`, etc.), install moves your existing files to `~/.claude/backup-<ISO>/` (last 5 kept automatically) before writing the spec. Since v0.5.3, install prints a `[claudemd] WARN: …` line to stderr when the existing file does not look like a claudemd spec — visible when you run `/claudemd-install` (or `install.js`) yourself. Since v0.75.0 the **SessionStart** bootstrap, where that stderr goes to `claudemd-bootstrap.log` instead, raises the same notice as an in-session banner naming the backup path (silence it with `DISABLE_USER_CONTENT_BANNER=1`). To bring your personal instructions back on uninstall, run `CLAUDEMD_SPEC_ACTION=restore /claudemd-uninstall`.
39
39
 
40
40
  ---
41
41
 
@@ -209,6 +209,29 @@ export DISABLE_COMPACT_REREAD_REMINDER=1 # v0.27.0+ — only the post-compacti
209
209
  # source=="compact"); compact events still
210
210
  # skip bootstrap/upgrade-banner either way.
211
211
 
212
+ export CLAUDEMD_FORCE_ASYNC_BOOTSTRAP=1 # v0.75.0+ — restores the pre-0.75.0 detached
213
+ # bootstrap on the FRESH-install path (no
214
+ # manifest yet), which otherwise runs install.js
215
+ # synchronously inside the 5s SessionStart
216
+ # budget so ~/.claude/CLAUDE.md is on disk
217
+ # before Claude Code assembles context. Set it
218
+ # if a slow/networked $HOME makes that wait
219
+ # unacceptable; the cost is that the spec first
220
+ # reaches the model one session later. Upgrades
221
+ # are detached either way.
222
+
223
+ export DISABLE_USER_CONTENT_BANNER=1 # v0.75.0+ — only the SessionStart notice
224
+ # that install.js moved a hand-written
225
+ # ~/.claude/CLAUDE.md into a backup dir.
226
+ # The backup and the install-time stderr
227
+ # WARN still happen; what stops is the
228
+ # in-session banner naming the backup
229
+ # path and the restore command. The hook
230
+ # still consumes its sentinel on this
231
+ # path, so opting out leaves no residue
232
+ # and cannot fire a late banner naming a
233
+ # since-pruned backup dir.
234
+
212
235
  export DISABLE_BOOTSTRAP_FAIL_BANNER=1 # v0.50.0+ — only the SessionStart banner
213
236
  # reporting that a PRIOR session's background
214
237
  # install.js upgrade failed; the failure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudemd-cli",
3
- "version": "0.74.1",
3
+ "version": "0.75.0",
4
4
  "description": "Standalone CLI for §10-V banned-vocab + transcript scanning. Companion to the claudemd Claude Code plugin (github.com/sdsrss/claudemd) for use in git pre-commit hooks, GitHub Actions, and other agents.",
5
5
  "type": "module",
6
6
  "bin": {