@skitterbyte/skitterspec 16.5.0 → 16.5.2

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/package.json +1 -1
  2. package/src/init.js +15 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skitterbyte/skitterspec",
3
- "version": "16.5.0",
3
+ "version": "16.5.2",
4
4
  "description": "Spec-driven development for Claude Code — a tracker-free filesystem workflow: lifecycle skills and per-spec isolation. For Linear sync, install @skitterbyte/skitterspec-linear instead.",
5
5
  "keywords": [
6
6
  "claude",
package/src/init.js CHANGED
@@ -562,11 +562,21 @@ function printReport(dir, mode, { diff = false } = {}) {
562
562
  // ships none. Discovering it from what was actually installed keeps this file
563
563
  // tracker-free — it never has to know which tracker (if any) is in the box.
564
564
  const setupSkill = SKILLS.find((s) => /^spec-.+-setup$/.test(s))
565
- const trackerNote = setupSkill
566
- ? `Tracker sync is opt-in: run /${setupSkill} to configure it` +
567
- ' (it discovers your workspace and writes the config), or see' +
568
- ' specs/.core/SETUP.md.\n'
569
- : ''
565
+ const provider = setupSkill ? /^spec-(.+)-setup$/.exec(setupSkill)[1] : null
566
+ // …and the same derivation gives the provider's config filename, so this can
567
+ // report tracker sync the way it reports isolation above from what is
568
+ // actually on disk. It used to say "opt-in: run /…-setup" even on a repo that
569
+ // had already configured it, telling you to set up what was already set up.
570
+ const trackerOn =
571
+ provider && fs.existsSync(path.join(dir, 'specs', '.core', `${provider}.config.json`))
572
+ const trackerNote = !setupSkill
573
+ ? ''
574
+ : trackerOn
575
+ ? `Tracker sync is ON: ${provider} — the repo stays the source of truth;` +
576
+ ' /spec-push mirrors a spec up and /spec-status reports drift.\n'
577
+ : `Tracker sync is opt-in: run /${setupSkill} to configure it` +
578
+ ' (it discovers your workspace and writes the config), or see' +
579
+ ' specs/.core/SETUP.md.\n'
570
580
  process.stdout.write(
571
581
  '\nDone. Skills resolve as /spec, /spec-go, /spec-complete, /spec-cancel,' +
572
582
  ' /spec-bug, /spec-review, /spec-init, /spec-connect.\n' +