claude-db 0.12.0 → 0.12.2

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 (59) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/capture/active.d.ts +12 -0
  3. package/dist/capture/active.js +74 -0
  4. package/dist/capture/flush.d.ts +1 -1
  5. package/dist/capture/flush.js +12 -2
  6. package/dist/capture/git.d.ts +1 -0
  7. package/dist/capture/git.js +3 -2
  8. package/dist/capture/transcript.d.ts +1 -0
  9. package/dist/capture/transcript.js +3 -2
  10. package/dist/capture/turn-extractor.d.ts +3 -0
  11. package/dist/capture/turn-extractor.js +12 -2
  12. package/dist/catchup/gather.d.ts +9 -4
  13. package/dist/catchup/gather.js +22 -15
  14. package/dist/catchup/render.js +17 -8
  15. package/dist/cli/commands/catchup.js +2 -1
  16. package/dist/cli/commands/pick.js +4 -2
  17. package/dist/cli/install.js +1 -0
  18. package/dist/facts/handoff.d.ts +2 -0
  19. package/dist/facts/handoff.js +7 -0
  20. package/dist/facts/last-chat.d.ts +13 -0
  21. package/dist/facts/last-chat.js +45 -0
  22. package/dist/facts/start.d.ts +2 -1
  23. package/dist/facts/start.js +44 -5
  24. package/dist/hooks/detached.d.ts +1 -0
  25. package/dist/hooks/detached.js +1 -0
  26. package/dist/hooks/payload.d.ts +5 -0
  27. package/dist/hooks/relevance.js +1 -5
  28. package/dist/hooks/session-end.js +6 -0
  29. package/dist/hooks/session-start.js +9 -6
  30. package/dist/hooks/turn-end.d.ts +2 -0
  31. package/dist/hooks/turn-end.js +26 -0
  32. package/dist/hooks/turn-job.d.ts +10 -0
  33. package/dist/hooks/turn-job.js +30 -0
  34. package/dist/hooks/turn-save.d.ts +2 -0
  35. package/dist/hooks/turn-save.js +25 -0
  36. package/dist/hooks/user-prompt.js +2 -0
  37. package/dist/pick/pending.js +7 -37
  38. package/dist/pick/run.d.ts +6 -0
  39. package/dist/pick/run.js +8 -1
  40. package/dist/store/mongo/filters.d.ts +1 -0
  41. package/dist/store/mongo/filters.js +9 -3
  42. package/dist/store/mongo/observations.js +2 -3
  43. package/dist/store/postgres/filters.d.ts +1 -0
  44. package/dist/store/postgres/filters.js +9 -4
  45. package/dist/store/postgres/observations.js +4 -1
  46. package/dist/store/sqlite/filters.d.ts +1 -0
  47. package/dist/store/sqlite/filters.js +9 -4
  48. package/dist/store/sqlite/observations.js +4 -1
  49. package/dist/store/sqlite/search.js +4 -5
  50. package/dist/types.d.ts +1 -0
  51. package/dist/util/claude-cli.d.ts +1 -0
  52. package/dist/util/claude-cli.js +15 -3
  53. package/dist/util/day.d.ts +1 -0
  54. package/dist/util/day.js +4 -0
  55. package/dist/util/json-file.d.ts +4 -0
  56. package/dist/util/json-file.js +37 -0
  57. package/docs/how-it-works.md +6 -1
  58. package/package.json +6 -6
  59. package/skills/catchup/SKILL.md +6 -2
@@ -14,8 +14,12 @@ claude-db catchup
14
14
  It prints what memory and git know about this project, in plain text. Some parts may be missing. A part
15
15
  with nothing in it is left out.
16
16
 
17
- - `Last handoff` is a note the user or a teammate saved on purpose. Trust it most.
18
- - `Last chat` is the newest recorded chat, with a few lines of the work done in it.
17
+ - `Last handoff` is a note the user or a teammate saved on purpose. Trust it most, unless its heading says
18
+ `older than the last chat`. Then the last chat is newer, and wins where they differ.
19
+ - `Not finished yet in another chat` is a request another chat is still working on, or that was stopped.
20
+ Say so under **Open**.
21
+ - `Last chat` and `Chat before` are the other chats with the newest recorded requests, open or ended, newest
22
+ first: the 5 newest requests in all.
19
23
  - `Still to do` are to-dos found in earlier chats.
20
24
  - `Not committed yet` is recorded work that no commit has covered.
21
25
  - `Decisions and dead ends` are what was chosen or ruled out, with the reason.