@mupt-ai/dari-gateway 1.0.305 → 1.0.306

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.
@@ -18,7 +18,8 @@ const ANTHROPIC_ROUTER_MODELS = new Set([CANONICAL_ROUTER_MODEL, ...ANTHROPIC_RO
18
18
  request leaves the client (wire-captured live: Task spawns emit
19
19
  `claude-opus-5` even when the session model is dari/routing), so concrete
20
20
  Claude-family ids are synonyms too — both bare (`claude-opus-5`) and
21
- provider-prefixed (`anthropic/claude-opus-5`) forms. */
21
+ provider-prefixed (`anthropic/claude-opus-5`) forms. `dari claude --setup`
22
+ relies on this: the Claude app lists routing as `claude-dari-routing`. */
22
23
  const ANTHROPIC_MODEL_ID_PATTERN = /^(anthropic\/)?claude-[a-z0-9][a-z0-9.-]*$/i;
23
24
  export function isAnthropicRouterModel(model) {
24
25
  return ANTHROPIC_ROUTER_MODELS.has(model) || ANTHROPIC_MODEL_ID_PATTERN.test(model);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mupt-ai/dari-gateway",
3
- "version": "1.0.305",
3
+ "version": "1.0.306",
4
4
  "description": "Self-hostable LLM gateway for coding agents and APIs: one endpoint for Anthropic Messages, OpenAI Chat Completions, and OpenAI Responses, with subscription pooling, failover, and prompt-cache-aware routing.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@aws-sdk/client-sts": "3.1063.0",
54
- "@mupt-ai/dari-router": "1.0.305",
54
+ "@mupt-ai/dari-router": "1.0.306",
55
55
  "@mupt-ai/pi-ai": "1.5.2-mupt.1"
56
56
  },
57
57
  "devDependencies": {
@@ -22,7 +22,8 @@ const ANTHROPIC_ROUTER_MODELS = new Set<string>([CANONICAL_ROUTER_MODEL, ...ANTH
22
22
  request leaves the client (wire-captured live: Task spawns emit
23
23
  `claude-opus-5` even when the session model is dari/routing), so concrete
24
24
  Claude-family ids are synonyms too — both bare (`claude-opus-5`) and
25
- provider-prefixed (`anthropic/claude-opus-5`) forms. */
25
+ provider-prefixed (`anthropic/claude-opus-5`) forms. `dari claude --setup`
26
+ relies on this: the Claude app lists routing as `claude-dari-routing`. */
26
27
  const ANTHROPIC_MODEL_ID_PATTERN = /^(anthropic\/)?claude-[a-z0-9][a-z0-9.-]*$/i;
27
28
 
28
29
  export function isAnthropicRouterModel(model: string): boolean {