Repository navigation
Commit 0a5124e
fix(server): standalone CLI builds again with Cursor usage (#71)
Upstream's Cursor usage reader (pingdotgg#10409) loads @napi-rs/keyring with a
dynamic import(). A Node single executable can only import built-ins, so
the release's build-exe check rejects the bundle. Load it through
createRequire like node-pty and fff-node.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 563c178 commit 0a5124e
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | | - | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
0 commit comments