@bilig/workpaper 0.153.0 → 0.155.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
@@ -22,10 +22,10 @@ Use this file when an AI coding agent, MCP client, or tool host needs workbook f
22
22
  explicit formula-proof command from
23
23
  `.claude/commands/bilig-workpaper-proof.md`.
24
24
  10. If you are using Cursor, Windsurf/Cascade, Cline, or Continue, use
25
- `.cursor/rules/bilig-workpaper.mdc` or
26
- `.windsurf/rules/bilig-workpaper.md`,
27
- `.clinerules/bilig-workpaper.md`, or
28
- `.continue/rules/bilig-workpaper.md`.
25
+ `.cursor/rules/bilig-workpaper.mdc` or
26
+ `.windsurf/rules/bilig-workpaper.md`,
27
+ `.clinerules/bilig-workpaper.md`, or
28
+ `.continue/rules/bilig-workpaper.md`.
29
29
  11. Start the MCP server or import `@bilig/workpaper` directly.
30
30
 
31
31
  Remote MCP clients that support Streamable HTTP can smoke-test the stateless
@@ -57,6 +57,7 @@ Do not claim success from a write call alone. The proof is computed readback plu
57
57
  ## Fast Commands
58
58
 
59
59
  ```sh
60
+ npm exec --yes --package @bilig/workpaper@latest -- bilig-agent-start --json
60
61
  npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door workpaper-service --json
61
62
  npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json
62
63
  npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --scenario provider-backed --json
package/README.md CHANGED
@@ -22,10 +22,58 @@ Pick the door that matches the state you own:
22
22
 
23
23
  | Door | Run first | What it proves |
24
24
  | -------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
25
+ | Unsure / agent handoff | `npm exec --yes --package @bilig/workpaper@latest -- bilig-agent-start --json` | compact decision card before the agent opens Excel, Sheets, or a browser grid. |
25
26
  | Node service or test | `npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door workpaper-service --json` | edit input, recalculate output, persist JSON, restore, and return `verified: true`. |
26
27
  | Coding agent or MCP client | `npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json` | tool discovery, cell mutation, formula readback, JSON export, restart proof, and `verified: true`. |
27
28
  | New project | `npm create @bilig/workpaper@latest pricing-agent -- --agent` | a starter with `AGENTS.md`, MCP config, and `npm run agent:verify` wired to the same proof loop. |
28
29
 
30
+ `bilig-agent-start --json` is intentionally small. It gives an agent the
31
+ workbook-vs-XLSX decision card, first proof commands, required evidence fields,
32
+ expected MCP tools, and public discovery links without asking it to read the
33
+ whole site.
34
+
35
+ ## What Success Looks Like
36
+
37
+ Run the agent proof without cloning the repo:
38
+
39
+ ```sh
40
+ npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --scenario revenue-plan --json
41
+ ```
42
+
43
+ The useful output is not a write-call status. It is readback proof:
44
+
45
+ ```json
46
+ {
47
+ "schemaVersion": "bilig-evaluator.v1",
48
+ "door": "agent-mcp",
49
+ "verified": true,
50
+ "packageVersions": {
51
+ "@bilig/workpaper": "0.153.0"
52
+ },
53
+ "evidence": {
54
+ "scenario": "revenue-plan",
55
+ "editedCell": "Deals!C2",
56
+ "readbackRange": "Summary!B2:B8",
57
+ "after": {
58
+ "totalRevenue": 36900,
59
+ "westCustomers": 38
60
+ },
61
+ "checks": {
62
+ "totalRevenueRecalculated": true,
63
+ "sumifReadbackChanged": true,
64
+ "xlookupReadbackStable": true,
65
+ "filterSpillUpdated": true,
66
+ "persistedToDisk": true,
67
+ "restartReadbackMatchesAfter": true
68
+ }
69
+ }
70
+ }
71
+ ```
72
+
73
+ If that is the contract your service or agent needed, star the repo so you can
74
+ find it again: <https://github.com/proompteng/bilig/stargazers>. Watch releases
75
+ if this is close to production: <https://github.com/proompteng/bilig/subscription>.
76
+
29
77
  For a richer agent check, add `--scenario revenue-plan` to the `agent-mcp`
30
78
  evaluator. It proves `SUM`, `SUMIF`, `XLOOKUP`, `FILTER`, a named expression,
31
79
  JSON persistence, and restart readback.
@@ -36,14 +84,13 @@ That proves the formula fails closed with an adapter diagnostic, then verifies a
36
84
  local synthetic adapter readback. It does not call Google Sheets.
37
85
 
38
86
  If one of those matches your workflow, keep Bilig nearby:
39
- <https://github.com/proompteng/bilig>. Watch releases if this is close to a
40
- production dependency: <https://github.com/proompteng/bilig/subscription>.
87
+ <https://github.com/proompteng/bilig>.
41
88
 
42
89
  Framework examples live in the repo instead of this first screen. Start with
43
90
  the closest runtime:
44
91
 
45
92
  - Agent tools: Vercel AI SDK, LangGraph, LangChain MCP adapters, Open WebUI,
46
- FastMCP, smolagents.
93
+ FastMCP, Agno, Pydantic AI, smolagents.
47
94
  - Workflow engines: Trigger.dev, Inngest, Temporal, Airflow, Dagster, Kestra,
48
95
  Prefect, Windmill.
49
96
  - Low-code and data tools: n8n, Pipedream, Directus, Airbyte, Meltano.
@@ -71,6 +118,8 @@ not the first-run path:
71
118
  | Flowise formula readback | <https://proompteng.github.io/bilig/flowise-workpaper-formula-readback.html> |
72
119
  | Pipedream formula readback | <https://proompteng.github.io/bilig/pipedream-workpaper-formula-readback.html> |
73
120
  | FastMCP Python client for hosted and local stdio checks | <https://proompteng.github.io/bilig/fastmcp-workpaper-client.html> |
121
+ | Agno MCPTools workbook readback | <https://proompteng.github.io/bilig/agno-workpaper-mcp.html> |
122
+ | Pydantic AI MCPToolset typed readback | <https://proompteng.github.io/bilig/pydantic-ai-workpaper-mcp.html> |
74
123
  | Hugging Face smolagents tool | <https://proompteng.github.io/bilig/smolagents-workpaper-tool.html> |
75
124
  | Hugging Face Gradio MCP Space | <https://proompteng.github.io/bilig/huggingface-workpaper-space.html> |
76
125
 
package/SKILL.md CHANGED
@@ -32,6 +32,18 @@ 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 Check: Agent Triage
36
+
37
+ Before wiring a client or opening a spreadsheet UI, print the compact decision
38
+ card:
39
+
40
+ ```json
41
+ {
42
+ "command": "npm",
43
+ "args": ["exec", "--yes", "--package", "@bilig/workpaper@latest", "--", "bilig-agent-start", "--json"]
44
+ }
45
+ ```
46
+
35
47
  ## First Check: Agent Evaluator
36
48
 
37
49
  Before wiring a client, prove the published agent door with the package-owned evaluator.
@@ -196,6 +208,8 @@ If any readback step fails, report the blocker instead of claiming the workbook
196
208
  - AnythingLLM MCP setup: https://proompteng.github.io/bilig/anythingllm-workpaper-mcp.html
197
209
  - Sim MCP setup: https://proompteng.github.io/bilig/sim-workpaper-mcp.html
198
210
  - FastMCP Python client: https://proompteng.github.io/bilig/fastmcp-workpaper-client.html
211
+ - Agno WorkPaper MCP tools: https://proompteng.github.io/bilig/agno-workpaper-mcp.html
212
+ - Pydantic AI WorkPaper MCP tools: https://proompteng.github.io/bilig/pydantic-ai-workpaper-mcp.html
199
213
  - smolagents WorkPaper tool: https://proompteng.github.io/bilig/smolagents-workpaper-tool.html
200
214
  - Hugging Face WorkPaper Space template: https://proompteng.github.io/bilig/huggingface-workpaper-space.html
201
215
  - Windmill TypeScript script: https://proompteng.github.io/bilig/windmill-workpaper-script.html
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ await import('../dist/agent-start-bin.js')
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { runAgentStartCli } from '@bilig/headless/cli';
3
+ process.exitCode = runAgentStartCli({
4
+ argv: process.argv.slice(2),
5
+ });
6
+ //# sourceMappingURL=agent-start-bin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-start-bin.js","sourceRoot":"","sources":["../src/agent-start-bin.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,CAAC,QAAQ,GAAG,gBAAgB,CAAC;IAClC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/workpaper",
3
- "version": "0.153.0",
3
+ "version": "0.155.0",
4
4
  "description": "WorkPaper API, CLI evaluator, and MCP server for headless spreadsheet formulas in Node.js services and agents.",
5
5
  "keywords": [
6
6
  "agent-tools",
@@ -40,6 +40,7 @@
40
40
  },
41
41
  "bin": {
42
42
  "bilig-agent-challenge": "./bin/bilig-agent-challenge.js",
43
+ "bilig-agent-start": "./bin/bilig-agent-start.js",
43
44
  "bilig-evaluate": "./bin/bilig-evaluate.js",
44
45
  "bilig-formula-clinic": "./bin/bilig-formula-clinic.js",
45
46
  "bilig-mcp-challenge": "./bin/bilig-mcp-challenge.js",
@@ -88,9 +89,9 @@
88
89
  "build": "pnpm --dir ../.. --filter bilig-workpaper build && rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json"
89
90
  },
90
91
  "dependencies": {
91
- "@bilig/headless": "0.153.0",
92
- "@bilig/xlsx-formula-recalc": "0.153.0",
93
- "bilig-workpaper": "0.153.0"
92
+ "@bilig/headless": "0.155.0",
93
+ "@bilig/xlsx-formula-recalc": "0.155.0",
94
+ "bilig-workpaper": "0.155.0"
94
95
  },
95
96
  "devDependencies": {
96
97
  "ai": "6.0.182",
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.153.0",
6
+ "version": "0.155.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.153.0",
21
+ "version": "0.155.0",
22
22
  "transport": {
23
23
  "type": "stdio"
24
24
  }