Skip to content

Canvas 2.0: Living Forge, shared Duo with diagnostics, and Home tools - #207

Open
teo-nex wants to merge 1 commit into
howdeploy:mainfrom
teo-nex:feat/canvas-2-live-forge-duo
Open

teo-nex wants to merge 1 commit into
howdeploy:mainfrom
teo-nex:feat/canvas-2-live-forge-duo

Conversation

@teo-nex

@teo-nex teo-nex commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

This brings the Canvas 2.0 work onto the current 1.8.7 main branch: animated terminal/Home media, the accepted Living Forge theme, file browsing and previews, and a shared Duo workspace. Duo connection failures now leave a bounded, redacted local trace that users can copy from the Duo panel.

Appearance and Home

  • Ship one new built-in theme, Living Forge, with nine animated skins: minimal/detailed/master × idle/working/completed. Idle embers/pause, orange working lava/hammer, and turquoise completion/check remain visually distinct. Preserve terminal apertures and control placement.
  • Include the accepted Canvas, avatar and clock wallpaper packages as a separate profile kit. Their import remains manual; the source helper can prepare a new isolated test profile.
  • Decode animated images, pause hidden/offscreen media, honor reduced motion, and support live terminal frames and wallpaper packages. Extend the agent design engine with packing, validation and pixel-animation tools.
  • Add Home layout customization and clock/timer editing, plus workspace preset support.

Files and collaboration

  • Add file explorer access beside the browser, filesystem navigation, terminal file drops and image/audio/video previews, including streamed media responses.
  • Add direct P2P Duo invitations and shared workspace documents, terminal output/input routing, notes and widget/card changes, explicit host permissions/revocation and file transfer. Cameras remain local to each participant. Terminals execute on the host.
  • Keep native third-party window embedding experiments out of this PR.

Connection diagnostics

  • Record per-attempt role/transport, stages, elapsed time and allowlisted failure codes: bootstrap/listening, connection/encrypted open, initial snapshot, disconnect/reconnect and request timeouts.
  • Expose Duo → Connection trouble? → Copy Duo diagnostics through main-renderer-only IPC. Include app version, OS and architecture. Keep the last 200 events, suppress adjacent repeated events and persist metadata through the existing rotated application log.
  • Exclude invitations, keys, network endpoints, file paths and terminal content from the Duo report. Normalize malformed-invitation errors, redact Duo capabilities in the general logger, and prevent arbitrary peer error text from entering connection diagnostics. Logging failures cannot break connection cleanup.

Validation

  • npm test: 2,891 passed, 0 failed, 28 skipped (platform/external-provider prerequisites and native Go helper unavailable locally).
  • Full application build and TypeScript checks passed; repository and bundled-source secret audit passed.
  • 20 design-engine Python tests passed with Pillow/numpy installed.
  • Duo coverage includes real local DHT peers, disconnect/reconnect, failed joins, permission/revocation rules, shared documents and redaction. The 49-test Duo group passed.
  • Packaged macOS arm64 client: production preload/diagnostics IPC loaded; malformed invitation classified safely; LAN host/stop traced; report clipboard roundtrip and log persistence passed. Original clipboard restored and test profile isolated from running user sessions. Ad-hoc bundle signature verified.
  • Electron live-skin smoke passed for animated decoding, all nine states, clear terminal aperture, pause/resume, reduced motion, offscreen and hidden-window behavior.

Limits for review

  • Fresh validation here covers a packaged macOS arm64 client and automated local P2P peers; a new Mac/Windows/Linux WAN session was not performed for this commit. CI and physical cross-device acceptance are separate checks.
  • Direct P2P is not guaranteed through every NAT/firewall. There is no relay fallback in this change. Diagnostics identify the failing stage/code; they do not make an unreachable network reachable.
  • No release tag or stable version bump. Separate alpha packaging keeps the installed release/profile intact.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 237 files, which is 137 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7ce74f4 and f4899f4.

Files ignored due to path filters: 12

  • assets/live-terminal-presets/volcanic-forge.zip is excluded by !**/*.zip
  • assets/living-forge-profile/Volcanic-Forge-terminals.zip is excluded by !**/*.zip
  • design-engine/examples/Gothic_Eclipse_Install_v2.zip is excluded by !**/*.zip
  • design-engine/references/CanvasTTY_40_Unique_Concepts.png is excluded by !**/*.png
  • package-lock.json is excluded by !**/package-lock.json
  • resources/home/avatar-ai-v1.gif is excluded by !**/*.gif
  • resources/home/avatar.gif is excluded by !**/*.gif
  • resources/home/background-ai-v1.gif is excluded by !**/*.gif
  • resources/home/clock.gif is excluded by !**/*.gif
  • tests/fixtures/live-skins/background.mp4 is excluded by !**/*.mp4
  • tests/fixtures/live-skins/background.webm is excluded by !**/*.webm
  • tests/fixtures/live-skins/clock.gif is excluded by !**/*.gif
Files selected for processing: 237

  • .gitignore
  • assets/live-terminal-presets/README.ru.md
  • assets/live-terminal-presets/catalog.json
  • assets/living-forge-profile/README.ru.md
  • assets/living-forge-profile/Volcanic-Forge-avatar.ctwallpaper
  • assets/living-forge-profile/Volcanic-Forge-canvas.ctwallpaper
  • assets/living-forge-profile/Volcanic-Forge-clock.ctwallpaper
  • assets/living-forge-profile/apertures.json
  • assets/living-forge-profile/controls.json
  • assets/living-forge-profile/preset.json
  • design-engine/.gitignore
  • design-engine/AGENT_START.md
  • design-engine/LIVE_ENGINE.md
  • design-engine/README.md
  • design-engine/RELEASE_PLAN.ru.md
  • design-engine/SPEC.ru.md
  • design-engine/templates/avatar-agent.ru.txt
  • design-engine/templates/clock-agent.ru.txt
  • design-engine/templates/live-terminal-agent.ru.txt
  • design-engine/templates/wallpaper-agent.ru.txt
  • design-engine/tools/animate_artwork.py
  • design-engine/tools/animate_emissive.py
  • design-engine/tools/build_forge_states.py
  • design-engine/tools/build_kit.py
  • design-engine/tools/compose_pixel_scene.py
  • design-engine/tools/encode_animation.py
  • design-engine/tools/generate_pixel_wallpaper.py
  • design-engine/tools/media_probe.py
  • design-engine/tools/pack_terminal_theme.py
  • design-engine/tools/pack_wallpaper.py
  • design-engine/tools/pixel_motion_layers.py
  • design-engine/tools/prepare_lab_profile.mjs
  • design-engine/tools/requirements.txt
  • design-engine/tools/test_engine.py
  • design-engine/tools/test_live_engine.py
  • design-engine/tools/test_pixel_scene.py
  • docs/CANVAS-2.0-UPDATE.md
  • docs/CANVAS-DUO-P2P.ru.md
  • docs/canvastty-plugin.schema.json
  • docs/pixel-skin-agent-start.md
  • docs/pixel-skin-packs.ru.md
  • docs/plugin-api.d.ts
  • docs/plugins.md
  • electron-builder.live-home.cjs
  • electron-builder.live-terminal-presets.cjs
  • electron-builder.v2-win.cjs
  • electron-builder.v2.cjs
  • electron-builder.yml
  • examples/plugins/file-explorer/README.md
  • examples/plugins/file-explorer/app.js
  • examples/plugins/file-explorer/canvastty.plugin.json
  • examples/plugins/file-explorer/index.html
  • examples/plugins/file-explorer/preview.html
  • examples/plugins/file-explorer/style.css
  • integrations/even-g2/package.json
  • package.json
  • scripts/canvastty-control.mjs
  • scripts/duo-lab-guest.mjs
  • scripts/generate-home-gifs.py
  • scripts/generate-live-terminal-presets.mjs
  • scripts/package-live-home-lab.mjs
  • scripts/package-v2.mjs
  • scripts/prepare-linux-v2-portable.mjs
  • scripts/prepare-v2-profile.mjs
  • scripts/seed-live-home-lab.mjs
  • scripts/smoke-duo-device.mjs
  • scripts/smoke-linux-bundle.py
  • scripts/smoke-live-skins.mjs
  • scripts/smoke-live-terminal-presets.mjs
  • scripts/smoke-local-home-bundle.mjs
  • scripts/smoke-v2-bundle.mjs
  • scripts/smoke-wallpaper-workshop.mjs
  • scripts/test-isolated.mjs
  • scripts/upgrade-v2-home.mjs
  • scripts/validate-pixel-skin-zip.mjs
  • src/main/index.ts
  • src/main/ipc/IpcReadinessGate.ts
  • src/main/ipc/registerIpc.ts
  • src/main/services/BrowserService.ts
  • src/main/services/CanvasDuoService.ts
  • src/main/services/CoreFilesLabSmoke.ts
  • src/main/services/DiagnosticLog.ts
  • src/main/services/DuoCanvasSurface.ts
  • src/main/services/DuoDiagnostics.ts
  • src/main/services/DuoDocumentService.ts
  • src/main/services/DuoFileTransferService.ts
  • src/main/services/DuoFullCanvasLab.ts
  • src/main/services/DuoInvitation.ts
  • src/main/services/DuoLabSmoke.ts
  • src/main/services/DuoPeerTransport.ts
  • src/main/services/DuoWalkthroughLab.ts
  • src/main/services/DuoWorkspaceLab.ts
  • src/main/services/FileAccessService.ts
  • src/main/services/FileExplorerLabSmoke.ts
  • src/main/services/HomeLabSmoke.ts
  • src/main/services/LinuxDesktopLabSmoke.ts
  • src/main/services/PixelSkinPackRegistry.ts
  • src/main/services/PluginFileService.ts
  • src/main/services/PluginManager.ts
  • src/main/services/SettingsStore.ts
  • src/main/services/TerminalManager.ts
  • src/main/services/V2LabSmoke.ts
  • src/main/services/WallpaperRegistry.ts
  • src/main/services/WorkspacePresetStore.ts
  • src/main/services/agent-control/AgentControlGateway.ts
  • src/main/services/fileResponse.ts
  • src/main/services/homeMedia.ts
  • src/main/services/hyperdht.d.ts
  • src/main/services/workspacePresetLayout.ts
  • src/main/windowState.ts
  • src/preload/duoDocumentRouter.ts
  • src/preload/index.ts
  • src/renderer/index.html
  • src/renderer/src/App.tsx
  • src/renderer/src/components/TitleBar.tsx
  • src/renderer/src/features/browser/BrowserCard.tsx
  • src/renderer/src/features/duo/CanvasDuo.tsx
  • src/renderer/src/features/duo/DuoCanvasCursors.tsx
  • src/renderer/src/features/duo/DuoCanvasSurface.tsx
  • src/renderer/src/features/duo/DuoRemoteBrowser.tsx
  • src/renderer/src/features/duo/canvasDuo.css
  • src/renderer/src/features/duo/duoResource.ts
  • src/renderer/src/features/duo/duoWorkspaceRuntime.ts
  • src/renderer/src/features/files/FileBrowserCard.tsx
  • src/renderer/src/features/files/fileViewer.ts
  • src/renderer/src/features/home/ClockWidget.tsx
  • src/renderer/src/features/home/HomeAppearanceSettings.tsx
  • src/renderer/src/features/home/HomeLauncherDock.tsx
  • src/renderer/src/features/home/HomeLayoutPanel.tsx
  • src/renderer/src/features/home/HomeMediaWidget.tsx
  • src/renderer/src/features/home/HomeTimeEditor.tsx
  • src/renderer/src/features/home/HomeWidgetControls.tsx
  • src/renderer/src/features/home/HomeZone.tsx
  • src/renderer/src/features/home/PixelDigits.tsx
  • src/renderer/src/features/home/avatarMedia.ts
  • src/renderer/src/features/home/homeTime.css
  • src/renderer/src/features/materials/MaterialCard.tsx
  • src/renderer/src/features/plugins/PluginFrame.tsx
  • src/renderer/src/features/plugins/PluginSettingsSection.tsx
  • src/renderer/src/features/settings/PixelSkinPackCreator.tsx
  • src/renderer/src/features/settings/SettingsPanel.tsx
  • src/renderer/src/features/settings/WallpaperWorkshop.tsx
  • src/renderer/src/features/settings/WorkspacePresets.tsx
  • src/renderer/src/features/settings/appearanceSettings.ts
  • src/renderer/src/features/settings/pixelPackFiles.ts
  • src/renderer/src/features/settings/pixelThemeAgentPrompt.ts
  • src/renderer/src/features/settings/pixelWallpaperGenerator.ts
  • src/renderer/src/features/settings/wallpaperAgentPrompt.ts
  • src/renderer/src/features/settings/wallpaperWorkshop.css
  • src/renderer/src/features/skins/AnimatedSkinMediaView.tsx
  • src/renderer/src/features/skins/Canvas2DSkinView.tsx
  • src/renderer/src/features/skins/SkinAssets.ts
  • src/renderer/src/features/skins/SkinLayout.ts
  • src/renderer/src/features/skins/SkinMediaView.tsx
  • src/renderer/src/features/skins/WallpaperAssetView.tsx
  • src/renderer/src/features/skins/WallpaperView.tsx
  • src/renderer/src/features/skins/decodeSkinMedia.ts
  • src/renderer/src/features/skins/pixelSkinCardGeometry.ts
  • src/renderer/src/features/skins/useWallpaper.ts
  • src/renderer/src/features/terminal/TerminalCard.tsx
  • src/renderer/src/features/workspace/WorkspaceCanvas.tsx
  • src/renderer/src/lib/i18n.ts
  • src/renderer/src/lib/providers.ts
  • src/renderer/src/styles/app.css
  • src/renderer/src/styles/pixelTerminalSkins.css
  • src/shared/canvasDuo.ts
  • src/shared/contracts.ts
  • src/shared/duoDiagnostics.ts
  • src/shared/duoDocument.ts
  • src/shared/duoResources.ts
  • src/shared/duoSurface.ts
  • src/shared/homeTime.ts
  • src/shared/skinMedia.ts
  • src/shared/wallpaper.ts
  • src/shared/workspacePresets.ts
  • tests/agent-control.test.mjs
  • tests/agent-delegation-invariants.test.mjs
  • tests/app-shortcuts.test.mjs
  • tests/appearance-settings.test.mjs
  • tests/browser-ipc-security.test.mjs
  • tests/bundled-live-terminal-presets.test.mjs
  • tests/canvas-duo.test.mjs
  • tests/diagnostic-log-duo.test.mjs
  • tests/duo-deltas.test.mjs
  • tests/duo-diagnostics.test.mjs
  • tests/duo-document.test.mjs
  • tests/duo-file-transfer.test.mjs
  • tests/duo-full-canvas.test.mjs
  • tests/duo-p2p.test.mjs
  • tests/duo-workspace.test.mjs
  • tests/edit-context-menu.test.mjs
  • tests/file-media-stream.test.mjs
  • tests/files-root-selection.test.mjs
  • tests/fixtures/live-skins-renderer/index.html
  • tests/fixtures/live-skins-renderer/preload.cjs
  • tests/fixtures/live-skins-renderer/probe.css
  • tests/fixtures/live-skins-renderer/probe.tsx
  • tests/fixtures/live-skins/README.md
  • tests/fixtures/live-skins/frame.apng
  • tests/fixtures/live-skins/frame.webp
  • tests/fixtures/live-terminal-presets/index.html
  • tests/fixtures/live-terminal-presets/preload.cjs
  • tests/fixtures/live-terminal-presets/probe.tsx
  • tests/fixtures/live-terminal-presets/style.css
  • tests/fixtures/wallpaper-workshop-renderer/index.html
  • tests/fixtures/wallpaper-workshop-renderer/preload.cjs
  • tests/fixtures/wallpaper-workshop-renderer/probe.css
  • tests/fixtures/wallpaper-workshop-renderer/probe.tsx
  • tests/fixtures/wallpaper-workshop-renderer/services.ts
  • tests/github-auth-integration.test.mjs
  • tests/home-launcher-providers.test.mjs
  • tests/home-time.test.mjs
  • tests/ipc-readiness-gate.test.mjs
  • tests/pixel-pack-files.test.mjs
  • tests/pixel-skin-card-geometry.test.mjs
  • tests/pixel-skin-engine.test.mjs
  • tests/pixel-skin-pack-registry.test.mjs
  • tests/pixel-theme-agent-prompt.test.mjs
  • tests/plugin-file-service.test.mjs
  • tests/release-artifacts.test.mjs
  • tests/renderer-boot-sequence.test.mjs
  • tests/ru-shortcut-hints-i18n.test.mjs
  • tests/settings-normalizer.test.mjs
  • tests/startup-independent-loads.test.mjs
  • tests/startup-lifecycle.test.mjs
  • tests/terminal-file-drop.test.mjs
  • tests/terminal-lifecycle.test.mjs
  • tests/terminal-links.test.mjs
  • tests/theme-backgrounds.test.mjs
  • tests/titlebar-layout.test.mjs
  • tests/usage-history-service.test.mjs
  • tests/usage-ui.test.mjs
  • tests/v2-profile.test.mjs
  • tests/wallpaper-agent-prompt.test.mjs
  • tests/wallpaper-registry.test.mjs
  • tests/window-state.test.mjs
  • tests/workspace-presets.test.mjs

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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