flavor-code 1.3.11 → 1.3.13

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/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-JZ5FVBET.js";
6
+ } from "./chunk-EYCTP5JB.js";
7
7
  import {
8
8
  staticTaskLines
9
- } from "./chunk-KKIBYDJI.js";
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-IGFN2DM5.js";
26
+ } from "./chunk-W2D2MLY2.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-IG4Z23CL.js";
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-GKA7P6RJ.js").then(({ loadConfig: loadConfig2 }) => loadConfig2({ cwd: workspace, home: process.env.USERPROFILE ?? process.env.HOME ?? workspace }));
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-L52CTVNR.js")
880
+ import("./app-2SBDQ6NS.js")
881
881
  ]);
882
882
  const instance = await render(createElement(
883
883
  AlternateScreen,
@@ -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";
@@ -0,0 +1,34 @@
1
+ export interface DesktopAstNode {
2
+ id: string;
3
+ kind: string;
4
+ name: string;
5
+ qualifiedName: string;
6
+ filePath: string;
7
+ language: string;
8
+ startLine: number;
9
+ endLine: number;
10
+ signature?: string;
11
+ }
12
+ export interface DesktopAstStatus {
13
+ available: boolean;
14
+ path: string;
15
+ files: number;
16
+ nodes: number;
17
+ edges: number;
18
+ indexedAt?: string;
19
+ }
20
+ export interface DesktopAstRelations {
21
+ origin?: DesktopAstNode;
22
+ callers: readonly DesktopAstNode[];
23
+ callees: readonly DesktopAstNode[];
24
+ impact: readonly (DesktopAstNode & {
25
+ hop: number;
26
+ })[];
27
+ }
28
+ export declare class DesktopAstGraphService {
29
+ #private;
30
+ constructor(workspace: string);
31
+ status(): Promise<DesktopAstStatus>;
32
+ search(query: string, limit?: number): Promise<DesktopAstNode[]>;
33
+ relations(id: string, hops?: number): Promise<DesktopAstRelations>;
34
+ }