feat(sandbox): add KVM-backed agent sandboxing via microsandbox

This commit is contained in:
Chris Scott committed 2026-08-13 16:14:16 -04:00
1 parent 1d477bdee4
commit aa3fb48a62
80 files changed
+17304 -204

No files matched your search

+1
View File
@@ -198,6 +198,7 @@ export const settingsApi = {
tag: string
name: string
publishedAt: string
installable: boolean
}>
currentVersion: string | null
}> => {
+3 -1
View File
@@ -11,6 +11,7 @@ import {
type OpenCodeConfigContent,
type ModelConfig,
type ProviderConfig,
type SandboxPreferences,
type SkillFileInfo,
type CreateSkillRequest,
type UpdateSkillRequest,
@@ -20,7 +21,7 @@ import {
} from '@opencode-manager/shared'
import type { NotificationPreferences } from '@opencode-manager/shared/types'
export type { TTSConfig, STTConfig, OpenCodeConfigContent, ModelConfig, ProviderConfig, NotificationPreferences, SkillFileInfo, CreateSkillRequest, UpdateSkillRequest, SkillScope, InstallSkillFromGithubRequest, InstallSkillResponse }
export type { TTSConfig, STTConfig, OpenCodeConfigContent, ModelConfig, ProviderConfig, SandboxPreferences, NotificationPreferences, SkillFileInfo, CreateSkillRequest, UpdateSkillRequest, SkillScope, InstallSkillFromGithubRequest, InstallSkillResponse }
export { DEFAULT_TTS_CONFIG, DEFAULT_STT_CONFIG, DEFAULT_KEYBOARD_SHORTCUTS, DEFAULT_USER_PREFERENCES, DEFAULT_LEADER_KEY, BLOCKED_SERVER_ENV_KEYS, DEFAULT_SERVER_ENV_VARS }
export interface CustomCommand {
@@ -71,6 +72,7 @@ export interface UserPreferences {
repoSortMode?: 'recent' | 'manual' | 'name'
serverEnvVars?: Array<{ key: string; value: string }>
disabledDefaultServerEnvVars?: string[]
sandbox?: SandboxPreferences
}
export interface SettingsResponse {