compact-agent 1.24.2 → 1.26.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.
Files changed (46) hide show
  1. package/README.md +140 -277
  2. package/bin/ecc-hooks.cjs +394 -394
  3. package/dist/codemaps.js +3 -2
  4. package/dist/codemaps.js.map +1 -1
  5. package/dist/config.d.ts +17 -0
  6. package/dist/config.js +89 -5
  7. package/dist/config.js.map +1 -1
  8. package/dist/cost-tracker.js +1 -1
  9. package/dist/ecc.js +10 -10
  10. package/dist/ecc.js.map +1 -1
  11. package/dist/hooks.js +3 -3
  12. package/dist/hooks.js.map +1 -1
  13. package/dist/index.js +203 -19
  14. package/dist/index.js.map +1 -1
  15. package/dist/learning.js +1 -1
  16. package/dist/login.js +1 -1
  17. package/dist/memory.js +1 -1
  18. package/dist/mempalace/index.d.ts +6 -2
  19. package/dist/mempalace/index.js +10 -3
  20. package/dist/mempalace/index.js.map +1 -1
  21. package/dist/mempalace/store.d.ts +2 -2
  22. package/dist/mempalace/store.js +5 -5
  23. package/dist/mempalace/store.js.map +1 -1
  24. package/dist/mempalace/types.d.ts +4 -4
  25. package/dist/mempalace/types.js +2 -2
  26. package/dist/package-detect.d.ts +2 -2
  27. package/dist/package-detect.js +8 -6
  28. package/dist/package-detect.js.map +1 -1
  29. package/dist/query.js +17 -0
  30. package/dist/query.js.map +1 -1
  31. package/dist/rules.js +795 -795
  32. package/dist/rules.js.map +1 -1
  33. package/dist/sessions.js +1 -1
  34. package/dist/skills.js +1 -1
  35. package/dist/stitch.js +132 -132
  36. package/dist/system-prompt.js +85 -85
  37. package/dist/theme.js +1 -1
  38. package/dist/theme.js.map +1 -1
  39. package/dist/tools/stitch.d.ts +1 -1
  40. package/dist/users.js +1 -1
  41. package/dist/voice.d.ts +6 -0
  42. package/dist/voice.js +16 -0
  43. package/dist/voice.js.map +1 -1
  44. package/dist/walkthrough.js +111 -111
  45. package/package.json +73 -68
  46. package/resources/ecc/skills/repo-scan/SKILL.md +15 -15
@@ -17,16 +17,16 @@ origin: community
17
17
 
18
18
  ## Installation
19
19
 
20
- ```bash
21
- # Fetch only the pinned commit for reproducibility
22
- mkdir -p ~/.claude/skills/repo-scan
23
- git init repo-scan
24
- cd repo-scan
25
- git remote add origin https://github.com/haibindev/repo-scan.git
26
- git fetch --depth 1 origin 2742664
27
- git checkout --detach FETCH_HEAD
28
- cp -r . ~/.claude/skills/repo-scan
29
- ```
20
+ ```bash
21
+ # Fetch only the pinned commit for reproducibility
22
+ mkdir -p ~/.claude/skills/repo-scan
23
+ git init repo-scan
24
+ cd repo-scan
25
+ git remote add origin https://github.com/haibindev/repo-scan.git
26
+ git fetch --depth 1 origin 2742664
27
+ git checkout --detach FETCH_HEAD
28
+ cp -r . ~/.claude/skills/repo-scan
29
+ ```
30
30
 
31
31
  > Review the source before installing any agent skill.
32
32
 
@@ -52,11 +52,11 @@ cp -r . ~/.claude/skills/repo-scan
52
52
 
53
53
  ## How It Works
54
54
 
55
- 1. **Classify the repo surface**: enumerate files, then tag each as project code, embedded third-party code, or build artifact.
56
- 2. **Detect embedded libraries**: inspect directory names, headers, license files, and version markers to identify bundled dependencies and likely versions.
57
- 3. **Score each module**: group files by module or subsystem, then assign one of the four verdicts based on ownership, duplication, and maintenance cost.
58
- 4. **Highlight structural risks**: call out dead-weight artifacts, duplicated wrappers, outdated vendored code, and modules that should be extracted, rebuilt, or deprecated.
59
- 5. **Produce the report**: return a concise summary plus the interactive HTML output with per-module drill-down so the audit can be reviewed asynchronously.
55
+ 1. **Classify the repo surface**: enumerate files, then tag each as project code, embedded third-party code, or build artifact.
56
+ 2. **Detect embedded libraries**: inspect directory names, headers, license files, and version markers to identify bundled dependencies and likely versions.
57
+ 3. **Score each module**: group files by module or subsystem, then assign one of the four verdicts based on ownership, duplication, and maintenance cost.
58
+ 4. **Highlight structural risks**: call out dead-weight artifacts, duplicated wrappers, outdated vendored code, and modules that should be extracted, rebuilt, or deprecated.
59
+ 5. **Produce the report**: return a concise summary plus the interactive HTML output with per-module drill-down so the audit can be reviewed asynchronously.
60
60
 
61
61
  ## Examples
62
62