@harnesspm/cli 0.0.0-snapshot.412a718 → 0.0.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 (81) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -68
  3. package/index.js +4 -0
  4. package/package.json +11 -66
  5. package/CHANGELOG.md +0 -259
  6. package/dist/added.d.ts +0 -51
  7. package/dist/added.js +0 -192
  8. package/dist/check.d.ts +0 -14
  9. package/dist/check.js +0 -263
  10. package/dist/cli.d.ts +0 -2
  11. package/dist/cli.js +0 -218
  12. package/dist/commands.d.ts +0 -58
  13. package/dist/commands.js +0 -1299
  14. package/dist/config.d.ts +0 -15
  15. package/dist/config.js +0 -45
  16. package/dist/deliver.d.ts +0 -1
  17. package/dist/deliver.js +0 -31
  18. package/dist/doctor.d.ts +0 -18
  19. package/dist/doctor.js +0 -99
  20. package/dist/exec-outputs.d.ts +0 -75
  21. package/dist/exec-outputs.js +0 -425
  22. package/dist/exec-units.d.ts +0 -68
  23. package/dist/exec-units.js +0 -151
  24. package/dist/fetch.d.ts +0 -16
  25. package/dist/fetch.js +0 -145
  26. package/dist/frontmatter.d.ts +0 -16
  27. package/dist/frontmatter.js +0 -49
  28. package/dist/homes.d.ts +0 -7
  29. package/dist/homes.js +0 -21
  30. package/dist/lock.d.ts +0 -47
  31. package/dist/lock.js +0 -245
  32. package/dist/manifest.d.ts +0 -78
  33. package/dist/manifest.js +0 -169
  34. package/dist/new.d.ts +0 -33
  35. package/dist/new.js +0 -228
  36. package/dist/outputs.d.ts +0 -124
  37. package/dist/outputs.js +0 -875
  38. package/dist/parent.d.ts +0 -41
  39. package/dist/parent.js +0 -182
  40. package/dist/render.d.ts +0 -91
  41. package/dist/render.js +0 -221
  42. package/dist/resolve.d.ts +0 -132
  43. package/dist/resolve.js +0 -522
  44. package/dist/reviewed.d.ts +0 -15
  45. package/dist/reviewed.js +0 -41
  46. package/dist/run.d.ts +0 -18
  47. package/dist/run.js +0 -133
  48. package/dist/sections.d.ts +0 -32
  49. package/dist/sections.js +0 -121
  50. package/dist/telemetry-api.d.ts +0 -26
  51. package/dist/telemetry-api.js +0 -60
  52. package/dist/telemetry.d.ts +0 -119
  53. package/dist/telemetry.js +0 -401
  54. package/dist/user-outputs.d.ts +0 -30
  55. package/dist/user-outputs.js +0 -239
  56. package/dist/util.d.ts +0 -137
  57. package/dist/util.js +0 -370
  58. package/dist/workspaces.d.ts +0 -2
  59. package/dist/workspaces.js +0 -62
  60. package/docs/spec/01-overview.md +0 -149
  61. package/docs/spec/02-package-format.md +0 -252
  62. package/docs/spec/03-resolution.md +0 -108
  63. package/docs/spec/04-outputs.md +0 -194
  64. package/docs/spec/05-executables.md +0 -170
  65. package/docs/spec/06-trust.md +0 -88
  66. package/docs/spec/07-added.md +0 -109
  67. package/docs/spec/08-improving.md +0 -79
  68. package/docs/spec/09-cloud.md +0 -68
  69. package/docs/spec/10-cli.md +0 -181
  70. package/docs/spec/11-standards.md +0 -52
  71. package/docs/spec/12-dogfooding.md +0 -51
  72. package/docs/spec/13-open-questions.md +0 -97
  73. package/docs/spec/14-telemetry.md +0 -199
  74. package/docs/spec/README.md +0 -33
  75. package/harness/dev.harnesspm/rules/generated-files.md +0 -9
  76. package/harness/dev.harnesspm/rules/harnesspm-config.md +0 -12
  77. package/harness/plugin.json +0 -13
  78. package/harness/skills/harnesspm-export/SKILL.md +0 -43
  79. package/harness/skills/harnesspm-import/SKILL.md +0 -40
  80. package/harness/skills/harnesspm-improve/SKILL.md +0 -38
  81. package/schema/harnesspm.schema.json +0 -58
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 tenphi
3
+ Copyright (c) 2026 Andrey Yamanov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,70 +1,5 @@
1
- # harnesspm
1
+ # @harnesspm/cli
2
2
 
3
- **Harness management for npm packages.**
3
+ > Placeholder package. This name is reserved for an upcoming project.
4
4
 
5
- A **harness** is everything a coding agent needs to use a library well: rules, docs, skills, sub-agents, scripts, hooks, MCP servers and permissions. A library ships it in its npm package. harnesspm gives it to Claude Code and Codex on every install, for the version you installed.
6
-
7
- 📚 Docs: **[harnesspm.tenphi.me](https://harnesspm.tenphi.me)**. Short pages for people, and every step for AI agents.
8
-
9
- ## How it works
10
-
11
- | Flow | Who | What they do |
12
- | --- | --- | --- |
13
- | 📤 **Share** | A library | Adds a `harness/` folder to its npm package. It can pass on the harness of the libraries it builds on (`extends`). |
14
- | 📥 **Use** | A project | `npm i -D @harnesspm/cli` and `npx -y @harnesspm/cli init`. After every install, Claude Code and Codex see the harness of the installed versions. |
15
- | ➕ **Add on top** | A person | `npx -y @harnesspm/cli add github:me/harness`. A team's or their own workflow, context and tools apply on top, without changing the project's repository. |
16
- | 🛠️ **Improve** | An agent | `npx -y @harnesspm/cli why <unit>` finds the source. The agent edits it and saves the change the way the owner's rules say, by default with a pull request. |
17
-
18
- ```
19
- dependencies (harness/ in node_modules, through extends)
20
- ▼
21
- project (harnesspm.json, the project's own harness/) → AGENTS.md block + harnesspm.lock.json, committed
22
- ▼
23
- added (harnesses you add: your team's, your own) → per-machine files, never committed
24
- ```
25
-
26
- ## Quick start
27
-
28
- In a project:
29
-
30
- ```bash
31
- npm i -D @harnesspm/cli
32
- npx -y @harnesspm/cli init
33
- ```
34
-
35
- `init` creates `harnesspm.json` and runs `harnesspm sync` after every full install. Commit `AGENTS.md`, `CLAUDE.md`, `harnesspm.json` and `harnesspm.lock.json`. Or ask your agent to do it: [Use a harness](https://harnesspm.tenphi.me/getting-started/) has the prompt.
36
-
37
- In a library, to share its harness:
38
-
39
- ```bash
40
- npm i -D @harnesspm/cli
41
- npx -y @harnesspm/cli new rule usage
42
- npx -y @harnesspm/cli check
43
- ```
44
-
45
- Add `"harness"` to the `files` field of `package.json`. [Share a harness](https://harnesspm.tenphi.me/share/) has the prompt for your agent. To add your own or your team's harness on top of every repository on your machine:
46
-
47
- ```bash
48
- npx -y @harnesspm/cli add github:<owner>/<repo>
49
- ```
50
-
51
- To see how agents use the harness, a team can turn on telemetry in `harnesspm.json`. It is off by default, sends events only to the team's own handler (a command or a file), and never sends arguments or file contents. See [chapter 14](docs/spec/14-telemetry.md).
52
-
53
- `npx -y @harnesspm/cli help` lists every command, and `npx -y @harnesspm/cli <command> --help` shows one. [CHANGELOG.md](CHANGELOG.md) lists the changes.
54
-
55
- ## Requirements
56
-
57
- - **Node.js** 20 or later.
58
- - **Package managers:** npm, pnpm, Yarn 1 and Yarn 4 (node-modules linker).
59
- - **Agents:** Claude Code and Codex. Other agents that read `AGENTS.md` and `.agents/skills` get the portable parts.
60
-
61
- ## Learn more
62
-
63
- - 📚 [The docs site](https://harnesspm.tenphi.me): the three ways to start, prompts for your agent, guides and a reference.
64
- - 📐 [The specification](docs/spec/README.md): every format, rule and command. Each chapter opens with a short summary. It ships in the npm package, so agents read the version you installed.
65
- - 🔬 [The research notes](docs/research/): the sources behind every statement about the agents.
66
- - 🧩 [Projects that ship a harness](https://harnesspm.tenphi.me/#in-real-projects), as working examples.
67
-
68
- ## Name
69
-
70
- **harnesspm** stands for *harness package manager*, in the line of npm and pnpm. It is written in lowercase. The npm package is `@harnesspm/cli` (`@tenphi/harnesspm` up to 0.16), and the command is `harnesspm`. The extension namespace is `dev.harnesspm`.
5
+ Nothing to see here yet. Please don't depend on this package.
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ // Placeholder: this package name is reserved for an upcoming project.
4
+ module.exports = {};
package/package.json CHANGED
@@ -1,73 +1,18 @@
1
1
  {
2
2
  "name": "@harnesspm/cli",
3
- "version": "0.0.0-snapshot.412a718",
4
- "description": "The harness package manager: share agent rules, docs, skills and tools through npm packages",
5
- "license": "MIT",
6
- "type": "module",
7
- "bin": {
8
- "harnesspm": "dist/cli.js"
9
- },
10
- "exports": {
11
- "./telemetry": {
12
- "types": "./dist/telemetry-api.d.ts",
13
- "default": "./dist/telemetry-api.js"
14
- },
15
- "./package.json": "./package.json"
16
- },
3
+ "version": "0.0.1",
4
+ "description": "Placeholder package. Reserved for an upcoming project.",
5
+ "main": "index.js",
17
6
  "files": [
18
- "dist",
19
- "schema",
20
- "harness",
21
- "docs/spec",
22
- "CHANGELOG.md"
7
+ "index.js",
8
+ "README.md",
9
+ "LICENSE"
23
10
  ],
24
- "publishConfig": {
25
- "access": "public"
26
- },
27
- "engines": {
28
- "node": ">=20"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/tenphi/harnesspm.git"
33
- },
34
- "homepage": "https://harnesspm.tenphi.me",
35
11
  "keywords": [
36
- "agents",
37
- "harness",
38
- "ai",
39
- "claude-code",
40
- "codex",
41
- "agents-md",
42
- "skills",
43
- "mcp",
44
- "agent-plugins"
12
+ "harnesspm",
13
+ "cli",
14
+ "placeholder"
45
15
  ],
46
- "scripts": {
47
- "build": "tsc -p tsconfig.build.json && node -e \"require('node:fs').chmodSync('dist/cli.js', 0o755)\"",
48
- "typecheck": "tsc -p tsconfig.json --noEmit",
49
- "test": "node --test \"test/**/*.test.ts\"",
50
- "sync": "node src/cli.ts sync",
51
- "check": "node src/cli.ts check && node src/cli.ts sync --check",
52
- "harnesspm": "node src/cli.ts",
53
- "docs": "astro dev",
54
- "build:docs": "astro build",
55
- "docs:doctor": "cookbook doctor",
56
- "docs:check": "cookbook check-build --out site-dist",
57
- "prepack": "npm run build && node dist/cli.js check",
58
- "changeset": "changeset",
59
- "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts && node src/cli.ts sync --write",
60
- "release": "changeset publish"
61
- },
62
- "dependencies": {
63
- "yaml": "^2.9.1"
64
- },
65
- "devDependencies": {
66
- "@changesets/changelog-github": "^1.0.1",
67
- "@changesets/cli": "^3.0.3",
68
- "@tenphi/cookbook": "^0.34.1",
69
- "@types/node": "^22.20.5",
70
- "astro": "^7.4.11",
71
- "typescript": "^7.0.2"
72
- }
16
+ "author": "Andrey Yamanov",
17
+ "license": "MIT"
73
18
  }
package/CHANGELOG.md DELETED
@@ -1,259 +0,0 @@
1
- # Changelog
2
-
3
- ## 0.16.0
4
-
5
- ### Minor Changes
6
-
7
- - [#88](https://github.com/tenphi/harnesspm/pull/88) [`9d9cfea`](https://github.com/tenphi/harnesspm/commit/9d9cfeac534f5106abcbf05639e420dba8fa79b9) Thanks [@tenphi](https://github.com/tenphi)! - `why <ID>` finds a unit of a project entry from any folder, such as another repository or a folder above the clones, where an agent may meet the IDs that a repository's `CLAUDE.local.md` lists. It searches the entries of the harnesses you added with user scope, and its owner line names the remotes the entry is for.
8
-
9
- `check` validates a harness's project entries too: the rules and skills in each entry folder, and the `name` in the entry's `plugin.json`, which `sync` refuses when it differs from the harness's. It checks each folder once, also when several remotes map to it, and prints each entry's always-on size next to the harness's.
10
-
11
- When `run` refuses a script because the installed version differs from the lock, the message now names both remedies: reinstall the project's dependencies when the install is out of date, as in a cached cloud environment, or run `npx -y @tenphi/harnesspm sync` when the lock is. It named only `sync` before, which on an old install writes the old versions into the lock.
12
-
13
- harnesspm is no longer labeled experimental: the README, the docs site and the spec drop the "experimental" note.
14
-
15
- ## 0.15.0
16
-
17
- ### Minor Changes
18
-
19
- - [#84](https://github.com/tenphi/harnesspm/pull/84) [`609f227`](https://github.com/tenphi/harnesspm/commit/609f227f1271bbde1eff40c22d903b78e233ffe4) Thanks [@tenphi](https://github.com/tenphi)! - A sync in a folder above git repositories, such as `/home/user` in a Claude Code cloud session with several repositories, now applies your added harnesses in each repository right below it, so their project entries work there too. The `SessionStart` hook runs it at the start of such a session. Each repository gets only the per-machine outputs of your added harnesses; its own files, committed or per machine, stay as its install wrote them. A session that starts above the repositories reads the entries' rules and skills; their hooks and permissions still need a session that starts in the repository. Without added harnesses, and with `CI=true`, nothing changes.
20
-
21
- - [#84](https://github.com/tenphi/harnesspm/pull/84) [`631a06e`](https://github.com/tenphi/harnesspm/commit/631a06e291fe60ccd241b033c3ab282e0f428e3b) Thanks [@tenphi](https://github.com/tenphi)! - The `SessionStart` hook that `add` installs now runs `update`, so each session starts with the newest commits of your added harnesses, also in a cloud session that starts from a days-old snapshot. In the hook, git never prompts, a fetch stops after 30 seconds, and a fetch that fails only warns: the session starts with what is on the machine. Working copies with uncommitted or unpushed work are left as they are. Your next `sync` turns the old hook, which ran `sync`, into the new one. `update` now prints what changed, such as `updated a1b2c3d → e4f5a6b`, instead of "up to date". New commits apply their hooks and permissions too: for a harness whose pushes you do not control, use an npm source with a fixed version, or `--no-hook`.
22
-
23
- ### Patch Changes
24
-
25
- - [#84](https://github.com/tenphi/harnesspm/pull/84) [`121baa4`](https://github.com/tenphi/harnesspm/commit/121baa4745e57730535e648a953fa272f16a34d5) Thanks [@tenphi](https://github.com/tenphi)! - The user-level blocks in `~/.claude/CLAUDE.md` and `~/.codex/AGENTS.md` show absolute paths for the on-demand rules, file-scoped rules and docs of added harnesses from git and npm sources, as the spec says. They showed paths such as `harnesses/<name>/harness/…`, relative to `~/.harnesspm`, which an agent could not open from a repository. Run `npx -y @tenphi/harnesspm sync` once to rewrite them.
26
-
27
- ## 0.14.0
28
-
29
- ### Minor Changes
30
-
31
- - [#82](https://github.com/tenphi/harnesspm/pull/82) [`d18418b`](https://github.com/tenphi/harnesspm/commit/d18418b3c88aeee62608dedc217c90e55818edcc) Thanks [@tenphi](https://github.com/tenphi)! - The copies of dependencies' docs move out of `node_modules`, to `.harnesspm/docs/` at the project root. After upgrading, run `sync` and commit `AGENTS.md`, whose `Docs:` lines change, and add `/.harnesspm/` to `.gitignore` so formatters such as Prettier skip the copies: `sync` warns until it is there. A `.rgignore` of your own needs the lines `!/.harnesspm/`, `/.harnesspm/*` and `!/.harnesspm/docs/` instead of the `node_modules` ones. `sync` removes the old copies, and both `sync` and `fetch` write the copies only where git ignores them.
32
-
33
- ## 0.13.2
34
-
35
- ### Patch Changes
36
-
37
- - [#80](https://github.com/tenphi/harnesspm/pull/80) [`4e76974`](https://github.com/tenphi/harnesspm/commit/4e76974bf1e5fc02d889db73299f66c8e8442af6) Thanks [@tenphi](https://github.com/tenphi)! - The docs copy points a link that leaves the docs folder, such as `../README.md`, at that file in the installed package, so it leads somewhere. `check` no longer warns on such links: a docs page keeps the links its own website needs.
38
-
39
- ## 0.13.1
40
-
41
- ### Patch Changes
42
-
43
- - [#78](https://github.com/tenphi/harnesspm/pull/78) [`f4a64da`](https://github.com/tenphi/harnesspm/commit/f4a64da614caa6b8ea5aa7955235c61e595e27d8) Thanks [@tenphi](https://github.com/tenphi)! - `check` warns when a docs page links to a file outside the docs folder, such as `../README.md`, because that link leads nowhere in the docs copy that projects search. It does not fail the check.
44
-
45
- ## 0.13.0
46
-
47
- ### Minor Changes
48
-
49
- - [#76](https://github.com/tenphi/harnesspm/pull/76) [`f05605c`](https://github.com/tenphi/harnesspm/commit/f05605c59ad7b7e02838a0d096a6dd28ff7de5fd) Thanks [@tenphi](https://github.com/tenphi)! - `sync` and `fetch` copy every dependency's docs into `node_modules/.harnesspm/docs/`, and write a `.rgignore` that lets agents' search tools, such as Claude Code's Grep and `rg`, into that one folder. Search skipped a dependency's docs before, because they sit in `node_modules`. Git ignores the copies and the `.rgignore`, and formatters skip `node_modules`. The `Docs:` lines in the managed block now point at the copies: run `npx harnesspm sync` after upgrading and commit `AGENTS.md`.
50
-
51
- ## 0.12.1
52
-
53
- ### Patch Changes
54
-
55
- - [#74](https://github.com/tenphi/harnesspm/pull/74) [`3d44214`](https://github.com/tenphi/harnesspm/commit/3d442145867bf59ee65cb2de32fcfd849383f2b3) Thanks [@tenphi](https://github.com/tenphi)! - A `sync` event names what differs from the reviewed state `reason`, not `why`, which is already an event type, and its `held` entries leave out the `-C <path>` of a hook above the project, so events carry no local paths.
56
-
57
- ## 0.12.0
58
-
59
- ### Minor Changes
60
-
61
- - [#72](https://github.com/tenphi/harnesspm/pull/72) [`c14bc7d`](https://github.com/tenphi/harnesspm/commit/c14bc7d07e1ff39b841795a544bd61f7518a9816) Thanks [@tenphi](https://github.com/tenphi)! - Telemetry events from a git worktree carry `worktree: true`, such as those of a Claude Code desktop app session that runs in one, and a `sync` event lists the entries an agent's sync held back, with `held` and `why`.
62
-
63
- ## 0.11.0
64
-
65
- ### Minor Changes
66
-
67
- - [#70](https://github.com/tenphi/harnesspm/pull/70) [`9ffd4cb`](https://github.com/tenphi/harnesspm/commit/9ffd4cb016ba7121d26a72f9f9360e642f675f84) Thanks [@tenphi](https://github.com/tenphi)! - Sessions that start in a folder above your repositories, such as a Claude Code cloud session with several repositories or your folder of clones, now get each repository's hooks: run `npx -y @tenphi/harnesspm sync` in that folder once, after the installs. It writes the hooks with `-C <repository>` into that folder's agent settings, and a block in its `AGENTS.md` that names each repository, its rules and its `help` command; each repository's own sync keeps its entries there current, and a sync there removes the entries of repositories that are gone. Such a hook runs in its repository and skips edits in the others. An agent's own sync never adds hooks there. Telemetry hook events now use the session ID that Claude Code's commands see, so a session's hook and command events no longer split into two sessions, and events from such a folder carry `outside: true`.
68
-
69
- ## 0.10.1
70
-
71
- ### Patch Changes
72
-
73
- - [#66](https://github.com/tenphi/harnesspm/pull/66) [`690bd5e`](https://github.com/tenphi/harnesspm/commit/690bd5ed1a0d6207ba767d20c45026e305f528f8) Thanks [@tenphi](https://github.com/tenphi)! - Keep monorepo rule patches and replacements scoped to the workspaces that use them, and keep the original skill when consumers disagree.
74
-
75
- ## 0.10.0
76
-
77
- ### Minor Changes
78
-
79
- - [#63](https://github.com/tenphi/harnesspm/pull/63) [`38b7d55`](https://github.com/tenphi/harnesspm/commit/38b7d55bc8eb663ae91ef597f828e8c76cb91690) Thanks [@tenphi](https://github.com/tenphi)! - `replace` now works on skills: map a skill ID to a folder with its own `SKILL.md`, which keeps the skill's name, ID and place. A package that passes on another package's harness can adapt an upstream skill for its users, and the folder is not a skill of its own, so nothing warns about two skills with one name. A replaced skill gets the trust of the package that replaced it. For other units, such as tools and hooks, `replace` warns and points to `exclude`, and `check` fails on it; the spec now says so.
80
-
81
- ### Patch Changes
82
-
83
- - [#63](https://github.com/tenphi/harnesspm/pull/63) [`38b7d55`](https://github.com/tenphi/harnesspm/commit/38b7d55bc8eb663ae91ef597f828e8c76cb91690) Thanks [@tenphi](https://github.com/tenphi)! - A docs folder of your own harness that your build writes and git ignores no longer makes the lock and the `AGENTS.md` blocks depend on whether a build ran: `sync` leaves it out, built or not, and `check` still reads the built pages. An `exclude` of that docs unit no longer warns that it does not exist.
84
-
85
- - [#63](https://github.com/tenphi/harnesspm/pull/63) [`38b7d55`](https://github.com/tenphi/harnesspm/commit/38b7d55bc8eb663ae91ef597f828e8c76cb91690) Thanks [@tenphi](https://github.com/tenphi)! - A project in a subfolder of a git repository, such as `docs-site/`, now keeps its per-machine files out of git: `sync` writes its entries in `.git/info/exclude` from the git root (`/docs-site/.claude/skills/…`), in a section named after its folder, and keeps its own state file, so two projects in one repository never touch each other's entries. The next sync moves the entries an older version wrote into the root's section. A hook already in a settings file is not added a second time. `doctor` names the `!` pattern and file that bring a file back, and asks for a sync when no pattern matches.
86
-
87
- ## 0.9.2
88
-
89
- ### Patch Changes
90
-
91
- - [#60](https://github.com/tenphi/harnesspm/pull/60) [`9d6b32f`](https://github.com/tenphi/harnesspm/commit/9d6b32fb711fa79bcc280b83a938c62dbf7253d1) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm check` no longer checks links in code samples (fenced code blocks and code spans), so a sample link no longer fails the check. A link in an indented code block still counts: put a sample link in a fence.
92
-
93
- ## 0.9.1
94
-
95
- ### Patch Changes
96
-
97
- - [#58](https://github.com/tenphi/harnesspm/pull/58) [`3fa6145`](https://github.com/tenphi/harnesspm/commit/3fa61450bfe449e4e7d53a7b4dbda5624db650d1) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm check` judges a package by what its tarball would hold, read from `files` in `package.json`. It now checks docs pages built at `prepack`, which git ignores but npm packs, and reports a link to a file the package does not ship. Links in `.mdx` pages are checked too. The private-key warning now needs a key body, so a `-----BEGIN PRIVATE KEY-----` placeholder in docs no longer triggers it. The spec's links to `docs/research/`, which doesn't ship, now lead to GitHub.
98
-
99
- ## 0.9.0
100
-
101
- ### Minor Changes
102
-
103
- - [#50](https://github.com/tenphi/harnesspm/pull/50) [`5c97e3a`](https://github.com/tenphi/harnesspm/commit/5c97e3acfa89a50db4ef8a6d7e34b619279e3679) Thanks [@tenphi](https://github.com/tenphi)! - Scripts can list their `answers` exit codes (such as `[1]` for a lint that found problems): `run` events get an `outcome` of `ok`, `answer` or `failed`, `reportRun` takes `answers` too, and `help <tool>` prints them. `run`, `help` and `why` events from a folder outside the project, such as with `-C`, carry `outside: true`.
104
-
105
- ## 0.8.0
106
-
107
- ### Minor Changes
108
-
109
- - [#44](https://github.com/tenphi/harnesspm/pull/44) [`d9b558f`](https://github.com/tenphi/harnesspm/commit/d9b558fb73a8d914437d8f0a34a66e189ed24701) Thanks [@tenphi](https://github.com/tenphi)! - Use a cloned repository's harness from another folder: `harnesspm -C <dir> <command>` acts on the project in `<dir>`, `help` lists the project's scripts, MCP servers, rules, docs and skills (fetching its harness packages first when it has no install), `run` and `mcp` use fetched packages and say what is missing instead of `No script`, and the managed block starts with a line for agents outside the folder and gives tools as `npx -y @tenphi/harnesspm run <unit>`.
110
-
111
- - [#47](https://github.com/tenphi/harnesspm/pull/47) [`c300231`](https://github.com/tenphi/harnesspm/commit/c30023153ced717ec184ed2b94358a9bcdf1ff47) Thanks [@tenphi](https://github.com/tenphi)! - Rules are no longer inlined in AGENTS.md; agents get them with `help <package>`. The managed block now starts with the commands that reach the harness, then names each always-on rule in one line (its title and section headings), and lists tools by name without repeating the run command. `harnesspm help <package>` prints a package's rules in full with your patches, its docs, tools, MCP servers, skills and hooks; `help <rule ID>` prints one rule; `help <tool>` prints a tool's usage and run command without running it, from a new optional `usage` field in the script's manifest entry. All work with `-C` and without an install, and `help` with a target is a new telemetry event.
112
-
113
- ## 0.7.0
114
-
115
- ### Minor Changes
116
-
117
- - [#39](https://github.com/tenphi/harnesspm/pull/39) [`9968789`](https://github.com/tenphi/harnesspm/commit/996878997b6fbb1f2467c9353d3772c78473583d) Thanks [@tenphi](https://github.com/tenphi)! - Until a package is trusted, its sub-agents are written without Claude Code's `hooks` and `mcpServers`, as `permissionMode` already was, and a skill of its that sets `allowed-tools` or `hooks` is linked as a copy without them. Claude Code ignores the same sub-agent keys in plugins for security. `sync` names each key it leaves out.
118
-
119
- - [#39](https://github.com/tenphi/harnesspm/pull/39) [`9968789`](https://github.com/tenphi/harnesspm/commit/996878997b6fbb1f2467c9353d3772c78473583d) Thanks [@tenphi](https://github.com/tenphi)! - Package headings in the managed block no longer name the version, so an upgrade that keeps a package's harness the same changes only `harnesspm.lock.json`. Run `npx harnesspm sync` once and commit the updated `AGENTS.md` files.
120
-
121
- ## 0.6.0
122
-
123
- ### Minor Changes
124
-
125
- - [#37](https://github.com/tenphi/harnesspm/pull/37) [`d95e966`](https://github.com/tenphi/harnesspm/commit/d95e96674973bf2ef0fab4c04fc1abd810ff9b99) Thanks [@tenphi](https://github.com/tenphi)! - When an agent runs the install, harnesspm now writes the hooks, MCP servers and allow rules that the default branch already records, so a teammate's merged change reaches every machine with no step. The agent's own edits still wait for a person, and the held-back line now says what differs, such as `harnesspm.json differs from origin/main`.
126
-
127
- ## 0.5.2
128
-
129
- ### Patch Changes
130
-
131
- - [#34](https://github.com/tenphi/harnesspm/pull/34) [`c0f7a2b`](https://github.com/tenphi/harnesspm/commit/c0f7a2ba0a78d424d8af708c40a802b327b54d9f) Thanks [@tenphi](https://github.com/tenphi)! - In a Claude Code cloud session, `sync`, `status` and `doctor` now print the exact line for the environment's setup script when they hold entries back, such as `cd /home/user/app && npm ci`, and the cloud docs give a setup script that works.
132
-
133
- ## 0.5.1
134
-
135
- ### Patch Changes
136
-
137
- - [#31](https://github.com/tenphi/harnesspm/pull/31) [`8449c71`](https://github.com/tenphi/harnesspm/commit/8449c71afddb966d5f26d4e0d6602414ef6ff9ea) Thanks [@tenphi](https://github.com/tenphi)! - Hooks and MCP servers start harnesspm as `node <project>/node_modules/@tenphi/harnesspm/dist/cli.js`, and the package ships `dist/cli.js` as executable, so hooks keep working after Yarn 4 upgrades harnesspm in place.
138
-
139
- ## 0.5.0
140
-
141
- ### Minor Changes
142
-
143
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - `status` and `doctor` name each managed block that Codex never reads, or reads only in part, such as a workspace block below a long root `AGENTS.md`.
144
-
145
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - The root block of a monorepo names the workspaces that have harness rules of their own, and a trusted hook that checks file edits gets a line asking agents to edit with their file tools.
146
-
147
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - New `@tenphi/harnesspm/telemetry` entry with `reportRun`, so a project's own tools send `run` events to the same handler. The package now has an `exports` field, so deep imports of internal files no longer resolve.
148
-
149
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - Telemetry: loading a workspace's rules sends `read` events, events carry a `repository` field from the `origin` remote, and a sync in CI sends no `sync` event.
150
-
151
- ### Patch Changes
152
-
153
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - In a Claude Code cloud session, held-back entries point to the environment's setup script instead of asking for a terminal the person does not have.
154
-
155
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - `status` and `doctor` list the same held-back entries as `sync`, now with Codex allow rules and a held telemetry handler, so the counts match.
156
-
157
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`8febc83`](https://github.com/tenphi/harnesspm/commit/8febc8398ce14be9066b78a8292710a90468b1bb) Thanks [@tenphi](https://github.com/tenphi)! - Hooks and stdio MCP servers start through the project's own `node_modules/.bin/harnesspm` when it exists, not through npx, which saves about 0.4 s on every hooked tool call. Allow rules keep the npx form.
158
-
159
- - [#28](https://github.com/tenphi/harnesspm/pull/28) [`7830b5c`](https://github.com/tenphi/harnesspm/commit/7830b5c760f2211bc17a4cebfd069fb2bb9668f4) Thanks [@tenphi](https://github.com/tenphi)! - `status` and `doctor` count the `AGENTS.md` files above a project that sits below the git root, a workspace's rules count once per load, one hook run starts one telemetry handler process, and the edit-hook line reads Codex matchers as regular expressions.
160
-
161
- ## 0.4.4
162
-
163
- ### Patch Changes
164
-
165
- - [#19](https://github.com/tenphi/harnesspm/pull/19) [`d9f9fdc`](https://github.com/tenphi/harnesspm/commit/d9f9fdc8dbf2a61168f0164b1b70e5ae88c8bfda) Thanks [@tenphi](https://github.com/tenphi)! - Docs leave out the files git ignores. A local file next to the pages, such as an agent's plan, no longer changes the lock, the docs index or `check` on one machine only, so `sync --check` in CI agrees with a local sync.
166
-
167
- ## 0.4.3
168
-
169
- ### Patch Changes
170
-
171
- - [#18](https://github.com/tenphi/harnesspm/pull/18) [`16ec137`](https://github.com/tenphi/harnesspm/commit/16ec1374e9eb1b01591b98bef57ca34f85582c96) Thanks [@tenphi](https://github.com/tenphi)! - Clearer CLI messages. A pending tool's reason now says that a person turns it on, so agents do not take it as their next step. `init` ends with the files to commit. `new` lists every file it wrote, `plugin.json` included, and a next step that works where it wrote. `harnesspm <command> --help` shows that command's usage and options.
172
-
173
- - [#16](https://github.com/tenphi/harnesspm/pull/16) [`08c0f45`](https://github.com/tenphi/harnesspm/commit/08c0f452244c1bd124e2c11ce167990dc99a6e13) Thanks [@tenphi](https://github.com/tenphi)! - The install script that `harnesspm init` writes skips `harnesspm sync` when harnesspm is not installed, so an install without dev dependencies, such as `npm ci --omit=dev`, no longer fails with "harnesspm: not found". In a project that is already set up, run `npx harnesspm init` again to update the script; `harnesspm doctor` warns until you do.
174
-
175
- ## 0.4.2
176
-
177
- ### Patch Changes
178
-
179
- - [#15](https://github.com/tenphi/harnesspm/pull/15) [`1c6d5b4`](https://github.com/tenphi/harnesspm/commit/1c6d5b4e3c26a44699fc57b1ab97e59831729048) Thanks [@tenphi](https://github.com/tenphi)! - A docs unit's hash in `harnesspm.lock.json` now covers only its `llms.txt` and its `.md` and `.mdx` pages. A package that points `docs` at its source folder, with pages next to the code, no longer gets a stale lock from every change to a source or test file. The next `sync` rewrites the hash of a docs folder that holds other files.
180
-
181
- - [#13](https://github.com/tenphi/harnesspm/pull/13) [`8acfdf3`](https://github.com/tenphi/harnesspm/commit/8acfdf372af46d908710ba1401786e646b776e3c) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm init` stops when `@tenphi/harnesspm` is not a dependency of the project, changes nothing, and names the command that installs it. Before, it added an install script that failed the next install with "harnesspm: not found".
182
-
183
- - [#13](https://github.com/tenphi/harnesspm/pull/13) [`71e2aab`](https://github.com/tenphi/harnesspm/commit/71e2aabc193953fc3c5c3f9440594d1426a75579) Thanks [@tenphi](https://github.com/tenphi)! - The `harnesspm-import` and `harnesspm-export` skills name every file to commit, say where to find what a pending tool does, show the `docs` field in full, and add a README note for the package's users.
184
-
185
- ## 0.4.1
186
-
187
- ### Patch Changes
188
-
189
- - [#10](https://github.com/tenphi/harnesspm/pull/10) [`f4a5899`](https://github.com/tenphi/harnesspm/commit/f4a5899c50aebc18e0c9d6cf18669723c11f29e6) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm sync` no longer fails when a docs page of a package has invalid frontmatter: it warns and lists the page by its heading or file name. `harnesspm check` reports such a page, so the author fixes it before publishing.
190
-
191
- - [#10](https://github.com/tenphi/harnesspm/pull/10) [`d8df8e9`](https://github.com/tenphi/harnesspm/commit/d8df8e97f9c554fb6beb6a50082c97e75eb05be2) Thanks [@tenphi](https://github.com/tenphi)! - The specification, which ships as the docs of harnesspm's own harness, shows the managed block as `sync` writes it and calls harnesspm experimental.
192
-
193
- ## 0.4.0
194
-
195
- ### Minor Changes
196
-
197
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - With `CI=true`, `harnesspm sync` writes only per-machine files and leaves `AGENTS.md`, `CLAUDE.md` and the lock as they are, so `sync --check` after an install catches a missed sync. `sync --write` writes them anyway, for jobs that commit the result.
198
-
199
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm sync` makes Claude Code read nested `AGENTS.md` files again: each one that git tracks gets a `CLAUDE.md` next to it with `@AGENTS.md`, because the root `CLAUDE.md` silenced them. `sync --check` and `doctor` report a missing import.
200
-
201
- ### Patch Changes
202
-
203
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm status` says `AGENTS.md` is over Codex's 32 KiB limit, instead of close to it, once it is past 32 KiB, and `harnesspm doctor` warns about it under Outputs: Codex reads only the first 32 KiB.
204
-
205
- - [#7](https://github.com/tenphi/harnesspm/pull/7) [`b58879e`](https://github.com/tenphi/harnesspm/commit/b58879e0850c56658c4bc5b59d7fec8e2b3331e0) Thanks [@tenphi](https://github.com/tenphi)! - The package's homepage is now the docs site, https://harnesspm.tenphi.me. The specification's links to files of this repository that are not in the package point at GitHub.
206
-
207
- - [#7](https://github.com/tenphi/harnesspm/pull/7) [`b58879e`](https://github.com/tenphi/harnesspm/commit/b58879e0850c56658c4bc5b59d7fec8e2b3331e0) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm doctor` says how to turn on an untrusted package's units once per line, not twice.
208
-
209
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm.lock.json` no longer records the project's own version, so a release that raises `version` in `package.json` no longer makes the lock out of date. A lock that has it still passes `sync --check`, and the next `sync` drops it.
210
-
211
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm.lock.json` now takes each harness package's integrity and tarball URL from `pnpm-lock.yaml` and Yarn 1's `yarn.lock` too, so `harnesspm fetch` checks its downloads in pnpm and Yarn projects. For a lock without them, `fetch` reads the package manager's lockfile, and it names each package it cannot check.
212
-
213
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - The managed block now has a blank line after its BEGIN marker and before its END marker, so Prettier no longer changes it and breaks `sync --check`. A block in the old form still passes `--check`, and the next `sync` rewrites it once.
214
-
215
- - [#9](https://github.com/tenphi/harnesspm/pull/9) [`2d69197`](https://github.com/tenphi/harnesspm/commit/2d69197802d6ab483ac8b72143c2b500f2d7fc6d) Thanks [@tenphi](https://github.com/tenphi)! - Outside a git repository, `harnesspm sync` no longer creates `.git/harnesspm/state.json`. It keeps that per-machine state in `~/.harnesspm/state/` instead.
216
-
217
- ## 0.3.0
218
-
219
- ### Minor Changes
220
-
221
- - [#5](https://github.com/tenphi/harnesspm/pull/5) [`40154b6`](https://github.com/tenphi/harnesspm/commit/40154b6fd8430324f883fcd73ba80085f47c6e5e) Thanks [@tenphi](https://github.com/tenphi)! - New `harnesspm doctor`: checks that a repository is ready for harnesses, its own and a person's. Every per-machine file on disk must be ignored by git and not tracked, so no commit can include it. It also checks that added harnesses are on this machine, that outputs are in place, and what waits for trust. Each problem names the command that fixes it. `status` points to it when a per-machine file has a problem.
222
-
223
- ### Patch Changes
224
-
225
- - [#5](https://github.com/tenphi/harnesspm/pull/5) [`40154b6`](https://github.com/tenphi/harnesspm/commit/40154b6fd8430324f883fcd73ba80085f47c6e5e) Thanks [@tenphi](https://github.com/tenphi)! - A telemetry command handler that exits without reading its event is now logged with its exit code, not as `EPIPE`.
226
-
227
- ## 0.2.0
228
-
229
- ### Minor Changes
230
-
231
- - [#3](https://github.com/tenphi/harnesspm/pull/3) [`0aa47d8`](https://github.com/tenphi/harnesspm/commit/0aa47d8eca675a4de1f70b7ba8b5ace1515127ea) Thanks [@tenphi](https://github.com/tenphi)! - Opt-in telemetry: with `telemetry` in `harnesspm.json`, harnesspm sends events about script runs, MCP server starts, `sync` and `why` to the team's own handler, a command or a JSON Lines file. With agent events on, its own async hooks also report when Claude Code reads a harness file or loads a skill, and when a Claude Code or Codex session starts. Events never hold arguments, file contents or prompts. A handler gets events only after a person's `sync` records it in the lock, and a person opts out with `DO_NOT_TRACK=1` or `"telemetry": false` in `harnesspm.local.json`.
232
-
233
- ### Patch Changes
234
-
235
- - [#3](https://github.com/tenphi/harnesspm/pull/3) [`0aa47d8`](https://github.com/tenphi/harnesspm/commit/0aa47d8eca675a4de1f70b7ba8b5ace1515127ea) Thanks [@tenphi](https://github.com/tenphi)! - harnesspm's own config rule loads only for the project's `harnesspm.json` and `harness/`, no longer when Claude Code reads a dependency's harness files.
236
-
237
- - [#3](https://github.com/tenphi/harnesspm/pull/3) [`0aa47d8`](https://github.com/tenphi/harnesspm/commit/0aa47d8eca675a4de1f70b7ba8b5ace1515127ea) Thanks [@tenphi](https://github.com/tenphi)! - An `extends` entry that is an optional peer dependency of its package (`optional: true` in `peerDependenciesMeta`) is skipped without a warning when it is not installed.
238
-
239
- - [#3](https://github.com/tenphi/harnesspm/pull/3) [`0aa47d8`](https://github.com/tenphi/harnesspm/commit/0aa47d8eca675a4de1f70b7ba8b5ace1515127ea) Thanks [@tenphi](https://github.com/tenphi)! - `harnesspm why` explains every unit ID: scripts, hooks, MCP servers, sub-agents and permissions too, not only rules, skills and docs. For a script it also shows the command that runs it, and for an executable unit of a dependency whether its package is trusted.
240
-
241
- ## 0.1.1
242
-
243
- ### Patch Changes
244
-
245
- - [#1](https://github.com/tenphi/harnesspm/pull/1) [`67528c5`](https://github.com/tenphi/harnesspm/commit/67528c50345a909066448fa0eba4c272b3f73aeb) Thanks [@tenphi](https://github.com/tenphi)! - Releases are now published from GitHub Actions through npm trusted publishing, with provenance.
246
-
247
- ## 0.1.0
248
-
249
- The first release: a proof of concept that covers every scenario of the [specification](docs/spec/README.md) (version 0.7 draft).
250
-
251
- - **Team harness:** `init`, `sync`, `sync --check`, `status`, `why` and `check`. Discovery from dependencies, `extends`, one version per package, `exclude`, `replace` and `patch`, the managed block in `AGENTS.md`, skill and rule links, a docs index and `harnesspm.lock.json`.
252
- - **Added harnesses:** `add`, `remove` and `update`, for a team's or a person's own harness on top of a repository, with user and local scope, project entries and a `SessionStart` hook.
253
- - **Executables and trust:** scripts, hooks, MCP servers, permissions and sub-agents for Claude Code and Codex; `trust` with `true` or `"pin"`; `run`, `mcp` and `approve`. Nothing that widens an agent's permissions is written when the agent's model runs harnesspm.
254
- - **Monorepos, `fetch` and `new`:** a block per workspace; downloading the locked harness packages for jobs without an install; templates for every unit kind and for patches.
255
- - **Package:** published as `@tenphi/harnesspm`; the command is `harnesspm`. Commands that may run without an install use `npx -y @tenphi/harnesspm`, and allow rules for an added harness's scripts match those commands.
256
- - **Docs index:** built from `.md` and `.mdx` pages, titled by frontmatter `title`, else the first heading. Found by the first pilot, `@tenphi/glaze`.
257
- - **`check`:** `files` may list entries inside the docs folder, such as `docs/components` or `docs/*.md`, so a package can leave contributor docs out. Found by the `@cube-dev/ui-kit` pilot.
258
-
259
- Known limits: `npm install <pkg>` and `pnpm add` do not run the install hook, so run `npx harnesspm sync` after them; Codex outputs are checked against its source and docs only; Yarn Plug'n'Play and Windows are not tested.
package/dist/added.d.ts DELETED
@@ -1,51 +0,0 @@
1
- import { type HarnessPackage } from './manifest.ts';
2
- import { normalizeRemote, remoteKey } from './util.ts';
3
- export type Scope = 'user' | 'local';
4
- export type SourceKind = 'git' | 'folder' | 'npm';
5
- export declare const LOCAL_FILE = "harnesspm.local.json";
6
- export declare function userConfigFile(): string;
7
- export declare function configFileFor(scope: Scope, projectDir: string): string;
8
- export declare function readList(file: string): string[];
9
- export declare function writeList(file: string, list: string[]): void;
10
- export interface Source {
11
- /** As the person wrote it, normalized for folders to an absolute path. */
12
- spec: string;
13
- kind: SourceKind;
14
- /** Git URL or npm package name. */
15
- location: string;
16
- /** The harness package root on this machine. */
17
- dir: string;
18
- editable: boolean;
19
- }
20
- export declare function parseSource(spec: string, cwd?: string): Source;
21
- /** How long a fetch may take when nobody can answer a prompt, as in the `SessionStart` hook (spec 7.5). */
22
- export declare const QUIET_FETCH_SECONDS = 30;
23
- /** Puts the source on this machine. Returns a note for the person. */
24
- export declare function fetchSource(source: Source, quiet?: boolean): string | undefined;
25
- /**
26
- * Brings a source up to date and says what changed. Never changes a working copy with local work (spec 8.7). A pull
27
- * that fails keeps the working copy as it is. A clone or npm fetch that fails throws.
28
- */
29
- export declare function updateSource(source: Source, options?: {
30
- quiet?: boolean;
31
- }): string;
32
- export { normalizeRemote, remoteKey };
33
- export interface AddedHarness {
34
- source: Source;
35
- scope: Scope;
36
- pkg: HarnessPackage;
37
- /** This harness's entry for the current repository, as a package with the harness's plugin name. */
38
- entry?: HarnessPackage;
39
- }
40
- /** A harness's project entries, one per folder, with the remotes that map to it (spec 7.2). */
41
- export declare function entryFolders(pkg: HarnessPackage): {
42
- dir: string;
43
- remotes: string[];
44
- }[];
45
- /** The entry in `dir` as a package with the harness's plugin name, or undefined when the folder does not exist. */
46
- export declare function entryPackage(pkg: HarnessPackage, dir: string, key: string): HarnessPackage | undefined;
47
- /** Added harnesses in order: user scope first, then local scope, each as listed. */
48
- export declare function loadAdded(projectDir: string | undefined, warnings: string[]): AddedHarness[];
49
- export { harnesspmHome } from './homes.ts';
50
- export { caller, type Caller } from './util.ts';
51
- export declare const RULES_DIR: string;