收敛客户端静态发布链路

This commit is contained in:
2026-08-10 17:04:29 +08:00
parent 2e737dee31
commit 4df047708b
37 changed files with 604 additions and 3071 deletions

View File

@@ -2,7 +2,7 @@ import type { BrowserWindow } from 'electron';
import type { OpencodeManager } from '../opencode/manager';
import type { OpencodeProjectStore } from '../opencode/project-store';
import type { HostEventBus } from './event-bus';
import type { createWorksCloudDeployment } from '../services/works-cloud-deployment';
import type { createWorksSubmissionBindingStore } from '../services/works-submission-binding';
import type { DesignWorkspaceModule } from '../image-workspace/module';
import type {
AgentBrowserBounds,
@@ -12,7 +12,7 @@ import type {
AgentBrowserSnapshot,
} from '../../shared/agent-browser';
export type WorksCloudDeploymentCoordinator = ReturnType<typeof createWorksCloudDeployment>;
export type WorksSubmissionBindingStore = ReturnType<typeof createWorksSubmissionBindingStore>;
export interface AgentBrowserService {
getSnapshot(projectPath?: string): Promise<AgentBrowserSnapshot> | AgentBrowserSnapshot;
@@ -64,6 +64,6 @@ export interface HostApiContext {
eventBus: HostEventBus;
mainWindow: BrowserWindow | null;
agentBrowser?: AgentBrowserService;
worksCloudDeployment?: WorksCloudDeploymentCoordinator;
worksSubmissionBinding?: WorksSubmissionBindingStore;
imageWorkspace?: DesignWorkspaceModule;
}