@creator-notes/cnotes 0.100.3 → 0.100.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creator-notes-cli",
3
- "version": "0.100.3",
3
+ "version": "0.100.4",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.100.3",
3
+ "version": "0.100.4",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -89,13 +89,17 @@ A good leaf goal: `Decide which phone-section bugs ship in the next PR. Done whe
89
89
  when a goal fits one board and one Done when a person could check in a minute.
90
90
  Reuse existing boards: a canvas whose goal already has a Done when is a leaf
91
91
  waiting to be adopted.
92
- 4. **Create the goals** in one batch, children cross-linked with `@key`
93
- placeholders, so every `depends-on` resolves in one transaction:
92
+ 4. **Create the goals** in one batch, inside the run, children cross-linked
93
+ with `@key` placeholders so every `depends-on` resolves in one transaction.
94
+ `--notes` takes the JSON itself, not a path, so read a file in with `$(cat …)`:
94
95
 
95
96
  ```bash
96
- cnotes notes create --notes ./goals.json
97
+ cnotes notes create --notes "$(cat goals.json)" --json
97
98
  ```
98
99
 
100
+ Each item is `{"key", "type": "Goal", "markdown"}`; a parent's markdown
101
+ lists its children as `[@child-key: Title](relationship:depends-on)`.
102
+
99
103
  5. **Give every leaf its board.** For an existing canvas, put the Goal note on it
100
104
  (`cnotes canvas place`) and set the canvas goal to the identical two sentences:
101
105
  `cnotes canvas update CANVAS-12 --goal "<the leaf's two sentences>"`. For a new