Skip to content

feat(miniapp): add LoopX console - #1808

Open
xielixing wants to merge 1 commit into
GCWing:mainfrom
xielixing:codex/latest-main-20260727
Open

feat(miniapp): add LoopX console#1808
xielixing wants to merge 1 commit into
GCWing:mainfrom
xielixing:codex/latest-main-20260727

Conversation

@xielixing

Copy link
Copy Markdown

Summary

  • add a built-in LoopX console MiniApp for global goal, gate, todo, channel, and review-packet visibility
  • expose read-only workspace context to MiniApps and gate execution to the matching local workspace
  • route goal creation and bounded continuation through the existing Agent Bridge while keeping LoopX as the control-plane source of truth
  • preserve cached summaries on refresh errors and keep remote workspaces read-only

Security and compatibility

  • allow only the loopx shell executable
  • keep Node, filesystem, and external network access disabled
  • validate supported LoopX JSON schemas and reject incompatible payloads
  • do not add ACP, serve-status, direct --execute, or .loopx file writes
  • force UTF-8 for captured Python CLI output on Windows

Verification

  • cargo test -p bitfun-product-domains --features miniapp --test miniapp_contracts
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run src/app/scenes/miniapps/utils/buildMiniAppWorkspaceInfo.test.ts
  • node --check src/crates/contracts/product-domains/src/miniapp/builtin/assets/loopx-console/ui.js
  • pnpm run fmt:rs
  • desktop dev verification with live LoopX registry, summary, and review-packet data

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