@duckmind/dm-darwin-x64 0.67.3 → 0.67.5
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/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Requires Node.js 22.19.0 or newer for bundled web access (including `undici`).
|
|
|
8
8
|
If your Node.js is older, upgrade it before installing or updating DM.
|
|
9
9
|
Install `@duckmind/dm`, not a platform package for a different OS.
|
|
10
10
|
|
|
11
|
-
## What's new in 0.67.
|
|
11
|
+
## What's new in 0.67.5
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Fixed Claude Opus 5 adaptive thinking and subscription model capabilities.
|
|
14
14
|
|
package/dm
CHANGED
|
@@ -503,8 +503,8 @@
|
|
|
503
503
|
"src/workflows/workflow-stop-cause.js"
|
|
504
504
|
],
|
|
505
505
|
"file_count": 350,
|
|
506
|
-
"before_bytes":
|
|
507
|
-
"after_bytes":
|
|
506
|
+
"before_bytes": 5460813,
|
|
507
|
+
"after_bytes": 4587748,
|
|
508
508
|
"runtime_specifier_rewrites": 223,
|
|
509
509
|
"runtime_filename_rewrites": 323,
|
|
510
510
|
"declaration_files_removed": 1
|
|
@@ -47,10 +47,12 @@ function childRuntime(dm, agentDir, parentProviders, model) {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function resolveChildModel(registry, reference) {
|
|
50
|
+
export function resolveChildModel(registry, reference, dm) {
|
|
51
51
|
const { baseModel, thinkingSuffix } = splitKnownThinkingSuffix(reference);
|
|
52
52
|
const slash = baseModel.indexOf("/");
|
|
53
|
-
|
|
53
|
+
let model = slash > 0 ? registry.find(baseModel.slice(0, slash), baseModel.slice(slash + 1)) : registry.getAvailable().find((item) => item.id === baseModel);
|
|
54
|
+
if (!model && typeof dm?.resolveCliModel === "function")
|
|
55
|
+
model = dm.resolveCliModel({ cliModel: baseModel, modelRegistry: registry }).model;
|
|
54
56
|
if (!model)
|
|
55
57
|
throw new Error(`Model ${reference} not found in child registry`);
|
|
56
58
|
return { model, ...thinkingSuffix ? { thinkingLevel: thinkingSuffix.slice(1) } : {} };
|
|
@@ -456,7 +458,7 @@ export function createDefaultChildSessionFactory(options = {}) {
|
|
|
456
458
|
const header = newSessionFile && launch.parentSessionFile ? sessionManager.getHeader() : null;
|
|
457
459
|
if (header)
|
|
458
460
|
header.parentSession = launch.parentSessionFile;
|
|
459
|
-
const resolvedModel = launch.model ? modelRegistry ? resolveChildModel(modelRegistry, launch.model) : dm.resolveCliModel?.({ cliModel: launch.model, modelRuntime }) : undefined;
|
|
461
|
+
const resolvedModel = launch.model ? modelRegistry ? resolveChildModel(modelRegistry, launch.model, dm) : dm.resolveCliModel?.({ cliModel: launch.model, modelRuntime }) : undefined;
|
|
460
462
|
if (launch.model && !resolvedModel)
|
|
461
463
|
throw new Error("child model resolver is unavailable");
|
|
462
464
|
if (resolvedModel && "error" in resolvedModel && resolvedModel.error)
|