@creator-notes/cnotes 0.107.0 → 0.107.2

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.107.0",
3
+ "version": "0.107.2",
4
4
  "description": "CreatorNotes CLI: create notes, build canvases, search knowledge from the terminal",
5
5
  "author": {
6
6
  "name": "CreatorNotes",
@@ -408,7 +408,7 @@ Examples:
408
408
  "sections) as one list of rectangles, the items that overlap, and with --near a free spot next to an anchor.")
409
409
  .argument("<canvasId>", "Canvas ID")
410
410
  .option("--near <ref>", "Suggest a free spot next to this item (display id or node id) or point (x,y)")
411
- .option("--size <WxH>", "Box to find room for with --near (default: a note card, 280x130)", "280x130")
411
+ .option("--size <WxH>", "Box to find room for with --near (default: a note card, 340x130)", "340x130")
412
412
  .addHelpText("after", `
413
413
  Sections are containers: they are listed, but a card inside one is not an
414
414
  overlap. Read-only.
@@ -424,7 +424,7 @@ Examples:
424
424
  try {
425
425
  const size = parseSize(opts.size);
426
426
  if (!size)
427
- throw new ValidationError(`--size must look like 280x130 (got "${opts.size}")`);
427
+ throw new ValidationError(`--size must look like 340x130 (got "${opts.size}")`);
428
428
  const data = await api.get(`/api/canvas/${encodeURIComponent(canvasId)}`, {
429
429
  workspaceId: cfg.workspaceId,
430
430
  });
@@ -2398,8 +2398,7 @@ Examples:
2398
2398
  .requiredOption("--x <n>", "X position")
2399
2399
  .requiredOption("--y <n>", "Y position")
2400
2400
  // `text` is a LEGACY kind (the old "Heading" node) — movable/deletable, not creatable.
2401
- // `quote` is a quote card (`canvas add-quote`); the moveNode action accepts it.
2402
- .addOption(new Option("--type <type>", "Node type (defaults to note; `text` is legacy — old heading nodes, no longer creatable; `quote` is a quote card)").choices(["note", "text", "list", "canvas", "richtext", "section", "quote"]))
2401
+ .addOption(new Option("--type <type>", "Node type (defaults to note; `text` is legacy — old heading nodes, no longer creatable)").choices(["note", "text", "list", "canvas", "richtext", "section"]))
2403
2402
  .action(async (canvasId, opts) => {
2404
2403
  const cfg = resolveConfig(program.opts());
2405
2404
  const api = new ApiClient(cfg.serverUrl, cfg.token, cfg.workspaceId);
@@ -381,7 +381,7 @@ server.tool("cnotes_canvas_get", "Get canvas details including nodes, edges, and
381
381
  server.tool("cnotes_canvas_status", "See a canvas's whole layout BEFORE placing or moving anything by x/y: every item (cards, text, lists, portals, sections) as one list of rectangles {kind, ref, x, y, width, height}, the pairs that overlap, and with `near` a free spot next to an anchor. Sections are containers, never overlaps. Read-only.", {
382
382
  canvasId: z.string().describe("Canvas ID"),
383
383
  near: z.string().optional().describe("Find a free spot next to this item (display id or node id) or point 'x,y'"),
384
- width: z.number().optional().default(280).describe("Width of the box to find room for (default: a note card)"),
384
+ width: z.number().optional().default(340).describe("Width of the box to find room for (default: a note card)"),
385
385
  height: z.number().optional().default(130).describe("Height of the box to find room for"),
386
386
  }, async ({ canvasId, near, width, height }) => withErrorHandling(async () => {
387
387
  const data = await api.get(`/api/canvas/${encodeURIComponent(canvasId)}`, { workspaceId });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator-notes/cnotes",
3
- "version": "0.107.0",
3
+ "version": "0.107.2",
4
4
  "description": "CLI for CreatorNotes — create notes, build canvases, search knowledge from the terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -57,7 +57,7 @@ The rules are the cnotes skill's rules for text elements (`references/canvas-ele
57
57
  still carries the mention that travels.
58
58
  - Untinted by default. Tint only by role: `#F59E0B` for the constraining rule,
59
59
  `#3B82F6` for source evidence. Nothing else.
60
- - `size: "small"` (560px) beside a 280px note card. Put text cards in the same
60
+ - `size: "small"` (560px) beside a 340px note card. Put text cards in the same
61
61
  frame as the note they project, in a vertical stack under or beside it.
62
62
 
63
63
  A text card that says something no note says is a bug: put it in the note first,
@@ -33,7 +33,7 @@ cnotes canvas get <canvasId>
33
33
  # `cnotes canvas place` already avoids overlaps.)
34
34
  # See the whole layout before touching x/y: every item's box by kind, the pairs
35
35
  # that overlap, and with --near a free spot next to an anchor.
36
- cnotes canvas status <canvasId> [--near <displayId|nodeId|x,y>] [--size 280x130]
36
+ cnotes canvas status <canvasId> [--near <displayId|nodeId|x,y>] [--size 340x130]
37
37
 
38
38
  # Read a canvas as STRUCTURE, not just content — one round-trip to think across it.
39
39
  # Returns the notes as concatenated markdown in display order (top-to-bottom, then
@@ -6,7 +6,7 @@ Position carries meaning, so cards use raw `--x/--y` from the math below.
6
6
 
7
7
  | Name | Value | Why |
8
8
  |---|---|---|
9
- | CARD_W | 280 | default note card width |
9
+ | CARD_W | 340 | default note card width |
10
10
  | CARD_H | 130 | default note card height |
11
11
  | PX_PER_MIN | 120 | a 30-minute call is 3,600px wide |
12
12
  | LEFT | 80 | inset inside a row frame |