compound-agent 2.0.3 → 2.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ All notable changes to this project will be documented in this file.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
8
8
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
+ ## [2.1.1] - 2026-03-23
11
+
12
+ ### Fixed
13
+
14
+ - **Tip strings broken for npm-installed users**: Reverted `npx ca` → `ca` change in user-facing tip strings (correction reminder, planning reminder, failure tip, trust language). npm-installed users only have `npx ca` in PATH — the `ca` binary lives in `node_modules/.bin/`. Hook commands in `settings.json` correctly use absolute binary paths and are unaffected.
15
+ - **CI lint action**: Upgraded `golangci-lint-action` from v6 to v7 (v6 doesn't support golangci-lint v2).
16
+
17
+ ## [2.1.0] - 2026-03-23
18
+
19
+ ### Added
20
+
21
+ - **Structured logging via `log/slog`**: Replaced all ad-hoc `fmt.Fprintf(os.Stderr, ...)` calls in production code with structured `slog` calls (Error/Warn/Debug levels). No external dependencies — uses Go stdlib only.
22
+ - **`--verbose` / `-v` global flag**: New persistent flag on the root command enables debug-level JSON logging to stderr. Default level is Warn (silent in normal operation).
23
+ - **Dependabot configuration**: Added `.github/dependabot.yml` for automated weekly dependency update PRs targeting Go modules (`/go`) and Cargo (`/rust/embed-daemon`).
24
+
25
+ ### Changed
26
+
27
+ - **AGENTS.md rewritten for Go**: Complete rewrite of AGENTS.md to reflect the Go-based architecture. Removed all stale TypeScript/pnpm/vitest/Commander.js references. Now accurately documents Cobra CLI commands, `go/internal/` package layout, Go conventions, and build/test commands.
28
+
29
+ ### Fixed
30
+
31
+ - **CI lint pipeline**: Upgraded golangci-lint to v2.11.4 (Go 1.26 support), migrated `.golangci.yml` from v1 to v2 format, resolved all 313 pre-existing lint violations across 72 files. All refactoring is purely structural — no behavior changes.
32
+ - **Stale `npx ca` references in runtime strings**: Replaced `npx ca` with `ca` in user-facing hook messages (pre-commit reminder, correction/planning reminders, failure tips) and AI context strings (`ca prime` trust language, loop prompt builder).
33
+ - **Setup upgrade reconciliation**: `ca setup` now reconciles existing managed files during upgrades, prunes retired templates and nested phase reference files from managed `compound/` directories.
34
+ - **GoReleaser config**: Fixed deprecated `.goreleaser.yml` fields (`format` → `formats`, `builds` → `ids`).
35
+ - **Duplicate function**: Removed duplicate `countOldLessons` definition in `commands_scripts.go`.
36
+
10
37
  ## [2.0.3] - 2026-03-22
11
38
 
12
39
  ### Fixed
@@ -59,6 +86,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
59
86
 
60
87
  ### Fixed
61
88
 
89
+ - **Managed repo artifact upgrades**: `ca setup` now reconciles existing managed compound-agent files during upgrades instead of only creating missing files, so already-initialized repos receive updated templates and metadata.
90
+ - **Retired managed template cleanup**: Setup upgrades now remove stale files and directories that are no longer shipped from managed `compound/` directories under `.claude/commands/`, `.claude/skills/`, `.claude/agents/`, and `docs/`.
91
+ - **Nested phase reference cleanup**: Setup upgrades now prune retired nested files and directories inside phase skill `references/` trees, preventing removed or renamed reference docs from lingering after reruns.
62
92
  - **Embedding memory pressure remediation**: Lazy-load native modules (@huggingface/transformers (onnxruntime-node), better-sqlite3) behind dynamic `import()`, reducing CLI cold-start RSS. Singleton embedding model uses explicit `dispose()`. Added RSS measurement script and integration tests for memory lifecycle.
63
93
  - **Review phase resilience**: Fixed jq stdin pipe handling, added auth health checks, and improved error isolation in loop review templates.
64
94
  - **Quality-filter-before-storage test ordering**: Resolved flaky test ordering in compound skill tests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-agent",
3
- "version": "2.0.3",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "description": "Learning system for Claude Code — avoids repeating mistakes across sessions",
6
6
  "bin": {
@@ -50,10 +50,10 @@
50
50
  "knowledge-management"
51
51
  ],
52
52
  "optionalDependencies": {
53
- "@syottos/darwin-arm64": "2.0.3",
54
- "@syottos/darwin-x64": "2.0.3",
55
- "@syottos/linux-arm64": "2.0.3",
56
- "@syottos/linux-x64": "2.0.3"
53
+ "@syottos/darwin-arm64": "2.1.1",
54
+ "@syottos/darwin-x64": "2.1.1",
55
+ "@syottos/linux-arm64": "2.1.1",
56
+ "@syottos/linux-x64": "2.1.1"
57
57
  },
58
58
  "author": "Nathan Delacrétaz",
59
59
  "license": "MIT",