@bilig/workpaper 0.62.0 → 0.66.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/AGENTS.md CHANGED
@@ -38,16 +38,16 @@ Do not claim success from a write call alone. The proof is computed readback plu
38
38
  ## Fast Commands
39
39
 
40
40
  ```sh
41
- npm exec --package @bilig/workpaper@0.62.0 -- bilig-agent-challenge
42
- npm exec --package @bilig/workpaper@0.62.0 -- bilig-mcp-challenge
43
- npm exec --package @bilig/workpaper@0.62.0 -- bilig-workpaper-mcp --workpaper ./pricing.workpaper.json --init-demo-workpaper --writable
44
- npm exec --package @bilig/workpaper@0.62.0 -- bilig-formula-clinic ./reduced.xlsx --cells "Summary!B7,Inputs!B2"
41
+ npm exec --package @bilig/workpaper@0.66.0 -- bilig-agent-challenge
42
+ npm exec --package @bilig/workpaper@0.66.0 -- bilig-mcp-challenge
43
+ npm exec --package @bilig/workpaper@0.66.0 -- bilig-workpaper-mcp --workpaper ./pricing.workpaper.json --init-demo-workpaper --writable
44
+ npm exec --package @bilig/workpaper@0.66.0 -- bilig-formula-clinic ./reduced.xlsx --cells "Summary!B7,Inputs!B2"
45
45
  ```
46
46
 
47
47
  Claude Desktop users can install the released MCPB bundle from:
48
48
 
49
- - https://github.com/proompteng/bilig/releases/download/libraries-v0.62.0/bilig-workpaper.mcpb
50
- - https://github.com/proompteng/bilig/releases/download/libraries-v0.62.0/bilig-workpaper.mcpb.sha256
49
+ - https://github.com/proompteng/bilig/releases/download/libraries-v0.66.0/bilig-workpaper.mcpb
50
+ - https://github.com/proompteng/bilig/releases/download/libraries-v0.66.0/bilig-workpaper.mcpb.sha256
51
51
 
52
52
  ## Direct TypeScript
53
53
 
package/README.md CHANGED
@@ -15,6 +15,17 @@ serverless route, test, or coding-agent tool.
15
15
  npm install @bilig/workpaper
16
16
  ```
17
17
 
18
+ ## Start Here
19
+
20
+ Pick the path that matches the workflow you are trying to unblock:
21
+
22
+ | You need... | Run this first | Proof you should get |
23
+ | --- | --- | --- |
24
+ | Formula workbook logic inside a Node service, route, queue, or test | `npm create @bilig/workpaper@latest pricing-workpaper` | Inputs are written, formulas recalculate, JSON persists, restore matches readback, and `verified: true` is printed. |
25
+ | A coding agent or MCP client that needs spreadsheet operations | `npm create @bilig/workpaper@latest pricing-agent -- --agent` | The generated project includes an agent contract, MCP config, and `npm run agent:verify`. |
26
+ | n8n, Dify, or Flowise formula readback without spreadsheet UI automation | `npm exec --package @bilig/workpaper@latest -- bilig-n8n-formula-server --port 4321` | The workflow writes one input cell, reads dependent formula output, and returns a compact JSON proof. |
27
+ | An existing `.xlsx` file with stale formula results after Node edits | `npx --package @bilig/xlsx-formula-recalc xlsx-recalc --demo --json` | The file-level path updates inputs and returns fresh formula values without Excel, LibreOffice, or a browser. |
28
+
18
29
  ## Use A WorkPaper In Node
19
30
 
20
31
  ```ts
@@ -55,12 +66,34 @@ The package ships proof commands for coding agents and service evaluators:
55
66
  ```sh
56
67
  npm exec --package @bilig/workpaper -- bilig-agent-challenge
57
68
  npm exec --package @bilig/workpaper -- bilig-mcp-challenge
69
+ npm exec --package @bilig/workpaper -- bilig-n8n-formula-server --port 4321
58
70
  npm exec --package @bilig/workpaper -- bilig-workpaper-mcp --workpaper ./pricing.workpaper.json --init-demo-workpaper --writable
59
71
  ```
60
72
 
61
73
  The challenge commands edit one input, recalculate dependent formulas, export
62
74
  WorkPaper JSON, restore it, and print a `verified: true` proof object.
63
75
 
76
+ ## Agent Workflow Builders
77
+
78
+ Use the local formula-readback server when an agent workflow platform should
79
+ orchestrate the task but Bilig should own workbook state:
80
+
81
+ ```sh
82
+ npm exec --package @bilig/workpaper@latest -- bilig-n8n-formula-server --port 4321
83
+ ```
84
+
85
+ Start from the repo examples:
86
+
87
+ - `examples/n8n-workpaper-formula-readback/bilig-workpaper-formula-readback.n8n.json`
88
+ - `examples/dify-workpaper-formula-readback`
89
+ - `examples/flowise-workpaper-formula-readback/bilig-workpaper-formula-readback.flowise-tool.json`
90
+
91
+ Docs:
92
+
93
+ - <https://proompteng.github.io/bilig/n8n-workpaper-formula-readback.html>
94
+ - <https://proompteng.github.io/bilig/dify-workpaper-formula-readback.html>
95
+ - <https://proompteng.github.io/bilig/flowise-workpaper-formula-readback.html>
96
+
64
97
  ## XLSX Import And Export
65
98
 
66
99
  ```ts
package/SKILL.md CHANGED
@@ -42,7 +42,7 @@ Before wiring a client, an agent can prove the direct WorkPaper loop with:
42
42
  ```json
43
43
  {
44
44
  "command": "npm",
45
- "args": ["exec", "--package", "@bilig/workpaper@0.62.0", "--", "bilig-agent-challenge"]
45
+ "args": ["exec", "--package", "@bilig/workpaper@0.66.0", "--", "bilig-agent-challenge"]
46
46
  }
47
47
  ```
48
48
 
@@ -51,7 +51,7 @@ For the actual file-backed MCP path, run the package-owned challenge first:
51
51
  ```json
52
52
  {
53
53
  "command": "npm",
54
- "args": ["exec", "--package", "@bilig/workpaper@0.62.0", "--", "bilig-mcp-challenge"]
54
+ "args": ["exec", "--package", "@bilig/workpaper@0.66.0", "--", "bilig-mcp-challenge"]
55
55
  }
56
56
  ```
57
57
 
@@ -61,7 +61,7 @@ For the actual file-backed MCP path, run the package-owned challenge first:
61
61
  "args": [
62
62
  "exec",
63
63
  "--package",
64
- "@bilig/workpaper@0.62.0",
64
+ "@bilig/workpaper@0.66.0",
65
65
  "--",
66
66
  "bilig-workpaper-mcp",
67
67
  "--workpaper",
@@ -138,7 +138,7 @@ When the user has a reduced XLSX formula/import bug, generate a local report thr
138
138
  "args": [
139
139
  "exec",
140
140
  "--package",
141
- "@bilig/workpaper@0.62.0",
141
+ "@bilig/workpaper@0.66.0",
142
142
  "--",
143
143
  "bilig-formula-clinic",
144
144
  "./reduced.xlsx",
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ import { runN8nForecastServerCli } from '@bilig/headless/cli';
3
+ process.exitCode = runN8nForecastServerCli({
4
+ argv: process.argv.slice(2),
5
+ env: process.env,
6
+ });
7
+ //# sourceMappingURL=n8n-forecast-server-bin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"n8n-forecast-server-bin.js","sourceRoot":"","sources":["../src/n8n-forecast-server-bin.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,CAAC,QAAQ,GAAG,uBAAuB,CAAC;IACzC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3B,GAAG,EAAE,OAAO,CAAC,GAAG;CACjB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/workpaper",
3
- "version": "0.62.0",
3
+ "version": "0.66.0",
4
4
  "description": "Scoped Bilig WorkPaper runtime and MCP server for Node.js services, agent tools, and server-side spreadsheet formulas.",
5
5
  "keywords": [
6
6
  "agent-tools",
@@ -45,6 +45,7 @@
45
45
  "bilig-agent-challenge": "./dist/agent-workbook-challenge-bin.js",
46
46
  "bilig-formula-clinic": "./dist/formula-clinic-bin.js",
47
47
  "bilig-mcp-challenge": "./dist/mcp-challenge-bin.js",
48
+ "bilig-n8n-formula-server": "./dist/n8n-forecast-server-bin.js",
48
49
  "bilig-workpaper-mcp": "./dist/work-paper-mcp-stdio-bin.js"
49
50
  },
50
51
  "files": [
@@ -83,8 +84,8 @@
83
84
  "build": "pnpm --dir ../.. --filter bilig-workpaper build && rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json"
84
85
  },
85
86
  "dependencies": {
86
- "@bilig/headless": "0.62.0",
87
- "bilig-workpaper": "0.62.0"
87
+ "@bilig/headless": "0.66.0",
88
+ "bilig-workpaper": "0.66.0"
88
89
  },
89
90
  "engines": {
90
91
  "node": ">=22.0.0"
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.proompteng/bilig-workpaper",
4
4
  "title": "Bilig WorkPaper",
5
5
  "description": "WorkPaper MCP tools, resources, and prompts for readback, edits, and JSON persistence.",
6
- "version": "0.62.0",
6
+ "version": "0.66.0",
7
7
  "repository": {
8
8
  "url": "https://github.com/proompteng/bilig",
9
9
  "source": "github"
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "registryType": "npm",
20
20
  "identifier": "@bilig/workpaper",
21
- "version": "0.62.0",
21
+ "version": "0.66.0",
22
22
  "transport": {
23
23
  "type": "stdio"
24
24
  }