@cogit/cli 0.25.0 → 0.25.1

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-T7B243ZT.js";
18
+ } from "./chunk-YU7XXCX3.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.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Git remembers what changed. cogit remembers why.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -88,13 +88,17 @@ message's node, with the node's commit hashes:
88
88
  "shape": { "tools": [{ "kind": "pseudo", "text": "1. ...\n2. ..." }], "commits": ["abc1234"] }
89
89
  ```
90
90
 
91
- Two tools:
91
+ Three tools:
92
92
 
93
- - `pseudo`: numbered plain-language steps of the new logic, naming the functions and files.
94
93
  - `mermaid`: a Mermaid `flowchart TD` (or `LR`) of the new path between files or functions,
95
94
  at most 15 nodes. Quote labels that hold spaces or punctuation.
95
+ - `table`: Before / After, one `case | before | after` line per case (at most 8), for a
96
+ change someone can see: a fix, a new default, a rule that now says yes or no.
97
+ - `pseudo`: numbered plain-language steps of the new logic, naming the functions and files.
96
98
 
97
- Pick one, both, or none (`{ "tools": [] }` means nothing worth showing). Skip messages whose
99
+ A change across two or more files gets the diagram and the steps; a visible behaviour change
100
+ also gets the table; order them diagram, table, steps. `{ "tools": [] }` means nothing worth
101
+ showing. Skip messages whose
98
102
  commits are only release/version bumps, lockfiles or CHANGELOG, or change fewer than 5 lines
99
103
  in total. Write it in the conversation's language; the CLI validates each output and keeps an
100
104
  invalid diagram as text.