Repository navigation
feat: add native MiniApp shells and refresh workspace overview - #3426
Merged
Merged
Conversation
added 6 commits
October 16, 2026 17:01
…-shell # Conflicts: # docs/interactive-capabilities/capabilities.json # docs/interactive-capabilities/technical/product-control-open-audit.json # docs/interactive-capabilities/technical/tauri-command-map.json # src/crates/contracts/product-domains/AGENTS.md # src/crates/contracts/product-domains/src/generated/product-control-catalog.json # src/crates/contracts/product-domains/src/generated/remote-surface-registry.json # src/web-ui/src/app/global-search/generated/interactive-capabilities.json # src/web-ui/src/infrastructure/api/generated/productControl.ts # src/web-ui/src/infrastructure/api/generated/remoteSurface.ts
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MiniApps can run in independent native windows and move back into OpenBitFun tabs while reusing one Desktop host for execution, storage, permissions, and instance ownership. Add a compact standalone Shell, authenticated local IPC, revisioned view leases and transfers, native system launchers, customizable chrome, and recoverable app chat.
Refresh the MiniApp library, submissions, detail pages, and personal overview; align account and model controls with shared components. Resolve existing Design Lab/mobile typography contract violations from main without changing their rendered values, and retain explicit local annotations for literal font-face descriptors and fluid specimen geometry. Preserve macOS HTML drag ownership alongside native file drops.
Type and Areas
Feature / UI/UX / compatibility. Desktop/Tauri, Rust contracts and services, private IPC adapter, Web UI, design system, build preparation, i18n, and vendored Wry.
Motivation / Impact
Installed apps can open as tabs or lightweight system apps without duplicating the Agent Runtime. Last-view shutdown, acknowledged transfers, backward-compatible records, capability discovery, and explicit unsupported responses protect existing installs and remote controllers.
The new internal IPC crate has only Desktop and Shell consumers. The Shell uses existing workspace dependencies and a separate optimized profile with a 16 MiB artifact budget; it cannot link Core or Agent Runtime. Target-specific Windows API features support native shortcut properties; property strings use COM-owned allocations with automatic cleanup. Native execution and mutable state retain their existing owners.
Verification
pnpm run check:web,pnpm run check:repo-hygiene,pnpm run capabilities:check, i18n, icon, and color audits passed.cargo test --locked -p openbitfun-product-domains --no-default-features --features miniapp --lib miniapp::: 60 passed;--test miniapp_contracts: 40 passed.cargo test --locked -p openbitfun-miniapp-ipc: 4 passed.cargo test --locked -p openbitfun-services-integrations --no-default-features --features miniapp-runtime --lib miniapp::: 31 passed.cargo test --locked -p openbitfun-desktop --lib miniapp_desktop: 15 passed, one real-export fixture deferred to the separately built Shell;--lib remote_workspace_policy: 9 passed.pnpm run prepare:miniapp-shell: macOS ARM64 Shell 7.67 MiB; native window chrome tests: 2 passed; headless diagnostic reportstauriDevMode: falseand v1 capabilities.x86_64-pc-windows-gnucross-target compile check; macOS launcher tests passed again. Windows runtime coverage remains with CI.cargo build --locked -p openbitfun-desktoppassed on macOS ARM64; all 5 vendored Wry drag/pasteboard tests passed. MiniApp and remote-registry Desktop tests also passed again after merging current main. Cross-platform CI is being followed through before merge.Reviewer Notes
AI-assisted; focused automated verification, with CI/native checks in progress. No browser or computer-use verification was performed, as requested.
Remote workspace, Peer Device Mode, mobile/bot control, and detached CLI presentation are explicitly unsupported for local independent windows; no remote end-to-end scenario has been exercised locally. Persisted v1 launch identities and unknown fields remain compatible. Arbitrary unsaved page state is not transferred.
Checklist