Add Bilig WorkPaper formula readback example#102
Open
gregkonush wants to merge 7 commits into
Open
Conversation
24ab3a7 to
644a272
Compare
b33a638 to
65b80a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.0inside 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 installinexamples/bilig-workpaper-formula-readback-jsnpx tsc --noEmit --module NodeNext --moduleResolution NodeNext --target ES2022 --skipLibCheck index.tsnpm run testinexamples/bilig-workpaper-formula-readback-jsgit diff --checknpm view @bilig/workpaper versionreturned0.157.0npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --jsonreturnedverified: trueon@bilig/workpaper@0.157.0The public evaluator verified 8 MCP tools,
Inputs!B3editing, expected ARR changing from60000to96000, JSON persistence, restart readback at96000, 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_KEYconfigured.Notes
CLA is signed for this account.