Add Code OSS browser and native desktop compatibility - #76
wieslawsoltes wants to merge 4 commits into
Conversation
9d57164 to
1ede308
Compare
8955e9e to
41cf43c
Compare
cfccdbf to
61ea9d4
Compare
|
Full macOS arm64 Release distribution qualification at AppScene
The package is retained locally only. Both PRs remain draft, open, and unmerged; the parent integration branch remains unpushed. |
|
Release validation for current head
Keep this PR draft/open and unmerged while #86, #81, #56, and #83 remain on the consumer critical path. |
|
Paste compatibility update: commit 9b9a17d fixes the empty Code OSS paste path by exposing clipboard string representations through an iterable DataTransferItemList subset. The regression test consumes each item through asynchronous getAsString(), matching VS Code's toVSDataTransfer implementation. Local validation: WebScene.Architecture.Tests 26/26 passed. I will rebuild and manually validate the complete AppScene Code OSS release after all native runtime/package/consumer jobs pass. |
|
Qualification update for 9b9a17d:
Keep this PR draft, open, and unmerged while the other consumer gaps remain. |
|
Performance timeline update: 290b9b8 fixes #83 by supplying a stable numeric performance.timeOrigin and removing the temporary non-retaining mark/measure methods. The retained timeline is installed before later browser compatibility scripts in both main and iframe realms. The regression mirrors Code OSS's environment selection and immediate didStartWorkbench measure. Native tests additionally cover captured free-function calls, method/query identity, wall-clock alignment, and read-only origin after snapshot hydration. Local RuntimeCompatibility passes 25/25 with 50,000 marks in 43.75 ms; Architecture passes 26/26. Cross-platform package CI is running. |
|
Current integration head: 5baf7e5. This branch now includes merged main/PR #71 and keeps Code OSS in Full JavaScript mode. New work since 9b9a17d:
Local gates: RuntimeCompatibility 25/25; architecture 29/29; precompiled Python/CMake 17/17; parent packaging/SDK/smoke 46/46. The 50,000-mark gate completed in 32.12 ms under its 1.5 s budget. A clean Code OSS 1.137.0 production rebuild and Release package passed:
The preceding 59c3e09 CI/native-Linux/precompiled workflows and macOS package job passed. Its package run was cancelled after local integration exposed a 26.5 inherited deployment minimum. Exact-head 5baf7e5 precompiled checks pass; CI/package/native-Linux remain queued without job allocation because the required self-hosted Linux runner is unavailable. Keep this PR draft and unmerged. |
|
Implemented at The native paste path now requests all supported representations and exposes returned images as browser-shaped file items:
Local WebScene gates passed:
The production Code OSS 1.137.0 package built from this runtime also passed macOS computer use through the real unchanged workbench. NSPasteboard -> AppScene -> typed WebScene ABI -> {"status":"passed","kind":"file","type":"image/png","name":"clipboard.png","size":68,"byteLength":68,"first":137,"last":130,"fnv1a32":1588682394,"itemCount":1,"fileCount":1,"types":["Files"]}The same signed bundle passed editor render/edit/undo in 7.077 s, text keyboard/copy/paste in 11.308 s with 88/88 inputs accepted, image paste in 6.452 s, normal close, the 27-Mach-O dependency/signature audit, ZIP extraction verification, and DMG verification. Issue acceptance remains open until the new exact-head cross-platform CI matrix is green. |
|
Current consolidation head: This head retains the real Code OSS iframe Worker fix and adds:
The fully packaged Code OSS 1.137.0 development composite passed editor smoke, two-process IndexedDB persistence, original-browser visual parity, native keyboard/text clipboard, native PNG clipboard, and all 14 performance budgets. Key results: zero layout-geometry deltas; pixel MAE 0.004786; ready 3,227.787 ms; visible/hidden idle CPU mean 0.866%/0.105%; input p95 3.429 ms; CSS recascade p95 0.337 ms; 256-child panel attach/detach p95 8.637/0.824 ms. The parent integration contracts pass 43/43 Node and 67/67 Python. Exact-head |
Active implementation checkpoint — 20 September 2026
One-agent mode is active. Exact merged heads are WebScene
e9e53c4edbcbab8c4d81f0c85491aa519ce7f077, AppScene52c3f302e3eb7cf3863da6f4d6b5338e5fd76853, and unchanged Code OSS645f29cc3176500b4b5762ba887cf2a7f0ffdf2c. Local vscode-demo remains954b0743f62422c9c8ea937e867a19a7e2212ce2, clean, intentionally unpushed, with Actions disabled and the prior qualified package pins until the new Release is produced.Newly merged focused stack
8b8fd4a8) implements CSP SHA-256 admission for inline iframe scripts. The matching VS Code-shaped bootstrap passes; a mismatched hash still suppressesunsafe-inline; 20 iframe/Worker/MessagePort cycles return V8 heap to baseline.50152f53) restores the missing details-marker reftest reference. The current WebPlatformSubset runner builds and validates all 370 listed documents.e9e53c4e) bindsDocument.createRange()to the Document receiver. Cross-document rejection is atomic, and 10,000 same-Range reuse cycles complete in 2.282 ms without style/layout/scene work.52c3f302) repairs the Linux WebScene source-pair lock; its full Linux headless installed-SDK job passed.Open PRs and stack state
06b16df2; open draft consolidation updated to current WebScene main; do not merge.569111f; open draft consolidation updated to current AppScene main; do not merge.Current release evidence
The latest retained package is
dist/appscene-release-15e30de-5b97aac/Code OSS AppScene.app(about 732 MB). It reaches the native workbench, renders and edits a real editor, and completes an editor-worker request/reply. It predates this focused stack. Its local browser extension-host iframe is blocked by the now-fixed CSP hash gap, and Monaco reports the now-fixed Range ownership error.Remaining work in dependency order
Scope
Consolidated review surface for generic WebScene capabilities needed by unchanged Code OSS. Focused implementations land on WebScene main first. Keep this PR open and unmerged until final integration promotion.