knodin 0.8.3 → 0.8.5

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 (42) hide show
  1. package/README.md +7 -1
  2. package/dist/bin/cli.js +489 -78
  3. package/dist/src/agent-events.js +128 -0
  4. package/dist/src/agent-hooks.js +156 -0
  5. package/dist/src/cli-model.js +42 -1
  6. package/dist/src/engine/candidate-database.js +167 -0
  7. package/dist/src/engine/embeddings.js +8 -5
  8. package/dist/src/engine/index.js +930 -262
  9. package/dist/src/engine/prune.js +8 -0
  10. package/dist/src/file-metrics.js +153 -0
  11. package/dist/src/output-telemetry.js +8 -3
  12. package/dist/src/repair-lease.js +8 -5
  13. package/dist/src/response-budget.js +2 -1
  14. package/dist/src/session-telemetry.js +163 -0
  15. package/dist/src/shared-index/artifact.js +65 -0
  16. package/dist/src/shared-index/cache.js +267 -0
  17. package/dist/src/shared-index/compatibility.js +70 -0
  18. package/dist/src/shared-index/config.js +224 -0
  19. package/dist/src/shared-index/contract.js +117 -0
  20. package/dist/src/shared-index/manifest.js +71 -0
  21. package/dist/src/shared-index/opportunistic.js +37 -0
  22. package/dist/src/shared-index/overlay.js +98 -0
  23. package/dist/src/shared-index/provenance.js +149 -0
  24. package/dist/src/shared-index/publisher.js +198 -0
  25. package/dist/src/shared-index/restore.js +209 -0
  26. package/dist/src/shared-index/s3-client.js +124 -0
  27. package/dist/src/shared-index/schemas.js +86 -0
  28. package/dist/src/shared-index/selection.js +111 -0
  29. package/dist/src/tools/knodin-tools.js +70 -3
  30. package/docs/CLI.md +56 -0
  31. package/docs/INSTALLATION.md +11 -0
  32. package/docs/MCP.md +12 -0
  33. package/docs/SHARED-INDEX-CONTRACT.md +132 -0
  34. package/docs/TELEMETRY.md +19 -1
  35. package/docs/releases/0.8.4.md +22 -0
  36. package/docs/releases/0.8.5.md +25 -0
  37. package/package.json +12 -3
  38. package/roadmap/competitive-roadmap.md +20 -0
  39. package/schemas/shared-index-branch-pointer-v1.schema.json +66 -0
  40. package/schemas/shared-index-config-v1.schema.json +97 -0
  41. package/schemas/shared-index-manifest-v1.schema.json +104 -0
  42. package/schemas/shared-index-provenance-v1.schema.json +100 -0
package/README.md CHANGED
@@ -190,6 +190,8 @@ knodin repair
190
190
  | `knodin status --deep` | Index freshness, health, hooks, and integration status |
191
191
  | `knodin repair` | Repair or rebuild unhealthy local graph state |
192
192
  | `knodin diagnostics …` | Preview and archive explicit-allowlist local support evidence |
193
+ | `knodin agent-hooks …` | Explicitly install, inspect, or remove optional user-global Claude lifecycle hooks |
194
+ | `knodin telemetry …` | Opt into private repository-local adoption evidence and render the local dashboard |
193
195
 
194
196
  Run `knodin --help` or read the [CLI reference](docs/CLI.md) for complete syntax.
195
197
 
@@ -218,7 +220,11 @@ repository, and lifecycle capabilities. See the [MCP guide](docs/MCP.md).
218
220
  Each checkout stores its graph and lifecycle state in `.knodin/`. Shared model
219
221
  files live in the user cache rather than being duplicated per repository.
220
222
  Source and graph data stay local. Telemetry is metadata-only, disabled by
221
- default, and never sent by knodin. Troubleshooting diagnostics are also
223
+ default, and never sent by knodin. Optional Claude hooks are installed only by
224
+ `knodin agent-hooks install --client claude`; they inject bounded, freshness-aware
225
+ session orientation and no-op outside initialized repositories. Adoption
226
+ capture remains a separate opt-in through `knodin telemetry enable`.
227
+ Troubleshooting diagnostics are also
222
228
  explicitly enabled, local-only, bounded, and never uploaded automatically.
223
229
 
224
230
  The optional `prs` command invokes the user's authenticated `gh` CLI. Network