@co0ontty/wand 4.11.1 → 4.11.2
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/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
3
|
-
"builtAt": "2026-07-17T10:
|
|
4
|
-
"version": "4.11.
|
|
2
|
+
"commit": "26afd2798da3b5ba08d434492ac457a4959ee69a",
|
|
3
|
+
"builtAt": "2026-07-17T10:32:08.535Z",
|
|
4
|
+
"version": "4.11.2",
|
|
5
5
|
"channel": "stable"
|
|
6
6
|
}
|
package/dist/server.js
CHANGED
|
@@ -961,10 +961,15 @@ export async function startServer(config, configPath, options = {}) {
|
|
|
961
961
|
: body.provider === "qoder" || /^qodercli\b/.test(body.command.trim())
|
|
962
962
|
? "qoder"
|
|
963
963
|
: "claude";
|
|
964
|
+
// Older clients used the provider id as the PTY command. Qoder's executable
|
|
965
|
+
// is named qodercli, so keep those clients working while preserving custom commands.
|
|
966
|
+
const command = provider === "qoder" && body.command.trim() === "qoder"
|
|
967
|
+
? "qodercli"
|
|
968
|
+
: body.command;
|
|
964
969
|
const effectiveModel = rawModel || getDefaultModelForProvider(config, provider) || undefined;
|
|
965
970
|
const reqCols = typeof body.cols === "number" && Number.isFinite(body.cols) ? body.cols : undefined;
|
|
966
971
|
const reqRows = typeof body.rows === "number" && Number.isFinite(body.rows) ? body.rows : undefined;
|
|
967
|
-
const snapshot = processes.start(
|
|
972
|
+
const snapshot = processes.start(command, body.cwd, body.mode ?? config.defaultMode, initialInput || undefined, {
|
|
968
973
|
worktreeEnabled: body.worktreeEnabled === true,
|
|
969
974
|
provider,
|
|
970
975
|
model: effectiveModel,
|