PB

proompteng/bilig

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

35 stars 18 forks 품질 82 트렌드 32MIT

Node 서비스에 대한 공식 작업 책 : 입력을 편집하고, 공식을 재구성하고, 출력을 읽고, persist WorkPaper JSON을 읽고 MCP 도구를 노출합니다.

개요

Bilig는 Node.js 서비스, 테스트 및 AI 에이전트를 위한 TypeScript-native, headless WorkPaper runtime입니다. 입력을 설정, 공식을 recalculate, computed outputs, persist WorkPaper JSON, 복원, 그리고 Excel 또는 브라우저 그리드를 구동하지 않고 결과를 확인합니다. Bilig는 비주얼 스프레드 시트 앱이나 Excel 호환성의 주장이 아닙니다. .xlsx 파일이 계약이라면, 호환성 보고서를 시작합니다. 그것을 설치하기 전에 게시 된 패키지를 제공 : 증발기는 입력을 편집합니다! B2, 요약! B2, WorkPaper를 저장하고 복원 된 값을 비교합니다. 확인: true는 쓰기, 공식 readback, JSON 수출 및 모든 전달된 readback을 복원합니다. 성공적인 쓰기 통화보다 더 강한 증거입니다. 정규적인 가동을 위해, 사용 세트 (), setMany (), readMany (), 전시 () 및 saveJson (). editManyAndReadback()를 사용하여 여러 입력이 진행되고 확인되어야 합니다.

개요(AI 번역)

** 워크북 모델. 노드의 규칙을 실행합니다.**

Bilig는 Node.js 서비스에 대한 TypeScript-native, headless WorkPaper runtime입니다. 시험 및 AI 대리인. 입력을 설정, 공식을 recalculate, computed 출력을 읽으십시오, persist WorkPaper JSON, 복원하고 Excel을 구동하지 않고 결과를 확인합니다. 또는 브라우저 그리드.

· 빠른 시작 · 타입 스크립트 API · MCP · 예제 · 의논하기

[!노트] Bilig는 비주얼 스프레드 시트 앱 또는 청구가 아닌 헤드리스 워크북 런타임입니다. 전체 Excel 호환성. .xlsx 파일이 계약이라면, 시작 호환성 보고.

빠른 시작

노드 실행 시간

그것을 설치하기 전에 게시 된 패키지를 제공 :

증발기 편집 Inputs!B2, recalculates Summary!B2], WorkPaper를 저장, 복원된 값과 비교:

verified: true 쓰기, 공식 readback, JSON 수출, 복원 모든 전달을 읽습니다. 성공적인 쓰기 통화보다 더 강한 증거입니다.

TypeScript에서 사용

정규 작업의 경우 set(), setMany(), readMany()], display()], 그리고 [T8]]. 사용 editManyAndReadback() 여러 입력이 있어야 할 때 1개의 편집으로 약속하고 확인.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Bilig

Keep the workbook model. Run the rule in Node.

Bilig is a TypeScript-native, headless WorkPaper runtime for Node.js services, tests, and AI agents. Set inputs, recalculate formulas, read computed outputs, persist WorkPaper JSON, restore it, and verify the result—without driving Excel or a browser grid.

Docs · Quick start · TypeScript API · MCP · Examples · Discussions

[!NOTE] Bilig is a headless workbook runtime, not a visual spreadsheet app or a claim of full Excel compatibility. If an .xlsx file is your contract, start with the compatibility report.

Quick Start

Node runtime

Prove the published package before installing it:

npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door workpaper-service --json

The evaluator edits Inputs!B2, recalculates Summary!B2, saves the WorkPaper, restores it, and compares the restored value:

{
  "schemaVersion": "bilig-evaluator.v1",
  "door": "workpaper-service",
  "evidence": {
    "editedCell": "Inputs!B2",
    "dependentCell": "Summary!B2",
    "before": 24000,
    "after": 38400,
    "afterRestore": 38400
  },
  "verified": true
}

verified: true means the write, formula readback, JSON export, and restored readback all passed. It is stronger evidence than a successful write call.

Use It From TypeScript

npm install @bilig/workpaper
import { buildA1WorkPaper } from '@bilig/workpaper'

const pricing = buildA1WorkPaper({
  Inputs: [
    ['Metric', 'Value'],
    ['Units', 20],
    ['Price', 1200],
  ],
  Summary: [
    ['Metric', 'Value'],
    ['Revenue', '=Inputs!B2*Inputs!B3'],
  ],
})

const proof = pricing.editAndReadback('Inputs!B2', 32, {
  readbackRange: 'Summary!B2',
})

console.log(proof.afterReadback.displayValues[0]?.[0]) // 38400
console.log(proof.verified) // true

pricing.dispose()

For ordinary operations, use set(), setMany(), readMany(), display(),

GitHub에서 전체 README 보기

설치

npx --yes skills@latest add https://bilig.proompteng.ai --list
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →