@iseoane/agent-depot 0.4.0 → 0.5.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 (52) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.es.md +969 -0
  3. package/README.md +254 -25
  4. package/dist/src/app-flow.js +52 -51
  5. package/dist/src/app-recipe-removal.js +63 -0
  6. package/dist/src/cli.js +122 -11
  7. package/dist/src/executable-resolution.js +54 -0
  8. package/dist/src/git-source.js +129 -6
  9. package/dist/src/package-bundles.js +614 -0
  10. package/dist/src/package-cli.js +412 -0
  11. package/dist/src/package-content.js +158 -0
  12. package/dist/src/package-flow.js +636 -0
  13. package/dist/src/package-host-plans.js +240 -0
  14. package/dist/src/package-host-state.js +349 -0
  15. package/dist/src/package-model.js +33 -0
  16. package/dist/src/package-owned-skills.js +122 -0
  17. package/dist/src/package-state.js +404 -0
  18. package/dist/src/profile-cli.js +15 -9
  19. package/dist/src/profile-export.js +44 -9
  20. package/dist/src/profile-import.js +80 -17
  21. package/dist/src/profile.js +78 -3
  22. package/dist/src/skill-discovery.js +2 -2
  23. package/dist/src/skill-install.js +16 -0
  24. package/dist/src/sources.js +11 -0
  25. package/dist/src/tui/app-actions.js +1 -1
  26. package/dist/src/tui/app.js +5 -6
  27. package/dist/src/tui/catalog-browse.js +10 -3
  28. package/dist/src/tui/catalog-panel.js +7 -3
  29. package/dist/src/tui/catalog-state.js +57 -6
  30. package/dist/src/tui/catalog-tree.js +52 -10
  31. package/dist/src/tui/catalog-view.js +27 -4
  32. package/dist/src/tui/environment.js +8 -1
  33. package/dist/src/tui/installations-browse.js +20 -2
  34. package/dist/src/tui/installations-rows.js +2 -1
  35. package/dist/src/tui/installations-tree.js +14 -1
  36. package/dist/src/tui/installations-view.js +8 -2
  37. package/dist/src/tui/installations.js +12 -2
  38. package/dist/src/tui/manage-actions.js +2 -0
  39. package/dist/src/tui/manage-panel.js +5 -0
  40. package/dist/src/tui/package-actions.js +165 -0
  41. package/dist/src/tui/package-rows.js +87 -0
  42. package/dist/src/tui/profile-view.js +36 -14
  43. package/dist/src/tui/sources-mode.js +2 -0
  44. package/dist/src/tui/sources-recipes.js +116 -53
  45. package/dist/src/tui/sources-view.js +57 -19
  46. package/dist/src/tui/tree.js +3 -4
  47. package/dist/src/tui/updates-flow.js +4 -1
  48. package/dist/src/tui/updates-panel.js +2 -2
  49. package/dist/src/tui/updates.js +72 -4
  50. package/dist/src/user-global-skill-inventory.js +7 -2
  51. package/package.json +2 -1
  52. package/skills/agent-depot-apprecipe/SKILL.md +29 -5
package/CHANGELOG.md CHANGED
@@ -5,6 +5,43 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [0.5.0] - 2026-10-06
11
+
12
+ ### Added
13
+
14
+ - **Packages**: host-native bundles managed as a category (ADR 0009). A Package is a Pi package with explicit Pi intent or conventional extensions or prompts, or a Claude Code plugin bound by an in-repo `.claude-plugin/marketplace.json`, both discovered inside a registered Source. Agent Depot reads the bundle manifest into a typed component inventory, derives the Host commands from the declared components, and delegates install, update and uninstall to the Host CLI through the no-shell runner after an action-specific approval receipt. Installed state is read from `~/.pi/agent/settings.json` and `~/.claude/plugins/installed_plugins.json` and never written, so an unversioned Pi git package reports `unknown` rather than `current`. A bundle's own Skills never become a second managed copy, and agents and MCP servers are reported as `host-only` and left to the Host. A fixed-version Claude selection is refused, because `claude plugin install` has no pin slot.
15
+ - `agent-depot package list | discover <source-id> | inspect <selection> --host <host> | approve <selection> --host <host> [--action <install|update|uninstall>] | install|update|uninstall <selection> --host <host> [--yes] | forget <selection> --host <host> --yes`. Planning refreshes the Source first (ADR 0004), a changed declaration needs renewed approval, `--yes` never bypasses the receipt, and execution re-derives the declaration and fails closed with `stale plan` on any difference. Packages are user-global only.
16
+ - Packages join the user-global update batch through `update check --package <selection>` and `update apply --package <selection>` or `--all`, after Skills and Apps. Project scope never selects a Package, and a Package with `unknown` version status is never offered as an update.
17
+ - Profiles carry Package selections as a declaration-only `packages` block with `--no-packages` and `--package <selection>` filters. Import replays each selection through the flow's `select` action, which runs no Host command and never installs a bundle.
18
+ - TUI: a Packages group in Catalog with Skills dimmed only while their Package is selected or installed; `i` on a bundle previews the frozen plan, approves the missing receipt and then runs it, and `Enter` on a Package row in Installations approves the install declaration only, with `i` to preview and run, `U` to update, `u` to uninstall and `f` to forget, and Package rows in the Updates batch.
19
+
20
+ ### Changed
21
+
22
+ - Sources shows Skill Sources and App recipes in one windowed list, with `skills`/`app` kinds, one cursor and contextual action hints; Tab section switching is removed. Adding a first App recipe is available through `n`.
23
+ - App recipe removal previews the exact recipe path, refuses while the App is installed, tracked, or its installed state cannot be verified, offers the existing uninstall flow, and requires a separate deletion confirmation. Declining or failing uninstall retains the recipe.
24
+ - Catalog Source groups show repository names (and GitHub directory/ref scope) instead of opaque Git IDs; internal identities are unchanged.
25
+ - Catalog and Installations start with every group collapsed. Enter/right arrow opens groups; Catalog filters still expand matching Sources automatically.
26
+
27
+ ### Fixed
28
+
29
+ - Approved live App version checks reconcile a newer observed version with the tracked record. Installations labels cached versions as recorded.
30
+ - Skill-only repositories are not inferred as Pi packages. Root Claude marketplace bindings produce one plugin instead of duplicate rows.
31
+ - Package ownership stays within its Source, and selecting or installing a Package refuses conflicting managed portable Skills.
32
+ - Direct execution of the focused Package-owned Skill tests isolates user state even without the test-runner preload.
33
+ - App lifecycle failures identify the missing executable and action, suggest installing Homebrew when `brew` is unavailable, and distinguish manual-only steps and blocked Windows executables. TUI previews name missing commands instead of just saying "unavailable".
34
+ - GitHub `tree/<ref>/<directory>` Source URLs clone and fetch the repository URL, use the selected ref, and restrict Skill discovery and reads to the directory without changing existing Source identities.
35
+ - The TUI Catalog keeps available Sources browsable when another Source has no mirror or cannot be read, and shows an individual warning with refresh guidance instead of failing the whole view.
36
+
37
+ ## [0.4.1] - 2026-10-01
38
+
39
+ ### Changed
40
+
41
+ - CI uses `actions/checkout@v7`, `actions/setup-node@v7` and `pnpm/action-setup@v6`, which run on Node.js 24 instead of the deprecated Node.js 20.
42
+ - The App and Profile modules are assigned to dependency-boundary zones, so `pnpm audit:dead-code` passes again.
43
+ - README: the Usage block lists the `app`, `export` and `import` commands, and Static analysis documents the `tui` and `tooling` zones.
44
+
8
45
  ## [0.4.0] - 2026-10-01
9
46
 
10
47
  ### Added