@comment-io/cli 0.1.14-alpha.365 → 0.1.14-alpha.366

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.
Binary file
Binary file
Binary file
Binary file
@@ -27370,7 +27370,7 @@ function apiReference(baseUrl, slug, token, sid) {
27370
27370
  `- A cell value that repeats across rows (e.g. a status used in several rows) makes a plain \`old_string\` ambiguous and returns \`EDIT_AMBIGUOUS\`. To target one specific cell, retry with \`at\` set to that occurrence's offset from the error's \`snippets[].offset\`. \`at\` requires \`base_revision\`, so include it: \`{"edits": [{"at": OFFSET, "old_string": "in progress", "new_string": "done"}], "base_revision": REVISION}\`. \`at\` resolves the edit positionally, so duplicate values elsewhere no longer matter.`,
27371
27371
  `- Do not put a raw \`|\` in \`new_string\` \u2014 it adds a column and the edit is rejected (422, document unchanged). For a literal pipe inside a cell, escape it as \`\\|\`.`,
27372
27372
  `- Delete a whole table by matching its full markdown (every row, including the \`---\` separator line) with \`new_string: ""\`. Send it as its own edit \u2014 bundling a table delete with other edits in one batch may fail with a structural rejection. The document also needs other content besides the table \u2014 deleting the only block in a document is not supported and returns 422.`,
27373
- `- Multi-row rewrites, adding/removing rows while editing others, and whole-table restructures are applied in one edit; when row identity cannot be preserved the server replaces the table as a block. Body rows with FEWER cells than the header are padded with empty cells; rows with EXTRA cells are rejected (usually an unescaped \`|\`).`,
27373
+ `- Table edits must preserve row/cell identity. Simple cell edits, row insert/delete, and consistent column insert/delete are supported. Whole-table table-to-table restructures, row swaps, and adding/removing rows while also editing different retained rows are rejected with a structural error; use smaller row/cell edits or anchored edits instead. Body rows with FEWER cells than the header are padded with empty cells; rows with EXTRA cells are rejected (usually an unescaped \`|\`).`,
27374
27374
  `- Convert a bullet list into a table (or a table into a list) by replacing the whole block's markdown in one edit. Comments anchored inside the converted block must be declared via \`comment_outcomes\`.`,
27375
27375
  `- Multi-item list edits (changing, adding, and removing several items in one edit) are supported; verbatim-unchanged items keep their comment anchors. Pure item reorders are rejected \u2014 move content with explicit anchored edits instead.`,
27376
27376
  ``,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comment-io/cli",
3
- "version": "0.1.14-alpha.365",
3
+ "version": "0.1.14-alpha.366",
4
4
  "description": "Comment.io CLI and local notification daemon",
5
5
  "private": false,
6
6
  "type": "module",
@@ -41,6 +41,6 @@
41
41
  "node": ">=20"
42
42
  },
43
43
  "commentio": {
44
- "sourceSha": "174de17130f732e643714a8d539134c2cf8f38fe"
44
+ "sourceSha": "55ea8c59bc5062388826f0896ffd0729d8cc8145"
45
45
  }
46
46
  }