@clawos-dev/clawd 0.2.357 → 0.2.358
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/cli.cjs +7 -6
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -47428,8 +47428,8 @@ var SessionManager = class {
|
|
|
47428
47428
|
const file = {
|
|
47429
47429
|
sessionId,
|
|
47430
47430
|
cwd,
|
|
47431
|
-
// dispatch B session 跟随 persona 绑定的 tool(codex persona 用 codex spawn
|
|
47432
|
-
//
|
|
47431
|
+
// dispatch B session 跟随 persona 绑定的 tool(codex persona 用 codex spawn);
|
|
47432
|
+
// UI 手建路径另允许通过 session:create 显式覆盖。
|
|
47433
47433
|
tool: personaDefaults?.tool ?? "claude",
|
|
47434
47434
|
ownerPersonaId: args.targetPersona,
|
|
47435
47435
|
dispatchedFromSessionId: args.sourceSessionId,
|
|
@@ -58714,9 +58714,10 @@ function buildSessionHandlers(deps) {
|
|
|
58714
58714
|
if (!persona) {
|
|
58715
58715
|
throw new Error(`persona not found: ${args.ownerPersonaId}`);
|
|
58716
58716
|
}
|
|
58717
|
-
|
|
58718
|
-
|
|
58719
|
-
|
|
58717
|
+
const toolOverridden = args.tool !== void 0 && args.tool !== persona.tool;
|
|
58718
|
+
tool = args.tool ?? persona.tool;
|
|
58719
|
+
model = args.model ?? (toolOverridden ? void 0 : persona.model);
|
|
58720
|
+
effort = args.effort ?? (toolOverridden ? void 0 : persona.effort);
|
|
58720
58721
|
}
|
|
58721
58722
|
ensurePersonaAccess(ctx, args.ownerPersonaId, "send");
|
|
58722
58723
|
const creatorPrincipalId = ctx?.principal.id ?? ownerPrincipalId;
|
|
@@ -60452,7 +60453,7 @@ function computeMethodAccess(args) {
|
|
|
60452
60453
|
}
|
|
60453
60454
|
|
|
60454
60455
|
// src/version.ts
|
|
60455
|
-
var version = "0.2.
|
|
60456
|
+
var version = "0.2.358".length > 0 ? "0.2.358" : "dev";
|
|
60456
60457
|
|
|
60457
60458
|
// src/cli-probe/probe.ts
|
|
60458
60459
|
var fs60 = __toESM(require("fs"), 1);
|