Files
oh-my-opencode/src/config/schema.ts
T
leeyazhou 6ffea1bc36 feat(i18n): add toast i18n with en/zh locale and plugin config support
- Add src/locales/ with en baseline and zh overrides (Partial<Record> fallback)
- Add src/shared/i18n.ts with initI18n/t/setLocale/getLocale (LANG env auto-detect)
- Add I18nConfigSchema with locale field to plugin config
- Internationalize 13 hardcoded strings in task-toast-manager
- Add 18 unit tests for i18n module
- Pin manager tests to en locale for determinism
2026-05-13 11:16:53 +08:00

31 lines
1.1 KiB
TypeScript

export * from "./schema/agent-names"
export * from "./schema/agent-overrides"
export * from "./schema/babysitting"
export * from "./schema/background-task"
export * from "./schema/browser-automation"
export * from "./schema/categories"
export * from "./schema/claude-code"
export * from "./schema/comment-checker"
export * from "./schema/commands"
export * from "./schema/dynamic-context-pruning"
export * from "./schema/experimental"
export * from "./schema/fallback-models"
export * from "./schema/git-env-prefix"
export * from "./schema/git-master"
export * from "./schema/hooks"
export * from "./schema/i18n"
export * from "./schema/keyword-detector"
export * from "./schema/model-capabilities"
export * from "./schema/notification"
export * from "./schema/oh-my-opencode-config"
export * from "./schema/ralph-loop"
export * from "./schema/runtime-fallback"
export * from "./schema/team-mode"
export * from "./schema/skills"
export * from "./schema/sisyphus"
export * from "./schema/sisyphus-agent"
export * from "./schema/tmux"
export * from "./schema/websearch"
export { AnyMcpNameSchema, type AnyMcpName, McpNameSchema, type McpName } from "../mcp/types"