dal-code 1.0.13 → 1.0.14
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/CHANGELOG.md +4 -0
- package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-lsp/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-mcp/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-router/LICENSE +21 -0
- package/dist/node_modules/@dalcode/dal-router/package.json +36 -0
- package/dist/node_modules/@dalcode/dal-router/src/classifier.ts +80 -0
- package/dist/node_modules/@dalcode/dal-router/src/commands.ts +104 -0
- package/dist/node_modules/@dalcode/dal-router/src/config.ts +137 -0
- package/dist/node_modules/@dalcode/dal-router/src/features.ts +85 -0
- package/dist/node_modules/@dalcode/dal-router/src/index.ts +236 -0
- package/dist/node_modules/@dalcode/dal-router/src/router.ts +150 -0
- package/dist/node_modules/@dalcode/dal-router/src/runtime.ts +88 -0
- package/dist/node_modules/@dalcode/dal-router/src/small-model.ts +36 -0
- package/dist/node_modules/@dalcode/dal-router/src/subagent.ts +58 -0
- package/dist/node_modules/@dalcode/dal-router/src/tiers.ts +187 -0
- package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-telemetry/package.json +2 -2
- package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
- package/dist/node_modules/@earendil-works/chord/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-client/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-protocol/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-server/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-session-backend-sqlite-node/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tier registry (T1 light / T2 balanced / T3 performance) and the
|
|
3
|
+
* fitness-based model pick.
|
|
4
|
+
*
|
|
5
|
+
* Assignment is by model *capability*, not cost: every candidate gets a
|
|
6
|
+
* capability score (context window, reasoning, output budget, id signals),
|
|
7
|
+
* and the sorted spread is split into tiers — the strongest models form t3
|
|
8
|
+
* (complex work), the weakest form t1 (simple work a light model handles
|
|
9
|
+
* fine), the middle band is t2.
|
|
10
|
+
*
|
|
11
|
+
* The pick then optimizes *fitness for the grade* inside the target tier:
|
|
12
|
+
* l1 prefers the quickest model in the tier, l3 the most capable one. Cost
|
|
13
|
+
* only breaks ties.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import type { Grade, TierLevel } from "./config.ts";
|
|
17
|
+
|
|
18
|
+
export interface TierCandidate {
|
|
19
|
+
id: string;
|
|
20
|
+
/** Provider-qualified lookup key for modelRegistry.find(). */
|
|
21
|
+
provider: string;
|
|
22
|
+
contextWindow: number;
|
|
23
|
+
maxTokens: number;
|
|
24
|
+
reasoning: boolean;
|
|
25
|
+
/** $/Mtok, input+output averaged when only those are known; 0 = unknown. */
|
|
26
|
+
costPerMtok: number;
|
|
27
|
+
tier: TierLevel;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Capability signals carried in model ids. Vendors encode the positioning
|
|
32
|
+
* there ("flash"/"mini" = quick and light, "pro"/"max" = flagship), so a hit
|
|
33
|
+
* is worth real signal in lieu of published benchmarks.
|
|
34
|
+
*/
|
|
35
|
+
const LIGHT_ID_PATTERN = /(?:mini|flash|lite|fast|air|small|instant|turbo|nano)/i;
|
|
36
|
+
const HEAVY_ID_PATTERN = /(?:pro|max|ultra|large|heavy|plus|codex|thinking|reasoning)/i;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Overall capability weight of a model — how much work it can take on. Used
|
|
40
|
+
* for tier assignment (weak models serve simple grades, strong models serve
|
|
41
|
+
* complex grades).
|
|
42
|
+
*/
|
|
43
|
+
export function capabilityScore(model: {
|
|
44
|
+
contextWindow: number;
|
|
45
|
+
maxTokens: number;
|
|
46
|
+
reasoning: boolean;
|
|
47
|
+
id: string;
|
|
48
|
+
}): number {
|
|
49
|
+
const id = model.id.toLowerCase();
|
|
50
|
+
let score = 0;
|
|
51
|
+
score += Math.min(model.contextWindow / 1_000_000, 2) * 0.35; // 2M window = max 0.7
|
|
52
|
+
score += Math.min(model.maxTokens / 65_536, 1) * 0.15;
|
|
53
|
+
if (model.reasoning) score += 0.25;
|
|
54
|
+
if (HEAVY_ID_PATTERN.test(id)) score += 0.15;
|
|
55
|
+
if (LIGHT_ID_PATTERN.test(id)) score -= 0.05;
|
|
56
|
+
return score;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* How well a model fits a grade, inside its tier. l1 favors the quickest
|
|
61
|
+
* model in the tier, l3 the most capable one; l2 stays in the middle.
|
|
62
|
+
*/
|
|
63
|
+
export function fitnessWithinTier(model: TierCandidate, grade: Grade): number {
|
|
64
|
+
const capability = capabilityScore(model);
|
|
65
|
+
if (grade === "l1") return 1 - capability; // light work: the lightest fits
|
|
66
|
+
if (grade === "l3") return capability; // hard work: the strongest fits
|
|
67
|
+
const mid = 1 - Math.abs(capability - 0.5); // balanced work: the middle fits
|
|
68
|
+
return mid;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface TierCandidatesInput {
|
|
72
|
+
/** id -> { provider, contextWindow, maxTokens, reasoning, costPerMtok }. */
|
|
73
|
+
models: Array<{
|
|
74
|
+
id: string;
|
|
75
|
+
provider: string;
|
|
76
|
+
contextWindow: number;
|
|
77
|
+
maxTokens: number;
|
|
78
|
+
reasoning: boolean;
|
|
79
|
+
costPerMtok: number;
|
|
80
|
+
}>;
|
|
81
|
+
/** Explicit tier naming from factory.json, in priority order over the heuristic. */
|
|
82
|
+
explicit: { t1: string[]; t2: string[]; t3: string[] };
|
|
83
|
+
autoTiering: boolean;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface TierRegistry {
|
|
87
|
+
candidates: TierCandidate[];
|
|
88
|
+
tiers: Record<TierLevel, string[]>;
|
|
89
|
+
/** Where each assignment came from, for /factory pool. */
|
|
90
|
+
sources: Record<string, "explicit" | "heuristic" | "default-tier">;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Builds the tier registry. Models named explicitly land on their named tier
|
|
95
|
+
* first; the rest are capability-ranked — the strongest slice forms t3, the
|
|
96
|
+
* weakest t1, the middle band t2.
|
|
97
|
+
*/
|
|
98
|
+
export function buildTierRegistry(input: TierCandidatesInput): TierRegistry {
|
|
99
|
+
const candidates: TierCandidate[] = [];
|
|
100
|
+
const tiers: Record<TierLevel, string[]> = { t1: [], t2: [], t3: [] };
|
|
101
|
+
const sources: Record<string, "explicit" | "heuristic" | "default-tier"> = {};
|
|
102
|
+
const assigned = new Set<string>();
|
|
103
|
+
|
|
104
|
+
const byName = new Map(input.models.map((m) => [m.id, m]));
|
|
105
|
+
for (const level of ["t1", "t2", "t3"] as const) {
|
|
106
|
+
for (const id of input.explicit[level]) {
|
|
107
|
+
const model = byName.get(id);
|
|
108
|
+
if (!model || assigned.has(id)) continue;
|
|
109
|
+
candidates.push({ ...model, tier: level });
|
|
110
|
+
tiers[level].push(id);
|
|
111
|
+
sources[id] = "explicit";
|
|
112
|
+
assigned.add(id);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const unassigned = input.models.filter((model) => !assigned.has(model.id));
|
|
117
|
+
if (input.autoTiering && unassigned.length >= 2) {
|
|
118
|
+
// Capability ascending: weakest first. The weakest slice forms t1, the
|
|
119
|
+
// strongest slice forms t3 — a graded ladder of the same catalog.
|
|
120
|
+
const scored = unassigned
|
|
121
|
+
.map((model) => ({ model, capability: capabilityScore(model) }))
|
|
122
|
+
.sort((a, b) => a.capability - b.capability);
|
|
123
|
+
const quarter = Math.max(1, Math.floor(scored.length / 4));
|
|
124
|
+
scored.forEach((entry, index) => {
|
|
125
|
+
let level: TierLevel = "t2";
|
|
126
|
+
if (index < quarter) level = "t1";
|
|
127
|
+
else if (index >= scored.length - quarter) level = "t3";
|
|
128
|
+
candidates.push({ ...entry.model, tier: level });
|
|
129
|
+
tiers[level].push(entry.model.id);
|
|
130
|
+
sources[entry.model.id] = "heuristic";
|
|
131
|
+
});
|
|
132
|
+
} else {
|
|
133
|
+
for (const model of unassigned) {
|
|
134
|
+
candidates.push({ ...model, tier: "t2" });
|
|
135
|
+
tiers.t2.push(model.id);
|
|
136
|
+
sources[model.id] = "default-tier";
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return { candidates, tiers, sources };
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface PickInput {
|
|
144
|
+
/** The target tier derived from the graded complexity. */
|
|
145
|
+
tier: TierLevel;
|
|
146
|
+
/** The graded complexity — selects the best-fitting model inside the tier. */
|
|
147
|
+
grade: Grade;
|
|
148
|
+
registry: TierRegistry;
|
|
149
|
+
/** Cost breaks ties between equally fitting models. */
|
|
150
|
+
costPerMtok?: number;
|
|
151
|
+
/** Model ids observed failing recently; temporarily out of the pool. */
|
|
152
|
+
unavailable: Set<string>;
|
|
153
|
+
/** The model currently active in the session (preferred on exact fitness ties). */
|
|
154
|
+
currentModelId?: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Five-factor pick: fitness for the grade dominates, cost breaks ties between
|
|
159
|
+
* equally fitting models, and the authorization factor is a veto applied
|
|
160
|
+
* upstream by filtering candidates.
|
|
161
|
+
*/
|
|
162
|
+
export function pickModelForGrade(input: PickInput): TierCandidate | undefined {
|
|
163
|
+
const inTier = input.registry.candidates.filter(
|
|
164
|
+
(candidate) => candidate.tier === input.tier && !input.unavailable.has(candidate.id),
|
|
165
|
+
);
|
|
166
|
+
if (inTier.length === 0) return undefined;
|
|
167
|
+
|
|
168
|
+
const best = inTier
|
|
169
|
+
.map((candidate) => ({
|
|
170
|
+
candidate,
|
|
171
|
+
fitness: fitnessForTier(candidate, input.grade),
|
|
172
|
+
cost: candidate.costPerMtok,
|
|
173
|
+
}))
|
|
174
|
+
.sort((a, b) => b.fitness - a.fitness || a.cost - b.cost || a.candidate.id.localeCompare(b.candidate.id));
|
|
175
|
+
return best[0]?.candidate;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
function fitnessForTier(candidate: TierCandidate, grade: Grade): number {
|
|
179
|
+
if (grade === "l1") return -capabilityScore(candidate); // light work: lightest model wins
|
|
180
|
+
if (grade === "l3") return capabilityScore(candidate); // hard work: strongest model wins
|
|
181
|
+
return 0; // balanced work: middle of the tier
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Grade -> target tier, per the L1/L2/L3 mapping table. */
|
|
185
|
+
export function gradeToTier(grade: Grade): TierLevel {
|
|
186
|
+
return { l1: "t1", l2: "t2", l3: "t3" }[grade] as TierLevel;
|
|
187
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-skills",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
23
|
-
"@dalcode/deepailab": "1.0.
|
|
22
|
+
"@dalcode/dal-pi-kit": "1.0.14",
|
|
23
|
+
"@dalcode/deepailab": "1.0.14",
|
|
24
24
|
"typebox": "1.3.7"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-subagent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
21
|
-
"@dalcode/dal-guard": "1.0.
|
|
22
|
-
"@earendil-works/pi-agent-core": "^1.0.
|
|
23
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
20
|
+
"@dalcode/dal-pi-kit": "1.0.14",
|
|
21
|
+
"@dalcode/dal-guard": "1.0.14",
|
|
22
|
+
"@earendil-works/pi-agent-core": "^1.0.14",
|
|
23
|
+
"@earendil-works/pi-ai": "^1.0.14",
|
|
24
24
|
"typebox": "1.3.7"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-telemetry",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
23
|
+
"@dalcode/dal-pi-kit": "1.0.14"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@earendil-works/pi-coding-agent": "^1.0.9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/deepailab",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
23
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
22
|
+
"@dalcode/dal-pi-kit": "1.0.14",
|
|
23
|
+
"@earendil-works/pi-ai": "^1.0.14"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@earendil-works/pi-coding-agent": "^1.0.9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-agent-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"README.md"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
45
|
-
"@earendil-works/pi-telemetry": "^1.0.
|
|
44
|
+
"@earendil-works/pi-ai": "^1.0.14",
|
|
45
|
+
"@earendil-works/pi-telemetry": "^1.0.14",
|
|
46
46
|
"diff": "8.0.4",
|
|
47
47
|
"ignore": "7.0.5",
|
|
48
48
|
"typebox": "1.3.7",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":3,"generatedAt":"2026-09-22T07:
|
|
1
|
+
{"schemaVersion":3,"generatedAt":"2026-09-22T07:51:39.851Z","structureHash":"8ab10e9463206ebfb5396c29cfe1da62845318fbeb304f9bd994677dc790ffe5","files":{"amazon-bedrock.json":"843ede349a0435b8a4228733dfde8cff3baea7c134cb46fe7409ceef1b424f9c","ant-ling.json":"4979fe79d99ed97382d7ce40170c6132e932e77906de1eb54464c042e7d63633","anthropic.json":"c0e1cfcef8531b5d0852c0e74790290f130dbcb4591b6578bb0d8a4b464231c0","azure-openai-responses.json":"2f42741e47dbebd8491cf40bff1de313fc2221f55e16bc02fd6e5d50b5f8fefe","baseten.json":"c71a236e1fbd57bc095dd9bf1db6a9f9588a27aa6cb4f6352697ac6682b38227","cerebras.json":"9eaa554e1b02f3665f8f63e6432d253bf81351af7c72001054dd8108aa528a52","cloudflare-ai-gateway.json":"db53895cd79e8a58cfd5b7620fd1ebacc36c226b15c387c3683e8e783d07c688","cloudflare-workers-ai.json":"7fafe70c396bfeced683d348d743ca7ae109f03b8a6083a37a36d3698090a197","deepseek.json":"b5f9693ec641e9a957dc5f7a22042b3bb928bac3d7268406619b6f18e21c4b83","fireworks.json":"42c45cdd4778479bd252a15d80c5da2595ee4f7f553b749d8b68d60a819f4107","github-copilot.json":"f66bb61f080ca36519073072bbc6deb74175b4382e33d4225118d49433f935bf","google-vertex.json":"e1631109172dc1f7d7977570420a5bb86258bdd1088427e244a2c51545c4f24d","google.json":"7619bf03edd2a7acb06a2274a14b13c3a61354288abe029a758401d4de36a8fd","groq.json":"e4728fd72e358cd8f25e9a518e9b49a521ef44523d3debe38a7db9e0663c4077","huggingface.json":"2f93082144a7b2a1cbf79148244ce7559e0428d6310c5eb0648bca89b15a8b4b","kimi-coding.json":"202d4b9a3e3327cebb01626fb1818f92627e59800f27858902c4ce69105f0bd7","minimax-cn.json":"65d37e55a6d9585855f94b3fb7739308d107fe248ebd9e1001d1c5d4606ad2c4","minimax.json":"c7dc5765995ae77242916430929c7cc9a782589f7e483e13f7e01663190d028e","mistral.json":"be522597b22bceeb0bb9a0ba1781647649ffd19637d0c8e67b056d7b0ec33d52","moonshotai-cn.json":"63f77de8782dce6a8d4649b6075ee04c9732863ae85561e0867871220c558bde","moonshotai.json":"2a8dfb97eb905e991c22081dc09bd4a61c05b7fa9ac0d5c72d6930f601f490f1","nvidia.json":"6493e09b5db8b8fe9c8fae5bc15dc287645f37f83a4ed3a1ad1181e5830b5ff7","openai-codex.json":"9050a9eadbcebc83dd7e027ea68466e4a02dcf6fd2cf71768f666469e508a514","openai.json":"775d3b7d95d14b741d0b287b1153d40f051a9ea03035a82b487889acc7fa69e2","opencode-go.json":"0a272361d1791a4174405cebaf6b0baa726f9f22ff0dc4c898b4681028637f90","opencode.json":"ede6fba8436d13328dc3a7f38a7bfc9ac84de3651eb9a02c7911eaeae006ddd4","openrouter.json":"3a4ee33e6b712a366157f8c56678d83c3dde9de97bcde49cc5d97a96e032648b","qwen-token-plan-cn.json":"c6bf63501837149d212795f26da3c492472bb79062b350f8a51f4d8dc7127ed3","qwen-token-plan-individual.json":"eb040e78595853e980011308b1bf9caacae6dc8a91abbac5ffebd402515dd2a6","qwen-token-plan.json":"d72a4a85dd473bbabb380add830f280442ac3bdc00cb47b7a44a5bdd4e1952ed","together.json":"927c707d06f2236cdab13f14c870fb58bce0614ba7287bbcd57cc9fd66d191ed","vercel-ai-gateway.json":"62651d630063f89c7dd1b039f8021070caff7f8959b0fbe181d478d228f156bc","xai.json":"307858b392caa8a4d88a83b9f8aca0db66e6a2cae022cc2b8d38ca9eed3c7453","xiaomi-token-plan-ams.json":"bc8be999579ca408d405ae398bb5a074808131d16f568d8df61ec62d19063b49","xiaomi-token-plan-cn.json":"e01223a54c913121a4fb81bfb9940cc1f4e94165f8e89eea2069b26335090029","xiaomi-token-plan-sgp.json":"e2e28b3999d1db4d9a9d3c1d148a16a9824a76711b68e5321da72feafc4cab3c","xiaomi.json":"6472efd618d7dacdbac5fda5d19a2154eabf8e045c0bc8aa3b5be574d66bbe32","zai-coding-cn.json":"69c572aa75104f16ccbddbaace60c267f4bcc74f86d34891ca43110d312fb1ad","zai.json":"15c8182a88e58bdc1b1c3eb0603c690475342c8a826ceddfe9af1b36b28345ee"}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@anthropic-ai/sdk": "0.123.0",
|
|
56
56
|
"@aws-sdk/client-bedrock-runtime": "3.1048.0",
|
|
57
|
-
"@earendil-works/pi-telemetry": "^1.0.
|
|
57
|
+
"@earendil-works/pi-telemetry": "^1.0.14",
|
|
58
58
|
"@google/genai": "1.52.0",
|
|
59
59
|
"@opentelemetry/api": "1.9.0",
|
|
60
60
|
"@smithy/node-http-handler": "4.7.3",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Transport-neutral client for remote pi sessions over framed CBOR bytes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"node": ">=22.19.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@earendil-works/pi-protocol": "^1.0.
|
|
43
|
+
"@earendil-works/pi-protocol": "^1.0.14"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-protocol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Transport-neutral CBOR protocol for remote pi sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=22.19.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@earendil-works/chord": "^1.0.
|
|
36
|
+
"@earendil-works/chord": "^1.0.14",
|
|
37
37
|
"typebox": "1.3.7"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "experimental server package for pi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"node": ">=22.19.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
43
|
-
"@earendil-works/pi-protocol": "^1.0.
|
|
42
|
+
"@earendil-works/pi-ai": "^1.0.14",
|
|
43
|
+
"@earendil-works/pi-protocol": "^1.0.14"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-session-backend-sqlite-node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Node sqlite session backend for @earendil-works/pi-agent-core sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=22.19.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
31
|
-
"@earendil-works/pi-agent-core": "^1.0.
|
|
30
|
+
"@earendil-works/pi-ai": "^1.0.14",
|
|
31
|
+
"@earendil-works/pi-agent-core": "^1.0.14"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-custom-provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-custom-provider",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.12",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.52.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-gondolin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-gondolin",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.12",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@earendil-works/gondolin": "0.12.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-sandbox",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.12",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-sandbox",
|
|
9
|
-
"version": "1.15.
|
|
9
|
+
"version": "1.15.12",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sandbox-runtime": "^0.0.26"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-with-deps",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-with-deps",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.12",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"ms": "^2.1.3"
|
|
12
12
|
},
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dal-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "dal-code",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.14",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@agentclientprotocol/sdk": "1.3.0",
|