@fusengine/harness 0.1.21 → 0.1.23

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 (2) hide show
  1. package/README.md +16 -3
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -133,13 +133,26 @@ registerGuard(({ tool, command }) =>
133
133
  | `./config` `./util` `./state` `./statusline` `./freshness` `./init` `./cli` | env config, project-root, locks, statusline, doc-freshness, wiring templates, staged checks. |
134
134
  | `./adapters/{claude,codex,cursor,cline,gemini}` | Thin per-harness adapters. |
135
135
 
136
- See [`docs/`](./docs) for per-module guides, and run `bun run docs:api` for the
137
- generated typedoc API reference.
136
+ ## Documentation
137
+
138
+ | Guide | What |
139
+ |-------|------|
140
+ | [docs/index.md](https://github.com/fusengine/harness/blob/main/docs/index.md) | architecture overview + map |
141
+ | [docs/detect.md](https://github.com/fusengine/harness/blob/main/docs/detect.md) | harness detection (`hook` vs `cli`) |
142
+ | [docs/policy.md](https://github.com/fusengine/harness/blob/main/docs/policy.md) | `evaluate`, file-size, framework, APEX gates |
143
+ | [docs/guards.md](https://github.com/fusengine/harness/blob/main/docs/guards.md) | the guard chain, `registerGuard`, fail-closed |
144
+ | [docs/runtime.md](https://github.com/fusengine/harness/blob/main/docs/runtime.md) | `handleHook`, `gate`, tracking, MCP intercept |
145
+ | [docs/config.md](https://github.com/fusengine/harness/blob/main/docs/config.md) | env config (TTL, max-lines, refs dir) |
146
+ | [docs/modules.md](https://github.com/fusengine/harness/blob/main/docs/modules.md) | cache · refs · state · memory · statusline · util |
147
+ | [docs/adapters.md](https://github.com/fusengine/harness/blob/main/docs/adapters.md) | adapters + `harness init`/`hook` wiring |
148
+ | [CHANGELOG.md](https://github.com/fusengine/harness/blob/main/CHANGELOG.md) | release history |
149
+
150
+ Run `bun run docs:api` for the generated typedoc API reference.
138
151
 
139
152
  ## Develop
140
153
 
141
154
  ```sh
142
- bun test # 105 tests
155
+ bun test # 117 tests
143
156
  bunx tsc --noEmit # typecheck (isolatedDeclarations)
144
157
  bun run build # dist + .d.mts via tsdown (for Node/bundler consumers)
145
158
  bun run docs:api # generate the typedoc API reference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusengine/harness",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Harness-agnostic toolkit for AI coding agents: runtime harness detection (Claude Code, Codex, Cursor, Cline, Gemini, Aider...), pure policy core (env config, project/framework detection, SOLID/file-size limits, APEX freshness, guard patterns, portable prompts), cache, project memory, ref routing, state/locks, statusline, per-harness adapters (Claude/Cursor/Cline/Gemini) and a cli-mode harness-check binary. Bun-native, with a built dist for Node + bundlers.",
5
5
  "type": "module",
6
6
  "module": "src/index.ts",
@@ -117,6 +117,9 @@
117
117
  },
118
118
  "files": ["dist", "README.md", "LICENSE"],
119
119
  "license": "MIT",
120
+ "repository": { "type": "git", "url": "git+https://github.com/fusengine/harness.git" },
121
+ "homepage": "https://github.com/fusengine/harness#readme",
122
+ "bugs": "https://github.com/fusengine/harness/issues",
120
123
  "sideEffects": false,
121
124
  "scripts": {
122
125
  "test": "bun test",