@deepseek-ai/libreoffice-kit 0.2.2 → 0.2.3-rc.3
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/frame-forwarding/README.md +6 -2
- package/frame-forwarding/README.zh.md +6 -2
- package/frame-forwarding/include/dsh_frame_forwarding.h +10 -1
- package/frame-forwarding/index.d.ts +1 -1
- package/frame-forwarding/prebuilds/darwin-arm64/frame-forwarding.node +0 -0
- package/frame-forwarding/prebuilds/darwin-arm64/libdsh_frame_forwarding_sdk.a +0 -0
- package/frame-forwarding/prebuilds/darwin-arm64/manifest.json +13 -12
- package/frame-forwarding/prebuilds/darwin-x64/frame-forwarding.node +0 -0
- package/frame-forwarding/prebuilds/darwin-x64/libdsh_frame_forwarding_sdk.a +0 -0
- package/frame-forwarding/prebuilds/darwin-x64/manifest.json +13 -12
- package/frame-forwarding/prebuilds/win32-arm64/dsh_frame_forwarding_sdk.lib +0 -0
- package/frame-forwarding/prebuilds/win32-arm64/frame-forwarding.node +0 -0
- package/frame-forwarding/prebuilds/win32-arm64/manifest.json +13 -12
- package/frame-forwarding/prebuilds/win32-x64/dsh_frame_forwarding_sdk.lib +0 -0
- package/frame-forwarding/prebuilds/win32-x64/frame-forwarding.node +0 -0
- package/frame-forwarding/prebuilds/win32-x64/manifest.json +13 -12
- package/frame-forwarding/receipt.json +9 -8
- package/frame-forwarding/scripts/metadata.mjs +4 -3
- package/frame-forwarding/sdk.json +3 -2
- package/frame-forwarding/src/producer.cc +30 -7
- package/frame-forwarding/src/receiver.cc +7 -1
- package/frame-forwarding/src/transport.cc +28 -21
- package/frame-forwarding/src/transport.h +13 -0
- package/lib/cli.js +6 -6
- package/lib/editor.js +5 -5
- package/lib/index.js +6 -6
- package/lib/types/engine.d.ts +1 -1
- package/package.json +6 -6
|
@@ -26,6 +26,8 @@ A channel serves one producer connection at a time. Each `connected` event carri
|
|
|
26
26
|
|
|
27
27
|
Producers and receivers of protocol version 1 declare transferable channels in their handshake. A receiver refuses a producer without that declaration with `transferable-tx-required`, and a producer refuses a receiver whose ready carries no connection ID, so builds that bind producers by PID cannot interoperate with these sources. A producer of another protocol version is refused with `protocol-mismatch`, naming both versions.
|
|
28
28
|
|
|
29
|
+
Producers also declare that every handle they name belongs to them. On Windows a frame carries a handle value in the producer's process, and the receiver duplicates it from that process with the access it opened when the producer connected; a value that names no handle of a live producer ends the connection without touching any receiver handle, and a producer that exited took its handles with it, so its connection ends as lost. A receiver refuses a producer without the declaration with `producer-local-handles-required`, and ready echoes the declarations the receiver accepted, so a producer refuses a receiver that would read its handle values as handles of its own. Builds of 0.2.2 and earlier therefore cannot interoperate with these sources in either direction. A receiver that sandboxes its producers can keep this scheme, since only the receiver needs access to the other process.
|
|
30
|
+
|
|
29
31
|
On Windows, CPU relay retains one imported texture per allocation across staging slots. Reuse requires the NT handle to name the same object and dimensions to match; every frame still acquires key 0 before copying. Allocation retirement drops cached imports before returning credit, while pending copies retain their active source until completion. Systems without `CompareObjectHandles` continue opening and validating each frame.
|
|
30
32
|
|
|
31
33
|
## Node/TypeScript producer
|
|
@@ -46,6 +48,8 @@ The only public C header is `include/dsh_frame_forwarding.h`. The Graphite WebGP
|
|
|
46
48
|
|
|
47
49
|
On Windows, `dsh_frame_forwarding_connect_with_device` accepts the application’s `ID3D11Device` and retains it until close. Passing null, or using `dsh_frame_forwarding_connect`, creates a default device. Every connect function takes the channel's TX credential. `dsh_frame_forwarding_connect_with_options` additionally bounds connection/handshake time, including a wait while a previous producer drains, and accepts a cancellation callback on the connecting thread; a busy channel fails with text starting `channel-busy`. Applications choose their own GPU; DSH selects the transport. Serialize the adopted device’s immediate context with SDK writes. macOS requires a null device.
|
|
48
50
|
|
|
51
|
+
`dsh_frame_forwarding_trim` returns every idle surface to the receiver's shared byte budget: available surfaces, the queued latest frame, granted allocations not yet created and pending requests; acquired and submitted surfaces stay. Call it when the view stops displaying frames, for example after applying an invisible viewport, and the next acquisition requests allocations again. On Windows it flushes the immediate context of the producer's D3D11 device, because D3D11 destroys released textures only at the next flush; call it on the thread that uses that context. The Office engine trims after acknowledging an invisible viewport.
|
|
52
|
+
|
|
49
53
|
Acquisition initially returns null while the receiver grants allocation credit. Poll and retry when the owning application is ready; do not spin. Allocation requests enter a shared FIFO budget queue. Grants cover idle pool allocations as well as displayed frames. A null acquisition otherwise indicates exhausted credits; terminal allocation errors are reported by polling with `kind = -1` and explanatory text. Stop processing on a negative poll result and preserve its diagnostic before closing. A consumer must bound its overall operation lifetime and disconnect on timeout.
|
|
50
54
|
|
|
51
55
|
Textures use top-left BGRA8 premultiplied pixels in sRGB. Windows surfaces have a keyed mutex using key 0. Acquisition grants a lease without locking: SDK CPU uploads own the write lock; external GPU writers own it themselves through `dsh_frame_forwarding_surface_keyed_mutex` or their import API. Writers release key 0 after queueing commands and release imported objects/views before submit or discard. CPU uploads copy the input before returning and do not wait for GPU completion; `dsh_frame_forwarding_write_bgra_with_timeout` bounds mutex acquisition. `AcquireSync` can block the CPU. macOS writers must complete GPU work before submit or discard. Reusing a surface requires both a new acquisition and the write lock on Windows. If GPU access release fails, close the connection without reusing the surface.
|
|
@@ -60,7 +64,7 @@ Application JSON, frame correlation, input semantics, viewport generations and i
|
|
|
60
64
|
|
|
61
65
|
## Build and validation
|
|
62
66
|
|
|
63
|
-
Run `node scripts/build.mjs` on the target platform with complete matching Node headers available. The SDK version comes from the public Kit package metadata. Set `DSH_NODE_INCLUDE` explicitly when necessary; Windows additionally requires a developer toolchain environment and `DSH_NODE_LIB`. Builds produce precompiled Node-API and static SDK artifacts with SHA-256 receipts. Installation never invokes a compiler. Public Kit packing requires all four supported targets from one source commit. Partial payloads cannot be packed. The verifier checks addon and static-library architectures, artifact hashes, source hashes, versions, protocol and the `transferable-tx`
|
|
67
|
+
Run `node scripts/build.mjs` on the target platform with complete matching Node headers available. The SDK version comes from the public Kit package metadata. Set `DSH_NODE_INCLUDE` explicitly when necessary; Windows additionally requires a developer toolchain environment and `DSH_NODE_LIB`. Builds produce precompiled Node-API and static SDK artifacts with SHA-256 receipts. Installation never invokes a compiler. Public Kit packing requires all four supported targets from one source commit. Partial payloads cannot be packed. The verifier checks addon and static-library architectures, artifact hashes, source hashes, versions, protocol and the `transferable-tx` and `producer-local-handles` capabilities before signing. Desktop runtime packaging retains only the selected target’s frame-forwarding prebuilds, along with the package license.
|
|
64
68
|
|
|
65
69
|
Run `pnpm test` in this directory after building. `DSH_FRAME_FORWARDING_PACKAGE_ROOT` selects an installed SDK payload for transport and lifecycle tests; diagnostics may be retained outside the package with `DSH_FRAME_FORWARDING_DIAGNOSTICS`. Fixture setup gives each complete compile/link group 120 seconds within a 180-second setup hook; protocol and runner deadlines are separate. Compiler receipts preserve the resolved executable, arguments, working directory, elapsed time, direct-child outcome and stdout/stderr. Compiler descendant exit is not observed. Parent fixtures prepare GPU inspectors and pass their paths only to owned runners, retaining the temporary files until those runners exit. The native CI lane runs C transport and Node producer integration tests serially before packing, including asynchronous shutdown and Worker termination. Performance and Electron shared-texture import require separate actual GPU validation; a successful native transport test alone does not establish those results.
|
|
66
70
|
|
|
@@ -80,4 +84,4 @@ The public Kit package exports the Node SDK, SDK metadata, verifier, browser and
|
|
|
80
84
|
|
|
81
85
|
The browser painters/display, Electron adapter probe and generic texture ownership tests originate from DeepSeek Harness commit `21261bee8b9a820c62c9e42cade3ff644b747a29`, under `packages/client/frame-forwarding` and `apps/desktop`. Their unit tests are maintained with these implementations; DSH retains application integration tests.
|
|
82
86
|
|
|
83
|
-
The MIT SDK originated in DeepSeek Harness commit `4438b67c13d529c9882d89893ed5cd610ace11cc`. Its WebGPU adapter retains the Office fixes from LibreOffice Kit commit `2ae2de8c7e88df00e74ee538ebd5662f47c7a1df`. The Node binding and standalone C SDK share the source tree used by the Kit engine build. Protocol version 1 is unchanged; the `capabilities` field of `sdk.json`, `receipt.json` and each prebuild manifest records `transferable-tx`, which
|
|
87
|
+
The MIT SDK originated in DeepSeek Harness commit `4438b67c13d529c9882d89893ed5cd610ace11cc`. Its WebGPU adapter retains the Office fixes from LibreOffice Kit commit `2ae2de8c7e88df00e74ee538ebd5662f47c7a1df`. The Node binding and standalone C SDK share the source tree used by the Kit engine build. Protocol version 1 is unchanged; the `capabilities` field of `sdk.json`, `receipt.json` and each prebuild manifest records `transferable-tx` and `producer-local-handles`, which distinguish current builds from earlier protocol 1 builds.
|
|
@@ -26,6 +26,8 @@ shared-texture 的 `framePolicy` 默认为 `ordered`,保留 Office 瓦片等
|
|
|
26
26
|
|
|
27
27
|
协议版本 1 的生产者与接收端在握手中声明可转交通道。接收端以 `transferable-tx-required` 拒绝未声明该能力的生产者,生产者拒绝 ready 中不含连接 ID 的接收端,因此按 PID 绑定生产者的旧构建无法与这些源码互通。其他协议版本的生产者以 `protocol-mismatch` 被拒绝,拒绝原因写明双方版本。
|
|
28
28
|
|
|
29
|
+
生产者还声明它指名的每个句柄都属于自己。在 Windows 上,帧携带的是生产者进程中的句柄值,接收端用生产者连接时打开的访问权限从该进程复制它;值若不对应仍在运行的生产者的任何句柄,连接即结束,且不触碰接收端的任何句柄;已退出的生产者带走了自己的句柄,其连接以丢失结束。接收端以 `producer-local-handles-required` 拒绝未作此声明的生产者,ready 回显接收端接受的声明,因此生产者拒绝会把其句柄值当作自身句柄读取的接收端。0.2.2 及更早的构建因此在两个方向上都无法与这些源码互通。为生产者加沙箱的接收端可以沿用该方案,因为只有接收端需要访问另一进程。
|
|
30
|
+
|
|
29
31
|
Windows CPU 中继按分配保留已导入纹理,供不同 staging 槽使用。仅在 NT 句柄指向同一对象且尺寸一致时复用;每帧复制前仍获取 key 0。分配退役时,先清除缓存导入再返还额度,未完成的复制仍持有其活动源纹理直至完成。不提供 `CompareObjectHandles` 的系统仍逐帧打开并验证纹理。
|
|
30
32
|
|
|
31
33
|
## Node/TypeScript 生产者
|
|
@@ -46,6 +48,8 @@ CPU 上传借用非共享的 Node Buffer,直到返回的 promise 完成。在
|
|
|
46
48
|
|
|
47
49
|
在 Windows 上,`dsh_frame_forwarding_connect_with_device` 接受应用的 `ID3D11Device`,并保留引用至关闭。传入空值或使用 `dsh_frame_forwarding_connect` 会创建默认设备。所有连接函数都接受通道的 TX 凭据。`dsh_frame_forwarding_connect_with_options` 还限制连接及握手时长(包括等待前一个生产者排空),并接受在连接线程执行的取消回调;通道忙时以 `channel-busy` 开头的文本失败。应用自行选择 GPU,DSH 选择传输方式。使用被接管设备的即时上下文时须与 SDK 写入串行执行。macOS 要求传入空设备。
|
|
48
50
|
|
|
51
|
+
`dsh_frame_forwarding_trim` 把所有空闲表面归还接收端的共享字节预算:可用表面、排队中的最新帧、已获批但尚未创建的分配以及尚在申请中的分配;已获取和已提交的表面保留。在视图停止显示帧时调用它,例如应用不可见视口之后,下一次获取会重新申请分配。在 Windows 上它会刷新生产者 D3D11 设备的立即上下文,因为 D3D11 只在下一次刷新时销毁已释放的纹理;请在使用该上下文的线程上调用它。Office 引擎在确认不可见视口后执行收缩。
|
|
52
|
+
|
|
49
53
|
首次获取表面时返回空值,等待接收端授予分配额度。轮询后在所属应用适合的时机重试,不得忙等。分配请求进入共享 FIFO 预算队列。额度同时覆盖闲置池和显示中的帧。其他获取空值表示额度不足;终止性分配错误由轮询返回 `kind = -1` 和说明文本。轮询返回负数时停止处理,并在关闭前保留诊断信息。消费者必须限制操作总时长,超时后断开连接。
|
|
50
54
|
|
|
51
55
|
纹理采用左上原点、sRGB、BGRA8 预乘像素。Windows 表面带有使用 key 0 的 keyed mutex。获取租约不加锁:SDK CPU 上传持有写锁;外部 GPU 写入方通过 `dsh_frame_forwarding_surface_keyed_mutex` 或导入 API 自行持锁。写入方将命令排队后释放 key 0,并在提交或归还前释放导入对象和视图。CPU 上传在返回前复制输入,不等待 GPU 完成;`dsh_frame_forwarding_write_bgra_with_timeout` 限制锁获取时间。`AcquireSync` 可能阻塞 CPU。macOS 写入方必须在提交或归还前完成 GPU 工作。复用表面需要重新获取租约,Windows 上还必须取得写锁。GPU 访问释放失败时,应关闭连接,不得复用表面。
|
|
@@ -60,7 +64,7 @@ Windows Vulkan 和 D3D12 消费者在表面获取期间,通过 `dsh_frame_forw
|
|
|
60
64
|
|
|
61
65
|
## 构建与验证
|
|
62
66
|
|
|
63
|
-
在目标平台运行 `node scripts/build.mjs`,并提供完整且匹配的 Node 头文件。SDK 版本读取公开 Kit 包元数据。需要时显式设置 `DSH_NODE_INCLUDE`;Windows 还需要开发者工具链环境和 `DSH_NODE_LIB`。构建产出预编译 Node-API 插件、静态 SDK 及 SHA-256 回执。正常安装不调用编译器。公开 Kit 打包必须包含同一源码提交的四个平台,不能打包局部产物。校验同时检查插件和静态库架构、二进制和源码哈希、版本、协议及 `transferable-tx` 能力。Desktop 运行时仅保留目标平台插件和必要元数据、许可证。
|
|
67
|
+
在目标平台运行 `node scripts/build.mjs`,并提供完整且匹配的 Node 头文件。SDK 版本读取公开 Kit 包元数据。需要时显式设置 `DSH_NODE_INCLUDE`;Windows 还需要开发者工具链环境和 `DSH_NODE_LIB`。构建产出预编译 Node-API 插件、静态 SDK 及 SHA-256 回执。正常安装不调用编译器。公开 Kit 打包必须包含同一源码提交的四个平台,不能打包局部产物。校验同时检查插件和静态库架构、二进制和源码哈希、版本、协议及 `transferable-tx` 与 `producer-local-handles` 能力。Desktop 运行时仅保留目标平台插件和必要元数据、许可证。
|
|
64
68
|
|
|
65
69
|
构建后在本目录运行 `pnpm test`。测试沿用串行范围,覆盖 C 传输、Node 生产者、异步关闭及 Worker 终止。`DSH_FRAME_FORWARDING_PACKAGE_ROOT` 可选择已安装 SDK,`DSH_FRAME_FORWARDING_DIAGNOSTICS` 可将失败诊断保留到包外目录。性能及 Electron 共享纹理导入仍需实际 GPU 验证。
|
|
66
70
|
|
|
@@ -80,4 +84,4 @@ Windows Vulkan 和 D3D12 消费者在表面获取期间,通过 `dsh_frame_forw
|
|
|
80
84
|
|
|
81
85
|
浏览器绘制器、display、Electron 适配器探测及通用纹理所有权测试源自 DeepSeek Harness 提交 `21261bee8b9a820c62c9e42cade3ff644b747a29` 的 `packages/client/frame-forwarding` 与 `apps/desktop`。单元测试随实现维护;DSH 保留产品集成测试。
|
|
82
86
|
|
|
83
|
-
MIT SDK 来自 DeepSeek Harness 提交 `4438b67c13d529c9882d89893ed5cd610ace11cc`,WebGPU 适配器保留 LibreOffice Kit 提交 `2ae2de8c7e88df00e74ee538ebd5662f47c7a1df` 的 Office 修复。Node 绑定、独立 C SDK 与 Kit 引擎使用同一源码目录。协议版本 1 保持不变;`sdk.json`、`receipt.json` 与各预构建清单的 `capabilities` 字段记录 `transferable-tx`,用以区分当前构建与早期协议 1 构建。
|
|
87
|
+
MIT SDK 来自 DeepSeek Harness 提交 `4438b67c13d529c9882d89893ed5cd610ace11cc`,WebGPU 适配器保留 LibreOffice Kit 提交 `2ae2de8c7e88df00e74ee538ebd5662f47c7a1df` 的 Office 修复。Node 绑定、独立 C SDK 与 Kit 引擎使用同一源码目录。协议版本 1 保持不变;`sdk.json`、`receipt.json` 与各预构建清单的 `capabilities` 字段记录 `transferable-tx` 与 `producer-local-handles`,用以区分当前构建与早期协议 1 构建。
|
|
@@ -24,7 +24,8 @@ typedef struct dsh_frame_forwarding_event { int kind; char text[DSH_FRAME_FORWAR
|
|
|
24
24
|
* starts. The channel serves one connection at a time. While another producer is connected, connect fails with an
|
|
25
25
|
* error starting "channel-busy". After that producer disconnects, the first authenticated successor waits until the
|
|
26
26
|
* receiver has released every frame and resource of the previous connection; further candidates fail as busy.
|
|
27
|
-
* Without options the wait is unbounded. Receivers that predate transferable credentials
|
|
27
|
+
* Without options the wait is unbounded. Receivers that predate transferable credentials, or that do not acknowledge
|
|
28
|
+
* that a producer names only handles of its own process, are refused.
|
|
28
29
|
*/
|
|
29
30
|
dsh_frame_forwarding_client* dsh_frame_forwarding_connect(const char* tx, char* error, size_t error_size);
|
|
30
31
|
/** Connect using the application's ID3D11Device on Windows; NULL selects the default
|
|
@@ -101,6 +102,14 @@ int dsh_frame_forwarding_submit(dsh_frame_forwarding_client* client, dsh_frame_f
|
|
|
101
102
|
* Return 0 on failure; a valid acquisition stays with the caller for retry or discard.
|
|
102
103
|
*/
|
|
103
104
|
int dsh_frame_forwarding_submit_latest(dsh_frame_forwarding_client* client, dsh_frame_forwarding_surface* surface, uint64_t frame_id, const char* metadata_json);
|
|
105
|
+
/** Return every idle surface to the receiver's byte budget: available surfaces, the queued submit_latest frame,
|
|
106
|
+
* granted allocations not yet created, and pending allocation requests. Acquired and submitted surfaces stay. A later
|
|
107
|
+
* acquire requests allocations again. Call it when the view stops displaying frames, for example after applying an
|
|
108
|
+
* invisible viewport. On Windows it flushes the D3D11 immediate context of the producer's device so the released
|
|
109
|
+
* textures are destroyed; call it on the thread that uses that context. Return 1 when every deallocation was sent; 0
|
|
110
|
+
* for a closed client, and then poll reports the error.
|
|
111
|
+
*/
|
|
112
|
+
int dsh_frame_forwarding_trim(dsh_frame_forwarding_client* client);
|
|
104
113
|
/** Return an acquired, unsubmitted surface under the same GPU ownership rules as
|
|
105
114
|
* submit. If releasing GPU access failed, terminate the connection instead of
|
|
106
115
|
* discarding. The next writer must acquire key 0 even after a discard.
|
|
@@ -24,7 +24,7 @@ export type FrameForwardingEvent =
|
|
|
24
24
|
/** GPU completion is unknown, so the connection keeps its resources and budget and its drain waits. */
|
|
25
25
|
| { type: 'drain-blocked'; connectionId: FrameForwardingConnectionId; text: string }
|
|
26
26
|
/**
|
|
27
|
-
* A candidate was refused: channel-busy, transferable-tx-required, invalid-credential, channel-closed, protocol-mismatch
|
|
27
|
+
* A candidate was refused: channel-busy, transferable-tx-required, producer-local-handles-required, invalid-credential, channel-closed, protocol-mismatch
|
|
28
28
|
* naming both protocol versions, or a setup failure.
|
|
29
29
|
*/
|
|
30
30
|
| { type: 'rejected'; text: string }
|
|
Binary file
|
|
Binary file
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sources": {
|
|
3
|
-
"include/dsh_frame_forwarding.h": "
|
|
3
|
+
"include/dsh_frame_forwarding.h": "20990b72d6da7494b5abd44a0146767b85d9ba9d8d4ace7fe24e6bbf944a06b2",
|
|
4
4
|
"src/graphite-interop-internal.hxx": "012bba82e8e0e49f8ed9e62a357d61d5932d248582eafbcd914358d46711bfab",
|
|
5
5
|
"src/node-producer.cc": "69f4dd6499a7af1d0efce3aa78710e6b6d3564363db077d109eb09791cc565cb",
|
|
6
6
|
"src/producer-internal.h": "7ebe4756fa7d693567be6fbff3b25e6c29a3be474f0ac42fd51986ecdd14bc72",
|
|
7
|
-
"src/transport.h": "
|
|
8
|
-
"src/transport.cc": "
|
|
7
|
+
"src/transport.h": "4ca800c74069e11d3a58ef9261cc003af115ea7b6cfcfa2950473e82e0f79a1e",
|
|
8
|
+
"src/transport.cc": "6927d4f7424ae80b155fb5b83cf4455c17c132cf292437b6c3e8a6b3caceadcc",
|
|
9
9
|
"src/relay-transport.inc": "3e96b42414c3397ed59fc3323ee29de040f9889c0c474c277e02fd077a92c607",
|
|
10
|
-
"src/producer.cc": "
|
|
11
|
-
"src/receiver.cc": "
|
|
10
|
+
"src/producer.cc": "8e90a7d0ee173e2c62823d4962288581e34fb3567cf6e8942aa3fa9935dc0e21",
|
|
11
|
+
"src/receiver.cc": "96fbe8e9b1d8d173de5df5a9455b5a24128570de0213b5f6e0ad757d48d0342e",
|
|
12
12
|
"src/win-delay-load.cc": "7acf6bad7bdea695163cbf151286787eb0f9144bc53a7a137f3373888c54cb20",
|
|
13
13
|
"src/win-delay-load.LICENSE": "662a1b0115251cfb29c6aed0f221f8847bc49c6365d1c53a62c9f4bccc2489c3",
|
|
14
14
|
"src/graphite-interop.cc": "4f2de8e9ad4bd1aef9220c95d3660937980893f12af006116bed720e7dfaf013",
|
|
15
15
|
"CMakeLists.txt": "90e821d3718037a60d989b80bc156cb4cc267d66487139e81cf568cb8a54d344",
|
|
16
|
-
"sdk.json": "
|
|
16
|
+
"sdk.json": "b9131060566f8d61b9148ef41d9ea68c8573477f0471d7579ff06520124cec14",
|
|
17
17
|
"scripts/build.mjs": "0824c5975106ce2101026d3c7f451643fe28e358b8bff644739fe7614e82c6fa",
|
|
18
|
-
"scripts/metadata.mjs": "
|
|
18
|
+
"scripts/metadata.mjs": "a4848f50df31eb905dba1feb5d7df9fed60af4213c14f6ace7f40c5d066ab20c",
|
|
19
19
|
"scripts/source-identity.mjs": "e8360e59c4c83eeb4110d3a1c278d330f4a2d20b87edefb1f1e527dc17301602",
|
|
20
20
|
"scripts/build-webgpu.mjs": "919d40e78b7f5d3e2a7de6d5d2e46ca4a26bcce18f98abc1220c59f8cb79ebdd",
|
|
21
21
|
"webgpu-dependencies.json": "99fd5b4763f3621ffe72290ca5ddaa9c26f8d2404b54c9158f20f6fd29a403c2"
|
|
22
22
|
},
|
|
23
|
-
"sourceCommit": "
|
|
23
|
+
"sourceCommit": "5fef7979af12af8b95ade5360e41afb4c6256049",
|
|
24
24
|
"sourceDirty": false,
|
|
25
|
-
"version": "0.2.
|
|
25
|
+
"version": "0.2.3-rc.3",
|
|
26
26
|
"protocolVersion": 1,
|
|
27
27
|
"capabilities": [
|
|
28
|
-
"transferable-tx"
|
|
28
|
+
"transferable-tx",
|
|
29
|
+
"producer-local-handles"
|
|
29
30
|
],
|
|
30
31
|
"platform": "darwin-arm64",
|
|
31
32
|
"files": {
|
|
32
|
-
"frame-forwarding.node": "
|
|
33
|
-
"libdsh_frame_forwarding_sdk.a": "
|
|
33
|
+
"frame-forwarding.node": "4682ac70dc8c02e17e659a1cd28e4dda7db44b7ff6a939bf46f5436e4fb91a5b",
|
|
34
|
+
"libdsh_frame_forwarding_sdk.a": "648f776b02da2207b142f0f5284954387f260f55fd819398c750df037e171dff"
|
|
34
35
|
}
|
|
35
36
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sources": {
|
|
3
|
-
"include/dsh_frame_forwarding.h": "
|
|
3
|
+
"include/dsh_frame_forwarding.h": "20990b72d6da7494b5abd44a0146767b85d9ba9d8d4ace7fe24e6bbf944a06b2",
|
|
4
4
|
"src/graphite-interop-internal.hxx": "012bba82e8e0e49f8ed9e62a357d61d5932d248582eafbcd914358d46711bfab",
|
|
5
5
|
"src/node-producer.cc": "69f4dd6499a7af1d0efce3aa78710e6b6d3564363db077d109eb09791cc565cb",
|
|
6
6
|
"src/producer-internal.h": "7ebe4756fa7d693567be6fbff3b25e6c29a3be474f0ac42fd51986ecdd14bc72",
|
|
7
|
-
"src/transport.h": "
|
|
8
|
-
"src/transport.cc": "
|
|
7
|
+
"src/transport.h": "4ca800c74069e11d3a58ef9261cc003af115ea7b6cfcfa2950473e82e0f79a1e",
|
|
8
|
+
"src/transport.cc": "6927d4f7424ae80b155fb5b83cf4455c17c132cf292437b6c3e8a6b3caceadcc",
|
|
9
9
|
"src/relay-transport.inc": "3e96b42414c3397ed59fc3323ee29de040f9889c0c474c277e02fd077a92c607",
|
|
10
|
-
"src/producer.cc": "
|
|
11
|
-
"src/receiver.cc": "
|
|
10
|
+
"src/producer.cc": "8e90a7d0ee173e2c62823d4962288581e34fb3567cf6e8942aa3fa9935dc0e21",
|
|
11
|
+
"src/receiver.cc": "96fbe8e9b1d8d173de5df5a9455b5a24128570de0213b5f6e0ad757d48d0342e",
|
|
12
12
|
"src/win-delay-load.cc": "7acf6bad7bdea695163cbf151286787eb0f9144bc53a7a137f3373888c54cb20",
|
|
13
13
|
"src/win-delay-load.LICENSE": "662a1b0115251cfb29c6aed0f221f8847bc49c6365d1c53a62c9f4bccc2489c3",
|
|
14
14
|
"src/graphite-interop.cc": "4f2de8e9ad4bd1aef9220c95d3660937980893f12af006116bed720e7dfaf013",
|
|
15
15
|
"CMakeLists.txt": "90e821d3718037a60d989b80bc156cb4cc267d66487139e81cf568cb8a54d344",
|
|
16
|
-
"sdk.json": "
|
|
16
|
+
"sdk.json": "b9131060566f8d61b9148ef41d9ea68c8573477f0471d7579ff06520124cec14",
|
|
17
17
|
"scripts/build.mjs": "0824c5975106ce2101026d3c7f451643fe28e358b8bff644739fe7614e82c6fa",
|
|
18
|
-
"scripts/metadata.mjs": "
|
|
18
|
+
"scripts/metadata.mjs": "a4848f50df31eb905dba1feb5d7df9fed60af4213c14f6ace7f40c5d066ab20c",
|
|
19
19
|
"scripts/source-identity.mjs": "e8360e59c4c83eeb4110d3a1c278d330f4a2d20b87edefb1f1e527dc17301602",
|
|
20
20
|
"scripts/build-webgpu.mjs": "919d40e78b7f5d3e2a7de6d5d2e46ca4a26bcce18f98abc1220c59f8cb79ebdd",
|
|
21
21
|
"webgpu-dependencies.json": "99fd5b4763f3621ffe72290ca5ddaa9c26f8d2404b54c9158f20f6fd29a403c2"
|
|
22
22
|
},
|
|
23
|
-
"sourceCommit": "
|
|
23
|
+
"sourceCommit": "5fef7979af12af8b95ade5360e41afb4c6256049",
|
|
24
24
|
"sourceDirty": false,
|
|
25
|
-
"version": "0.2.
|
|
25
|
+
"version": "0.2.3-rc.3",
|
|
26
26
|
"protocolVersion": 1,
|
|
27
27
|
"capabilities": [
|
|
28
|
-
"transferable-tx"
|
|
28
|
+
"transferable-tx",
|
|
29
|
+
"producer-local-handles"
|
|
29
30
|
],
|
|
30
31
|
"platform": "darwin-x64",
|
|
31
32
|
"files": {
|
|
32
|
-
"frame-forwarding.node": "
|
|
33
|
-
"libdsh_frame_forwarding_sdk.a": "
|
|
33
|
+
"frame-forwarding.node": "ca36836fabbf9217102eab0226e3590984f34491b044a7ef7587e06cca877ed4",
|
|
34
|
+
"libdsh_frame_forwarding_sdk.a": "6960028758e3ff792159d2ee29154fac636e714ae4ee601bc43e4cdef3bab305"
|
|
34
35
|
}
|
|
35
36
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sources": {
|
|
3
|
-
"include/dsh_frame_forwarding.h": "
|
|
3
|
+
"include/dsh_frame_forwarding.h": "20990b72d6da7494b5abd44a0146767b85d9ba9d8d4ace7fe24e6bbf944a06b2",
|
|
4
4
|
"src/graphite-interop-internal.hxx": "012bba82e8e0e49f8ed9e62a357d61d5932d248582eafbcd914358d46711bfab",
|
|
5
5
|
"src/node-producer.cc": "69f4dd6499a7af1d0efce3aa78710e6b6d3564363db077d109eb09791cc565cb",
|
|
6
6
|
"src/producer-internal.h": "7ebe4756fa7d693567be6fbff3b25e6c29a3be474f0ac42fd51986ecdd14bc72",
|
|
7
|
-
"src/transport.h": "
|
|
8
|
-
"src/transport.cc": "
|
|
7
|
+
"src/transport.h": "4ca800c74069e11d3a58ef9261cc003af115ea7b6cfcfa2950473e82e0f79a1e",
|
|
8
|
+
"src/transport.cc": "6927d4f7424ae80b155fb5b83cf4455c17c132cf292437b6c3e8a6b3caceadcc",
|
|
9
9
|
"src/relay-transport.inc": "3e96b42414c3397ed59fc3323ee29de040f9889c0c474c277e02fd077a92c607",
|
|
10
|
-
"src/producer.cc": "
|
|
11
|
-
"src/receiver.cc": "
|
|
10
|
+
"src/producer.cc": "8e90a7d0ee173e2c62823d4962288581e34fb3567cf6e8942aa3fa9935dc0e21",
|
|
11
|
+
"src/receiver.cc": "96fbe8e9b1d8d173de5df5a9455b5a24128570de0213b5f6e0ad757d48d0342e",
|
|
12
12
|
"src/win-delay-load.cc": "7acf6bad7bdea695163cbf151286787eb0f9144bc53a7a137f3373888c54cb20",
|
|
13
13
|
"src/win-delay-load.LICENSE": "662a1b0115251cfb29c6aed0f221f8847bc49c6365d1c53a62c9f4bccc2489c3",
|
|
14
14
|
"src/graphite-interop.cc": "4f2de8e9ad4bd1aef9220c95d3660937980893f12af006116bed720e7dfaf013",
|
|
15
15
|
"CMakeLists.txt": "90e821d3718037a60d989b80bc156cb4cc267d66487139e81cf568cb8a54d344",
|
|
16
|
-
"sdk.json": "
|
|
16
|
+
"sdk.json": "b9131060566f8d61b9148ef41d9ea68c8573477f0471d7579ff06520124cec14",
|
|
17
17
|
"scripts/build.mjs": "0824c5975106ce2101026d3c7f451643fe28e358b8bff644739fe7614e82c6fa",
|
|
18
|
-
"scripts/metadata.mjs": "
|
|
18
|
+
"scripts/metadata.mjs": "a4848f50df31eb905dba1feb5d7df9fed60af4213c14f6ace7f40c5d066ab20c",
|
|
19
19
|
"scripts/source-identity.mjs": "e8360e59c4c83eeb4110d3a1c278d330f4a2d20b87edefb1f1e527dc17301602",
|
|
20
20
|
"scripts/build-webgpu.mjs": "919d40e78b7f5d3e2a7de6d5d2e46ca4a26bcce18f98abc1220c59f8cb79ebdd",
|
|
21
21
|
"webgpu-dependencies.json": "99fd5b4763f3621ffe72290ca5ddaa9c26f8d2404b54c9158f20f6fd29a403c2"
|
|
22
22
|
},
|
|
23
|
-
"sourceCommit": "
|
|
23
|
+
"sourceCommit": "5fef7979af12af8b95ade5360e41afb4c6256049",
|
|
24
24
|
"sourceDirty": false,
|
|
25
|
-
"version": "0.2.
|
|
25
|
+
"version": "0.2.3-rc.3",
|
|
26
26
|
"protocolVersion": 1,
|
|
27
27
|
"capabilities": [
|
|
28
|
-
"transferable-tx"
|
|
28
|
+
"transferable-tx",
|
|
29
|
+
"producer-local-handles"
|
|
29
30
|
],
|
|
30
31
|
"platform": "win32-arm64",
|
|
31
32
|
"files": {
|
|
32
|
-
"frame-forwarding.node": "
|
|
33
|
-
"dsh_frame_forwarding_sdk.lib": "
|
|
33
|
+
"frame-forwarding.node": "d5e3ea5e08a85559b10bd67c54633e3dad9e2fe2212a405c8e06a7469f122478",
|
|
34
|
+
"dsh_frame_forwarding_sdk.lib": "3fde9f1fcec256e96ffaeac64b0e6894f9cbaea9835824a5023ca8566fa424f1"
|
|
34
35
|
}
|
|
35
36
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sources": {
|
|
3
|
-
"include/dsh_frame_forwarding.h": "
|
|
3
|
+
"include/dsh_frame_forwarding.h": "20990b72d6da7494b5abd44a0146767b85d9ba9d8d4ace7fe24e6bbf944a06b2",
|
|
4
4
|
"src/graphite-interop-internal.hxx": "012bba82e8e0e49f8ed9e62a357d61d5932d248582eafbcd914358d46711bfab",
|
|
5
5
|
"src/node-producer.cc": "69f4dd6499a7af1d0efce3aa78710e6b6d3564363db077d109eb09791cc565cb",
|
|
6
6
|
"src/producer-internal.h": "7ebe4756fa7d693567be6fbff3b25e6c29a3be474f0ac42fd51986ecdd14bc72",
|
|
7
|
-
"src/transport.h": "
|
|
8
|
-
"src/transport.cc": "
|
|
7
|
+
"src/transport.h": "4ca800c74069e11d3a58ef9261cc003af115ea7b6cfcfa2950473e82e0f79a1e",
|
|
8
|
+
"src/transport.cc": "6927d4f7424ae80b155fb5b83cf4455c17c132cf292437b6c3e8a6b3caceadcc",
|
|
9
9
|
"src/relay-transport.inc": "3e96b42414c3397ed59fc3323ee29de040f9889c0c474c277e02fd077a92c607",
|
|
10
|
-
"src/producer.cc": "
|
|
11
|
-
"src/receiver.cc": "
|
|
10
|
+
"src/producer.cc": "8e90a7d0ee173e2c62823d4962288581e34fb3567cf6e8942aa3fa9935dc0e21",
|
|
11
|
+
"src/receiver.cc": "96fbe8e9b1d8d173de5df5a9455b5a24128570de0213b5f6e0ad757d48d0342e",
|
|
12
12
|
"src/win-delay-load.cc": "7acf6bad7bdea695163cbf151286787eb0f9144bc53a7a137f3373888c54cb20",
|
|
13
13
|
"src/win-delay-load.LICENSE": "662a1b0115251cfb29c6aed0f221f8847bc49c6365d1c53a62c9f4bccc2489c3",
|
|
14
14
|
"src/graphite-interop.cc": "4f2de8e9ad4bd1aef9220c95d3660937980893f12af006116bed720e7dfaf013",
|
|
15
15
|
"CMakeLists.txt": "90e821d3718037a60d989b80bc156cb4cc267d66487139e81cf568cb8a54d344",
|
|
16
|
-
"sdk.json": "
|
|
16
|
+
"sdk.json": "b9131060566f8d61b9148ef41d9ea68c8573477f0471d7579ff06520124cec14",
|
|
17
17
|
"scripts/build.mjs": "0824c5975106ce2101026d3c7f451643fe28e358b8bff644739fe7614e82c6fa",
|
|
18
|
-
"scripts/metadata.mjs": "
|
|
18
|
+
"scripts/metadata.mjs": "a4848f50df31eb905dba1feb5d7df9fed60af4213c14f6ace7f40c5d066ab20c",
|
|
19
19
|
"scripts/source-identity.mjs": "e8360e59c4c83eeb4110d3a1c278d330f4a2d20b87edefb1f1e527dc17301602",
|
|
20
20
|
"scripts/build-webgpu.mjs": "919d40e78b7f5d3e2a7de6d5d2e46ca4a26bcce18f98abc1220c59f8cb79ebdd",
|
|
21
21
|
"webgpu-dependencies.json": "99fd5b4763f3621ffe72290ca5ddaa9c26f8d2404b54c9158f20f6fd29a403c2"
|
|
22
22
|
},
|
|
23
|
-
"sourceCommit": "
|
|
23
|
+
"sourceCommit": "5fef7979af12af8b95ade5360e41afb4c6256049",
|
|
24
24
|
"sourceDirty": false,
|
|
25
|
-
"version": "0.2.
|
|
25
|
+
"version": "0.2.3-rc.3",
|
|
26
26
|
"protocolVersion": 1,
|
|
27
27
|
"capabilities": [
|
|
28
|
-
"transferable-tx"
|
|
28
|
+
"transferable-tx",
|
|
29
|
+
"producer-local-handles"
|
|
29
30
|
],
|
|
30
31
|
"platform": "win32-x64",
|
|
31
32
|
"files": {
|
|
32
|
-
"frame-forwarding.node": "
|
|
33
|
-
"dsh_frame_forwarding_sdk.lib": "
|
|
33
|
+
"frame-forwarding.node": "d9a232670e54f678220caf855f0ddc339d1c6b9aede2d3042270b7581992c0be",
|
|
34
|
+
"dsh_frame_forwarding_sdk.lib": "af9f399f856f208364bc2b3cf6ef3935168b62662d6030dbc3ab41daee66f271"
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@deepseek-ai/libreoffice-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3-rc.3",
|
|
4
4
|
"protocolVersion": 1,
|
|
5
5
|
"capabilities": [
|
|
6
|
-
"transferable-tx"
|
|
6
|
+
"transferable-tx",
|
|
7
|
+
"producer-local-handles"
|
|
7
8
|
],
|
|
8
9
|
"files": {
|
|
9
10
|
"LICENSE": "ebb4f09972aee8608be255debaf78451a68e95c290f55c240dec2ecfa16ea6be",
|
|
10
11
|
"CMakeLists.txt": "90e821d3718037a60d989b80bc156cb4cc267d66487139e81cf568cb8a54d344",
|
|
11
|
-
"sdk.json": "
|
|
12
|
-
"scripts/metadata.mjs": "
|
|
12
|
+
"sdk.json": "b9131060566f8d61b9148ef41d9ea68c8573477f0471d7579ff06520124cec14",
|
|
13
|
+
"scripts/metadata.mjs": "a4848f50df31eb905dba1feb5d7df9fed60af4213c14f6ace7f40c5d066ab20c",
|
|
13
14
|
"webgpu-dependencies.json": "99fd5b4763f3621ffe72290ca5ddaa9c26f8d2404b54c9158f20f6fd29a403c2",
|
|
14
15
|
"scripts/build-webgpu.mjs": "919d40e78b7f5d3e2a7de6d5d2e46ca4a26bcce18f98abc1220c59f8cb79ebdd",
|
|
15
|
-
"include/dsh_frame_forwarding.h": "
|
|
16
|
+
"include/dsh_frame_forwarding.h": "20990b72d6da7494b5abd44a0146767b85d9ba9d8d4ace7fe24e6bbf944a06b2",
|
|
16
17
|
"src/graphite-interop-internal.hxx": "012bba82e8e0e49f8ed9e62a357d61d5932d248582eafbcd914358d46711bfab",
|
|
17
|
-
"src/producer.cc": "
|
|
18
|
+
"src/producer.cc": "8e90a7d0ee173e2c62823d4962288581e34fb3567cf6e8942aa3fa9935dc0e21",
|
|
18
19
|
"src/producer-internal.h": "7ebe4756fa7d693567be6fbff3b25e6c29a3be474f0ac42fd51986ecdd14bc72",
|
|
19
|
-
"src/transport.cc": "
|
|
20
|
-
"src/transport.h": "
|
|
20
|
+
"src/transport.cc": "6927d4f7424ae80b155fb5b83cf4455c17c132cf292437b6c3e8a6b3caceadcc",
|
|
21
|
+
"src/transport.h": "4ca800c74069e11d3a58ef9261cc003af115ea7b6cfcfa2950473e82e0f79a1e",
|
|
21
22
|
"src/relay-transport.inc": "3e96b42414c3397ed59fc3323ee29de040f9889c0c474c277e02fd077a92c607",
|
|
22
23
|
"src/graphite-interop.cc": "4f2de8e9ad4bd1aef9220c95d3660937980893f12af006116bed720e7dfaf013"
|
|
23
24
|
}
|
|
@@ -7,10 +7,11 @@ import { fileURLToPath } from 'node:url';
|
|
|
7
7
|
export const sdkRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
|
8
8
|
export const targets = ['darwin-arm64', 'darwin-x64', 'win32-x64', 'win32-arm64'];
|
|
9
9
|
/**
|
|
10
|
-
* Wire capabilities beyond protocol version 1 that every build of these sources implements
|
|
11
|
-
* `transferable-tx` bind producers by PID and
|
|
10
|
+
* Wire capabilities beyond protocol version 1 that every build of these sources implements and requires of its peer.
|
|
11
|
+
* Version 1 builds without `transferable-tx` bind producers by PID, and builds without `producer-local-handles` send
|
|
12
|
+
* Windows handles duplicated into the receiver; neither interoperates with these sources.
|
|
12
13
|
*/
|
|
13
|
-
export const capabilities = ['transferable-tx'];
|
|
14
|
+
export const capabilities = ['transferable-tx', 'producer-local-handles'];
|
|
14
15
|
export const buildSources = [
|
|
15
16
|
'include/dsh_frame_forwarding.h', 'src/graphite-interop-internal.hxx', 'src/node-producer.cc', 'src/producer-internal.h', 'src/transport.h', 'src/transport.cc', 'src/relay-transport.inc',
|
|
16
17
|
'src/producer.cc', 'src/receiver.cc', 'src/win-delay-load.cc', 'src/win-delay-load.LICENSE', 'src/graphite-interop.cc',
|
|
@@ -83,6 +83,19 @@ void send_queued(dsh_frame_forwarding_client* client) {
|
|
|
83
83
|
void copy_error(char* output, size_t size, const char* message) {
|
|
84
84
|
if (output && size) { std::strncpy(output, message, size - 1); output[size - 1] = 0; }
|
|
85
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Return every surface that is neither acquired nor submitted to the receiver; the caller holds pool_mutex.
|
|
88
|
+
* @returns Whether every deallocation was sent.
|
|
89
|
+
*/
|
|
90
|
+
bool release_idle(dsh_frame_forwarding_client* client) {
|
|
91
|
+
bool sent = true;
|
|
92
|
+
client->surfaces.erase(std::remove_if(client->surfaces.begin(), client->surfaces.end(), [&](auto& surface) {
|
|
93
|
+
if (surface->state == dsh_frame_forwarding_surface::acquired || surface->state == dsh_frame_forwarding_surface::submitted) return false;
|
|
94
|
+
Packet packet; packet.kind = deallocate; packet.allocation_id = surface->allocation_id;
|
|
95
|
+
sent = client->channel->send(packet) && sent; return true;
|
|
96
|
+
}), client->surfaces.end());
|
|
97
|
+
return sent;
|
|
98
|
+
}
|
|
86
99
|
bool set_text(Packet& packet, const char* text) {
|
|
87
100
|
if (!text || std::strlen(text) >= sizeof(packet.text)) return false;
|
|
88
101
|
std::strcpy(packet.text, text); return true;
|
|
@@ -92,6 +105,7 @@ std::string refusal(const Packet& packet) {
|
|
|
92
105
|
const std::string reason(packet.text, strnlen(packet.text, sizeof(packet.text)));
|
|
93
106
|
if (reason == reject_busy) return "channel-busy: the frame-forwarding channel already has a producer or a waiting successor";
|
|
94
107
|
if (reason == reject_capability) return "Frame-forwarding receiver requires a transferable TX producer";
|
|
108
|
+
if (reason == reject_local_handles) return "Frame-forwarding receiver requires a producer that names only its own handles";
|
|
95
109
|
if (reason == reject_credential) return "Frame-forwarding TX credential was rejected";
|
|
96
110
|
if (reason == reject_closed) return "Frame-forwarding channel is closed";
|
|
97
111
|
if (reason.rfind(reject_protocol, 0) == 0) return "Frame-forwarding " + reason;
|
|
@@ -129,10 +143,10 @@ static dsh_frame_forwarding_client* connect_impl(const char* endpoint_text, void
|
|
|
129
143
|
nullptr, 0, D3D11_SDK_VERSION, &client->device, nullptr, &client->context)))
|
|
130
144
|
throw std::runtime_error("D3D11 hardware device unavailable");
|
|
131
145
|
set_text(packet, device_adapter(client->device.Get()).c_str());
|
|
132
|
-
packet.max_frames = hello_keyed_mutex | hello_transferable;
|
|
146
|
+
packet.max_frames = hello_keyed_mutex | hello_transferable | hello_producer_local_handles;
|
|
133
147
|
#else
|
|
134
148
|
if (device) throw std::runtime_error("IOSurface producer does not accept a graphics device");
|
|
135
|
-
packet.max_frames = hello_transferable;
|
|
149
|
+
packet.max_frames = hello_transferable | hello_producer_local_handles;
|
|
136
150
|
#endif
|
|
137
151
|
if (!client->channel->send(packet)) throw std::runtime_error("Cannot send frame-forwarding handshake");
|
|
138
152
|
Received received;
|
|
@@ -149,6 +163,8 @@ static dsh_frame_forwarding_client* connect_impl(const char* endpoint_text, void
|
|
|
149
163
|
if (reply.kind != ready || !reply.max_frames || !reply.max_bytes) throw std::runtime_error("Frame-forwarding receiver rejected handshake");
|
|
150
164
|
// A receiver that predates transferable channels answers without a connection identifier.
|
|
151
165
|
if (!connection) throw std::runtime_error("Frame-forwarding receiver does not support transferable TX credentials");
|
|
166
|
+
// A receiver that does not echo the capability would read this producer's handle values as handles of its own.
|
|
167
|
+
if (!(reply.stride & hello_producer_local_handles)) throw std::runtime_error("Frame-forwarding receiver does not accept producer-local handles");
|
|
152
168
|
client->channel->bind_connection(connection);
|
|
153
169
|
client->max_frames = reply.max_frames; client->max_bytes = reply.max_bytes;
|
|
154
170
|
return client.release();
|
|
@@ -183,11 +199,7 @@ dsh_frame_forwarding_surface* dsh_frame_forwarding_acquire(dsh_frame_forwarding_
|
|
|
183
199
|
}
|
|
184
200
|
if (!granted_surface && allocation_pending) return nullptr;
|
|
185
201
|
if (!granted_surface) {
|
|
186
|
-
|
|
187
|
-
if (surface->state == dsh_frame_forwarding_surface::acquired || surface->state == dsh_frame_forwarding_surface::submitted) return false;
|
|
188
|
-
Packet packet; packet.kind = deallocate; packet.allocation_id = surface->allocation_id;
|
|
189
|
-
client->channel->send(packet); return true;
|
|
190
|
-
}), client->surfaces.end());
|
|
202
|
+
release_idle(client);
|
|
191
203
|
uint64_t allocated_bytes = 0;
|
|
192
204
|
for (auto& surface : client->surfaces) allocated_bytes += surface->bytes;
|
|
193
205
|
#if defined(__APPLE__)
|
|
@@ -314,6 +326,17 @@ int dsh_frame_forwarding_submit_latest(dsh_frame_forwarding_client* client, dsh_
|
|
|
314
326
|
try { surface->metadata = metadata_json; } catch (const std::bad_alloc&) { return 0; }
|
|
315
327
|
surface->frame_id = frame_id; surface->state = dsh_frame_forwarding_surface::queued; return 1;
|
|
316
328
|
}
|
|
329
|
+
int dsh_frame_forwarding_trim(dsh_frame_forwarding_client* client) {
|
|
330
|
+
if (!client || client->stopped) return 0;
|
|
331
|
+
std::lock_guard<std::mutex> lock(client->pool_mutex);
|
|
332
|
+
const bool sent = release_idle(client);
|
|
333
|
+
#if defined(_WIN32)
|
|
334
|
+
// D3D11 destroys a released texture only when its context next flushes, which an idle producer would not do.
|
|
335
|
+
client->context->Flush();
|
|
336
|
+
#endif
|
|
337
|
+
if (sent) return 1;
|
|
338
|
+
client->error = "Frame-forwarding allocation channel closed"; return 0;
|
|
339
|
+
}
|
|
317
340
|
void dsh_frame_forwarding_discard(dsh_frame_forwarding_client* client, dsh_frame_forwarding_surface* surface) {
|
|
318
341
|
if (!client || !surface || surface->owner != client) return;
|
|
319
342
|
std::lock_guard<std::mutex> lock(client->pool_mutex);
|
|
@@ -663,6 +663,7 @@ struct Connection : std::enable_shared_from_this<Connection> {
|
|
|
663
663
|
if (result == 0) continue;
|
|
664
664
|
if (result < 0) {
|
|
665
665
|
if (channel->foreign_packet()) fail_connection("Frame-forwarding producer sent a packet for another connection");
|
|
666
|
+
else if (channel->invalid_resource()) fail_connection("Frame-forwarding producer sent a handle it does not own");
|
|
666
667
|
else if (!stopped) fail_connection("Frame-forwarding producer connection lost");
|
|
667
668
|
break;
|
|
668
669
|
}
|
|
@@ -847,7 +848,10 @@ struct Receiver {
|
|
|
847
848
|
candidate.channel.reset();
|
|
848
849
|
auto event = new Event; event->type = "rejected"; event->text = reason; emit(event);
|
|
849
850
|
}
|
|
850
|
-
/**
|
|
851
|
+
/**
|
|
852
|
+
* @returns The refusal reason, or empty for a producer holding the credential that supports transferable channels and
|
|
853
|
+
* names only handles of its own.
|
|
854
|
+
*/
|
|
851
855
|
std::string authenticate(const Candidate& candidate) const {
|
|
852
856
|
const auto& packet = candidate.hello.packet;
|
|
853
857
|
if (packet.marker != magic || packet.kind != hello || !std::memchr(packet.text, 0, sizeof(packet.text))) return reject_credential;
|
|
@@ -856,6 +860,7 @@ struct Receiver {
|
|
|
856
860
|
+ ", receiver version " + std::to_string(DSH_FRAME_FORWARDING_PROTOCOL_VERSION);
|
|
857
861
|
if (!same_secret(packet.token, endpoint.token)) return reject_credential;
|
|
858
862
|
if (!(packet.max_frames & hello_transferable)) return reject_capability;
|
|
863
|
+
if (!(packet.max_frames & hello_producer_local_handles)) return reject_local_handles;
|
|
859
864
|
return {};
|
|
860
865
|
}
|
|
861
866
|
/** Promote an authenticated candidate to the current connection; the caller holds state_mutex. */
|
|
@@ -873,6 +878,7 @@ struct Receiver {
|
|
|
873
878
|
connection->channel->bind_connection(connection->id);
|
|
874
879
|
Packet response; response.kind = ready; response.max_frames = max_frames;
|
|
875
880
|
response.max_bytes = source_byte_budget(connection->presentation_path, max_frames, max_bytes);
|
|
881
|
+
response.stride = hello_packet.max_frames & hello_capabilities;
|
|
876
882
|
// A candidate that vanished while waiting takes no connection.
|
|
877
883
|
if (!connection->channel->send(response)) return;
|
|
878
884
|
connection->ledger->connected = true;
|
|
@@ -336,9 +336,14 @@ int wait_pipe(HANDLE pipe, OVERLAPPED& operation, HANDLE stop, HANDLE deadline,
|
|
|
336
336
|
}
|
|
337
337
|
return GetOverlappedResult(pipe, &operation, &count, FALSE) ? 1 : -1;
|
|
338
338
|
}
|
|
339
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* One connected pipe instance: the producer's client handle, or one instance the listener accepted. A producer sends
|
|
341
|
+
* its own handle values, and the receiving instance duplicates each one from the producer's process.
|
|
342
|
+
*/
|
|
340
343
|
class PipeChannel final : public Channel {
|
|
341
344
|
HANDLE pipe_ = INVALID_HANDLE_VALUE, stop_ = nullptr, deadline_ = nullptr;
|
|
345
|
+
/** The producer process a receiving instance duplicates handles from; null on the producer side. */
|
|
346
|
+
HANDLE producer_ = nullptr;
|
|
342
347
|
std::atomic<uint32_t> peer_{0};
|
|
343
348
|
std::mutex writes_;
|
|
344
349
|
void open_events() {
|
|
@@ -350,7 +355,8 @@ class PipeChannel final : public Channel {
|
|
|
350
355
|
if (pipe_ != INVALID_HANDLE_VALUE) CloseHandle(pipe_);
|
|
351
356
|
if (stop_) CloseHandle(stop_);
|
|
352
357
|
if (deadline_) CloseHandle(deadline_);
|
|
353
|
-
|
|
358
|
+
if (producer_) CloseHandle(producer_);
|
|
359
|
+
pipe_ = INVALID_HANDLE_VALUE; stop_ = nullptr; deadline_ = nullptr; producer_ = nullptr;
|
|
354
360
|
}
|
|
355
361
|
public:
|
|
356
362
|
/** Producer side: connect to the receiver's pipe and check its process identity. */
|
|
@@ -371,8 +377,8 @@ class PipeChannel final : public Channel {
|
|
|
371
377
|
peer_ = pid;
|
|
372
378
|
} catch (...) { close_handles(); throw; }
|
|
373
379
|
}
|
|
374
|
-
/** Receiver side: adopt an instance whose client connected. */
|
|
375
|
-
PipeChannel(HANDLE pipe, uint32_t pid) : pipe_(pipe) {
|
|
380
|
+
/** Receiver side: adopt an instance whose client connected, with that client's process for handle duplication. */
|
|
381
|
+
PipeChannel(HANDLE pipe, uint32_t pid, HANDLE producer) : pipe_(pipe), producer_(producer) {
|
|
376
382
|
try { open_events(); } catch (...) { close_handles(); throw; }
|
|
377
383
|
peer_ = pid;
|
|
378
384
|
}
|
|
@@ -380,27 +386,15 @@ class PipeChannel final : public Channel {
|
|
|
380
386
|
uint32_t peer_pid() const override { return peer_; }
|
|
381
387
|
void interrupt() override { if (stop_) SetEvent(stop_); if (pipe_ != INVALID_HANDLE_VALUE) CancelIoEx(pipe_, nullptr); }
|
|
382
388
|
protected:
|
|
389
|
+
/** The sender keeps a sent handle open until the receiver releases its frame, so the receiver can duplicate it. */
|
|
383
390
|
bool send_packet(const Packet& source, uintptr_t resource) override {
|
|
384
391
|
std::lock_guard<std::mutex> lock(writes_);
|
|
385
392
|
if (WaitForSingleObject(stop_, 0) == WAIT_OBJECT_0) return false;
|
|
386
|
-
Packet packet = source;
|
|
387
|
-
HANDLE remote_handle = nullptr, target = nullptr;
|
|
388
|
-
if (resource) {
|
|
389
|
-
target = OpenProcess(PROCESS_DUP_HANDLE, FALSE, peer_);
|
|
390
|
-
if (!target || !DuplicateHandle(GetCurrentProcess(), reinterpret_cast<HANDLE>(resource), target, &remote_handle, 0, FALSE, DUPLICATE_SAME_ACCESS)) {
|
|
391
|
-
if (target) CloseHandle(target); return false;
|
|
392
|
-
}
|
|
393
|
-
packet.resource = reinterpret_cast<uintptr_t>(remote_handle);
|
|
394
|
-
}
|
|
393
|
+
Packet packet = source; packet.resource = static_cast<uint64_t>(resource);
|
|
395
394
|
OVERLAPPED operation{}; operation.hEvent = CreateEventW(nullptr, TRUE, FALSE, nullptr); DWORD count = 0;
|
|
396
395
|
bool ok = WriteFile(pipe_, &packet, sizeof(packet), &count, &operation) != FALSE;
|
|
397
396
|
if (!ok && GetLastError() == ERROR_IO_PENDING) ok = wait_pipe(pipe_, operation, stop_, deadline_, INFINITE, count) == 1;
|
|
398
397
|
CloseHandle(operation.hEvent);
|
|
399
|
-
if (!ok && remote_handle) {
|
|
400
|
-
HANDLE reclaimed = nullptr;
|
|
401
|
-
if (DuplicateHandle(target, remote_handle, GetCurrentProcess(), &reclaimed, 0, FALSE, DUPLICATE_CLOSE_SOURCE | DUPLICATE_SAME_ACCESS)) CloseHandle(reclaimed);
|
|
402
|
-
}
|
|
403
|
-
if (target) CloseHandle(target);
|
|
404
398
|
return ok && count == sizeof(packet);
|
|
405
399
|
}
|
|
406
400
|
int receive_packet(Received& out, uint32_t timeout) override {
|
|
@@ -411,7 +405,18 @@ class PipeChannel final : public Channel {
|
|
|
411
405
|
CloseHandle(operation.hEvent);
|
|
412
406
|
if (result == 0) return WaitForSingleObject(stop_, 0) == WAIT_OBJECT_0 ? -1 : 0;
|
|
413
407
|
if (result < 0 || count != sizeof(Packet)) return -1;
|
|
414
|
-
out.pid = peer_; out.resource =
|
|
408
|
+
out.pid = peer_; out.resource = 0;
|
|
409
|
+
// Only a receiving instance takes handles, and only from the producer's own handle table.
|
|
410
|
+
if (producer_ && out.packet.resource) {
|
|
411
|
+
HANDLE local = nullptr;
|
|
412
|
+
if (!DuplicateHandle(producer_, reinterpret_cast<HANDLE>(static_cast<uintptr_t>(out.packet.resource)), GetCurrentProcess(), &local, 0, FALSE,
|
|
413
|
+
DUPLICATE_SAME_ACCESS)) {
|
|
414
|
+
// An exited producer took its handles with it; a live one named a handle it does not own.
|
|
415
|
+
if (WaitForSingleObject(producer_, 0) != WAIT_OBJECT_0) invalid_resource_ = true;
|
|
416
|
+
interrupt(); return -1;
|
|
417
|
+
}
|
|
418
|
+
out.resource = reinterpret_cast<uintptr_t>(local);
|
|
419
|
+
}
|
|
415
420
|
return 1;
|
|
416
421
|
}
|
|
417
422
|
};
|
|
@@ -493,9 +498,11 @@ class PipeListener final : public Listener {
|
|
|
493
498
|
HANDLE pipe = instance_; instance_ = INVALID_HANDLE_VALUE;
|
|
494
499
|
ULONG pid = 0;
|
|
495
500
|
if (!GetNamedPipeClientProcessId(pipe, &pid)) { CloseHandle(pipe); return 0; }
|
|
496
|
-
|
|
501
|
+
HANDLE producer = OpenProcess(PROCESS_DUP_HANDLE | SYNCHRONIZE, FALSE, pid);
|
|
502
|
+
if (!producer) { CloseHandle(pipe); return 0; }
|
|
503
|
+
auto channel = std::make_unique<PipeChannel>(pipe, static_cast<uint32_t>(pid), producer);
|
|
497
504
|
Received hello;
|
|
498
|
-
if (channel->receive(hello, handshake_ms_) != 1) { release_resource(hello.resource); return 0; }
|
|
505
|
+
if (channel->receive(hello, handshake_ms_) != 1 || hello.resource) { release_resource(hello.resource); return 0; }
|
|
499
506
|
candidate.hello = hello; candidate.channel = std::move(channel);
|
|
500
507
|
return 1;
|
|
501
508
|
}
|
|
@@ -18,6 +18,15 @@ constexpr uint32_t hello_keyed_mutex = 1;
|
|
|
18
18
|
* refuse producers without it, so a producer that relied on PID binding never connects.
|
|
19
19
|
*/
|
|
20
20
|
constexpr uint32_t hello_transferable = 2;
|
|
21
|
+
/**
|
|
22
|
+
* Every handle a producer names belongs to the producer: on Windows frame.resource is a handle value in the producer's
|
|
23
|
+
* process, which the receiver duplicates from that process. Receivers refuse producers without it, and ready.stride
|
|
24
|
+
* echoes the hello capabilities the receiver accepted, so producers refuse receivers that would read the value as a
|
|
25
|
+
* handle of their own.
|
|
26
|
+
*/
|
|
27
|
+
constexpr uint32_t hello_producer_local_handles = 4;
|
|
28
|
+
/** The hello capabilities a receiver of these sources accepts and echoes in ready.stride. */
|
|
29
|
+
constexpr uint32_t hello_capabilities = hello_keyed_mutex | hello_transferable | hello_producer_local_handles;
|
|
21
30
|
/**
|
|
22
31
|
* frame.max_frames carries per-frame flags; zero is an ordered frame. A replaceable frame may be dropped before
|
|
23
32
|
* presentation once a newer replaceable frame of the same view is ready; receivers that ignore the flag present it.
|
|
@@ -26,6 +35,7 @@ constexpr uint32_t frame_replaceable = 1;
|
|
|
26
35
|
/** goodbye.text of a candidate the receiver refuses before it receives a connection identifier. */
|
|
27
36
|
constexpr const char* reject_busy = "channel-busy";
|
|
28
37
|
constexpr const char* reject_capability = "transferable-tx-required";
|
|
38
|
+
constexpr const char* reject_local_handles = "producer-local-handles-required";
|
|
29
39
|
constexpr const char* reject_credential = "invalid-credential";
|
|
30
40
|
constexpr const char* reject_closed = "channel-closed";
|
|
31
41
|
/** Prefix of a refusal that names the producer's and the receiver's protocol versions. */
|
|
@@ -52,11 +62,14 @@ class Channel {
|
|
|
52
62
|
uint64_t connection() const { return connection_; }
|
|
53
63
|
/** The last receive closed because a packet named another connection. */
|
|
54
64
|
bool foreign_packet() const { return foreign_; }
|
|
65
|
+
/** The last receive closed because a packet named a handle its live sender does not own. */
|
|
66
|
+
bool invalid_resource() const { return invalid_resource_; }
|
|
55
67
|
virtual void interrupt() = 0;
|
|
56
68
|
virtual uint32_t peer_pid() const = 0;
|
|
57
69
|
protected:
|
|
58
70
|
virtual int receive_packet(Received&, uint32_t timeout_ms) = 0;
|
|
59
71
|
virtual bool send_packet(const Packet&, uintptr_t resource) = 0;
|
|
72
|
+
bool invalid_resource_ = false;
|
|
60
73
|
private:
|
|
61
74
|
uint64_t connection_ = 0;
|
|
62
75
|
char connection_text_[65] = {};
|
package/lib/cli.js
CHANGED
|
@@ -1537,16 +1537,16 @@ function resolveOptions(input = {}) {
|
|
|
1537
1537
|
/** Resolve installed, version-matched engine packages without downloads or compilation. */
|
|
1538
1538
|
const require = createRequire(import.meta.url);
|
|
1539
1539
|
/** Node API release version returned by runtime discovery. */
|
|
1540
|
-
const ENGINE_VERSION = "0.2.
|
|
1540
|
+
const ENGINE_VERSION = "0.2.3-rc.3";
|
|
1541
1541
|
/** Exact compatible engine versions; unchanged platforms retain their published packages. */
|
|
1542
1542
|
const ENGINE_VERSIONS = Object.freeze({
|
|
1543
|
-
"darwin-arm64": "0.2.
|
|
1544
|
-
"darwin-x64": "0.2.
|
|
1543
|
+
"darwin-arm64": "0.2.3-rc.3",
|
|
1544
|
+
"darwin-x64": "0.2.3-rc.3",
|
|
1545
1545
|
"linux-arm64-glibc": "0.1.1",
|
|
1546
1546
|
"linux-x64-glibc": "0.1.1",
|
|
1547
|
-
"win32-arm64": "0.2.
|
|
1548
|
-
"win32-x64": "0.2.
|
|
1549
|
-
wasm: "0.2.
|
|
1547
|
+
"win32-arm64": "0.2.3-rc.3",
|
|
1548
|
+
"win32-x64": "0.2.3-rc.3",
|
|
1549
|
+
wasm: "0.2.3-rc.3"
|
|
1550
1550
|
});
|
|
1551
1551
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
1552
1552
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
package/lib/editor.js
CHANGED
|
@@ -475,13 +475,13 @@ function resolveOptions(input = {}) {
|
|
|
475
475
|
const require = createRequire(import.meta.url);
|
|
476
476
|
/** Exact compatible engine versions; unchanged platforms retain their published packages. */
|
|
477
477
|
const ENGINE_VERSIONS = Object.freeze({
|
|
478
|
-
"darwin-arm64": "0.2.
|
|
479
|
-
"darwin-x64": "0.2.
|
|
478
|
+
"darwin-arm64": "0.2.3-rc.3",
|
|
479
|
+
"darwin-x64": "0.2.3-rc.3",
|
|
480
480
|
"linux-arm64-glibc": "0.1.1",
|
|
481
481
|
"linux-x64-glibc": "0.1.1",
|
|
482
|
-
"win32-arm64": "0.2.
|
|
483
|
-
"win32-x64": "0.2.
|
|
484
|
-
wasm: "0.2.
|
|
482
|
+
"win32-arm64": "0.2.3-rc.3",
|
|
483
|
+
"win32-x64": "0.2.3-rc.3",
|
|
484
|
+
wasm: "0.2.3-rc.3"
|
|
485
485
|
});
|
|
486
486
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
487
487
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
package/lib/index.js
CHANGED
|
@@ -1535,16 +1535,16 @@ function resolveOptions(input = {}) {
|
|
|
1535
1535
|
/** Resolve installed, version-matched engine packages without downloads or compilation. */
|
|
1536
1536
|
const require = createRequire(import.meta.url);
|
|
1537
1537
|
/** Node API release version returned by runtime discovery. */
|
|
1538
|
-
const ENGINE_VERSION = "0.2.
|
|
1538
|
+
const ENGINE_VERSION = "0.2.3-rc.3";
|
|
1539
1539
|
/** Exact compatible engine versions; unchanged platforms retain their published packages. */
|
|
1540
1540
|
const ENGINE_VERSIONS = Object.freeze({
|
|
1541
|
-
"darwin-arm64": "0.2.
|
|
1542
|
-
"darwin-x64": "0.2.
|
|
1541
|
+
"darwin-arm64": "0.2.3-rc.3",
|
|
1542
|
+
"darwin-x64": "0.2.3-rc.3",
|
|
1543
1543
|
"linux-arm64-glibc": "0.1.1",
|
|
1544
1544
|
"linux-x64-glibc": "0.1.1",
|
|
1545
|
-
"win32-arm64": "0.2.
|
|
1546
|
-
"win32-x64": "0.2.
|
|
1547
|
-
wasm: "0.2.
|
|
1545
|
+
"win32-arm64": "0.2.3-rc.3",
|
|
1546
|
+
"win32-x64": "0.2.3-rc.3",
|
|
1547
|
+
wasm: "0.2.3-rc.3"
|
|
1548
1548
|
});
|
|
1549
1549
|
/** npm scope and name prefix shared by the engine packages this adapter installs. */
|
|
1550
1550
|
const ENGINE_PREFIX = "@deepseek-ai/libreoffice-kit";
|
package/lib/types/engine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Node API release version returned by runtime discovery. */
|
|
2
|
-
export declare const ENGINE_VERSION = "0.2.
|
|
2
|
+
export declare const ENGINE_VERSION = "0.2.3-rc.3";
|
|
3
3
|
/** Exact compatible engine versions; unchanged platforms retain their published packages. */
|
|
4
4
|
export declare const ENGINE_VERSIONS: Readonly<Record<string, string>>;
|
|
5
5
|
/** Host diagnostic fields used to identify the runtime glibc version. */
|
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.2.
|
|
4
|
+
"version": "0.2.3-rc.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -124,11 +124,11 @@
|
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
126
|
"koffi": "3.1.1",
|
|
127
|
-
"@deepseek-ai/libreoffice-kit-darwin-arm64": "0.2.
|
|
128
|
-
"@deepseek-ai/libreoffice-kit-darwin-x64": "0.2.
|
|
129
|
-
"@deepseek-ai/libreoffice-kit-
|
|
130
|
-
"@deepseek-ai/libreoffice-kit-
|
|
131
|
-
"@deepseek-ai/libreoffice-kit-win32-x64": "0.2.
|
|
127
|
+
"@deepseek-ai/libreoffice-kit-darwin-arm64": "0.2.3-rc.3",
|
|
128
|
+
"@deepseek-ai/libreoffice-kit-darwin-x64": "0.2.3-rc.3",
|
|
129
|
+
"@deepseek-ai/libreoffice-kit-wasm": "0.2.3-rc.3",
|
|
130
|
+
"@deepseek-ai/libreoffice-kit-win32-arm64": "0.2.3-rc.3",
|
|
131
|
+
"@deepseek-ai/libreoffice-kit-win32-x64": "0.2.3-rc.3"
|
|
132
132
|
},
|
|
133
133
|
"bin": {
|
|
134
134
|
"dsoffice": "./lib/cli.js"
|