* feat: add initial VS Code extension plan and implementation tasks * feat(vscode): added initial version of an Openchamber VSCode extension * feat(vscode): enhance VS Code extension with theme integration and session management * feat(vscode): implement connection status handling and overlay in VSCode layout * feat: move extension to secondary sidebar * chore: upgrade @opencode-ai/sdk to 1.0.150 * vscode: editor bridge, file picker, click-to-open in tool parts * vscode: layout session lifecycle, theme sync, typography overrides * ui: compact mode for vscode, model search, autocomplete width fixes * perf: scroll force flag, raf placeholder, git polling backoff * ui: tool output styling, markdown code block fix, gitignore * refactor: update typography handling for VSCode runtime, remove unused styles * docs: update README with VS Code extension details and add extension image * docs: update changelog with new features and performance improvements
20 lines
800 B
TypeScript
20 lines
800 B
TypeScript
import type { RuntimeAPIs } from '@openchamber/ui/lib/api/types';
|
|
import { createWebTerminalAPI } from './terminal';
|
|
import { createWebGitAPI } from './git';
|
|
import { createWebFilesAPI } from './files';
|
|
import { createWebSettingsAPI } from './settings';
|
|
import { createWebPermissionsAPI } from './permissions';
|
|
import { createWebNotificationsAPI } from './notifications';
|
|
import { createWebToolsAPI } from './tools';
|
|
|
|
export const createWebAPIs = (): RuntimeAPIs => ({
|
|
runtime: { platform: 'web', isDesktop: false, isVSCode: false, label: 'web' },
|
|
terminal: createWebTerminalAPI(),
|
|
git: createWebGitAPI(),
|
|
files: createWebFilesAPI(),
|
|
settings: createWebSettingsAPI(),
|
|
permissions: createWebPermissionsAPI(),
|
|
notifications: createWebNotificationsAPI(),
|
|
tools: createWebToolsAPI(),
|
|
});
|