@davesheffer/hunch 1.41.6 → 1.42.0

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 (40) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/index.js +402 -154
  3. package/dist/constitution/experiment.d.ts +3 -3
  4. package/dist/constitution/g3.d.ts +1 -1
  5. package/dist/core/footprint.d.ts +15 -0
  6. package/dist/core/footprint.js +167 -0
  7. package/dist/core/groundingLag.d.ts +15 -0
  8. package/dist/core/groundingLag.js +27 -0
  9. package/dist/core/hookText.d.ts +4 -0
  10. package/dist/core/hookText.js +8 -0
  11. package/dist/core/pipeline.d.ts +28 -0
  12. package/dist/core/pipeline.js +50 -0
  13. package/dist/core/shellwrites.d.ts +7 -0
  14. package/dist/core/shellwrites.js +131 -0
  15. package/dist/core/siblingfix.d.ts +124 -0
  16. package/dist/core/siblingfix.js +814 -0
  17. package/dist/core/taskReportHook.d.ts +1 -1
  18. package/dist/core/taskReportHook.js +19 -3
  19. package/dist/extractors/git.d.ts +31 -0
  20. package/dist/extractors/git.js +180 -1
  21. package/dist/extractors/nativeTreeSitter.d.ts +2 -1
  22. package/dist/extractors/nativeTreeSitter.js +128 -30
  23. package/dist/integrations/claudemd.d.ts +20 -2
  24. package/dist/integrations/claudemd.js +79 -53
  25. package/dist/integrations/providers.d.ts +9 -5
  26. package/dist/integrations/providers.js +34 -22
  27. package/dist/integrations/team.d.ts +24 -4
  28. package/dist/integrations/team.js +154 -16
  29. package/dist/integrations/worktree.d.ts +3 -2
  30. package/dist/integrations/worktree.js +7 -4
  31. package/dist/mcp/server.d.ts +489 -0
  32. package/dist/mcp/server.js +208 -62
  33. package/dist/mcp/taskReportTools.js +12 -9
  34. package/dist/mcp/toolset.d.ts +11 -1
  35. package/dist/mcp/toolset.js +28 -8
  36. package/dist/store/hunchStore.d.ts +25 -1
  37. package/dist/store/hunchStore.js +146 -21
  38. package/dist/store/jsonStore.js +25 -4
  39. package/package.json +1 -1
  40. package/server.json +2 -2
package/README.md CHANGED
@@ -126,7 +126,7 @@ git commit -m "chore: connect shared Hunch memory"
126
126
  git push
127
127
  ```
128
128
 
129
- Teammates install Hunch, pull the code, and run `hunch init`. Normal Git access controls the shared repository. Credentials, local clone paths, and private overlays stay out of the committed pointer. Use `hunch shared --sync` to retry synchronization; add `--no-auto-commit` when captures should wait for explicit sync.
129
+ Teammates install Hunch, pull the code, and run `hunch shared --trust` once per machine: it shows the store URL from `.hunch/team.json` and connects only after that explicit consent. Then run `hunch init`. Until a machine trusts the store, Hunch refuses to clone it or route memory there. Normal Git access controls the shared repository. Credentials, local clone paths, and private overlays stay out of the committed pointer. Use `hunch shared --sync` to retry synchronization; add `--no-auto-commit` when captures should wait for explicit sync.
130
130
 
131
131
  This shares a project's engineering memory. The state server below adds authenticated access across multiple scopes.
132
132