@clawos-dev/clawd 0.2.670 → 0.2.671

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 CHANGED
@@ -66087,7 +66087,7 @@ function buildPersonaDispatchHandlers(deps) {
66087
66087
  await deps.getCapabilities(args.tool);
66088
66088
  }
66089
66089
  if (args.model !== void 0) {
66090
- const caps = await deps.getCapabilities?.(effectiveTool);
66090
+ const caps = await deps.getCapabilities?.(effectiveTool, { refresh: true });
66091
66091
  const allowed = caps ? caps.models.map((m3) => m3.id).filter((id) => id !== "") : effectiveTool === "claude" ? CLAUDE_MODEL_IDS : [];
66092
66092
  if (!allowed.includes(args.model)) {
66093
66093
  throw new ClawdError(
@@ -74948,7 +74948,7 @@ function computeMethodAccess(args) {
74948
74948
  }
74949
74949
 
74950
74950
  // src/version.ts
74951
- var version = "0.2.670".length > 0 ? "0.2.670" : "dev";
74951
+ var version = "0.2.671".length > 0 ? "0.2.671" : "dev";
74952
74952
 
74953
74953
  // src/cli-probe/probe.ts
74954
74954
  var fs86 = __toESM(require("fs"), 1);
@@ -78544,7 +78544,7 @@ async function startDaemon(config) {
78544
78544
  },
78545
78545
  getPersonaPublic: (personaId2) => personaRegistry.get(personaId2)?.public ?? false,
78546
78546
  getPersonaDefaults: (personaId2) => personaRegistry.get(personaId2),
78547
- getCapabilities: (tool) => manager.getCapabilities(tool)
78547
+ getCapabilities: (tool, opts) => manager.getCapabilities(tool, opts)
78548
78548
  });
78549
78549
  Object.assign(handlers, dispatchHandlers);
78550
78550
  const shiftHandlers = buildShiftInternalHandlers({