e5463e2db7
Add new `default_mode` config section with two boolean fields:
- `ultrawork`: Auto-inject ultrawork mode prompt on main session start
without requiring the "ultrawork"/"ulw" keyword. Wired through the
keyword-detector hook — injects once per session, respects existing
guards (non-OMO agents, planner agents, subagent sessions).
- `ralph_loop`: Auto-start ralph loop on first main session message
without requiring /ralph-loop or /ulw-loop commands. When ultrawork
is also enabled, the loop starts in ultrawork mode.
Usage:
```jsonc
{
"default_mode": {
"ultrawork": true, // Always get ultrawork prompt on start
"ralph_loop": true // Auto-start ralph loop
}
}
```
Files: 7 modified/added, ~65 LOC added.
31 lines
1.1 KiB
TypeScript
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/default-mode"
|
|
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/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"
|