@mickey-kras/hindsight-memory-router-coding-agents 0.8.2 → 0.8.9

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 (64) hide show
  1. package/DEVIATIONS.md +149 -31
  2. package/README.md +40 -14
  3. package/UPSTREAM.json +10 -10
  4. package/dist/antigravity-hook.js +13 -8
  5. package/dist/antigravity-statusline.js +1 -1
  6. package/dist/antigravity-stop-hook.js +13 -8
  7. package/dist/claude-hook.js +13 -8
  8. package/dist/claude-sessionstart-hook.js +13 -8
  9. package/dist/claude-stop-hook.js +13 -8
  10. package/dist/cline.js +51 -2
  11. package/dist/codebuddy-hook.js +13 -8
  12. package/dist/codebuddy-sessionstart-hook.js +13 -8
  13. package/dist/codebuddy-stop-hook.js +13 -8
  14. package/dist/codex-hook.js +13 -8
  15. package/dist/codex-sessionstart-hook.js +13 -8
  16. package/dist/codex-stop-hook.js +13 -8
  17. package/dist/copilot-hook.js +13 -8
  18. package/dist/copilot-sessionstart-hook.js +13 -8
  19. package/dist/copilot-stop-hook.js +13 -8
  20. package/dist/cursor-hook.js +13 -8
  21. package/dist/cursor-sessionstart-hook.js +13 -8
  22. package/dist/cursor-stop-hook.js +13 -8
  23. package/dist/dcode-hook.js +13 -8
  24. package/dist/dcode-sessionstart-hook.js +13 -8
  25. package/dist/dcode-stop-hook.js +13 -8
  26. package/dist/deepen.js +7 -3
  27. package/dist/devin-hook.js +13 -8
  28. package/dist/devin-sessionstart-hook.js +13 -8
  29. package/dist/devin-stop-hook.js +13 -8
  30. package/dist/droid-hook.js +13 -8
  31. package/dist/droid-sessionstart-hook.js +13 -8
  32. package/dist/droid-stop-hook.js +13 -8
  33. package/dist/dsh.js +51 -2
  34. package/dist/grok-hook.js +13 -8
  35. package/dist/grok-sessionstart-hook.js +13 -8
  36. package/dist/grok-stop-hook.js +13 -8
  37. package/dist/hindsight-seed.js +1 -1
  38. package/dist/index.js +2294 -14661
  39. package/dist/installer.js +13 -8
  40. package/dist/kilo.js +2294 -14661
  41. package/dist/kimi-hook.js +13 -8
  42. package/dist/kimi-sessionstart-hook.js +13 -8
  43. package/dist/kimi-stop-hook.js +13 -8
  44. package/dist/mcp-server.js +125 -20
  45. package/dist/opencode2.js +2296 -14663
  46. package/dist/pi.js +51 -2
  47. package/dist/prime-agent.js +51 -2
  48. package/dist/qwen-hook.js +13 -8
  49. package/dist/qwen-sessionstart-hook.js +13 -8
  50. package/dist/qwen-stop-hook.js +13 -8
  51. package/dist/status.js +1 -1
  52. package/dist/traecode-hook.js +13 -8
  53. package/dist/traecode-sessionstart-hook.js +13 -8
  54. package/dist/traecode-stop-hook.js +13 -8
  55. package/dist/workbuddy-hook.js +13 -8
  56. package/dist/workbuddy-sessionstart-hook.js +13 -8
  57. package/dist/workbuddy-stop-hook.js +13 -8
  58. package/dist/zcode-hook.js +13 -8
  59. package/dist/zcode-sessionstart-hook.js +13 -8
  60. package/dist/zcode-stop-hook.js +13 -8
  61. package/npm-shrinkwrap.json +745 -353
  62. package/package.json +14 -10
  63. package/plugin.json +1 -1
  64. package/skill/SKILL.md +113 -106
package/dist/installer.js CHANGED
@@ -3407,7 +3407,7 @@ var PAGE_TAXONOMY = [
3407
3407
  var PAGE_NAMES = PAGE_TAXONOMY.map((page) => page.name);
3408
3408
 
3409
3409
  // package.json
3410
- var version = "0.8.2";
3410
+ var version = "0.8.9";
3411
3411
 
3412
3412
  // src/core/util.ts
3413
3413
  import { accessSync, constants } from "fs";
@@ -3681,20 +3681,25 @@ function* readJsonl(path) {
3681
3681
  try {
3682
3682
  const buffer = Buffer.allocUnsafe(CHUNK_BYTES);
3683
3683
  const decoder = new StringDecoder("utf8");
3684
- let pending = "";
3684
+ let fragments = [];
3685
3685
  let position = 0;
3686
3686
  for (; ; ) {
3687
3687
  const bytesRead = readSync2(fd, buffer, 0, buffer.length, position);
3688
3688
  if (bytesRead <= 0) break;
3689
3689
  position += bytesRead;
3690
- pending += decoder.write(buffer.subarray(0, bytesRead));
3690
+ const chunk = decoder.write(buffer.subarray(0, bytesRead));
3691
+ let start = 0;
3691
3692
  let newline;
3692
- while ((newline = pending.indexOf("\n")) !== -1) {
3693
- yield pending.slice(0, newline);
3694
- pending = pending.slice(newline + 1);
3693
+ while ((newline = chunk.indexOf("\n", start)) !== -1) {
3694
+ fragments.push(chunk.slice(start, newline));
3695
+ yield fragments.join("");
3696
+ fragments = [];
3697
+ start = newline + 1;
3695
3698
  }
3699
+ if (start < chunk.length) fragments.push(chunk.slice(start));
3696
3700
  }
3697
- pending += decoder.end();
3701
+ fragments.push(decoder.end());
3702
+ const pending = fragments.join("");
3698
3703
  if (pending) yield pending;
3699
3704
  } finally {
3700
3705
  closeSync2(fd);
@@ -5392,7 +5397,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
5392
5397
  var version2 = {
5393
5398
  major: 4,
5394
5399
  minor: 6,
5395
- patch: 5
5400
+ patch: 7
5396
5401
  };
5397
5402
 
5398
5403
  // node_modules/zod/v4/core/schemas.js