mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
fix(03-03): fix type compatibility and cleanup unused imports
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -83,7 +83,7 @@ export interface AgentExecutionOptions {
|
|||||||
sdkOptions?: {
|
sdkOptions?: {
|
||||||
maxTurns?: number;
|
maxTurns?: number;
|
||||||
allowedTools?: string[];
|
allowedTools?: string[];
|
||||||
systemPrompt?: string;
|
systemPrompt?: string | { type: 'preset'; preset: 'claude_code'; append?: string };
|
||||||
settingSources?: Array<'user' | 'project' | 'local'>;
|
settingSources?: Array<'user' | 'project' | 'local'>;
|
||||||
};
|
};
|
||||||
/** Provider instance to use */
|
/** Provider instance to use */
|
||||||
|
|||||||
@@ -83,14 +83,7 @@ import {
|
|||||||
getPhaseModelWithOverrides,
|
getPhaseModelWithOverrides,
|
||||||
} from '../lib/settings-helpers.js';
|
} from '../lib/settings-helpers.js';
|
||||||
import { getNotificationService } from './notification-service.js';
|
import { getNotificationService } from './notification-service.js';
|
||||||
import {
|
import { extractSummary } from './spec-parser.js';
|
||||||
parseTasksFromSpec,
|
|
||||||
detectTaskStartMarker,
|
|
||||||
detectTaskCompleteMarker,
|
|
||||||
detectPhaseCompleteMarker,
|
|
||||||
detectSpecFallback,
|
|
||||||
extractSummary,
|
|
||||||
} from './spec-parser.js';
|
|
||||||
import { AgentExecutor } from './agent-executor.js';
|
import { AgentExecutor } from './agent-executor.js';
|
||||||
|
|
||||||
const execAsync = promisify(exec);
|
const execAsync = promisify(exec);
|
||||||
|
|||||||
Reference in New Issue
Block a user