@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluecopa/harness",
3
- "version": "0.1.0-snapshot.30",
3
+ "version": "0.1.0-snapshot.32",
4
4
  "description": "Provider-agnostic TypeScript agent framework",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
@@ -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: 'enabled', budgetTokens: 10_000 },
242
+ thinking: { type: 'adaptive' },
243
243
  tools: config.tools,
244
244
  toolChoice: 'auto',
245
245
  messages: toModelMessages(messages),
@@ -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: 'enabled', budgetTokens: 10_000 },
176
+ thinking: { type: 'adaptive' },
177
177
  tools: this.tools,
178
178
  toolChoice: 'auto',
179
179
  messages: toModelMessages(prepared.messages),
@@ -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-5',
88
- strong: 'claude-opus-4-5',
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 {