@klhapp/skillmux 1.7.0 → 1.7.1
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 +7 -0
- package/package.json +1 -1
- package/src/cli.ts +1 -1
- package/src/config-service.ts +2 -2
- package/src/config.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.7.1](https://github.com/klhq/skillmux/compare/v1.7.0...v1.7.1) (2026-08-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
* **config:** neutralize migration error wording ([#128](https://github.com/klhq/skillmux/issues/128)) ([1fb130e](https://github.com/klhq/skillmux/commit/1fb130e3a6c3c3c084ca183c67ab7c8f984595a7))
|
|
14
|
+
|
|
8
15
|
## [1.7.0](https://github.com/klhq/skillmux/compare/v1.6.0...v1.7.0) (2026-08-21)
|
|
9
16
|
|
|
10
17
|
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -270,7 +270,7 @@ async function main() {
|
|
|
270
270
|
break;
|
|
271
271
|
case "calibrate":
|
|
272
272
|
throw new Error(
|
|
273
|
-
'skillmux calibrate was removed
|
|
273
|
+
'skillmux calibrate was removed. Threshold calibration was removed; use "skillmux eval" for ranking evaluation.',
|
|
274
274
|
);
|
|
275
275
|
case "completions":
|
|
276
276
|
await handleCompletionsCommand(subCommand);
|
package/src/config-service.ts
CHANGED
|
@@ -217,10 +217,10 @@ export function isEnvMasked(key: string, allowEnvOverrides: boolean = true): boo
|
|
|
217
217
|
|
|
218
218
|
export function validateDottedKey(key: string): void {
|
|
219
219
|
if (key === "output.ambiguous_candidate_limit") {
|
|
220
|
-
throw new Error("output.ambiguous_candidate_limit is obsolete
|
|
220
|
+
throw new Error("output.ambiguous_candidate_limit is obsolete. Use output.top_k instead.");
|
|
221
221
|
}
|
|
222
222
|
if (key.startsWith("thresholds.") || key.startsWith("inference.thresholds.")) {
|
|
223
|
-
throw new Error("thresholds are obsolete
|
|
223
|
+
throw new Error("thresholds are obsolete. Threshold calibration was removed; use output.top_k.");
|
|
224
224
|
}
|
|
225
225
|
const allowed = new Set([
|
|
226
226
|
"config.environment_overrides",
|
package/src/config.ts
CHANGED
|
@@ -264,22 +264,22 @@ export async function loadConfig(path?: string): Promise<Config> {
|
|
|
264
264
|
const parsed = Bun.TOML.parse(await file.text()) as Record<string, unknown>;
|
|
265
265
|
if ("thresholds" in parsed) {
|
|
266
266
|
throw new Error(
|
|
267
|
-
"The [thresholds] table is obsolete
|
|
267
|
+
"The [thresholds] table is obsolete. Threshold calibration was removed; use [output] with top_k.",
|
|
268
268
|
);
|
|
269
269
|
}
|
|
270
270
|
if (isPlainObject(parsed.output) && "ambiguous_candidate_limit" in parsed.output) {
|
|
271
271
|
throw new Error(
|
|
272
|
-
"output.ambiguous_candidate_limit is obsolete
|
|
272
|
+
"output.ambiguous_candidate_limit is obsolete. Use output.top_k instead.",
|
|
273
273
|
);
|
|
274
274
|
}
|
|
275
275
|
if (isPlainObject(parsed.inference) && "thresholds" in parsed.inference) {
|
|
276
276
|
throw new Error(
|
|
277
|
-
"inference.thresholds is obsolete
|
|
277
|
+
"inference.thresholds is obsolete. Threshold calibration was removed.",
|
|
278
278
|
);
|
|
279
279
|
}
|
|
280
280
|
if (isPlainObject(parsed.inference) && "calibration" in parsed.inference) {
|
|
281
281
|
throw new Error(
|
|
282
|
-
"inference.calibration is obsolete
|
|
282
|
+
"inference.calibration is obsolete and should be deleted. Threshold calibration was removed; use skillmux eval for ranking evaluation.",
|
|
283
283
|
);
|
|
284
284
|
}
|
|
285
285
|
if ("embedding" in parsed || "rerank" in parsed || "remote_timeout_ms" in parsed) {
|