@bendyline/docblocks-cli 2.2.1 → 2.3.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.
- package/README.md +9 -1
- package/THIRD_PARTY_NOTICES.txt +16689 -0
- package/dist/bin.js +116 -299
- package/dist/eval/cli.js +3 -3
- package/package.json +11 -10
package/dist/eval/cli.js
CHANGED
|
@@ -4,8 +4,8 @@ import { Command } from "commander";
|
|
|
4
4
|
|
|
5
5
|
// src/eval/cases.ts
|
|
6
6
|
var EVAL_PROMPT_PROFILES = Object.freeze({
|
|
7
|
-
baseline: `Use the DocBlocks MCP server for
|
|
8
|
-
"content-first": `Use the DocBlocks MCP server for the complete workflow.
|
|
7
|
+
baseline: `Use the DocBlocks MCP server for conversion and saving. Author Markdown and pass it directly to convert_document; no validation, inspection, preview, or authoring-context call is required. Do not create the Office artifact with shell commands or another document library. Return the exact Squisq-flavored Markdown supplied to the final convert_document call.`,
|
|
8
|
+
"content-first": `Use the DocBlocks MCP server for the complete workflow. Author the complete Markdown first and pass it directly to convert_document. Squisq annotations are optional layout hints; use get_authoring_context only when exact examples help, and use inspection or preview only when the brief explicitly requires that evidence. Do not create the Office artifact with shell commands or another document library. Return the exact Squisq-flavored Markdown supplied to the final convert_document call.`
|
|
9
9
|
});
|
|
10
10
|
var MCP_CONTENT_EVAL_CASES = Object.freeze([
|
|
11
11
|
{
|
|
@@ -1190,7 +1190,7 @@ function collectToolMarkdown(value, candidates) {
|
|
|
1190
1190
|
if (!isRecord2(value)) return;
|
|
1191
1191
|
const toolName = [value.tool, value.name, value.tool_name].find((candidate) => typeof candidate === "string")?.toString();
|
|
1192
1192
|
if (toolName) {
|
|
1193
|
-
const priority = toolName.endsWith("convert_document") ? 3 : toolName.endsWith("create_document_bundle") ? 2 :
|
|
1193
|
+
const priority = toolName.endsWith("convert_document") ? 3 : toolName.endsWith("create_document_bundle") ? 2 : 0;
|
|
1194
1194
|
if (priority > 0) {
|
|
1195
1195
|
for (const args of [value.arguments, value.args, value.input]) {
|
|
1196
1196
|
const parsed = parsePossibleJson(args);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/docblocks-cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Build, preview, convert, render, inspect, and automate documents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -36,27 +36,28 @@
|
|
|
36
36
|
"docblocks": "./dist/bin.js"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": "
|
|
39
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
|
-
"dist"
|
|
42
|
+
"dist",
|
|
43
|
+
"THIRD_PARTY_NOTICES.txt"
|
|
43
44
|
],
|
|
44
45
|
"scripts": {
|
|
45
46
|
"build": "tsup",
|
|
46
47
|
"typecheck": "tsc --noEmit"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@bendyline/docblocks": "2.
|
|
50
|
-
"@bendyline/squisq": "2.
|
|
51
|
-
"@bendyline/squisq-cli": "2.
|
|
52
|
-
"@bendyline/squisq-formats": "2.3.
|
|
53
|
-
"@bendyline/squisq-react": "2.
|
|
54
|
-
"@bendyline/squisq-video": "2.2.
|
|
50
|
+
"@bendyline/docblocks": "2.3.0",
|
|
51
|
+
"@bendyline/squisq": "2.4.3",
|
|
52
|
+
"@bendyline/squisq-cli": "2.4.3",
|
|
53
|
+
"@bendyline/squisq-formats": "2.3.7",
|
|
54
|
+
"@bendyline/squisq-react": "2.4.5",
|
|
55
|
+
"@bendyline/squisq-video": "2.2.7",
|
|
55
56
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
56
57
|
"commander": "13.1.0",
|
|
57
58
|
"jszip": "3.10.1",
|
|
58
59
|
"pdf-lib": "1.17.1",
|
|
59
|
-
"playwright-core": "1.
|
|
60
|
+
"playwright-core": "1.61.1",
|
|
60
61
|
"zod": "3.25.76"
|
|
61
62
|
}
|
|
62
63
|
}
|