1 parent 4f59ca5 commit 676b6c2Copy full SHA for 676b6c2
1 file changed
packages/runtime/tests/auth-profile-fallback.test.ts
@@ -12,6 +12,7 @@ import {
12
resolveModelBaseUrl,
13
writeConfigFile,
14
type CommandPackManager,
15
+ type LocalizedText,
16
type SourceFlags,
17
} from "bailian-cli-core";
18
import { authStage, type RunContext } from "../src/middleware.ts";
@@ -56,6 +57,8 @@ function makeContext(
56
57
path,
58
command,
59
flags: {},
60
+ confirmed: false,
61
+ localize: (text: LocalizedText) => (typeof text === "string" ? text : text["en-US"]),
62
settings,
63
sources,
64
configStore: makeConfigStore(sources.configName),
0 commit comments