@progen-labs/spectra 0.6.0 → 0.7.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.
@@ -1,20 +0,0 @@
1
- /**
2
- * After `npm install @progen-labs/spectra`: teaches the AI agents this project
3
- * or machine uses about Spectra (server/agents.js), so they can run its
4
- * commands when asked in plain words. It never fails an install, never runs in
5
- * CI, for global installs or for `npx`, and is off with SPECTRA_AGENT_DOCS=0
6
- * or `"agentDocs": false` in spectra.config.json. `npx spectra agents` does the
7
- * same by hand (for package managers that skip install scripts), and
8
- * `npx spectra agents --remove` takes it all back out.
9
- */
10
- try {
11
- const { installAgentDocs, postinstallPlan } = await import('./agents.js');
12
- const plan = postinstallPlan();
13
- if (!plan.skip) {
14
- const changed = installAgentDocs({ root: plan.root, targets: plan.targets }).filter(r => r.result === 'created' || r.result === 'updated');
15
- if (changed.length)
16
- console.error(`spectra: taught your AI agents about Spectra (${changed.map(r => r.file).join(', ')}). Undo: npx spectra agents --remove`);
17
- }
18
- } catch {
19
- // an install must never fail because of this
20
- }