feat(frame-forwarding): video-frame forwarding support (#8440)

* fix(desktop): hide the Windows menu entries while the document is fullscreen

Frame forwarding offers plugins the Fullscreen API; the Application and Edit caption entries now stay hidden during fullscreen and return when it ends.

* feat(desktop): build declared native addons for development and packaging

* feat(frame-forwarding): receive native frames and submit them to the Desktop sink

* feat(frame-forwarding): route Host channels to video mounts in the Client

Keep the producer interface internal while Office integration evolves. Include channel lifecycle, receiver integration and video presentation tests.

Co-authored-by: imccyu <276526105+imccyu@users.noreply.github.com>

* test(frame-forwarding): cover wire packet and endpoint parsing with fuzz tests

* refactor(desktop): preinstall the native frame receiver

* build(desktop): compile the preinstalled receiver from the plugin workspace

* refactor(frame-forwarding): load the preinstalled receiver inside the plugin

* refactor(desktop): pass the frame receiver path as a Host argument

---------

Co-authored-by: imccyu <276526105+imccyu@users.noreply.github.com>
This commit is contained in:
Yudong Hanandimccyu authored and GitHub committed 2026-11-27 06:39:04 +00:00
1 parent dad92aacba
commit f7cb4926dc
142 files changed
+15484 -63

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ export const EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS: Readonly<Record<string, strin
'packages/experimental/cua-mcp': '@deepseek-ai/dsh-cua-mcp',
'packages/experimental/cua-windows': '@deepseek-ai/dsh-cua-windows',
'packages/experimental/timeline': '@deepseek-ai/dsh-timeline',
'packages/experimental/frame-forwarding': '@deepseek-ai/dsh-frame-forwarding',
'packages/experimental/tool-session-query': '@deepseek-ai/dsh-tool-session-query',
'packages/experimental/session-title-all-prompts-llm': '@deepseek-ai/dsh-session-title-all-prompts-llm',
'packages/experimental/tool-terminal': '@deepseek-ai/dsh-tool-terminal',
+7 -2
View File
@@ -189,15 +189,19 @@ export const SERVICE_PAGE: Record<string, string> = {
* or names itself here. Client-face keys (the projection analyzes the host
* face only) name the package README that owns their surface.
*
* Two categories remain, and neither is a projection gap a scanning rule could
* Three categories remain, and none is a projection gap a scanning rule could
* close. An OPTIONAL key (`key?: X`) is a value the launcher or boot code
* installs before the tree mounts, which the analyzer skips by rule because no
* plugin provides it and `inject` cannot reach it. A client-face key belongs to
* the browser Context, which this host-face program never sees; the browser
* surface has its own generated catalog (`scripts/gen-client-catalog.ts`, served
* to a model as `cordis_runtime_inspect what:"client"`).
* to a model as `cordis_runtime_inspect what:"client"`). An experimental
* service whose package README is its only documentation until it stabilizes
* declares its key outside the package's top-level modules, so neither a
* subsystems page nor the model-visible runtime catalog publishes it.
*/
export const SERVICE_WALK_EXEMPTIONS: Record<string, string> = {
desktopFrameReceiver: 'internal Desktop receiver for the experimental frame-forwarding plugin — packages/experimental/frame-forwarding/README.md owns its availability and lifecycle',
timeline: 'experimental session data service internal to the bundle — packages/experimental/timeline/README.md owns its behavior',
contextMenus: 'client-side interface-typed menu registry — packages/client/ui-context-menu/README.md owns the API',
fileActions: 'client-side interface-typed file actions — packages/client/ui-file-actions/README.md owns the API',
@@ -247,6 +251,7 @@ export const SERVICE_WALK_EXEMPTIONS: Record<string, string> = {
sidebarRightTabs: 'client-side right-Sidebar tab-type registry — packages/client/ui-sidebar-right/README.md owns the API',
forgeChanges: 'client-side changes view face for other plugins — docs/subsystems/forge.md#extension-api owns the API',
documentPreviews: 'client-side document renderer registry — docs/subsystems/sidebar-right.md owns the API',
frameForwarding: 'experimental Desktop service whose package README is its only documentation until it stabilizes — packages/experimental/frame-forwarding/README.md owns the API',
}
/**
+1
View File
@@ -331,6 +331,7 @@ const SERVICE_ROLES: ServiceRole[] = [
pkg: 'shared-texture',
title: 'Shared-texture presentation',
mode: 'seam',
consumers: ['frame-forwarding'],
note: 'Desktop Host implements the exclusive Host claim that submits GPU-backed frames to Desktop; the Client half of the package provides the Desktop preload bridge as the Client service. Consumers never touch Mach ports, Win32 handles, or Electron.',
},
{
+1
View File
@@ -83,6 +83,7 @@ describe('release families', () => {
'@deepseek-ai/dsh-forge-gitlab',
'@deepseek-ai/dsh-experimental-forge-session',
'@deepseek-ai/dsh-experimental-forge',
'@deepseek-ai/dsh-frame-forwarding',
'@deepseek-ai/dsh-hook-protocol',
'@deepseek-ai/dsh-hooks-claude-code',
'@deepseek-ai/dsh-hooks-codex',
@@ -60,6 +60,7 @@ const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/client/ui-file-actions': { kind: 'none', reason: 'Explicit user file saves and clipboard operations add no model input.' },
'packages/client/ui-entry-customization': { kind: 'none', reason: 'Controls browser launchers and prepares a reviewable Creator draft without submitting model input.' },
'packages/experimental/client-ui-cot-translation': { kind: 'indirect', reason: 'The translator owns optional paid queries; normal Session activation delegates startup context to the preset.' },
'packages/experimental/frame-forwarding': { kind: 'none', reason: 'Native frame transport between Host plugins and the Desktop renderer; it contributes no model context or Session events.' },
'packages/experimental/cot-translation-bundle': { kind: 'indirect', reason: 'The GUI consumer delegates paid query prompts to the translator and normal activation context to the Session preset.' },
'packages/client/product-analytics': { kind: 'none', reason: 'Desktop analytics observes selected interactions without contributing model context or Session events.' },
'packages/experimental/speech-to-text': { kind: 'none', reason: 'Routes transient recognition without adding model requests or Session events.' },