claude-code-autoconfig 1.0.103 → 1.0.104

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/cli.js +5 -4
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -399,10 +399,11 @@ const isUpgrade = (() => {
399
399
  return false;
400
400
  })();
401
401
 
402
- // On fresh install, pre-mark all bundled updates as applied.
403
- // The /autoconfig command already handles their content (e.g., debug methodology in MEMORY.md),
404
- // so they shouldn't appear as "new" when the user later upgrades.
405
- if (!isUpgrade) {
402
+ // Pre-mark all bundled updates as applied when the @applied block is empty.
403
+ // On fresh installs, /autoconfig handles their content (e.g., debug methodology in MEMORY.md).
404
+ // On upgrades from pre-update-system versions, these updates are already baked in.
405
+ // The regex only matches an empty @applied block, so this is safe to run unconditionally.
406
+ {
406
407
  const userCmdPath = path.join(claudeDest, 'commands', 'autoconfig-update.md');
407
408
  const packageUpdatesDir = path.join(packageDir, '.claude', 'updates');
408
409
  if (fs.existsSync(userCmdPath) && fs.existsSync(packageUpdatesDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-autoconfig",
3
- "version": "1.0.103",
3
+ "version": "1.0.104",
4
4
  "description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
5
5
  "author": "ADAC 1001 <info@adac1001.com>",
6
6
  "license": "MIT",