feat(tui): Simplify clipboard handling (#9163)

Replace the external clipboard dependency with small macOS, Windows,
and X11 helpers and integrate them into coding-agent.

Run native clipboard operations on worker threads and make command
fallbacks asynchronous. Preserve incremental X11 transfers, legacy text
encodings, native image formats, and existing Wayland and platform tools.

Include native prebuilds with ARM64 page alignment, packaging updates,
and regression coverage.
This commit is contained in:
Armin Ronacher 2026-09-05 23:52:32 +02:00 • committed by GitHub
parent da840b6216
commit caf6dfe731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
54 changed files with 2294 additions and 1569 deletions

View file

@ -8,20 +8,27 @@
"clean": "shx rm -rf dist",
"build": "tsgo -p tsconfig.build.json",
"build:native:darwin": "native/darwin/build.sh",
"build:native:linux": "native/linux/build.sh",
"build:native:win32": "node native/win32/build.mjs",
"test": "node --test --test-reporter=dot --test-reporter-destination=stdout test/*.test.ts",
"prepublishOnly": "npm run clean && npm run build"
},
"files": [
"dist/**/*",
"native/napi.h",
"native/clipboard.h",
"native/win32/prebuilds/**/*.node",
"native/win32/src/**/*.c",
"native/win32/build.mjs",
"native/win32/README.md",
"native/darwin/prebuilds/**/*.node",
"native/darwin/src/**/*.c",
"native/darwin/src/**/*.m",
"native/darwin/build.sh",
"native/darwin/README.md",
"native/linux/prebuilds/**/*.node",
"native/linux/src/**/*.{c,h}",
"native/linux/build.sh",
"native/linux/README.md",
"README.md"
],
"keywords": [