devez-vibe 1.6.51 → 1.6.53
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/bin/dvz.exe +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +15 -4
- package/package.json +1 -1
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -3018,9 +3018,12 @@ async function dispatch(method, params = {}) {
|
|
|
3018
3018
|
const output = await runClaudeCommand(params, ["plugin", "marketplace", "update"]);
|
|
3019
3019
|
return { message: output, consideredRoots: ["Claude marketplaces"], errors: [] };
|
|
3020
3020
|
}
|
|
3021
|
-
if (method === "skills/list") return claudeSkills(params);
|
|
3022
|
-
if (method === "app/list") return { data: [] };
|
|
3023
|
-
if (method === "
|
|
3021
|
+
if (method === "skills/list") return claudeSkills(params);
|
|
3022
|
+
if (method === "app/list") return { data: [] };
|
|
3023
|
+
if (method === "account/read") {
|
|
3024
|
+
return await runClaudeJson(params, ["auth", "status", "--json"]) || {};
|
|
3025
|
+
}
|
|
3026
|
+
if (method === "plugin/reload") {
|
|
3024
3027
|
return { message: "Claude 플러그인 설정을 다시 읽었습니다. 새 대화부터 적용됩니다." };
|
|
3025
3028
|
}
|
|
3026
3029
|
if (method === "permissions/status") return claudePermissionStatus(params);
|
|
@@ -3149,7 +3152,15 @@ async function dispatch(method, params = {}) {
|
|
|
3149
3152
|
const source = liveSessionId(params.sessionId);
|
|
3150
3153
|
const forked = await forkSession(source, { dir: await readableCwd(source, params.cwd) });
|
|
3151
3154
|
const id = forked.sessionId || forked;
|
|
3152
|
-
|
|
3155
|
+
// A fork continues the thread it branched from, so the parent's own model and
|
|
3156
|
+
// effort outrank the host's fallback: without this the new session opens on
|
|
3157
|
+
// the model default instead of what the parent was running.
|
|
3158
|
+
const parent = sessions.get(source);
|
|
3159
|
+
const { session, account, usage } = await createSession({
|
|
3160
|
+
...params,
|
|
3161
|
+
model: stripClaudeModel(params.model) ? params.model : (parent?.model || params.fallbackModel || params.model),
|
|
3162
|
+
effort: params.effort || parent?.effort || params.fallbackEffort,
|
|
3163
|
+
}, id);
|
|
3153
3164
|
return {
|
|
3154
3165
|
id,
|
|
3155
3166
|
thread: { id, turns: [] },
|