Skip to content

Add Bilig WorkPaper formula readback example#102

Open
gregkonush wants to merge 7 commits into
e2b-dev:mainfrom
gregkonush:bilig-workpaper-formula-readback
Open

Add Bilig WorkPaper formula readback example#102
gregkonush wants to merge 7 commits into
e2b-dev:mainfrom
gregkonush:bilig-workpaper-formula-readback

Conversation

@gregkonush

@gregkonush gregkonush commented May 21, 2026

Copy link
Copy Markdown

Summary

Adds a TypeScript cookbook example that runs a Bilig WorkPaper formula-readback check inside an E2B sandbox.

The example installs @bilig/workpaper@0.157.0 inside the sandbox, edits an input cell, recalculates dependent formula cells, and verifies that exported WorkPaper JSON restores to the same computed result.

Why

Spreadsheet agents often need formula logic without driving Excel, LibreOffice, or a browser UI. This gives E2B users a small isolated pattern they can adapt for agent workflows that need formula write/readback.

Validation

  • npm install in examples/bilig-workpaper-formula-readback-js
  • npx tsc --noEmit --module NodeNext --moduleResolution NodeNext --target ES2022 --skipLibCheck index.ts
  • npm run test in examples/bilig-workpaper-formula-readback-js
  • git diff --check
  • npm view @bilig/workpaper version returned 0.157.0
  • npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json returned verified: true on @bilig/workpaper@0.157.0

The public evaluator verified 8 MCP tools, Inputs!B3 editing, expected ARR changing from 60000 to 96000, JSON persistence, restart readback at 96000, and package versions @bilig/workpaper@0.157.0 / xlsx-formula-recalc@0.157.0.

I did not run the live sandbox example here because this local shell does not have an E2B_API_KEY configured.

Notes

CLA is signed for this account.

@cla-bot cla-bot Bot added the cla-signed label May 21, 2026
@gregkonush gregkonush force-pushed the bilig-workpaper-formula-readback branch from 24ab3a7 to 644a272 Compare May 21, 2026 11:33
@gregkonush gregkonush force-pushed the bilig-workpaper-formula-readback branch from b33a638 to 65b80a9 Compare May 26, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant