compound-agent 1.2.11 → 1.3.1
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.
- package/CHANGELOG.md +59 -1
- package/README.md +2 -0
- package/dist/cli.js +1903 -373
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -79
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.3.1] - 2026-02-21
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **`ca version-show` command**: Displays version with terminal animation (tendril growth) and recent changelog entries. Non-TTY environments get plain text output. Changelog is embedded at build time from CHANGELOG.md.
|
|
17
|
+
- **3 new doctor checks**: Beads initialized (`.beads/` dir), beads healthy (`bd doctor`), codebase scope (user-scope detection)
|
|
18
|
+
- **Beads + scope status in init/setup output**: Full beads health display (CLI available, initialized, healthy) and scope status shown after `ca init`, `ca setup`, and `ca setup --update`
|
|
19
|
+
- **Banner on `--update`**: Terminal art animation now plays during `ca setup --update` and `ca init --update` (same TTY/quiet guards as fresh install)
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **Split documentation**: `HOW_TO_COMPOUND.md` replaced by 5 focused documents in `docs/compound/`: `README.md`, `WORKFLOW.md`, `CLI_REFERENCE.md`, `SKILLS.md`, `INTEGRATION.md`
|
|
24
|
+
- **Test-cleaner Phase 3 strengthened**: Adversarial review phase now mandates iteration loop until both reviewers give unconditional approval. Heading, emphasis, and quality criteria updated.
|
|
25
|
+
- **Update hint on upgrade**: When `ca init` or `ca setup` detects an existing install, displays tip to run with `--update` to regenerate managed files
|
|
26
|
+
- **HOW_TO_COMPOUND.md migration**: `ca setup --update` automatically removes old monolithic `HOW_TO_COMPOUND.md` if it has version frontmatter (generated by compound-agent)
|
|
27
|
+
- **Doctor doc check**: Now checks for `docs/compound/README.md` instead of `HOW_TO_COMPOUND.md`
|
|
28
|
+
|
|
29
|
+
## [1.3.0] - 2026-02-21
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **Setup hardening**: Four new pre-flight checks during `ca init` and `ca setup`:
|
|
34
|
+
- **Beads CLI check** (`beads-check.ts`): Detects if `bd` is available, shows install URL if missing (informational, non-blocking)
|
|
35
|
+
- **User-scope detection** (`scope-check.ts`): Warns when installing at home directory level where lessons are shared across projects
|
|
36
|
+
- **.gitignore injection** (`gitignore.ts`): Ensures `node_modules/` and `.claude/.cache/` patterns exist in `.gitignore`
|
|
37
|
+
- **Upgrade detection** (`upgrade.ts`): Detects existing installs and runs migration pipeline (deprecated command removal, header stripping, doc version update)
|
|
38
|
+
- **Upgrade engine**: Automated migration from v1.2.x to v1.3.0:
|
|
39
|
+
- Removes 5 deprecated CLI wrapper commands (`search.md`, `list.md`, `show.md`, `stats.md`, `wrong.md`)
|
|
40
|
+
- Strips legacy `<!-- generated by compound-agent -->` headers from installed files
|
|
41
|
+
- Updates `HOW_TO_COMPOUND.md` version during upgrade
|
|
42
|
+
- **`/compound:research` skill**: PhD-depth research producing structured survey documents following `TEMPLATE_FOR_RESEARCH.md` format
|
|
43
|
+
- **`/compound:test-clean` skill**: 5-phase test suite optimization with adversarial review (audit, design, implement, verify, report)
|
|
44
|
+
- **Documentation template**: `HOW_TO_COMPOUND.md` deployed to `docs/compound/` during setup with version and date placeholders
|
|
45
|
+
- **Test scripts**: `test:segment` (run tests for specific module), `test:random` (seeded random subset), `test:critical` (*.critical.test.ts convention)
|
|
46
|
+
- **3 new doctor checks**: Beads CLI availability, `.gitignore` health, usage documentation presence
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- **`setup --update --dry-run` no longer mutates files**: `runUpgrade()` now accepts a `dryRun` parameter propagated to all sub-functions (removeDeprecatedCommands, stripGeneratedHeaders, upgradeDocVersion)
|
|
51
|
+
- **`setup --uninstall` respects plugin.json ownership**: Checks `name === "compound-agent"` before deleting; user-owned plugin manifests are preserved
|
|
52
|
+
- **Upgrade ownership guard**: `removeDeprecatedCommands` checks file content for compound-agent markers before deleting, preventing silent removal of user-authored files with the same name
|
|
53
|
+
- **Malformed settings.json no longer silently clobbered**: On parse error, `configureClaudeSettings` warns and skips instead of overwriting with empty config
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- **`setup --update` overhaul**: Now uses path-based file detection (compound/ = managed) instead of marker-based. Runs upgrade pipeline and `.gitignore` remediation during update
|
|
58
|
+
- **JSON-first `bd` parsing in loop**: `jq` primary with `python3` fallback via `parse_json()` helper
|
|
59
|
+
- **CLI test helpers hardened**: Replaced shell string interpolation with `execFileSync` for safety and reliability
|
|
60
|
+
- **Beads check portable**: Uses POSIX `command -v` instead of non-portable `which`
|
|
61
|
+
- **Template expansion**: Brainstorm and plan skills now cross-reference researcher skill; 9 total skills, 11 total commands
|
|
62
|
+
- **Code organization**: Extracted display utilities to `display-utils.ts`, uninstall logic to `uninstall.ts`
|
|
63
|
+
|
|
64
|
+
### Removed
|
|
65
|
+
|
|
66
|
+
- **5 deprecated CLI wrapper commands**: `search.md`, `list.md`, `show.md`, `stats.md`, `wrong.md` (redundant wrappers around `npx ca <cmd>`)
|
|
67
|
+
- **`GENERATED_MARKER` on new installs**: New installs use path-based detection; marker retained only for backward-compatible `--update` detection
|
|
68
|
+
|
|
12
69
|
## [1.2.11] - 2026-02-19
|
|
13
70
|
|
|
14
71
|
### Added
|
|
@@ -556,7 +613,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
556
613
|
- Vitest test suite
|
|
557
614
|
- tsup build configuration
|
|
558
615
|
|
|
559
|
-
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.
|
|
616
|
+
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.3.0...HEAD
|
|
617
|
+
[1.3.0]: https://github.com/Nathandela/learning_agent/compare/v1.2.11...v1.3.0
|
|
560
618
|
[1.2.11]: https://github.com/Nathandela/learning_agent/compare/v1.2.10...v1.2.11
|
|
561
619
|
[1.2.10]: https://github.com/Nathandela/learning_agent/compare/v1.2.9...v1.2.10
|
|
562
620
|
[1.2.9]: https://github.com/Nathandela/learning_agent/compare/v1.2.7...v1.2.9
|
package/README.md
CHANGED
|
@@ -210,6 +210,8 @@ Generated scripts detect three markers: `EPIC_COMPLETE` (success), `EPIC_FAILED`
|
|
|
210
210
|
| `ca setup claude --status` | Check Claude Code integration health |
|
|
211
211
|
| `ca setup claude --uninstall` | Remove Claude hooks only |
|
|
212
212
|
| `ca download-model` | Download the embedding model |
|
|
213
|
+
| `ca version-show` | Show version with animation and recent changelog |
|
|
214
|
+
| `ca doctor` | Verify external dependencies and project health |
|
|
213
215
|
|
|
214
216
|
## Workflow Commands
|
|
215
217
|
|