@cogit/cli 0.19.1 → 0.21.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.
@@ -15,7 +15,7 @@ import {
15
15
  uninstallGitHooks,
16
16
  withHookBlock,
17
17
  withoutHookBlock
18
- } from "./chunk-IFEW5CBZ.js";
18
+ } from "./chunk-O2KOWDTP.js";
19
19
  export {
20
20
  BLOCK_END,
21
21
  BLOCK_START,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cogit/cli",
3
- "version": "0.19.1",
3
+ "version": "0.21.0",
4
4
  "description": "Git remembers what changed. cogit remembers why.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -66,8 +66,10 @@ Every message grows from an earlier one; a thread that starts something new is a
66
66
  - Default: the previous message. `parent: null` only if it would work as a new chat's first
67
67
  message. Back to an older thread: that message is the parent, the previous one goes in `links`.
68
68
  - A first message continuing earlier work: `parent` is `<sessionId>:<stable id>`;
69
- `candidates` lists the last messages of the most recent other sessions. The target must be
70
- a message of an earlier session of this project.
69
+ `candidates` lists the most recent other sessions: where each left off (`leftOff`), its
70
+ branches with the message each ends at (`last`), and its last messages. Read `leftOff`
71
+ first, then the branches; the usual target is a branch's `last`. The target must be a
72
+ message of an earlier session of this project.
71
73
  - Unsure: use the previous message. A wrong "continue" hides a branch; a wrong branch breaks
72
74
  the chain.
73
75
  - `links`: up to 5 earlier messages it builds on besides the parent.