@components-kit/open-workbook 0.1.7 → 0.1.8
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/assets/backend/dist/runtime-service.d.ts +7 -7
- package/assets/backend/dist/runtime-service.js +1 -1
- package/assets/excel-addin/dist/excel-executor.js +1 -1
- package/assets/excel-addin/dist/taskpane.bundle.js +6 -6
- package/assets/excel-addin/manifest.xml +1 -1
- package/assets/instructions/open-workbook-excel/SKILL.md +11 -7
- package/assets/instructions/open-workbook-excel/references/performance.md +9 -0
- package/assets/instructions/open-workbook-excel/references/tool-selection.md +17 -7
- package/assets/mcp-server/dist/index.js +1693 -2
- package/assets/mcp-server/dist/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
|
@@ -1506,7 +1506,7 @@ export declare class RuntimeService {
|
|
|
1506
1506
|
ok: boolean;
|
|
1507
1507
|
matrix: {
|
|
1508
1508
|
workbookId: WorkbookId | undefined;
|
|
1509
|
-
hostPlatform: "
|
|
1509
|
+
hostPlatform: "unknown" | "mac" | "windows" | "web" | undefined;
|
|
1510
1510
|
capabilities: ({
|
|
1511
1511
|
capability: string;
|
|
1512
1512
|
status: string;
|
|
@@ -2365,23 +2365,23 @@ export declare class RuntimeService {
|
|
|
2365
2365
|
error: import("@components-kit/open-workbook-protocol").ExcelRuntimeError;
|
|
2366
2366
|
region?: never;
|
|
2367
2367
|
}>;
|
|
2368
|
-
clearRegionValues(request: RegionSelector): Promise<{
|
|
2368
|
+
clearRegionValues(request: RegionSelector): Promise<OperationResult | {
|
|
2369
2369
|
ok: false;
|
|
2370
2370
|
error: ReturnType<typeof runtimeError>;
|
|
2371
|
-
}
|
|
2371
|
+
}>;
|
|
2372
2372
|
writeRegionValues(request: RegionSelector & {
|
|
2373
2373
|
values: unknown[][];
|
|
2374
|
-
}): Promise<{
|
|
2374
|
+
}): Promise<OperationResult | {
|
|
2375
2375
|
ok: false;
|
|
2376
2376
|
error: ReturnType<typeof runtimeError>;
|
|
2377
|
-
}
|
|
2377
|
+
}>;
|
|
2378
2378
|
fillRegion(request: RegionSelector & {
|
|
2379
2379
|
values: unknown[][];
|
|
2380
2380
|
clearFirst?: boolean;
|
|
2381
|
-
}): Promise<{
|
|
2381
|
+
}): Promise<OperationResult | {
|
|
2382
2382
|
ok: false;
|
|
2383
2383
|
error: ReturnType<typeof runtimeError>;
|
|
2384
|
-
}
|
|
2384
|
+
}>;
|
|
2385
2385
|
cleanDetectHeaderRow(input: CleanRangeInput & {
|
|
2386
2386
|
maxRows?: number;
|
|
2387
2387
|
}): Promise<CleaningReport>;
|
|
@@ -7,7 +7,7 @@ import { getToolCatalogSummary, PromptCatalog, ResourceCatalog, makeId, runtimeE
|
|
|
7
7
|
import { SessionRegistry } from "./session-registry.js";
|
|
8
8
|
import { NativeFileBridge } from "./native-file-bridge.js";
|
|
9
9
|
import { RuntimeStateStore } from "./state-store.js";
|
|
10
|
-
const runtimeVersion = process.env.OPEN_WORKBOOK_VERSION ?? "0.1.
|
|
10
|
+
const runtimeVersion = process.env.OPEN_WORKBOOK_VERSION ?? "0.1.8";
|
|
11
11
|
export class RuntimeService {
|
|
12
12
|
sessions = new SessionRegistry();
|
|
13
13
|
backups = new BackupManager();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { chunkMatrixRows, createRangeFingerprint, createWorkbookFingerprint, formatA1Cell, hashStable, parseA1Address } from "@components-kit/open-workbook-excel-core";
|
|
2
2
|
import { runtimeError } from "@components-kit/open-workbook-protocol";
|
|
3
3
|
const ENGINE_NAME = "office-js-addin";
|
|
4
|
-
const ENGINE_VERSION = "0.1.
|
|
4
|
+
const ENGINE_VERSION = "0.1.8";
|
|
5
5
|
const CHUNK_CELL_LIMIT = 50_000;
|
|
6
6
|
const OPEN_WORKBOOK_CUSTOM_XML_NAMESPACE = "https://open-workbook.dev/schema/local-config/1";
|
|
7
7
|
const EXCEL_API_VERSIONS = ["1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17"];
|