flavor-code 1.3.10 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/types.d.ts +3 -0
- package/dist/{app-YSBW7GXH.js → app-Z7D7XPVE.js} +118 -206
- package/dist/{chunk-KKIBYDJI.js → chunk-2BF7CVWZ.js} +5 -7
- package/dist/{chunk-T2ARW6CZ.js → chunk-EZNIDHFZ.js} +1 -1
- package/dist/{chunk-IG4Z23CL.js → chunk-JFKRX2KG.js} +7 -0
- package/dist/{chunk-Y3DPUAEJ.js → chunk-QC5OYQTB.js} +508 -39
- package/dist/cli.js +6 -6
- package/dist/config/schema.d.ts +12 -0
- package/dist/desktop/main.js +297 -38
- package/dist/desktop-renderer/assets/index-CE6mw-at.js +154 -0
- package/dist/desktop-renderer/assets/index-DHTr_Acb.css +1 -0
- package/dist/desktop-renderer/assets/{interactive-terminal-BwS6MvIe.js → interactive-terminal-DcaRc1vO.js} +1 -1
- package/dist/desktop-renderer/index.html +2 -2
- package/dist/{load-GKA7P6RJ.js → load-LTTKVPJZ.js} +1 -1
- package/dist/models/anthropic.d.ts +7 -0
- package/dist/models/openai.d.ts +3 -0
- package/dist/models/structured.d.ts +13 -4
- package/dist/models/types.d.ts +19 -0
- package/dist/production.d.ts +2 -0
- package/dist/sdk/index.js +3 -3
- package/dist/tools/runtime.d.ts +5 -0
- package/dist/ui/char-width.d.ts +12 -0
- package/dist/ui/commands.d.ts +7 -3
- package/dist/ui/session.d.ts +5 -0
- package/dist/ui/thinking-line.d.ts +42 -0
- package/dist/ui/transcript.d.ts +2 -0
- package/package.json +1 -1
- package/dist/desktop-renderer/assets/index-CdeAi527.css +0 -1
- package/dist/desktop-renderer/assets/index-bFGsR_uj.js +0 -154
package/dist/cli.js
CHANGED
|
@@ -3,10 +3,10 @@ import { createRequire } from "node:module"; const require = createRequire(impor
|
|
|
3
3
|
import {
|
|
4
4
|
FlavorRpcServer,
|
|
5
5
|
TraceRecorder
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EZNIDHFZ.js";
|
|
7
7
|
import {
|
|
8
8
|
staticTaskLines
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2BF7CVWZ.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MAX_OUTPUT_BYTES,
|
|
12
12
|
MAX_ALIAS_LENGTH,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
packageVersion,
|
|
24
24
|
redactErrorText,
|
|
25
25
|
runPalBroker
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QC5OYQTB.js";
|
|
27
27
|
import {
|
|
28
28
|
McpServerConfigSchema,
|
|
29
29
|
McpServerNameSchema,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
readRecoverableFile,
|
|
33
33
|
setProjectSkillDisabled,
|
|
34
34
|
updateProtectedFile
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JFKRX2KG.js";
|
|
36
36
|
import "./chunk-RQTYHUMK.js";
|
|
37
37
|
import "./chunk-S32JRDZK.js";
|
|
38
38
|
|
|
@@ -750,7 +750,7 @@ async function runEvaluationFile(path, outputPath) {
|
|
|
750
750
|
})),
|
|
751
751
|
...parsed.maxTokens === void 0 ? {} : { maxTokens: parsed.maxTokens }
|
|
752
752
|
};
|
|
753
|
-
const configured = await import("./load-
|
|
753
|
+
const configured = await import("./load-LTTKVPJZ.js").then(({ loadConfig: loadConfig2 }) => loadConfig2({ cwd: workspace, home: process.env.USERPROFILE ?? process.env.HOME ?? workspace }));
|
|
754
754
|
const environment = createExecutionEnvironment(workspace, configured.config.execution) ?? new LocalExecutionEnvironment();
|
|
755
755
|
let report;
|
|
756
756
|
try {
|
|
@@ -877,7 +877,7 @@ async function runInteractiveCli(props) {
|
|
|
877
877
|
const [{ render, AlternateScreen }, { createElement }, { App }] = await Promise.all([
|
|
878
878
|
import("./claude-ink-ORUA7GWG.js"),
|
|
879
879
|
import("react"),
|
|
880
|
-
import("./app-
|
|
880
|
+
import("./app-Z7D7XPVE.js")
|
|
881
881
|
]);
|
|
882
882
|
const instance = await render(createElement(
|
|
883
883
|
AlternateScreen,
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export declare const ProviderConfigSchema: z.ZodObject<{
|
|
|
19
19
|
cheapModel: z.ZodOptional<z.ZodString>;
|
|
20
20
|
models: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
21
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
thinkingEffort: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
high: "high";
|
|
25
|
+
low: "low";
|
|
26
|
+
medium: "medium";
|
|
27
|
+
}>>;
|
|
22
28
|
claudeClient: z.ZodOptional<z.ZodBoolean>;
|
|
23
29
|
apiType: z.ZodOptional<z.ZodEnum<{
|
|
24
30
|
anthropic: "anthropic";
|
|
@@ -68,6 +74,12 @@ export declare const FlavorConfigSchema: z.ZodObject<{
|
|
|
68
74
|
cheapModel: z.ZodOptional<z.ZodString>;
|
|
69
75
|
models: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
76
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
thinkingBudget: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
thinkingEffort: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
high: "high";
|
|
80
|
+
low: "low";
|
|
81
|
+
medium: "medium";
|
|
82
|
+
}>>;
|
|
71
83
|
claudeClient: z.ZodOptional<z.ZodBoolean>;
|
|
72
84
|
apiType: z.ZodOptional<z.ZodEnum<{
|
|
73
85
|
anthropic: "anthropic";
|