@deepseek-ai/libreoffice-kit 0.1.5 → 0.2.0-alpha6

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.
Files changed (77) hide show
  1. package/NOTICE +4 -0
  2. package/README.md +44 -8
  3. package/README.zh.md +45 -9
  4. package/frame-forwarding/CMakeLists.txt +40 -0
  5. package/frame-forwarding/LICENSE +21 -0
  6. package/frame-forwarding/README.md +83 -0
  7. package/frame-forwarding/README.zh.md +83 -0
  8. package/frame-forwarding/include/dsh_frame_forwarding.h +101 -0
  9. package/frame-forwarding/include/dsh_frame_forwarding_engine.h +66 -0
  10. package/frame-forwarding/include/dsh_frame_forwarding_node.h +27 -0
  11. package/frame-forwarding/include/dsh_webgpu.h +52 -0
  12. package/frame-forwarding/index.d.ts +145 -0
  13. package/frame-forwarding/index.mjs +71 -0
  14. package/frame-forwarding/lib/browser/display.d.ts +46 -0
  15. package/frame-forwarding/lib/browser/display.js +128 -0
  16. package/frame-forwarding/lib/browser/index.d.ts +4 -0
  17. package/frame-forwarding/lib/browser/index.js +3 -0
  18. package/frame-forwarding/lib/browser/painters.d.ts +9 -0
  19. package/frame-forwarding/lib/browser/painters.js +180 -0
  20. package/frame-forwarding/lib/browser/types.d.ts +51 -0
  21. package/frame-forwarding/lib/browser/types.js +1 -0
  22. package/frame-forwarding/lib/electron/adapter.d.ts +9 -0
  23. package/frame-forwarding/lib/electron/adapter.js +118 -0
  24. package/frame-forwarding/lib/electron/index.d.ts +3 -0
  25. package/frame-forwarding/lib/electron/index.js +3 -0
  26. package/frame-forwarding/lib/electron/preload.d.ts +13 -0
  27. package/frame-forwarding/lib/electron/preload.js +47 -0
  28. package/frame-forwarding/lib/electron/transfer.d.ts +15 -0
  29. package/frame-forwarding/lib/electron/transfer.js +36 -0
  30. package/frame-forwarding/prebuilds/darwin-arm64/frame-forwarding.node +0 -0
  31. package/frame-forwarding/prebuilds/darwin-arm64/libdsh_frame_forwarding_sdk.a +0 -0
  32. package/frame-forwarding/prebuilds/darwin-arm64/manifest.json +34 -0
  33. package/frame-forwarding/prebuilds/darwin-x64/frame-forwarding.node +0 -0
  34. package/frame-forwarding/prebuilds/darwin-x64/libdsh_frame_forwarding_sdk.a +0 -0
  35. package/frame-forwarding/prebuilds/darwin-x64/manifest.json +34 -0
  36. package/frame-forwarding/prebuilds/win32-arm64/dsh_frame_forwarding_sdk.lib +0 -0
  37. package/frame-forwarding/prebuilds/win32-arm64/frame-forwarding.node +0 -0
  38. package/frame-forwarding/prebuilds/win32-arm64/manifest.json +34 -0
  39. package/frame-forwarding/prebuilds/win32-x64/dsh_frame_forwarding_sdk.lib +0 -0
  40. package/frame-forwarding/prebuilds/win32-x64/frame-forwarding.node +0 -0
  41. package/frame-forwarding/prebuilds/win32-x64/manifest.json +34 -0
  42. package/frame-forwarding/receipt.json +23 -0
  43. package/frame-forwarding/scripts/build-webgpu.mjs +197 -0
  44. package/frame-forwarding/scripts/build.mjs +43 -0
  45. package/frame-forwarding/scripts/metadata.mjs +47 -0
  46. package/frame-forwarding/scripts/source-identity.mjs +15 -0
  47. package/frame-forwarding/scripts/verify-prebuilds.mjs +14 -0
  48. package/frame-forwarding/sdk.json +45 -0
  49. package/frame-forwarding/src/node-producer.cc +595 -0
  50. package/frame-forwarding/src/producer-internal.h +8 -0
  51. package/frame-forwarding/src/producer.cc +306 -0
  52. package/frame-forwarding/src/receiver.cc +1050 -0
  53. package/frame-forwarding/src/relay-transport.inc +293 -0
  54. package/frame-forwarding/src/transport.cc +405 -0
  55. package/frame-forwarding/src/transport.h +80 -0
  56. package/frame-forwarding/src/webgpu.cc +214 -0
  57. package/frame-forwarding/src/win-delay-load.LICENSE +24 -0
  58. package/frame-forwarding/src/win-delay-load.cc +43 -0
  59. package/frame-forwarding/verify.d.mts +4 -0
  60. package/frame-forwarding/verify.mjs +101 -0
  61. package/frame-forwarding/webgpu-dependencies.json +51 -0
  62. package/lib/cli.js +109 -46
  63. package/lib/editor.js +2061 -0
  64. package/lib/index.js +109 -46
  65. package/lib/types/editor-protocol.d.ts +29 -0
  66. package/lib/types/editor-transport.d.ts +36 -0
  67. package/lib/types/editor-types.d.ts +119 -0
  68. package/lib/types/editor.d.ts +105 -0
  69. package/lib/types/engine.d.ts +4 -2
  70. package/lib/types/fonts.d.ts +4 -8
  71. package/lib/types/native-image-renderer.d.ts +0 -1
  72. package/lib/types/native-process.d.ts +1 -0
  73. package/lib/types/native.d.ts +30 -2
  74. package/lib/types/runtime.d.ts +2 -0
  75. package/lib/types/worker.d.ts +2 -2
  76. package/lib/worker.js +38 -31
  77. package/package.json +94 -9
@@ -18,7 +18,7 @@ export interface FontFace {
18
18
  readonly italic: boolean;
19
19
  readonly fixed: boolean;
20
20
  readonly postscriptName: string | null;
21
- /** Decoded glyph ranges; absent until a match reads this face's coverage. */
21
+ /** Optional complete glyph ranges supplied by the metadata owner. */
22
22
  coverage?: GlyphRange[];
23
23
  }
24
24
  /** All faces decoded from one unchanged physical file, including an empty parse result. */
@@ -88,19 +88,13 @@ export declare function systemFontDirectories(platform?: NodeJS.Platform, home?:
88
88
  * @throws when the root exists but cannot be read for a reason other than its absence or protection.
89
89
  */
90
90
  export declare function mobileAssetFontDirectories(assets: string): string[];
91
- /**
92
- * Decode glyph coverage for one parsed face.
93
- * @param font - The parsed physical face.
94
- * @returns the inclusive ranges the face renders, or none when its glyph tables reject decoding.
95
- */
96
- export declare function faceCoverage(font: Font): GlyphRange[];
97
91
  /**
98
92
  * @param parsed - Parsed font file: one face, or a collection of faces.
99
93
  * @param face - Indexed metadata naming the face inside that file.
100
94
  * @returns the physical face the index names.
101
95
  * @throws when the file no longer provides the indexed face.
102
96
  */
103
- export declare function indexedFace(parsed: Font | FontCollection, face: Pick<FontFace, 'faceIndex' | 'postscriptName'>): Font;
97
+ export declare function indexedFace(parsed: Font | Pick<FontCollection, 'fonts'>, face: Pick<FontFace, 'faceIndex' | 'postscriptName'>): Font;
104
98
  /**
105
99
  * VCL weight, width, and fixed-pitch values for one parsed face.
106
100
  * @param font - The parsed physical face, whose `OS/2` and `post` tables may be absent.
@@ -123,6 +117,8 @@ export declare function indexSystemFonts(options: FontIndexOptions, previous?: R
123
117
  export declare class SystemFontCatalog {
124
118
  private readonly options;
125
119
  private readonly faces;
120
+ private readonly queried;
121
+ private readonly byFile;
126
122
  /**
127
123
  * @param options - Host metadata snapshot and fallback families.
128
124
  */
@@ -6,7 +6,6 @@ import type { ResolvedOptions } from './options.ts';
6
6
  export declare function renderImagesWithNative(request: {
7
7
  readonly engine: NativeEngine;
8
8
  readonly options: ResolvedOptions;
9
- readonly inputPath: string;
10
9
  readonly source: Uint8Array;
11
10
  readonly scratch: string;
12
11
  readonly profile: string;
@@ -5,6 +5,7 @@ export interface NativeChild extends EventEmitter {
5
5
  stdin: Writable;
6
6
  stdout: Readable;
7
7
  stderr: Readable;
8
+ readonly pid?: number | undefined;
8
9
  readonly exitCode: number | null;
9
10
  readonly signalCode: NodeJS.Signals | null;
10
11
  kill(signal: NodeJS.Signals): boolean;
@@ -20,6 +20,16 @@ export declare function prepareNativeFontProfile(profile: string, substitutions:
20
20
  * @returns the environment the helper starts with.
21
21
  */
22
22
  export declare function nativeEnvironment(profile: string, programDirectory: string, source?: NodeJS.ProcessEnv, platform?: string): Record<string, string>;
23
+ /**
24
+ * Prepare short Windows engine paths owned by the caller's private profile.
25
+ * @param engine - Verified engine installation; its resources remain in place.
26
+ * @param profile - Private operation directory that owns the temporary executable and junction.
27
+ * @returns Engine paths and a release function to call once, after the helper closes and before removing the profile.
28
+ */
29
+ export declare function prepareNativeEngine(engine: NativeEngine, profile: string): Promise<{
30
+ engine: NativeEngine;
31
+ release(): Promise<void>;
32
+ }>;
23
33
  /**
24
34
  * Keep Windows engine resources reachable through a short profile-owned path until the helper exits.
25
35
  * @param engine - Verified engine installation; its resources remain in place.
@@ -28,11 +38,26 @@ export declare function nativeEnvironment(profile: string, programDirectory: str
28
38
  * @returns The operation result after removing the resource junction.
29
39
  */
30
40
  export declare function withNativeEngine<T>(engine: NativeEngine, profile: string, run: (engine: NativeEngine) => Promise<T>): Promise<T>;
41
+ /**
42
+ * Prepare the document transport accepted by the pinned helper.
43
+ * @param engine - Resolved helper and input protocol.
44
+ * @param input - Owned document bytes and validated format.
45
+ * @param profile - Private directory retained until the helper exits and removed by the operation owner.
46
+ * @param signal - Cancellation of input preparation.
47
+ * @returns Helper arguments and an optional binary stdin prefix.
48
+ */
49
+ export declare function prepareNativeInput(engine: NativeEngine, input: {
50
+ bytes: Uint8Array;
51
+ format: string;
52
+ }, profile: string, signal: AbortSignal): Promise<{
53
+ args: string[];
54
+ bytes?: Uint8Array;
55
+ }>;
31
56
  /**
32
57
  * Run one native conversion and await bounded result transport.
33
58
  * @param engine - Resolved native engine installation.
34
59
  * @param options - Validated conversion limits.
35
- * @param input - Private source path inside the conversion scratch directory.
60
+ * @param input - Owned source bytes and format; older pinned helpers receive a private input file.
36
61
  * @param output - Private PDF path inside the conversion scratch directory.
37
62
  * @param profile - Conversion-owned profile directory.
38
63
  * @param fonts - Installed font files the helper may load.
@@ -41,5 +66,8 @@ export declare function withNativeEngine<T>(engine: NativeEngine, profile: strin
41
66
  * @param operation - Validated output format, recalculation, and worksheet selection.
42
67
  * @throws ConversionError for a reported conversion failure, and the abort reason for cancellation.
43
68
  */
44
- export declare function runNative(engine: NativeEngine, options: ResolvedOptions, input: string, output: string, profile: string, fonts: readonly string[], substitutions: readonly FontSubstitution[], signal: AbortSignal, operation?: Pick<ConversionSpec, 'format' | 'recalculate' | 'sheet'>): Promise<void>;
69
+ export declare function runNative(engine: NativeEngine, options: ResolvedOptions, input: {
70
+ bytes: Uint8Array;
71
+ format: string;
72
+ }, output: string, profile: string, fonts: readonly string[], substitutions: readonly FontSubstitution[], signal: AbortSignal, operation?: Pick<ConversionSpec, 'format' | 'recalculate' | 'sheet'>): Promise<void>;
45
73
  //# sourceMappingURL=native.d.ts.map
@@ -2,6 +2,8 @@
2
2
  export interface RuntimeInfo {
3
3
  readonly version: string;
4
4
  readonly backend: 'native' | 'wasm';
5
+ /** Whether the selected engine implements the native preview protocol; independent of GPU availability. */
6
+ readonly nativePreview: boolean;
5
7
  readonly cliPath: string;
6
8
  readonly nodeApiPath: string;
7
9
  }
@@ -4,9 +4,9 @@ import type { ConversionSpec } from './operations.ts';
4
4
  import type { Engine } from './engine.ts';
5
5
  import type { FontFace } from './fonts.ts';
6
6
  import type { ResolvedOptions } from './options.ts';
7
- /** Worker input: inspected paths, validated limits, the resolved engine, and the current font snapshot. */
7
+ /** Worker input: owned source bytes, validated limits, the resolved engine, and the current font snapshot. */
8
8
  export interface WorkerRequest {
9
- readonly inputPath: string;
9
+ readonly bytes: Uint8Array;
10
10
  readonly extension: string;
11
11
  readonly operation: ConversionSpec | ImageRenderSpec;
12
12
  readonly options: ResolvedOptions;
package/lib/worker.js CHANGED
@@ -119,28 +119,6 @@ function fontFamilyPriority(requested, groups, pitch = 0, symbols = false) {
119
119
  }
120
120
  return [...priority.values()];
121
121
  }
122
- function ranges(font) {
123
- const points = font.characterSet.filter((point) => font.hasGlyphForCodePoint(point)).sort((left, right) => left - right);
124
- const result = [];
125
- for (const point of points) {
126
- const last = result.at(-1);
127
- if (last !== void 0 && point <= last[1] + 1) last[1] = Math.max(last[1], point);
128
- else result.push([point, point]);
129
- }
130
- return result;
131
- }
132
- /**
133
- * Decode glyph coverage for one parsed face.
134
- * @param font - The parsed physical face.
135
- * @returns the inclusive ranges the face renders, or none when its glyph tables reject decoding.
136
- */
137
- function faceCoverage(font) {
138
- try {
139
- return ranges(font);
140
- } catch {
141
- return [];
142
- }
143
- }
144
122
  /**
145
123
  * @param parsed - Parsed font file: one face, or a collection of faces.
146
124
  * @param face - Indexed metadata naming the face inside that file.
@@ -152,12 +130,6 @@ function indexedFace(parsed, face) {
152
130
  if (font === void 0 || font.postscriptName !== face.postscriptName) throw new Error("The indexed font face is no longer available; recreate the converter.");
153
131
  return font;
154
132
  }
155
- function covers(face, points) {
156
- if (points.length === 0) return [];
157
- if (face.coverage === void 0) face.coverage = faceCoverage(indexedFace(create(readFont(face)), face));
158
- const coverage = face.coverage;
159
- return points.filter((point) => coverage.some(([first, last]) => point >= first && point <= last));
160
- }
161
133
  function regionalPriority(face, language) {
162
134
  const locale = language.toLowerCase();
163
135
  const preferred = locale.startsWith("ja") ? ["jp"] : locale.startsWith("ko") ? ["kr"] : locale.startsWith("zh") ? /hant|tw|hk|mo/.test(locale) ? ["tc", "hk"] : ["sc"] : [];
@@ -169,12 +141,19 @@ function regionalPriority(face, language) {
169
141
  var SystemFontCatalog = class {
170
142
  options;
171
143
  faces;
144
+ queried = /* @__PURE__ */ new Map();
145
+ byFile = /* @__PURE__ */ new Map();
172
146
  /**
173
147
  * @param options - Host metadata snapshot and fallback families.
174
148
  */
175
149
  constructor(options) {
176
150
  this.options = options;
177
151
  this.faces = options.faces.map((face) => ({ ...face }));
152
+ for (const face of this.faces) {
153
+ const members = this.byFile.get(face.path) ?? [];
154
+ members.push(face);
155
+ this.byFile.set(face.path, members);
156
+ }
178
157
  }
179
158
  /**
180
159
  * Find installed faces covering the requested family or missing characters.
@@ -208,7 +187,36 @@ var SystemFontCatalog = class {
208
187
  const files = /* @__PURE__ */ new Set();
209
188
  for (const { face } of ranked) {
210
189
  signal.throwIfAborted();
211
- const covered = covers(face, [...missing]);
190
+ let covered;
191
+ if (face.coverage !== void 0) {
192
+ const coverage = face.coverage;
193
+ covered = [...missing].filter((point) => coverage.some(([first, last]) => point >= first && point <= last));
194
+ } else {
195
+ let known = this.queried.get(face);
196
+ if (known === void 0) {
197
+ known = /* @__PURE__ */ new Map();
198
+ this.queried.set(face, known);
199
+ }
200
+ const unknown = [...missing].filter((point) => !known.has(point));
201
+ if (unknown.length > 0) {
202
+ const parsed = create(readFont(face));
203
+ const collection = "fonts" in parsed ? { fonts: parsed.fonts } : parsed;
204
+ for (const member of this.byFile.get(face.path)) {
205
+ let answers = this.queried.get(member);
206
+ if (answers === void 0) {
207
+ answers = /* @__PURE__ */ new Map();
208
+ this.queried.set(member, answers);
209
+ }
210
+ const font = indexedFace(collection, member);
211
+ try {
212
+ for (const point of unknown) answers.set(point, font.hasGlyphForCodePoint(point));
213
+ } catch {
214
+ for (const point of unknown) answers.set(point, false);
215
+ }
216
+ }
217
+ }
218
+ covered = [...missing].filter((point) => known.get(point));
219
+ }
212
220
  if (missing.size > 0 && covered.length === 0) continue;
213
221
  if (!files.has(face.path)) {
214
222
  selected.push(face);
@@ -1421,8 +1429,7 @@ function requireParentPort(port) {
1421
1429
  }
1422
1430
  const port = requireParentPort(parentPort);
1423
1431
  try {
1424
- const { inputPath, extension, operation, options, engine, scratch, fontFaces, fontCache } = workerData;
1425
- const bytes = readFileSync(inputPath);
1432
+ const { bytes, extension, operation, options, engine, scratch, fontFaces, fontCache } = workerData;
1426
1433
  const images = "kind" in operation && operation.kind === "images";
1427
1434
  if (images && extension === "pdf" && new TextDecoder().decode(bytes.subarray(0, 5)) !== "%PDF-") throw new ConversionError("invalid-document", "Input does not contain a PDF header.");
1428
1435
  const document = images && extension === "pdf" ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/libreoffice-kit",
3
3
  "description": "Convert, recalculate, and render Office documents with prebuilt LibreOffice",
4
- "version": "0.1.5",
4
+ "version": "0.2.0-alpha6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -24,31 +24,116 @@
24
24
  "default": "./lib/index.js"
25
25
  },
26
26
  "./package.json": "./package.json",
27
- "./cli": "./lib/cli.js"
27
+ "./cli": "./lib/cli.js",
28
+ "./editor": {
29
+ "types": "./lib/types/editor.d.ts",
30
+ "default": "./lib/editor.js"
31
+ },
32
+ "./frame-forwarding": {
33
+ "types": "./frame-forwarding/index.d.ts",
34
+ "default": "./frame-forwarding/index.mjs"
35
+ },
36
+ "./frame-forwarding/sdk": "./frame-forwarding/sdk.json",
37
+ "./frame-forwarding/verify": {
38
+ "types": "./frame-forwarding/verify.d.mts",
39
+ "default": "./frame-forwarding/verify.mjs"
40
+ },
41
+ "./frame-forwarding/browser": {
42
+ "types": "./frame-forwarding/lib/browser/index.d.ts",
43
+ "default": "./frame-forwarding/lib/browser/index.js"
44
+ },
45
+ "./frame-forwarding/electron": {
46
+ "types": "./frame-forwarding/lib/electron/index.d.ts",
47
+ "default": "./frame-forwarding/lib/electron/index.js"
48
+ },
49
+ "./frame-forwarding/electron/preload": {
50
+ "types": "./frame-forwarding/lib/electron/preload.d.ts",
51
+ "default": "./frame-forwarding/lib/electron/preload.js"
52
+ }
28
53
  },
29
54
  "files": [
30
55
  "README.zh.md",
31
56
  "lib/index.js",
32
57
  "lib/cli.js",
58
+ "lib/editor.js",
33
59
  "lib/worker.js",
34
60
  "lib/font-snapshot-worker.js",
35
61
  "NOTICE",
36
- "lib/types/**/*.d.ts"
62
+ "lib/types/**/*.d.ts",
63
+ "frame-forwarding/index.mjs",
64
+ "frame-forwarding/index.d.ts",
65
+ "frame-forwarding/verify.mjs",
66
+ "frame-forwarding/verify.d.mts",
67
+ "frame-forwarding/receipt.json",
68
+ "frame-forwarding/LICENSE",
69
+ "frame-forwarding/README.md",
70
+ "frame-forwarding/README.zh.md",
71
+ "frame-forwarding/include/dsh_frame_forwarding.h",
72
+ "frame-forwarding/include/dsh_frame_forwarding_engine.h",
73
+ "frame-forwarding/include/dsh_frame_forwarding_node.h",
74
+ "frame-forwarding/include/dsh_webgpu.h",
75
+ "frame-forwarding/src/node-producer.cc",
76
+ "frame-forwarding/src/producer-internal.h",
77
+ "frame-forwarding/src/transport.h",
78
+ "frame-forwarding/src/transport.cc",
79
+ "frame-forwarding/src/relay-transport.inc",
80
+ "frame-forwarding/src/producer.cc",
81
+ "frame-forwarding/src/receiver.cc",
82
+ "frame-forwarding/src/win-delay-load.cc",
83
+ "frame-forwarding/src/win-delay-load.LICENSE",
84
+ "frame-forwarding/src/webgpu.cc",
85
+ "frame-forwarding/CMakeLists.txt",
86
+ "frame-forwarding/sdk.json",
87
+ "frame-forwarding/scripts/build.mjs",
88
+ "frame-forwarding/scripts/metadata.mjs",
89
+ "frame-forwarding/scripts/source-identity.mjs",
90
+ "frame-forwarding/scripts/build-webgpu.mjs",
91
+ "frame-forwarding/webgpu-dependencies.json",
92
+ "frame-forwarding/scripts/verify-prebuilds.mjs",
93
+ "frame-forwarding/prebuilds/darwin-arm64/frame-forwarding.node",
94
+ "frame-forwarding/prebuilds/darwin-arm64/libdsh_frame_forwarding_sdk.a",
95
+ "frame-forwarding/prebuilds/darwin-arm64/manifest.json",
96
+ "frame-forwarding/prebuilds/darwin-x64/frame-forwarding.node",
97
+ "frame-forwarding/prebuilds/darwin-x64/libdsh_frame_forwarding_sdk.a",
98
+ "frame-forwarding/prebuilds/darwin-x64/manifest.json",
99
+ "frame-forwarding/prebuilds/win32-x64/frame-forwarding.node",
100
+ "frame-forwarding/prebuilds/win32-x64/dsh_frame_forwarding_sdk.lib",
101
+ "frame-forwarding/prebuilds/win32-x64/manifest.json",
102
+ "frame-forwarding/prebuilds/win32-arm64/frame-forwarding.node",
103
+ "frame-forwarding/prebuilds/win32-arm64/dsh_frame_forwarding_sdk.lib",
104
+ "frame-forwarding/prebuilds/win32-arm64/manifest.json",
105
+ "frame-forwarding/lib/browser/index.js",
106
+ "frame-forwarding/lib/browser/index.d.ts",
107
+ "frame-forwarding/lib/browser/types.js",
108
+ "frame-forwarding/lib/browser/types.d.ts",
109
+ "frame-forwarding/lib/browser/painters.js",
110
+ "frame-forwarding/lib/browser/painters.d.ts",
111
+ "frame-forwarding/lib/browser/display.js",
112
+ "frame-forwarding/lib/browser/display.d.ts",
113
+ "frame-forwarding/lib/electron/index.js",
114
+ "frame-forwarding/lib/electron/index.d.ts",
115
+ "frame-forwarding/lib/electron/adapter.js",
116
+ "frame-forwarding/lib/electron/adapter.d.ts",
117
+ "frame-forwarding/lib/electron/transfer.js",
118
+ "frame-forwarding/lib/electron/transfer.d.ts",
119
+ "frame-forwarding/lib/electron/preload.js",
120
+ "frame-forwarding/lib/electron/preload.d.ts"
37
121
  ],
38
122
  "dependencies": {
39
123
  "fflate": "0.8.2",
40
124
  "fontkit": "2.0.4",
41
- "koffi": "3.1.1",
42
125
  "saxes": "6.0.0"
43
126
  },
44
127
  "optionalDependencies": {
45
- "@deepseek-ai/libreoffice-kit-darwin-arm64": "0.1.5",
46
- "@deepseek-ai/libreoffice-kit-win32-x64": "0.1.5",
47
- "@deepseek-ai/libreoffice-kit-darwin-x64": "0.1.5",
48
- "@deepseek-ai/libreoffice-kit-wasm": "0.1.5",
128
+ "koffi": "3.1.1",
129
+ "@deepseek-ai/libreoffice-kit-darwin-arm64": "0.2.0-alpha6",
130
+ "@deepseek-ai/libreoffice-kit-darwin-x64": "0.2.0-alpha6",
131
+ "@deepseek-ai/libreoffice-kit-wasm": "0.2.0-alpha5",
132
+ "@deepseek-ai/libreoffice-kit-win32-x64": "0.2.0-alpha6",
49
133
  "@deepseek-ai/libreoffice-kit-win32-arm64": "0.1.5"
50
134
  },
51
135
  "bin": {
52
136
  "dsoffice": "./lib/cli.js"
53
- }
137
+ },
138
+ "scripts": {}
54
139
  }