@almadar/agent 3.5.7 → 3.5.11

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.
@@ -22,7 +22,7 @@ export declare function buildGate2SystemPrompt(): string;
22
22
  export declare function buildGate2UserPrompt(trait: Trait, entity: Entity, orbitalDescription: string, guidedTrait?: Trait): string;
23
23
  export declare function buildGate3SystemPrompt(): string;
24
24
  export declare function buildGate3UserPrompt(transition: Transition, entity: Entity, sm: StateMachine, guidedTransition?: Transition): string;
25
- export declare function buildGate4SystemPrompt(): string;
25
+ export declare function buildGate4SystemPrompt(matchedPatterns?: string[]): string;
26
26
  export interface SlotContext {
27
27
  stateSlots: Record<string, 'main' | 'modal'>;
28
28
  exitsModal: boolean;
@@ -19,8 +19,9 @@ import type { OrbitalSchema } from '@almadar/core/types';
19
19
  * smart matching (picked std-kanban over std-list for tasks).
20
20
  * - mistral-medium: Mistral Medium 3.1 via OpenRouter. Next tier up from Small,
21
21
  * stronger reasoning, tool calling support.
22
+ * - anthropic: Claude via Anthropic API. Premium quality, highest accuracy.
22
23
  */
23
- export type GateProvider = 'deepseek' | 'zhipu' | 'qwen3.5' | 'gemma3-4b' | 'mistral-small' | 'mistral-medium';
24
+ export type GateProvider = 'deepseek' | 'zhipu' | 'qwen3.5' | 'gemma3-4b' | 'mistral-small' | 'mistral-medium' | 'anthropic';
24
25
  /** Whether the behavior source is injected into the user prompt. */
25
26
  export type GateMode = 'guided' | 'pure';
26
27
  /** Options passed to individual gate functions. */
@@ -59,6 +60,7 @@ export interface GateTimings {
59
60
  gate1Ms: number[];
60
61
  gate2Ms: number[];
61
62
  gate3Ms: number[];
63
+ gate35Ms: number;
62
64
  gate4Ms: number[];
63
65
  totalMs: number;
64
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/agent",
3
- "version": "3.5.7",
3
+ "version": "3.5.11",
4
4
  "description": "AI agent infrastructure for Almadar orbital schema generation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "@almadar/core": ">=2.1.0",
59
59
  "@almadar/integrations": ">=2.0.1",
60
60
  "@almadar/llm": ">=2.2.0",
61
- "@almadar/patterns": ">=2.6.0",
61
+ "@almadar/patterns": ">=2.7.0",
62
62
  "@almadar/skills": ">=2.5.0",
63
63
  "@almadar/std": ">=3.1.0",
64
64
  "langsmith": "^0.1.0",