Skip to content

Add Ada Studio Web with native Player tools and an A2UI agent workspace - #162

Merged
SpectralDragon merged 8 commits into
mainfrom
codex/studio-web-editor
Oct 18, 2026
Merged

SpectralDragon merged 8 commits into
mainfrom
codex/studio-web-editor

Conversation

@SpectralDragon

@SpectralDragon SpectralDragon commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Ada Studio opens as a React/DOM editor using the canonical Ada logo, while scene editing and Play run in one isolated AdaEngine/AdaPlayer instance. The shell is usable before WASM loads; authored cameras, materials, lighting and AdaScript behavior stay in the real engine.

The viewport provides selection, move/rotate/scale gizmos, snapping, duplication, focus and a transient free camera. CodeMirror provides AdaScript highlighting, indentation and search. Document transactions unify manual and agent edits with undo. Private Cloud workspaces, revisions, IndexedDB recovery and editable ZIP interchange keep project work durable. Home/rail navigation retains the open document, selection, undo and Player; All Projects waits for save, with an explicit durable local fallback on failure.

The browser assistant now shares native Studio's 19 bundled workflow sources plus its A2UI prompt, documentation, API declarations and examples. A fixed 35-tool registry covers project/file/scene editing, diagnostics, Player frames/input and native procedural sprite/audio/model/voxel generation. Conversations retain drafts, attachments, selected skills, progress and tool results. Turns remain attached to their originating conversation; plan mode omits mutations and Ask mode waits for explicit per-tool decisions.

A2UI v0.9.1 streams validated DOM forms using the native Ada forms catalog. Bindings, checks, ownership and generations are guarded. Ordinary actions return to the original conversation without clearing its draft. Local scene Apply and durable card Undo commit atomically with revision checks. Export runs through native AdaA2UI in the isolated Player and opens actual .ui source in Code. Assistant chrome uses the shared English/Russian catalogs.

Annotate selects scene objects or A2UI components and opens an anchored note popup. Add to composer accumulates notes and stable target context in the conversation's saved draft; only Send invokes the agent, using the final edited composer text. Viewport notes include a marked game frame and normalized point. A target selector handles canvas UI in front of scene objects; canvas UI is a frame/point reference, not a semantic native UI hit tree. Annotation mode suppresses normal form actions and gizmo gestures. Notes have stable numbers; clicking a composer chip or current viewport pin reopens the note for editing without duplication. Add keeps selection active for collecting several notes; one Send includes them together and exits selection. Removing notes preserves manual draft edits.

Validation:

  • 65 WebUI Node tests pass, including progressive/invalid A2UI, ownership, revision/quota atomicity, sessions, permissions, cancellation, navigation, recovery and annotation drafts/picking/transport.
  • Swift 6.3.2 WASI Player export, DOM build and packaging pass; Windows native editor/test executable builds.
  • 8 portable StudioCore and 4 native localization Swift Testing tests pass; shared catalogs check passes. The annotation-only pass reran the 4 localization tests with --skip-build using the existing executable; a fresh Windows rebuild failed in the Swift diagnostic decoder (Corrupted JSON/fatalError). No Swift source changed in that pass.
  • Real browser checks cover cloud reopen, Cyrillic form inputs, preserved composer drafts, same-session replies, language switching, scene color, spawn 27 → 29 → Undo 27, native PNG/WAV/GLB generation/inspection, native .ui export, annotation popups/marked captures, guarded UI selection, editing numbered pins/chips, sending two numbered notes in one message to a local delivery fixture, explicit Send and Cloud-reopened annotation drafts.
  • Companion Cloud: 11 tests across provider adapters/streams, workspace policy and real PostgreSQL/Redis/S3 integration; 4 source publication packaging tests. Frontend preparation: 2 Python tests.
  • Earlier viewport validation includes 53 WebGPU tests with actual pixels; no shader/render algorithm changes in this agent pass.

Companion Cloud PR: https://github.com/AdaEngine/ada_cloud/pull/1. Full local evidence and release gates: Editor/Documentation/StudioWebValidation.md.

Studio remains a draft behind its feature flag. Native ACP/processes, shell/SwiftPM, SourceKit-LSP, external MCP, native Git/search/TestWorld and publication tools are not browser capabilities. The native visual UI Designer is not ported; .ui opens as source. Local Pro controls remain disabled. Browser agent checks use an external no-fee deterministic provider fixture; live paid-provider execution/settlement and hosted publication/moderation remain acceptance gates. VOX generation is implemented but not exercised in the browser run.

@SpectralDragon SpectralDragon changed the title Add browser Ada Studio with live AdaPlayer editing tools Add Ada Studio Web with an AdaEngine viewport and persistent project workspace Oct 18, 2026
@SpectralDragon SpectralDragon changed the title Add Ada Studio Web with an AdaEngine viewport and persistent project workspace Add Ada Studio Web with native Player tools and an A2UI agent workspace Oct 18, 2026
@SpectralDragon
SpectralDragon marked this pull request as ready for review October 18, 2026 11:49
@SpectralDragon
SpectralDragon merged commit 8083d0e into main Oct 18, 2026
2 of 4 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T11:50:58.210000Z 4164461 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant