@cogit/cli 0.28.2 → 0.29.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.
package/README.md
CHANGED
|
@@ -6,13 +6,26 @@ Git remembers what changed. cogit remembers why.
|
|
|
6
6
|
|
|
7
7
|
<p align="center"><img src="docs/images/cogit-descartes.jpg" width="360" alt="René Descartes with git branches running through his hair"><br><i>Cogito, ergo commit.</i></p>
|
|
8
8
|
|
|
9
|
-
<img src="docs/images/demo.gif" alt="cogit open shows the map; pasting a message hash jumps to that message and opens the decision behind it">
|
|
10
|
-
|
|
11
9
|
cogit records every message you send to an AI coding agent as a *thought commit*: what you
|
|
12
10
|
asked, what came of it, and the message it answered. Your code commits point back to the
|
|
13
11
|
thought behind them, so `git log` tells you what changed and cogit tells you why. It works with
|
|
14
12
|
Claude Code today.
|
|
15
13
|
|
|
14
|
+
<img src="docs/images/map.png" alt="The map: sessions as a git graph, each with its messages, branches, commit chips and a left off here marker">
|
|
15
|
+
|
|
16
|
+
*Your sessions as a git graph — one row per message, the decision behind it, and where you left
|
|
17
|
+
off.*
|
|
18
|
+
|
|
19
|
+
<img src="docs/images/shape.png" alt="A message opened on its Shape tab: a flowchart of what the change does, under the tabs Intent, Shape and Code">
|
|
20
|
+
|
|
21
|
+
*A message that landed commits opens as Intent, Shape and Code: why it happened, a picture of
|
|
22
|
+
what the change does, and the diff.*
|
|
23
|
+
|
|
24
|
+
<img src="docs/images/tasks.png" alt="The Tasks panel: suggested items with Accept and Dismiss, open items with Done, and a Done section">
|
|
25
|
+
|
|
26
|
+
*Tasks — what your sessions left undone, drafted when a session closes. You accept, dismiss or
|
|
27
|
+
close each one.*
|
|
28
|
+
|
|
16
29
|
## What it does
|
|
17
30
|
|
|
18
31
|
- **Every message becomes a thought commit**: the question, the outcome, the decisions with
|
|
@@ -25,8 +38,8 @@ Claude Code today.
|
|
|
25
38
|
- **Intent, Shape, Code**: a message that landed commits shows why it happened, a small
|
|
26
39
|
picture of what the change does (a diagram, a before/after or interface table, an example
|
|
27
40
|
or plain steps), and the diff, in one place.
|
|
28
|
-
- **
|
|
29
|
-
|
|
41
|
+
- **Tasks**: when a session ends, a small model drafts a few user-level items from what it
|
|
42
|
+
left undone; you accept, dismiss or close them (`cogit captures`, and on the map).
|
|
30
43
|
- **Pull request descriptions with the decisions**: `cogit pr` writes the goal, the
|
|
31
44
|
decisions and the rejected options, never the raw chat.
|
|
32
45
|
- **Teams share the record through git**: after a pull, your teammates' sessions are on the
|
|
@@ -21206,7 +21206,7 @@ async function migrateProject(root) {
|
|
|
21206
21206
|
const next = renameGitignoreLines(text);
|
|
21207
21207
|
if (next !== text) await atomicWrite(gitignore, next).catch(() => void 0);
|
|
21208
21208
|
}
|
|
21209
|
-
const { installGitHooks: installGitHooks2 } = await import("./git-hooks-
|
|
21209
|
+
const { installGitHooks: installGitHooks2 } = await import("./git-hooks-UMAVUEBJ.js");
|
|
21210
21210
|
await installGitHooks2(dir).catch(() => void 0);
|
|
21211
21211
|
return true;
|
|
21212
21212
|
}
|
|
@@ -25559,7 +25559,7 @@ async function onSessionEnd(ctx) {
|
|
|
25559
25559
|
// package.json
|
|
25560
25560
|
var package_default = {
|
|
25561
25561
|
name: "@cogit/cli",
|
|
25562
|
-
version: "0.
|
|
25562
|
+
version: "0.29.0",
|
|
25563
25563
|
description: "Git remembers what changed. cogit remembers why.",
|
|
25564
25564
|
license: "MIT",
|
|
25565
25565
|
keywords: [
|