genaicode 0.13.1 → 0.13.2

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.
@@ -27,7 +27,7 @@ export const generateContent = async function generateContent(prompt, config, op
27
27
  let baseSystemPrompt = prompt.find((item) => item.type === 'systemPrompt')?.systemPrompt || '';
28
28
  // Determine which model to use
29
29
  const defaultModel = modelType === ModelType.CHEAP || modelType === ModelType.LITE
30
- ? 'claude-3-5-haiku-20241022'
30
+ ? 'claude-haiku-4-5-20251001'
31
31
  : 'claude-sonnet-4-5-20250929';
32
32
  const modelOverrides = serviceConfig?.modelOverrides;
33
33
  let model = modelType === ModelType.CHEAP
@@ -20,8 +20,8 @@ const configurations = {
20
20
  apiKey: process.env.ANTHROPIC_API_KEY,
21
21
  modelOverrides: {
22
22
  default: modelOverrides.anthropic?.default ?? 'claude-sonnet-4-5-20250929',
23
- cheap: modelOverrides.anthropic?.cheap ?? 'claude-3-5-haiku-20241022',
24
- lite: modelOverrides.anthropic?.lite ?? 'claude-3-5-haiku-20241022',
23
+ cheap: modelOverrides.anthropic?.cheap ?? 'claude-haiku-4-5-20251001',
24
+ lite: modelOverrides.anthropic?.lite ?? 'claude-haiku-4-5-20251001',
25
25
  reasoning: modelOverrides.anthropic?.reasoning ?? 'claude-sonnet-4-5-20250929',
26
26
  modelSpecificSettings: modelOverrides.anthropic?.modelSpecificSettings ?? {},
27
27
  },
@@ -59,6 +59,16 @@ export type CodegenSummaryArgs = {
59
59
  contextPaths: string[];
60
60
  fileUpdates: FileUpdate[];
61
61
  };
62
+ /** Arguments for compound action's inferred actions */
63
+ export type CompoundActionArgs = {
64
+ summary: string;
65
+ actions: {
66
+ name: string;
67
+ dependsOn: string[];
68
+ filePath: string;
69
+ id: string;
70
+ }[];
71
+ };
62
72
  /** Arguments of the codegen execution function call */
63
73
  export interface FileUpdate {
64
74
  id: string;