@stll/folio-cli 0.4.5 → 0.5.0

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.
@@ -219,14 +219,15 @@ const writeRedline = async ({ source, args, options }) => {
219
219
  })
220
220
  });
221
221
  if (redline.isErr()) return Result.err(redline.error);
222
- const { buffer, applied, skipped, unprocessedStories } = redline.value;
222
+ const { buffer, applied, skipped, unprocessedStories, referenceWarnings } = redline.value;
223
223
  return Result.ok({
224
224
  bytes: new Uint8Array(buffer),
225
225
  saveStrategy: "redline",
226
226
  result: {
227
227
  applied: applied.length,
228
228
  skipped,
229
- unprocessedStories
229
+ unprocessedStories,
230
+ referenceWarnings
230
231
  },
231
232
  receipts: [],
232
233
  inputs: { revised: {
package/dist/mcp.js CHANGED
@@ -91,7 +91,7 @@ const envelopeProperties = (tool) => {
91
91
  /** Arguments only the MCP surface takes, beside the registry's. */
92
92
  const MCP_ONLY_PROPERTIES = { read_document: { formatting: {
93
93
  type: "boolean",
94
- description: "Return each block's fields (kind, displayLabel, headingLevel, listLevel, blockTextHash, blockIdSource, tableCell) instead of `[id] text` lines."
94
+ description: "Return each block's fields (kind, displayLabel, headingLevel, paragraph statedNumbering and listReference when applicable, blockTextHash, blockIdSource, tableCell) instead of `[id] text` lines. Diagnostic blocks omit paragraph numbering fields."
95
95
  } } };
96
96
  /** The tool's full MCP input schema: its own arguments plus the file envelope. */
97
97
  const mcpInputSchema = (tool) => {
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.4.5";
2
+ var version = "0.5.0";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/folio-cli",
3
- "version": "0.4.5",
3
+ "version": "0.5.0",
4
4
  "description": "Command line and stdio MCP server for reading, reviewing, and redlining .docx files with folio: tracked-change edits, comments, and comparisons written atomically with version preconditions.",
5
5
  "keywords": [
6
6
  "cli",
@@ -57,7 +57,7 @@
57
57
  "build": "rm -rf dist && tsdown",
58
58
  "prepack": "bun run build",
59
59
  "pack:dry-run": "bun pm pack --dry-run",
60
- "typecheck": "bun ../../scripts/tsc-native.ts --noEmit -p tsconfig.build.json",
60
+ "typecheck": "bun check --no-pretty --all --project=tsconfig.build.json",
61
61
  "test": "bun test src"
62
62
  },
63
63
  "dependencies": {
@@ -71,8 +71,8 @@
71
71
  "@fontsource/tinos": "^5.2.7",
72
72
  "@modelcontextprotocol/server": "2.0.0",
73
73
  "@stll/agent-input": "0.1.0",
74
- "@stll/folio-agents": "^0.15.5",
75
- "@stll/folio-core": "^0.58.3",
74
+ "@stll/folio-agents": "^0.16.0",
75
+ "@stll/folio-core": "^0.59.0",
76
76
  "better-result": "3.0.1",
77
77
  "fast-xml-parser": "^5.10.1",
78
78
  "jszip": "3.10.2"