bilig-workpaper 0.161.0 → 0.164.1
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 +23 -12
- package/README.md +13 -14
- package/SKILL.md +20 -11
- package/bin/bilig-evaluate.js +1 -3
- package/dist/a1.d.ts +118 -0
- package/dist/a1.js +361 -0
- package/dist/a1.js.map +1 -0
- package/dist/evaluator-bin.d.ts +2 -0
- package/dist/evaluator-bin.js +4 -0
- package/dist/evaluator-bin.js.map +1 -0
- package/dist/evaluator.d.ts +57 -0
- package/dist/evaluator.js +352 -0
- package/dist/evaluator.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/work-paper-mcp-stdio-bin.js +12 -7
- package/dist/work-paper-mcp-stdio-bin.js.map +1 -1
- package/dist/work-paper-mcp-xlsx-risk-tool.js +6 -6
- package/dist/work-paper-mcp-xlsx-risk-tool.js.map +1 -1
- package/dist/xlsx-recalc-targets.d.ts +15 -0
- package/dist/xlsx-recalc-targets.js +89 -0
- package/dist/xlsx-recalc-targets.js.map +1 -0
- package/dist/xlsx-recalc.d.ts +126 -0
- package/dist/xlsx-recalc.js +605 -0
- package/dist/xlsx-recalc.js.map +1 -0
- package/dist/xlsx.d.ts +4 -0
- package/dist/xlsx.js +8 -0
- package/dist/xlsx.js.map +1 -1
- package/package.json +10 -4
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export function parseQualifiedCellTarget(workbook, target) {
|
|
2
|
+
const parsed = parseQualifiedA1(target);
|
|
3
|
+
const sheet = workbook.getSheetId(parsed.sheetName);
|
|
4
|
+
if (sheet === undefined) {
|
|
5
|
+
throw new Error(`Unknown sheet in XLSX formula recalculation target: ${parsed.sheetName}`);
|
|
6
|
+
}
|
|
7
|
+
return {
|
|
8
|
+
sheet,
|
|
9
|
+
row: parsed.row,
|
|
10
|
+
col: parsed.col,
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export function parseQualifiedA1(target) {
|
|
14
|
+
const trimmed = target.trim();
|
|
15
|
+
const separator = findSheetSeparator(trimmed);
|
|
16
|
+
if (separator <= 0 || separator >= trimmed.length - 1) {
|
|
17
|
+
throw new Error(`Expected a sheet-qualified A1 target such as Inputs!B2, received: ${target}`);
|
|
18
|
+
}
|
|
19
|
+
const sheetName = unquoteSheetName(trimmed.slice(0, separator));
|
|
20
|
+
const a1 = trimmed
|
|
21
|
+
.slice(separator + 1)
|
|
22
|
+
.replace(/\$/gu, '')
|
|
23
|
+
.toUpperCase();
|
|
24
|
+
const match = /^(?<col>[A-Z]+)(?<row>[1-9][0-9]*)$/u.exec(a1);
|
|
25
|
+
if (!match?.groups) {
|
|
26
|
+
throw new Error(`Expected a single A1 cell reference in target ${target}`);
|
|
27
|
+
}
|
|
28
|
+
const row = match.groups['row'];
|
|
29
|
+
const col = match.groups['col'];
|
|
30
|
+
if (!row || !col) {
|
|
31
|
+
throw new Error(`Expected a single A1 cell reference in target ${target}`);
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
sheetName,
|
|
35
|
+
...parseA1Parts(row, col),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function parseA1CellReference(address) {
|
|
39
|
+
const match = /^\$?(?<col>[A-Z]+)\$?(?<row>[1-9][0-9]*)$/u.exec(address.trim().toUpperCase());
|
|
40
|
+
if (!match?.groups) {
|
|
41
|
+
throw new Error(`Expected a single A1 cell reference, received: ${address}`);
|
|
42
|
+
}
|
|
43
|
+
const row = match.groups['row'];
|
|
44
|
+
const col = match.groups['col'];
|
|
45
|
+
if (!row || !col) {
|
|
46
|
+
throw new Error(`Expected a single A1 cell reference, received: ${address}`);
|
|
47
|
+
}
|
|
48
|
+
return parseA1Parts(row, col);
|
|
49
|
+
}
|
|
50
|
+
function parseA1Parts(row, col) {
|
|
51
|
+
return {
|
|
52
|
+
row: Number.parseInt(row, 10) - 1,
|
|
53
|
+
col: columnLettersToIndex(col),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function findSheetSeparator(target) {
|
|
57
|
+
let inQuote = false;
|
|
58
|
+
for (let index = 0; index < target.length; index += 1) {
|
|
59
|
+
const char = target[index];
|
|
60
|
+
if (char === "'") {
|
|
61
|
+
if (inQuote && target[index + 1] === "'") {
|
|
62
|
+
index += 1;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
inQuote = !inQuote;
|
|
66
|
+
}
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
if (char === '!' && !inQuote) {
|
|
70
|
+
return index;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return -1;
|
|
74
|
+
}
|
|
75
|
+
function unquoteSheetName(rawSheetName) {
|
|
76
|
+
const trimmed = rawSheetName.trim();
|
|
77
|
+
if (trimmed.startsWith("'") && trimmed.endsWith("'")) {
|
|
78
|
+
return trimmed.slice(1, -1).replace(/''/gu, "'");
|
|
79
|
+
}
|
|
80
|
+
return trimmed;
|
|
81
|
+
}
|
|
82
|
+
function columnLettersToIndex(letters) {
|
|
83
|
+
let index = 0;
|
|
84
|
+
for (const char of letters) {
|
|
85
|
+
index = index * 26 + (char.charCodeAt(0) - 64);
|
|
86
|
+
}
|
|
87
|
+
return index - 1;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=xlsx-recalc-targets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xlsx-recalc-targets.js","sourceRoot":"","sources":["../src/xlsx-recalc-targets.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,wBAAwB,CAAC,QAAkC,EAAE,MAAc;IACzF,MAAM,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAA;IACvC,MAAM,KAAK,GAAG,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;IACnD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CA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YACZ,CAAC;iBAAM,CAAC;gBACN,OAAO,GAAG,CAAC,OAAO,CAAA;YACpB,CAAC;YACD,SAAQ;QACV,CAAC;QACD,IAAI,IAAI,KAAK,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAC7B,OAAO,KAAK,CAAA;QACd,CAAC;IACH,CAAC;IACD,OAAO,CAAC,CAAC,CAAA;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,YAAoB;IAC5C,MAAM,OAAO,GAAG,YAAY,CAAC,IAAI,EAAE,CAAA;IACnC,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACrD,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAClD,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAe;IAC3C,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,KAAK,GAAG,KAAK,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAA;IAChD,CAAC;IACD,OAAO,KAAK,GAAG,CAAC,CAAA;AAClB,CAAC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { type RawCellContent, type WorkPaperChange } from '@bilig/headless';
|
|
2
|
+
import { type CellValue, type LiteralInput, type CompatibilityMode, type WorkbookCalculationMode, type WorkbookDateSystem } from '@bilig/protocol';
|
|
3
|
+
import { type ImportedWorkbookDiagnostics, type XlsxExternalWorkbookInput, type XlsxFormulaRecalcNativeDiagnostics } from '@bilig/xlsx';
|
|
4
|
+
export { WorkPaper } from '@bilig/headless';
|
|
5
|
+
export { exportXlsx, exportXlsxToFile, importXlsx } from '@bilig/headless/xlsx';
|
|
6
|
+
export { parseQualifiedA1, parseQualifiedCellTarget } from './xlsx-recalc-targets.js';
|
|
7
|
+
export type { XlsxExternalWorkbookInput, XlsxExternalWorkbookHydrationDiagnostics } from '@bilig/xlsx';
|
|
8
|
+
export { type StreamingNativeFormulaCounts, type XlsxFormulaRecalcNativeDiagnostics, type XlsxFormulaRecalcPhaseRss, StreamingNativeXlsxRecalcError, } from '@bilig/xlsx';
|
|
9
|
+
export { type StreamingNativeXlsxCacheFormulaInspection, type StreamingNativeXlsxCacheInspectionLimit, type StreamingNativeXlsxCacheInspectionResult, type StreamingNativeXlsxCacheLiteral, type StreamingNativeXlsxCacheStatus, type StreamingNativeXlsxCacheStatusSummary, inspectXlsxCacheFileStreamingNative, } from '@bilig/xlsx';
|
|
10
|
+
export type XlsxFormulaRecalcCellValue = CellValue;
|
|
11
|
+
export type XlsxFormulaRecalcChange = WorkPaperChange;
|
|
12
|
+
export type XlsxFormulaRecalcDiagnostics = ImportedWorkbookDiagnostics & Partial<XlsxFormulaRecalcNativeDiagnostics>;
|
|
13
|
+
export interface XlsxFormulaRecalcEdit {
|
|
14
|
+
readonly target: string;
|
|
15
|
+
readonly value: LiteralInput;
|
|
16
|
+
}
|
|
17
|
+
export type XlsxFormulaRecalcWorkPaperEngine = 'auto' | 'workpaper';
|
|
18
|
+
export type XlsxFormulaRecalcWorkPaperFallbackPolicy = 'error' | 'workpaper';
|
|
19
|
+
export interface XlsxFormulaRecalcWorkPaperConfig {
|
|
20
|
+
readonly calculationSettings?: {
|
|
21
|
+
readonly mode?: WorkbookCalculationMode;
|
|
22
|
+
readonly compatibilityMode?: CompatibilityMode;
|
|
23
|
+
readonly dateSystem?: WorkbookDateSystem;
|
|
24
|
+
readonly iterate?: boolean | null;
|
|
25
|
+
readonly iterateCount?: number | null;
|
|
26
|
+
readonly iterateDelta?: string | null;
|
|
27
|
+
readonly fullPrecision?: boolean | null;
|
|
28
|
+
readonly fullCalcOnLoad?: boolean | null;
|
|
29
|
+
readonly calcOnSave?: boolean | null;
|
|
30
|
+
readonly calcCompleted?: boolean | null;
|
|
31
|
+
readonly concurrentCalc?: boolean | null;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly evaluationTimeoutMs?: number;
|
|
34
|
+
readonly maxRows?: number;
|
|
35
|
+
readonly maxColumns?: number;
|
|
36
|
+
readonly useColumnIndex?: boolean;
|
|
37
|
+
readonly [key: string]: unknown;
|
|
38
|
+
}
|
|
39
|
+
export interface XlsxFormulaRecalcOptions {
|
|
40
|
+
readonly fileName?: string;
|
|
41
|
+
readonly externalWorkbooks?: readonly XlsxExternalWorkbookInput[];
|
|
42
|
+
readonly edits?: readonly XlsxFormulaRecalcEdit[];
|
|
43
|
+
readonly reads?: readonly string[];
|
|
44
|
+
readonly config?: XlsxFormulaRecalcWorkPaperConfig;
|
|
45
|
+
readonly engine?: XlsxFormulaRecalcWorkPaperEngine;
|
|
46
|
+
readonly maxRssBytes?: number;
|
|
47
|
+
readonly fallbackPolicy?: XlsxFormulaRecalcWorkPaperFallbackPolicy;
|
|
48
|
+
}
|
|
49
|
+
export interface XlsxFormulaRecalcFileOptions extends XlsxFormulaRecalcOptions {
|
|
50
|
+
readonly outputPath: string;
|
|
51
|
+
}
|
|
52
|
+
export interface XlsxFormulaRecalcResult {
|
|
53
|
+
readonly xlsx: Uint8Array;
|
|
54
|
+
readonly warnings: readonly string[];
|
|
55
|
+
readonly sheetNames: readonly string[];
|
|
56
|
+
readonly reads: Readonly<Record<string, XlsxFormulaRecalcCellValue>>;
|
|
57
|
+
readonly changes: readonly XlsxFormulaRecalcChange[];
|
|
58
|
+
readonly diagnostics?: XlsxFormulaRecalcDiagnostics;
|
|
59
|
+
}
|
|
60
|
+
export interface XlsxFormulaRecalcFileResult {
|
|
61
|
+
readonly bytesWritten: number;
|
|
62
|
+
readonly warnings: readonly string[];
|
|
63
|
+
readonly sheetNames: readonly string[];
|
|
64
|
+
readonly reads: Readonly<Record<string, XlsxFormulaRecalcCellValue>>;
|
|
65
|
+
readonly changes: readonly XlsxFormulaRecalcChange[];
|
|
66
|
+
readonly diagnostics?: XlsxFormulaRecalcDiagnostics;
|
|
67
|
+
}
|
|
68
|
+
export type XlsxFormulaRecalcFileToFileEngine = 'auto' | 'streaming-native';
|
|
69
|
+
export type XlsxFormulaRecalcFileToFileFallbackPolicy = 'error';
|
|
70
|
+
export interface XlsxFormulaRecalcFileToFileOptions {
|
|
71
|
+
readonly outputPath: string;
|
|
72
|
+
readonly externalWorkbooks?: readonly XlsxExternalWorkbookInput[];
|
|
73
|
+
readonly edits?: readonly XlsxFormulaRecalcEdit[];
|
|
74
|
+
readonly reads?: readonly string[];
|
|
75
|
+
readonly engine?: XlsxFormulaRecalcFileToFileEngine;
|
|
76
|
+
readonly maxRssBytes?: number;
|
|
77
|
+
readonly fallbackPolicy?: XlsxFormulaRecalcFileToFileFallbackPolicy;
|
|
78
|
+
}
|
|
79
|
+
export declare function recalculateXlsx(input: Uint8Array | ArrayBuffer | Buffer, options?: XlsxFormulaRecalcOptions): XlsxFormulaRecalcResult;
|
|
80
|
+
export declare function recalculateXlsxFileToFile(inputPath: string, options: XlsxFormulaRecalcFileToFileOptions): Promise<XlsxFormulaRecalcFileResult>;
|
|
81
|
+
export declare function recalculateXlsxToFile(input: Uint8Array | ArrayBuffer | Buffer, options: XlsxFormulaRecalcFileOptions): XlsxFormulaRecalcFileResult;
|
|
82
|
+
export declare const recalculateSheetjsWorkbook: typeof recalculateXlsx;
|
|
83
|
+
export declare const xlsxCacheDoctorSchemaVersion = "xlsx-cache-doctor.v1";
|
|
84
|
+
export type XlsxCacheInspectionLimit = number | 'all';
|
|
85
|
+
export type XlsxCacheStatus = 'fresh' | 'stale' | 'missing-cache' | 'unsupported-recalculation';
|
|
86
|
+
export interface XlsxCacheInspectionOptions {
|
|
87
|
+
readonly fileName?: string;
|
|
88
|
+
readonly externalWorkbooks?: readonly XlsxExternalWorkbookInput[];
|
|
89
|
+
readonly edits?: readonly XlsxFormulaRecalcEdit[];
|
|
90
|
+
readonly inspectLimit?: XlsxCacheInspectionLimit;
|
|
91
|
+
readonly config?: XlsxFormulaRecalcWorkPaperConfig;
|
|
92
|
+
}
|
|
93
|
+
export interface XlsxCacheStatusSummary {
|
|
94
|
+
readonly inspected: number;
|
|
95
|
+
readonly stale: number;
|
|
96
|
+
readonly fresh: number;
|
|
97
|
+
readonly missingCache: number;
|
|
98
|
+
readonly unsupportedRecalculation: number;
|
|
99
|
+
}
|
|
100
|
+
export interface XlsxCacheFormulaInspection {
|
|
101
|
+
readonly target: string;
|
|
102
|
+
readonly formula: string;
|
|
103
|
+
readonly cachedValue?: RawCellContent;
|
|
104
|
+
readonly recalculatedValue: XlsxFormulaRecalcCellValue | undefined;
|
|
105
|
+
readonly literalRecalculatedValue?: RawCellContent | string;
|
|
106
|
+
readonly cacheStatus: XlsxCacheStatus;
|
|
107
|
+
readonly staleCachedValue: boolean | null;
|
|
108
|
+
}
|
|
109
|
+
export interface XlsxCacheInspectionResult {
|
|
110
|
+
readonly schemaVersion: typeof xlsxCacheDoctorSchemaVersion;
|
|
111
|
+
readonly sheetNames: readonly string[];
|
|
112
|
+
readonly formulaCellCount: number;
|
|
113
|
+
readonly inspectedFormulaCellCount: number;
|
|
114
|
+
readonly uninspectedFormulaCellCount: number;
|
|
115
|
+
readonly inspectionLimit: XlsxCacheInspectionLimit;
|
|
116
|
+
readonly staleCachedFormulaCount: number;
|
|
117
|
+
readonly cacheStatusSummary: XlsxCacheStatusSummary;
|
|
118
|
+
readonly suggestedReads: readonly string[];
|
|
119
|
+
readonly formulas: readonly XlsxCacheFormulaInspection[];
|
|
120
|
+
readonly warnings: readonly string[];
|
|
121
|
+
readonly diagnostics?: ImportedWorkbookDiagnostics;
|
|
122
|
+
readonly inspectionCompleted: true;
|
|
123
|
+
readonly recalculationCompleted: true;
|
|
124
|
+
readonly excelParity: 'not_proven';
|
|
125
|
+
}
|
|
126
|
+
export declare function inspectXlsxCache(input: Uint8Array | ArrayBuffer | Buffer, options?: XlsxCacheInspectionOptions): XlsxCacheInspectionResult;
|