@iseoane/agent-depot 0.2.0 → 0.2.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 +25 -0
- package/README.md +8 -3
- package/dist/src/cli.js +1164 -0
- package/dist/src/git-source.js +409 -0
- package/dist/src/path-safety.js +31 -0
- package/dist/src/process-runner.js +32 -0
- package/dist/src/project-installation.js +1411 -0
- package/dist/src/project-manifest.js +511 -0
- package/dist/src/skill-adoption.js +77 -0
- package/dist/src/skill-discovery.js +467 -0
- package/dist/src/skill-hosts.js +103 -0
- package/dist/src/skill-install.js +362 -0
- package/dist/src/skill-removal.js +119 -0
- package/dist/src/skill-update.js +244 -0
- package/dist/src/source-state.js +265 -0
- package/dist/src/sources.js +391 -0
- package/dist/src/tui/adoption-actions.js +144 -0
- package/dist/src/tui/app.js +63 -0
- package/dist/src/tui/batch.js +17 -0
- package/dist/src/tui/bulk-actions.js +243 -0
- package/dist/src/tui/catalog-actions.js +9 -0
- package/dist/src/tui/catalog-browse.js +59 -0
- package/dist/src/tui/catalog-filter.js +20 -0
- package/dist/src/tui/catalog-flow.js +107 -0
- package/dist/src/tui/catalog-installs.js +189 -0
- package/dist/src/tui/catalog-panel.js +47 -0
- package/dist/src/tui/catalog-state.js +92 -0
- package/dist/src/tui/catalog-tree.js +35 -0
- package/dist/src/tui/catalog-view.js +89 -0
- package/dist/src/tui/environment.js +1 -0
- package/dist/src/tui/installations-browse.js +114 -0
- package/dist/src/tui/installations-mode.js +1 -0
- package/dist/src/tui/installations-panel.js +27 -0
- package/dist/src/tui/installations-rows.js +11 -0
- package/dist/src/tui/installations-tree.js +68 -0
- package/dist/src/tui/installations-view.js +114 -0
- package/dist/src/tui/installations.js +149 -0
- package/dist/src/tui/keys.js +31 -0
- package/dist/src/tui/manage-actions.js +172 -0
- package/dist/src/tui/manage-panel.js +59 -0
- package/dist/src/tui/mode-keys.js +61 -0
- package/dist/src/tui/panel-parts.js +23 -0
- package/dist/src/tui/render.js +8 -0
- package/dist/src/tui/sources-mode.js +17 -0
- package/dist/src/tui/sources-view.js +276 -0
- package/dist/src/tui/theme.js +29 -0
- package/dist/src/tui/tree-navigation.js +68 -0
- package/dist/src/tui/tree.js +53 -0
- package/dist/src/tui/unmanaged-actions.js +178 -0
- package/dist/src/tui/updates-flow.js +74 -0
- package/dist/src/tui/updates-keys.js +95 -0
- package/dist/src/tui/updates-mode.js +1 -0
- package/dist/src/tui/updates-model.js +48 -0
- package/dist/src/tui/updates-panel.js +42 -0
- package/dist/src/tui/updates-view.js +101 -0
- package/dist/src/tui/updates.js +159 -0
- package/dist/src/tui/view-state.js +42 -0
- package/dist/src/tui/window.js +31 -0
- package/dist/src/unmanaged-removal.js +57 -0
- package/dist/src/update-batch.js +376 -0
- package/dist/src/update-flow.js +135 -0
- package/dist/src/usage-error.js +7 -0
- package/dist/src/user-global-skill-inventory.js +559 -0
- package/dist/src/user-method.js +14 -0
- package/package.json +4 -1
- package/skills/doctor-md-agents/scripts/test_collect_sessions.py +0 -780
- package/skills/doctor-md-agents/scripts/test_extract_rules.py +0 -530
- package/skills/doctor-md-agents/scripts/test_render_report.py +0 -383
- package/skills/doctor-md-agents/scripts/test_scan_corrections.py +0 -343
- package/skills/doctor-md-agents/scripts/test_verify_citations.py +0 -236
- package/skills/doctor-md-agents/scripts/testdata/old_extract_rules_pre_t1.py.txt +0 -507
- package/skills/doctor-md-skill/scripts/test_collect_sessions.py +0 -593
- package/skills/doctor-md-skill/scripts/test_detect_machine_sessions.py +0 -181
- package/skills/doctor-md-skill/scripts/test_render_report.py +0 -241
- package/skills/doctor-md-skill/scripts/test_verify_citations.py +0 -196
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,31 @@ 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
|
+
## [0.2.1] - 2026-09-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- A project manifest that pins a built-in Skill to another Agent Depot version stays loadable; `install --manifest` skips that Skill with its reason and installs the rest.
|
|
13
|
+
- `install --manifest` now fails with exit code 1 ("Nothing to install") when every Skill is skipped, and prints a summary line when only some are.
|
|
14
|
+
- `--help`, `-h` and `help` print the usage and exit 0.
|
|
15
|
+
- The Updates view names the reason on the collapsed "cannot be checked" row.
|
|
16
|
+
- Unmanaged symlink identity includes birth time and size, so a replaced symlink is no longer mistaken for the original.
|
|
17
|
+
- Bulk actions in the TUI detect drift strictly: a change to the installation records outside the batch stops the affected item and leaves it untouched.
|
|
18
|
+
- The TUI only treats real terminal escape sequences as escape remnants, so pasting text such as `Ok` into an input keeps it.
|
|
19
|
+
- Updates scope keys (`t`, `p`, `g`) are looked up in a Map, so prototype property names can never match.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- The npm tarball is smaller: source maps and Skill tests are excluded.
|
|
24
|
+
- README links are absolute GitHub URLs so they work on npm.
|
|
25
|
+
|
|
26
|
+
### Internal
|
|
27
|
+
|
|
28
|
+
- Every source file is covered by a dependency-boundary zone (fallow audit); the version test path was fixed.
|
|
29
|
+
- Duplicated blocks removed (18 clone groups down to 3) in project installation and the TUI views.
|
|
30
|
+
- Cognitive complexity reduced in the catalog, updates and installations views and their key handlers; `installations-view.tsx` and `catalog-view.tsx` split into focused modules.
|
|
31
|
+
- Characterization tests for the complex functions in `src/path-safety.ts`.
|
|
32
|
+
|
|
8
33
|
## [0.2.0] - 2026-09-30
|
|
9
34
|
|
|
10
35
|
### BREAKING
|
package/README.md
CHANGED
|
@@ -47,7 +47,9 @@ Agent Depot is reported as not updatable (update Agent Depot first).
|
|
|
47
47
|
|
|
48
48
|
## Usage
|
|
49
49
|
|
|
50
|
-
With the package installed (or via `npx @iseoane/agent-depot`)
|
|
50
|
+
With the package installed (or via `npx @iseoane/agent-depot`). `agent-depot --help`
|
|
51
|
+
(also `-h` or `help`) prints the usage and exits 0; running it without arguments
|
|
52
|
+
or with an unknown command is a usage error and exits 1.
|
|
51
53
|
|
|
52
54
|
```sh
|
|
53
55
|
agent-depot source list
|
|
@@ -249,7 +251,10 @@ Sources require a fixed 40- or 64-character Git commit. For the built-in
|
|
|
249
251
|
Source, `latest` tracks the installed Agent Depot package, while a fixed policy
|
|
250
252
|
is accepted only when its value exactly equals that package's current version;
|
|
251
253
|
other values fail closed because the requested package version cannot be
|
|
252
|
-
reproduced.
|
|
254
|
+
reproduced. A manifest written by another Agent Depot stays loadable: a built-in
|
|
255
|
+
Skill pinned to a different version shows as unknown in `update check` ("pinned
|
|
256
|
+
to Agent Depot X; running Y") and is skipped by `install --manifest`, while the
|
|
257
|
+
other Skills keep working. The built-in Source does not support `--ref`, and the CLI rejects it
|
|
253
258
|
explicitly. External `latest` may track an explicit mutable safe ref, but an
|
|
254
259
|
immutable commit ref must use a fixed policy matching that commit. The
|
|
255
260
|
`--portable-v1` flag requires the validated portable format rule; compatibility
|
|
@@ -410,7 +415,7 @@ Safety model:
|
|
|
410
415
|
- Batch installs and removals apply item by item; one failure does not stop the
|
|
411
416
|
others and each item reports its own result.
|
|
412
417
|
|
|
413
|
-
See [CONTEXT.md](CONTEXT.md) for the domain terms and [docs/adr](docs/adr) for the
|
|
418
|
+
See [CONTEXT.md](https://github.com/iseoane/agent-depot/blob/main/CONTEXT.md) for the domain terms and [docs/adr](https://github.com/iseoane/agent-depot/tree/main/docs/adr) for the
|
|
414
419
|
decisions behind the TUI.
|
|
415
420
|
|
|
416
421
|
## Configuration and cache
|