@creator-notes/cnotes 0.113.3 → 0.113.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.113.3",
3
+ "version": "0.113.4",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
package/README.md CHANGED
@@ -337,7 +337,7 @@ A copy on disk is the person's decision, as it is in the web app: it is off unti
337
337
  ```bash
338
338
  cnotes query pricing --type Decision,Insight # words in the title, AND across fields
339
339
  cnotes query --canvas CANVAS-12 --group-by tag # notes on one canvas, grouped by tag
340
- cnotes query --made-by agent --group-by month # what agents wrote, by month
340
+ cnotes query --made-by api --group-by month # what agents wrote through a cn_ key, by month
341
341
  cnotes query --sql "SELECT type, COUNT(*) AS n FROM notes GROUP BY type ORDER BY n DESC"
342
342
  cnotes query --rebuild # drop this workspace's copy and copy it again
343
343
  ```
@@ -181,7 +181,7 @@ export function registerQueryCommands(program) {
181
181
  .option("--type <types>", "Note types, comma-separated (Decision,Insight)")
182
182
  .option("--canvas <refs>", "Canvases by CANVAS-<n> or name, comma-separated")
183
183
  .option("--tag <tags>", "Tags, comma-separated")
184
- .option("--made-by <sources>", "human, agent, api or import, comma-separated")
184
+ .option("--made-by <sources>", "human, agent, api or import, comma-separated; notes written with a cn_ key (this CLI, MCP) are api")
185
185
  .option("--by <name>", "Notes made by a member whose name contains this")
186
186
  .option("--group-by <field>", "type (default), canvas, tag, month, person, made-by, none, or <Type>:<dimension>")
187
187
  .option("--limit <n>", "Rows to return (default 100)")
@@ -202,7 +202,7 @@ deletes every copy; --forget deletes this workspace's.
202
202
  Examples:
203
203
  $ cnotes query pricing --type Decision,Insight
204
204
  $ cnotes query --canvas CANVAS-12 --group-by tag
205
- $ cnotes query --made-by agent --group-by month --json
205
+ $ cnotes query --made-by api --group-by month --json # what agents wrote through a key, by month
206
206
  $ cnotes query --group-by Risk:status # the state '${UNJUDGED}' is a group too
207
207
  $ cnotes query --sql "SELECT type, COUNT(*) AS n FROM notes GROUP BY type ORDER BY n DESC"
208
208
  $ cnotes query --sql tables
@@ -161,7 +161,7 @@ server.tool("cnotes_query", "Ask a workspace-wide question over every note's met
161
161
  types: z.array(z.string()).optional().describe("Note types, e.g. ['Decision','Insight']"),
162
162
  canvases: z.array(z.string()).optional().describe("Canvases by CANVAS-<n> display id or name"),
163
163
  tags: z.array(z.string()).optional(),
164
- madeBy: z.array(z.enum(["human", "agent", "api", "import"])).optional().describe("How the notes were made"),
164
+ madeBy: z.array(z.enum(["human", "agent", "api", "import"])).optional().describe("How the notes were made; notes written with a cn_ key (the CLI, this MCP server) are api"),
165
165
  by: z.string().optional().describe("A member whose name contains this"),
166
166
  groupBy: z
167
167
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.113.3",
3
+ "version": "0.113.4",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,7 +24,7 @@ milliseconds. Never a note body: read those with `cnotes notes get`.
24
24
  ```bash
25
25
  cnotes query pricing --type Decision,Insight # words in the title; AND across fields
26
26
  cnotes query --canvas CANVAS-12 --group-by tag # notes on one canvas, by tag
27
- cnotes query --made-by agent --group-by month --json
27
+ cnotes query --made-by api --group-by month --json # notes written with a cn_ key (CLI, MCP) are api
28
28
  cnotes query --group-by Risk:status # a judged dimension; `unjudged` is a group
29
29
  cnotes query --sql "SELECT type, COUNT(*) AS n FROM notes GROUP BY type ORDER BY n DESC"
30
30
  cnotes query --sql tables # the tables and their columns