@bluecopa/harness 0.1.0-snapshot.30 → 0.1.0-snapshot.32
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/package.json
CHANGED
package/src/arc/agent-runner.ts
CHANGED
|
@@ -239,7 +239,7 @@ export class AgentRunner {
|
|
|
239
239
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
240
240
|
(generateText as any)({
|
|
241
241
|
model: anthropic(config.model),
|
|
242
|
-
thinking: { type: '
|
|
242
|
+
thinking: { type: 'adaptive' },
|
|
243
243
|
tools: config.tools,
|
|
244
244
|
toolChoice: 'auto',
|
|
245
245
|
messages: toModelMessages(messages),
|
package/src/arc/arc-loop.ts
CHANGED
|
@@ -173,7 +173,7 @@ export class ArcLoop {
|
|
|
173
173
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
174
174
|
(streamText as any)({
|
|
175
175
|
model: anthropic(this.orchestratorModel),
|
|
176
|
-
thinking: { type: '
|
|
176
|
+
thinking: { type: 'adaptive' },
|
|
177
177
|
tools: this.tools,
|
|
178
178
|
toolChoice: 'auto',
|
|
179
179
|
messages: toModelMessages(prepared.messages),
|
package/src/arc/arc-types.ts
CHANGED
|
@@ -84,8 +84,8 @@ export type ModelTier = 'fast' | 'medium' | 'strong';
|
|
|
84
84
|
/** Default model IDs for each tier. Override via ArcLoopConfig.modelMap. */
|
|
85
85
|
export const DEFAULT_MODEL_MAP: Record<ModelTier, string> = {
|
|
86
86
|
fast: 'claude-haiku-4-5',
|
|
87
|
-
medium: 'claude-sonnet-4-
|
|
88
|
-
strong: 'claude-opus-4-
|
|
87
|
+
medium: 'claude-sonnet-4-6',
|
|
88
|
+
strong: 'claude-opus-4-6',
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
/** Resolve a model tier name or raw model ID to a concrete model ID. */
|
|
@@ -19,7 +19,10 @@ export interface SkillRouterConfig {
|
|
|
19
19
|
const DEFAULT_ALIASES: Record<string, string[]> = {
|
|
20
20
|
xlsx: ['excel', 'spreadsheet', 'workbook', 'csv'],
|
|
21
21
|
docx: ['word', 'document', 'doc'],
|
|
22
|
-
pptx: ['powerpoint', 'slides', 'presentation']
|
|
22
|
+
pptx: ['powerpoint', 'slides', 'presentation'],
|
|
23
|
+
'visual-explainer': ['visual explainer', 'visual explanation', 'interactive visual', 'visualize', 'diagram d3', 'data visualization', 'd3'],
|
|
24
|
+
'excalidraw-diagram': ['excalidraw', 'architecture diagram', 'flowchart', 'sequence diagram'],
|
|
25
|
+
'json-render': ['jsonrender', 'interactive ui', 'action buttons'],
|
|
23
26
|
};
|
|
24
27
|
|
|
25
28
|
export class SkillRouter {
|