fix(ralph-loop): bind selectSession to tui context, use sourceSessionID for tool inheritance, handle flag-only arguments, fix test provider mocks

This commit is contained in:
YeonGyu-Kim
2026-02-21 04:13:41 +09:00
parent daa0d48026
commit 590dc04be7
4 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -1281,7 +1281,7 @@ describe("disable_omo_env pass-through", () => {
//#given
;(agents.createBuiltinAgents as any)?.mockRestore?.()
;(shared.fetchAvailableModels as any).mockResolvedValue(
new Set(["quotio/claude-opus-4-6-thinking", "quotio/gemini-3-flash"])
new Set(["anthropic/claude-opus-4-6", "google/gemini-3-flash"])
)
const pluginConfig: OhMyOpenCodeConfig = {
@@ -1314,7 +1314,7 @@ describe("disable_omo_env pass-through", () => {
//#given
;(agents.createBuiltinAgents as any)?.mockRestore?.()
;(shared.fetchAvailableModels as any).mockResolvedValue(
new Set(["quotio/claude-opus-4-6-thinking", "quotio/gemini-3-flash"])
new Set(["anthropic/claude-opus-4-6", "google/gemini-3-flash"])
)
const pluginConfig: OhMyOpenCodeConfig = {}