agents-handoff 0.0.0-stage → 2.0.3

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 (56) hide show
  1. package/CHANGELOG.md +192 -0
  2. package/LICENSE +21 -0
  3. package/README.md +150 -2
  4. package/SKILL.md +147 -0
  5. package/capability-registry.json +27 -0
  6. package/docs/ARCHITECTURE.md +187 -0
  7. package/docs/CHANGELOG.md +196 -0
  8. package/docs/CLI.md +299 -0
  9. package/docs/COMPATIBILITY.md +124 -0
  10. package/docs/CONTRIBUTING.md +134 -0
  11. package/docs/FORMAT.md +185 -0
  12. package/docs/INSTALL.md +394 -0
  13. package/docs/INTEGRATION.md +188 -0
  14. package/docs/LEVEL4.md +202 -0
  15. package/docs/LEVEL5.md +96 -0
  16. package/docs/PERMISSIONS.md +145 -0
  17. package/docs/PROVENANCE.md +110 -0
  18. package/docs/SECURITY.md +93 -0
  19. package/docs/SESSIONS.md +97 -0
  20. package/docs/TROUBLESHOOTING.md +158 -0
  21. package/docs/UNINSTALL.md +148 -0
  22. package/docs/UPGRADE.md +177 -0
  23. package/docs/_config.yml +18 -0
  24. package/docs/_data/nav.yml +36 -0
  25. package/docs/_layouts/default.html +31 -0
  26. package/docs/assets/style.css +88 -0
  27. package/docs/index.md +92 -0
  28. package/docs/sessions.json +34 -0
  29. package/handoff.config.example.json +35 -0
  30. package/handoff.config.schema.json +117 -0
  31. package/install/CHANGELOG.md +48 -0
  32. package/install/README.md +76 -0
  33. package/install/install.mjs +1455 -0
  34. package/install/package.json +39 -0
  35. package/package.json +66 -4
  36. package/permission-policy.json +33 -0
  37. package/refs/ADAPTERS.md +33 -0
  38. package/refs/bootstrap.md +59 -0
  39. package/refs/brief-checklist.md +79 -0
  40. package/refs/handbook.md +58 -0
  41. package/refs/protocol.md +117 -0
  42. package/refs/roles.md +75 -0
  43. package/refs/validator.md +73 -0
  44. package/schemas/handoff.schema.json +275 -0
  45. package/skill.json +147 -0
  46. package/templates/HANDOFF.llm.schema.json +144 -0
  47. package/templates/HANDOFF.template.md +40 -0
  48. package/tests/acceptance/acceptance.yaml +209 -0
  49. package/tests/fixtures/minimal-transcript.jsonl +2 -0
  50. package/tools/agent-handoff.mjs +22 -0
  51. package/tools/agents-handoff.mjs +410 -0
  52. package/tools/capability-registry.mjs +120 -0
  53. package/tools/handoff.mjs +398 -0
  54. package/tools/handoff.test.mjs +668 -0
  55. package/tools/lib/handoff-root.mjs +161 -0
  56. package/tools/runtime-engine.mjs +330 -0
@@ -0,0 +1,48 @@
1
+ # Changelog — agents-handoff
2
+
3
+ The installer is a separate package from the skill. It follows the same
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format and Semantic Versioning.
5
+
6
+ ## [1.1.0] — 2026-10-09
7
+
8
+ First release published to npm. `npx agents-handoff` now installs the skill on a
9
+ machine that has neither a checkout nor an unpacked archive.
10
+
11
+ ### Added
12
+
13
+ - A download path for the published package. When no skill tree sits beside the installer, the
14
+ archive for the requested version is fetched from
15
+ `https://codeload.github.com/Alot1z/agent-handoff/tar.gz` and unpacked; the same install
16
+ manifest then copies out of it, so an installed copy is identical either way.
17
+ `--version latest` resolves the newest release tag and falls back to the `main` branch,
18
+ saying so, when the repository has no release object.
19
+ - An install that cannot resolve a source file fails with the missing paths and the count,
20
+ instead of warning per file and reporting success.
21
+
22
+ ### Changed
23
+
24
+ - Install sources are written in the shipped tree's terms and resolved against both layouts
25
+ (shipped first, `repo-upstream/` second), so one manifest installs the same files from a
26
+ clone, a release archive, and a fetched archive.
27
+ - The version reported after an install is read back from the installed `SKILL.md`, and the
28
+ fallback version used before a tree exists is parsed from `SKILL.md` too. The shipped suite
29
+ asserts the two agree, so a release cannot install under the previous version number.
30
+
31
+ ### Fixed
32
+
33
+ - `README.md`, `LICENSE` and the twelve guides installed as nothing outside the development
34
+ tree: they were addressed under `repo-upstream/<path>`, which only that tree has.
35
+ - `repository` pointed at a repository that does not serve this package; `homepage` and `bugs`
36
+ were missing.
37
+
38
+ ## [1.0.0] — 2026-10-08
39
+
40
+ ### Added
41
+
42
+ - `install` (default), `update`, `remove`, `verify`, `list` and `where`.
43
+ - Location targets `global`, `local` and `project`, with `--path` for an exact directory.
44
+ - Global root resolution instead of a hard-coded path: an account-skill store that already
45
+ holds `agents-handoff`, else `~/.agents/skills`, else an account-skill store found on the
46
+ machine, else `~/.agents/skills`, created on install. `where` prints the resolved root and
47
+ the rule that chose it. `AGENT_HANDOFF_GLOBAL_DIR` overrides it.
48
+ - `--version` to install a specific version, and `--force` to skip confirmations.
@@ -0,0 +1,76 @@
1
+ # agents-handoff
2
+
3
+ npx installer for the agents-handoff skill.
4
+
5
+ ## Quick start
6
+
7
+ ```bash
8
+ npx agents-handoff
9
+ ```
10
+
11
+ ## Commands
12
+
13
+ | Command | Description |
14
+ |---------|-------------|
15
+ | `install` | Install the skill (default) |
16
+ | `update` | Update to latest or specified version |
17
+ | `remove` | Remove the installation |
18
+ | `verify` | Verify installation integrity |
19
+ | `list` | List all installed locations |
20
+ | `where` | Show the resolved global root and why it was chosen |
21
+
22
+ ## Options
23
+
24
+ | Option | Description |
25
+ |--------|-------------|
26
+ | `--location L` | Install location: `global` (default), `local`, `project` |
27
+ | `--path P` | Custom installation path |
28
+ | `--version V` | Version to install: `latest` (default) or specific version |
29
+ | `--force`, `-f` | Skip confirmations, overwrite existing |
30
+
31
+ ## Examples
32
+
33
+ ```bash
34
+ # Install to global location
35
+ npx agents-handoff
36
+
37
+ # Install to project-local
38
+ npx agents-handoff --location project
39
+
40
+ # Update to latest
41
+ npx agents-handoff --update
42
+
43
+ # Remove without confirmation
44
+ npx agents-handoff --remove --force
45
+
46
+ # Verify installation
47
+ npx agents-handoff --verify
48
+
49
+ # Show all installations
50
+ npx agents-handoff --list
51
+
52
+ # Show which global root was chosen, and why
53
+ npx agents-handoff where
54
+ ```
55
+
56
+ ## Locations
57
+
58
+ - **global**: resolved, not hard-coded — an account-skill root that already holds
59
+ `agents-handoff`, else `~/.agents/skills`, else any account-skill store found on this
60
+ machine (`<store>/<account-id>/<profile-id>/agents-handoff/`), else `~/.agents/skills`,
61
+ created on install. See it resolved:
62
+ `npx agents-handoff where`. Override with `AGENT_HANDOFF_GLOBAL_DIR`, or target an
63
+ exact path with `--path`.
64
+ - **local**: `./local/skills/agents-handoff/`
65
+ - **project**: `./skills/agents-handoff/` (only detected if in a git repo)
66
+
67
+ ## Requirements
68
+
69
+ - Node.js >= 18.0.0
70
+ - curl, wget, or native fetch for downloading
71
+
72
+ ## Development
73
+
74
+ This installer is part of the agents-handoff skill source code.
75
+
76
+ See the [agents-handoff docs](https://github.com/Alot1z/agent-handoff/tree/main/docs) for more.