bilig-workpaper 0.131.2 → 0.131.3

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.
Files changed (2) hide show
  1. package/SKILL.md +27 -22
  2. package/package.json +3 -3
package/SKILL.md CHANGED
@@ -32,37 +32,39 @@ Do not trigger it for manual spreadsheet editing, Office macros, VBA, pivots, ch
32
32
 
33
33
  Do not build shell commands by concatenating user text. Treat the commands below as literal templates, validate workbook paths before use, and reject values containing newlines, backticks, `$(`, `;`, `&`, `|`, `<`, or `>`. Prefer MCP client `command` plus `args` arrays or direct TypeScript calls when inserting user-provided paths or cell references.
34
34
 
35
- ## First Choice: Direct npm check or TypeScript
35
+ ## First Check: Agent Evaluator
36
36
 
37
- Use the package directly when the host can run npm or TypeScript. This is the
38
- highest-traffic evaluator path because it meets developers where they already
39
- search: npm, ExcelJS, SheetJS, xlsx-populate, and StackOverflow formula
40
- recalculation problems.
41
-
42
- If the host supports installable skills, first check that the public skill
43
- package is discoverable:
44
-
45
- ```sh
46
- npx --yes skills@latest add https://bilig.proompteng.ai --list
47
- npx --yes skills@latest add proompteng/bilig --skill bilig-workpaper --list
48
- ```
49
-
50
- Start by checking the direct WorkPaper loop:
37
+ Before wiring a client, prove the published agent door with the package-owned evaluator.
38
+ It exercises MCP discovery, cell mutation, formula readback, JSON export, restart restore, and returns `verified: true`:
51
39
 
52
40
  ```json
53
41
  {
54
42
  "command": "npm",
55
- "args": ["exec", "--package", "bilig-workpaper@latest", "--", "bilig-agent-challenge", "--json"]
43
+ "args": ["exec", "--yes", "--package", "bilig-workpaper@latest", "--", "bilig-evaluate", "--door", "agent-mcp", "--json"]
56
44
  }
57
45
  ```
58
46
 
59
- Use MCP only when the host specifically needs an MCP client boundary. For that path, run the package-owned challenge first:
47
+ For service-owned WorkPaper logic without MCP, run `bilig-evaluate --door workpaper-service --json`.
48
+ Use the lower-level challenge commands only when debugging the direct API loop or file-backed MCP JSON-RPC transcript:
60
49
 
61
50
  ```json
62
- {
63
- "command": "npm",
64
- "args": ["exec", "--package", "bilig-workpaper@latest", "--", "bilig-mcp-challenge", "--json"]
65
- }
51
+ [
52
+ { "command": "npm", "args": ["exec", "--package", "bilig-workpaper@latest", "--", "bilig-agent-challenge", "--json"] },
53
+ { "command": "npm", "args": ["exec", "--package", "bilig-workpaper@latest", "--", "bilig-mcp-challenge", "--json"] }
54
+ ]
55
+ ```
56
+
57
+ ## First Choice: MCP
58
+
59
+ Use MCP when the host can run a stdio server or call a Streamable HTTP server.
60
+ Configure stdio as an argument array, not a shell-concatenated string:
61
+
62
+ If the host supports installable skills, first check that the public skill
63
+ package is discoverable:
64
+
65
+ ```sh
66
+ npx --yes skills@latest add https://bilig.proompteng.ai --list
67
+ npx --yes skills@latest add proompteng/bilig --skill bilig-workpaper --list
66
68
  ```
67
69
 
68
70
  ```json
@@ -82,13 +84,15 @@ Use MCP only when the host specifically needs an MCP client boundary. For that p
82
84
  }
83
85
  ```
84
86
 
85
- Run `bilig-mcp-challenge` and treat its returned `tools` array as the source
87
+ Run `bilig-evaluate --door agent-mcp --json` first. If the evaluator fails,
88
+ run `bilig-mcp-challenge` and treat its returned `tools` array as the source
86
89
  of truth for the currently published package. The core file-backed tools are:
87
90
 
88
91
  - `list_sheets`
89
92
  - `read_range`
90
93
  - `read_cell`
91
94
  - `set_cell_contents`
95
+ - `set_cell_contents_and_readback`
92
96
  - `get_cell_display_value`
93
97
  - `export_workpaper_document`
94
98
  - `validate_formula`
@@ -182,6 +186,7 @@ If any readback step fails, report the blocker instead of claiming the workbook
182
186
  - Sim MCP setup: https://proompteng.github.io/bilig/sim-workpaper-mcp.html
183
187
  - FastMCP Python client: https://proompteng.github.io/bilig/fastmcp-workpaper-client.html
184
188
  - smolagents WorkPaper tool: https://proompteng.github.io/bilig/smolagents-workpaper-tool.html
189
+ - Hugging Face WorkPaper Space template: https://proompteng.github.io/bilig/huggingface-workpaper-space.html
185
190
  - Windmill TypeScript script: https://proompteng.github.io/bilig/windmill-workpaper-script.html
186
191
  - Trigger.dev task: https://proompteng.github.io/bilig/triggerdev-workpaper-task.html
187
192
  - Inngest step: https://proompteng.github.io/bilig/inngest-workpaper-step.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bilig-workpaper",
3
- "version": "0.131.2",
3
+ "version": "0.131.3",
4
4
  "description": "Bilig WorkPaper runtime for Node.js services, agent tools, and server-side spreadsheet formulas.",
5
5
  "keywords": [
6
6
  "agent-tools",
@@ -83,8 +83,8 @@
83
83
  "build": "pnpm --dir ../.. --filter @bilig/headless build && rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json"
84
84
  },
85
85
  "dependencies": {
86
- "@bilig/headless": "0.131.2",
87
- "@bilig/xlsx-formula-recalc": "0.131.2"
86
+ "@bilig/headless": "0.131.3",
87
+ "@bilig/xlsx-formula-recalc": "0.131.3"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=22.0.0"