@fideliosai/shared 0.0.40 → 0.0.42
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/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/validators/access.d.ts +3 -3
- package/dist/validators/agent.d.ts +9 -9
- package/dist/validators/finance.d.ts +5 -5
- package/dist/validators/model-routing.test.d.ts +2 -0
- package/dist/validators/model-routing.test.d.ts.map +1 -0
- package/dist/validators/model-routing.test.js +66 -0
- package/dist/validators/model-routing.test.js.map +1 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const AUTH_BASE_URL_MODES: readonly ["auto", "explicit"];
|
|
|
8
8
|
export type AuthBaseUrlMode = (typeof AUTH_BASE_URL_MODES)[number];
|
|
9
9
|
export declare const AGENT_STATUSES: readonly ["active", "paused", "idle", "running", "error", "pending_approval", "terminated"];
|
|
10
10
|
export type AgentStatus = (typeof AGENT_STATUSES)[number];
|
|
11
|
-
export declare const AGENT_ADAPTER_TYPES: readonly ["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"];
|
|
11
|
+
export declare const AGENT_ADAPTER_TYPES: readonly ["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"];
|
|
12
12
|
export type AgentAdapterType = (typeof AGENT_ADAPTER_TYPES)[number];
|
|
13
13
|
export declare const AGENT_ROLES: readonly ["ceo", "cto", "cmo", "cfo", "engineer", "designer", "pm", "qa", "devops", "researcher", "general"];
|
|
14
14
|
export type AgentRole = (typeof AGENT_ROLES)[number];
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"m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,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,2CAA2C;AAC3C,eAAO,MAAM,uBAAuB,0CAI1B,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3E,+CAA+C;AAC/C,eAAO,MAAM,gCAAgC,2CAInC,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,igBAyBrB,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,4FAM5B,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/constants.js
CHANGED
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAU,CAAC;AAG1E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,eAAe,EAAE,eAAe,CAAU,CAAC;AAG5E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAU,CAAC;AAGnE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,UAAU,CAAU,CAAC;AAGjE,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,SAAS;IACT,OAAO;IACP,kBAAkB;IAClB,YAAY;CACJ,CAAC;AAGX,MAAM,CAAC,MAAM,mBAAmB,G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
|
|
|
24
24
|
export declare const acceptInviteSchema: z.ZodObject<{
|
|
25
25
|
requestType: z.ZodEnum<["human", "agent"]>;
|
|
26
26
|
agentName: z.ZodOptional<z.ZodString>;
|
|
27
|
-
adapterType: z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>;
|
|
27
|
+
adapterType: z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"]>>;
|
|
28
28
|
capabilities: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29
29
|
agentDefaultsPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
30
30
|
responsesWebhookUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -34,7 +34,7 @@ export declare const acceptInviteSchema: z.ZodObject<{
|
|
|
34
34
|
webhookAuthHeader: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
requestType: "agent" | "human";
|
|
37
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
37
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
38
38
|
capabilities?: string | null | undefined;
|
|
39
39
|
agentName?: string | undefined;
|
|
40
40
|
agentDefaultsPayload?: Record<string, unknown> | null | undefined;
|
|
@@ -45,7 +45,7 @@ export declare const acceptInviteSchema: z.ZodObject<{
|
|
|
45
45
|
webhookAuthHeader?: string | null | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
requestType: "agent" | "human";
|
|
48
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
48
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
49
49
|
capabilities?: string | null | undefined;
|
|
50
50
|
agentName?: string | undefined;
|
|
51
51
|
agentDefaultsPayload?: Record<string, unknown> | null | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const createAgentSchema: z.ZodObject<{
|
|
|
46
46
|
reportsTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
47
47
|
capabilities: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
48
48
|
desiredSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
|
-
adapterType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>>;
|
|
49
|
+
adapterType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"]>>>;
|
|
50
50
|
adapterConfig: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
|
|
51
51
|
runtimeConfig: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
52
|
budgetMonthlyCents: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -61,7 +61,7 @@ export declare const createAgentSchema: z.ZodObject<{
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
name: string;
|
|
63
63
|
budgetMonthlyCents: number;
|
|
64
|
-
adapterType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local";
|
|
64
|
+
adapterType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local";
|
|
65
65
|
role: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general";
|
|
66
66
|
adapterConfig: Record<string, unknown>;
|
|
67
67
|
runtimeConfig: Record<string, unknown>;
|
|
@@ -78,7 +78,7 @@ export declare const createAgentSchema: z.ZodObject<{
|
|
|
78
78
|
name: string;
|
|
79
79
|
budgetMonthlyCents?: number | undefined;
|
|
80
80
|
metadata?: Record<string, unknown> | null | undefined;
|
|
81
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
81
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
82
82
|
desiredSkills?: string[] | undefined;
|
|
83
83
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
84
84
|
title?: string | null | undefined;
|
|
@@ -100,7 +100,7 @@ export declare const createAgentHireSchema: z.ZodObject<{
|
|
|
100
100
|
reportsTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
101
101
|
capabilities: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
102
102
|
desiredSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
-
adapterType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>>;
|
|
103
|
+
adapterType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"]>>>;
|
|
104
104
|
adapterConfig: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>>;
|
|
105
105
|
runtimeConfig: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
106
106
|
budgetMonthlyCents: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -118,7 +118,7 @@ export declare const createAgentHireSchema: z.ZodObject<{
|
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
name: string;
|
|
120
120
|
budgetMonthlyCents: number;
|
|
121
|
-
adapterType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local";
|
|
121
|
+
adapterType: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local";
|
|
122
122
|
role: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general";
|
|
123
123
|
adapterConfig: Record<string, unknown>;
|
|
124
124
|
runtimeConfig: Record<string, unknown>;
|
|
@@ -137,7 +137,7 @@ export declare const createAgentHireSchema: z.ZodObject<{
|
|
|
137
137
|
name: string;
|
|
138
138
|
budgetMonthlyCents?: number | undefined;
|
|
139
139
|
metadata?: Record<string, unknown> | null | undefined;
|
|
140
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
140
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
141
141
|
desiredSkills?: string[] | undefined;
|
|
142
142
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
143
143
|
title?: string | null | undefined;
|
|
@@ -157,7 +157,7 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
157
157
|
name: z.ZodOptional<z.ZodString>;
|
|
158
158
|
budgetMonthlyCents: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
159
159
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
160
|
-
adapterType: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>>>;
|
|
160
|
+
adapterType: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"]>>>>;
|
|
161
161
|
desiredSkills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
162
162
|
role: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["ceo", "cto", "cmo", "cfo", "engineer", "designer", "pm", "qa", "devops", "researcher", "general"]>>>>;
|
|
163
163
|
title: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -177,7 +177,7 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
177
177
|
budgetMonthlyCents?: number | undefined;
|
|
178
178
|
spentMonthlyCents?: number | undefined;
|
|
179
179
|
metadata?: Record<string, unknown> | null | undefined;
|
|
180
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
180
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
181
181
|
desiredSkills?: string[] | undefined;
|
|
182
182
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
183
183
|
title?: string | null | undefined;
|
|
@@ -194,7 +194,7 @@ export declare const updateAgentSchema: z.ZodObject<{
|
|
|
194
194
|
budgetMonthlyCents?: number | undefined;
|
|
195
195
|
spentMonthlyCents?: number | undefined;
|
|
196
196
|
metadata?: Record<string, unknown> | null | undefined;
|
|
197
|
-
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | undefined;
|
|
197
|
+
adapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | undefined;
|
|
198
198
|
desiredSkills?: string[] | undefined;
|
|
199
199
|
role?: "ceo" | "cto" | "cmo" | "cfo" | "engineer" | "designer" | "pm" | "qa" | "devops" | "researcher" | "general" | undefined;
|
|
200
200
|
title?: string | null | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
12
12
|
direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debit", "credit"]>>>;
|
|
13
13
|
biller: z.ZodString;
|
|
14
14
|
provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
|
-
executionAdapterType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local"]>>>;
|
|
15
|
+
executionAdapterType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["process", "http", "claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor", "openclaw_gateway", "hermes_local", "ollama_local"]>>>;
|
|
16
16
|
pricingTier: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
17
|
region: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
18
|
model: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -43,7 +43,7 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
43
43
|
issueId?: string | null | undefined;
|
|
44
44
|
heartbeatRunId?: string | null | undefined;
|
|
45
45
|
costEventId?: string | null | undefined;
|
|
46
|
-
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | null | undefined;
|
|
46
|
+
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | null | undefined;
|
|
47
47
|
pricingTier?: string | null | undefined;
|
|
48
48
|
quantity?: number | null | undefined;
|
|
49
49
|
unit?: "unknown" | "input_token" | "output_token" | "cached_input_token" | "request" | "credit_usd" | "credit_unit" | "model_unit_minute" | "model_unit_hour" | "gb_month" | "train_token" | null | undefined;
|
|
@@ -66,7 +66,7 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
66
66
|
heartbeatRunId?: string | null | undefined;
|
|
67
67
|
costEventId?: string | null | undefined;
|
|
68
68
|
direction?: "debit" | "credit" | undefined;
|
|
69
|
-
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | null | undefined;
|
|
69
|
+
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | null | undefined;
|
|
70
70
|
pricingTier?: string | null | undefined;
|
|
71
71
|
quantity?: number | null | undefined;
|
|
72
72
|
unit?: "unknown" | "input_token" | "output_token" | "cached_input_token" | "request" | "credit_usd" | "credit_unit" | "model_unit_minute" | "model_unit_hour" | "gb_month" | "train_token" | null | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
93
93
|
issueId?: string | null | undefined;
|
|
94
94
|
heartbeatRunId?: string | null | undefined;
|
|
95
95
|
costEventId?: string | null | undefined;
|
|
96
|
-
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | null | undefined;
|
|
96
|
+
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | null | undefined;
|
|
97
97
|
pricingTier?: string | null | undefined;
|
|
98
98
|
quantity?: number | null | undefined;
|
|
99
99
|
unit?: "unknown" | "input_token" | "output_token" | "cached_input_token" | "request" | "credit_usd" | "credit_unit" | "model_unit_minute" | "model_unit_hour" | "gb_month" | "train_token" | null | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const createFinanceEventSchema: z.ZodEffects<z.ZodObject<{
|
|
|
116
116
|
heartbeatRunId?: string | null | undefined;
|
|
117
117
|
costEventId?: string | null | undefined;
|
|
118
118
|
direction?: "debit" | "credit" | undefined;
|
|
119
|
-
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | null | undefined;
|
|
119
|
+
executionAdapterType?: "process" | "http" | "claude_local" | "codex_local" | "gemini_local" | "opencode_local" | "pi_local" | "cursor" | "openclaw_gateway" | "hermes_local" | "ollama_local" | null | undefined;
|
|
120
120
|
pricingTier?: string | null | undefined;
|
|
121
121
|
quantity?: number | null | undefined;
|
|
122
122
|
unit?: "unknown" | "input_token" | "output_token" | "cached_input_token" | "request" | "credit_usd" | "credit_unit" | "model_unit_minute" | "model_unit_hour" | "gb_month" | "train_token" | null | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-routing.test.d.ts","sourceRoot":"","sources":["../../src/validators/model-routing.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { modelRoutingPredicateSchema, modelRoutingRuleSchema, modelRoutingSchema, } from "./model-routing.js";
|
|
3
|
+
import { createAgentSchema } from "./agent.js";
|
|
4
|
+
describe("modelRoutingPredicateSchema", () => {
|
|
5
|
+
it("accepts an empty predicate (catch-all)", () => {
|
|
6
|
+
expect(modelRoutingPredicateSchema.parse({})).toEqual({});
|
|
7
|
+
});
|
|
8
|
+
it("validates known taskKind/agentRole values", () => {
|
|
9
|
+
const out = modelRoutingPredicateSchema.parse({ taskKind: "comment", agentRole: "ceo" });
|
|
10
|
+
expect(out).toMatchObject({ taskKind: "comment", agentRole: "ceo" });
|
|
11
|
+
});
|
|
12
|
+
it("rejects an invalid taskKind", () => {
|
|
13
|
+
expect(() => modelRoutingPredicateSchema.parse({ taskKind: "not-a-kind" })).toThrow();
|
|
14
|
+
});
|
|
15
|
+
it("preserves unknown predicate keys (forwards-compat)", () => {
|
|
16
|
+
const out = modelRoutingPredicateSchema.parse({
|
|
17
|
+
taskKind: "code",
|
|
18
|
+
fileChangeEstimate: ">200",
|
|
19
|
+
});
|
|
20
|
+
expect(out).toMatchObject({ taskKind: "code", fileChangeEstimate: ">200" });
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
describe("modelRoutingRuleSchema", () => {
|
|
24
|
+
it("requires a model", () => {
|
|
25
|
+
expect(() => modelRoutingRuleSchema.parse({ when: {} })).toThrow();
|
|
26
|
+
});
|
|
27
|
+
it("requires non-empty model", () => {
|
|
28
|
+
expect(() => modelRoutingRuleSchema.parse({ when: {}, model: " " })).toThrow();
|
|
29
|
+
});
|
|
30
|
+
it("accepts a minimal rule", () => {
|
|
31
|
+
expect(modelRoutingRuleSchema.parse({ when: { taskKind: "comment" }, model: "claude-haiku-4-5-20251001" })).toEqual({ when: { taskKind: "comment" }, model: "claude-haiku-4-5-20251001" });
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
describe("modelRoutingSchema", () => {
|
|
35
|
+
it("caps the rule list at 20 entries", () => {
|
|
36
|
+
const oversized = Array.from({ length: 21 }, () => ({
|
|
37
|
+
when: {},
|
|
38
|
+
model: "claude-opus-4-7",
|
|
39
|
+
}));
|
|
40
|
+
expect(() => modelRoutingSchema.parse(oversized)).toThrow();
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
describe("createAgentSchema integration", () => {
|
|
44
|
+
it("accepts adapterConfig.modelRouting when valid", () => {
|
|
45
|
+
const parsed = createAgentSchema.parse({
|
|
46
|
+
name: "test-agent",
|
|
47
|
+
adapterConfig: {
|
|
48
|
+
model: "claude-opus-4-7",
|
|
49
|
+
effort: "xhigh",
|
|
50
|
+
modelRouting: [
|
|
51
|
+
{ when: { taskKind: "comment" }, model: "claude-haiku-4-5-20251001", effort: "low" },
|
|
52
|
+
{ when: { taskKind: "code" }, model: "claude-opus-4-7", effort: "xhigh" },
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
const routing = parsed.adapterConfig.modelRouting;
|
|
57
|
+
expect(routing).toHaveLength(2);
|
|
58
|
+
});
|
|
59
|
+
it("rejects malformed modelRouting in adapterConfig", () => {
|
|
60
|
+
expect(() => createAgentSchema.parse({
|
|
61
|
+
name: "test-agent",
|
|
62
|
+
adapterConfig: { modelRouting: "not-an-array" },
|
|
63
|
+
})).toThrow();
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=model-routing.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-routing.test.js","sourceRoot":"","sources":["../../src/validators/model-routing.test.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