@clawos-dev/clawd 0.2.322 → 0.2.324

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
@@ -15015,7 +15015,9 @@ var init_claude = __esm({
15015
15015
  };
15016
15016
  CLAUDE_MODEL_IDS = ["opus", "fable", "sonnet", "haiku"];
15017
15017
  CLAUDE_MODELS = [
15018
- { id: "", label: "Default", description: "CLI default model", contextWindowSize: 1e6, default: true },
15018
+ // label 不写 'Default':那个词没告诉用户任何事。这一项的语义是「不传 --model」,
15019
+ // 说清楚谁来决定即可(真实落到哪个模型由 UI 用 session.resolvedModel 补充显示)。
15020
+ { id: "", label: "\u7531 CC \u51B3\u5B9A", description: "\u4E0D\u6307\u5B9A\u6A21\u578B\uFF0C\u7528 Claude Code \u81EA\u8EAB\u914D\u7F6E\u7684\u90A3\u4E2A", contextWindowSize: 1e6, default: true },
15019
15021
  { id: "opus", label: "Opus", description: "Most capable", contextWindowSize: 1e6 },
15020
15022
  { id: "fable", label: "Fable", contextWindowSize: 1e6 },
15021
15023
  { id: "sonnet", label: "Sonnet", description: "Fast, balanced", contextWindowSize: 1e6 },
@@ -15025,9 +15027,10 @@ var init_claude = __esm({
15025
15027
  (m2) => m2.id !== ""
15026
15028
  ).map((m2) => m2.id);
15027
15029
  CLAUDE_PERMISSION_MODES = [
15028
- { id: "", label: "Default", description: "Ask for every tool call" },
15029
- { id: "plan", label: "Plan", description: "Read-only, no code changes" },
15030
- { id: "bypassPermissions", label: "YOLO", description: "Skip all permission checks" }
15030
+ // codex 'Ask for approval' 同义同名——同一个概念两个 tool 别叫两个名字
15031
+ { id: "", label: "Ask for approval", description: "\u6BCF\u4E2A\u5DE5\u5177\u8C03\u7528\u90FD\u8981\u4F60\u70B9\u540C\u610F" },
15032
+ { id: "plan", label: "Plan", description: "\u53EA\u8BFB\uFF0C\u4E0D\u6539\u4EE3\u7801" },
15033
+ { id: "bypassPermissions", label: "YOLO", description: "\u8DF3\u8FC7\u5168\u90E8\u6388\u6743\u68C0\u67E5" }
15031
15034
  ];
15032
15035
  CLAUDE_CAPABILITIES = {
15033
15036
  tool: "claude",
@@ -15061,7 +15064,7 @@ var init_claude = __esm({
15061
15064
  // CC `--effort` 值域(claude --help, 2.1.187):low / medium / high / xhigh / max。
15062
15065
  // '' = 不传 --effort,用 CLI 默认。
15063
15066
  options: [
15064
- { value: "", label: "Default" },
15067
+ { value: "", label: "\u7531 CC \u51B3\u5B9A", description: "\u4E0D\u6307\u5B9A\u5F3A\u5EA6\uFF0C\u7528 Claude Code \u81EA\u8EAB\u7684\u9ED8\u8BA4\u6863" },
15065
15068
  { value: "low", label: "Low" },
15066
15069
  { value: "medium", label: "Medium" },
15067
15070
  { value: "high", label: "High" },
@@ -49792,8 +49795,9 @@ var EFFORT_LABELS = {
49792
49795
  };
49793
49796
  var CODEX_DEFAULT_MODEL_ENTRY = {
49794
49797
  id: "",
49795
- label: "Default",
49796
- description: "codex config.toml \u9ED8\u8BA4",
49798
+ // 不写 'Default'——说清楚是谁决定的(对齐 claude 侧「由 CC 决定」)
49799
+ label: "\u7531 config.toml \u51B3\u5B9A",
49800
+ description: "\u4E0D\u6307\u5B9A\u6A21\u578B\uFF0C\u7528 codex config.toml \u91CC\u914D\u7F6E\u7684\u90A3\u4E2A",
49797
49801
  contextWindowSize: CODEX_CONTEXT_WINDOW,
49798
49802
  default: true
49799
49803
  };
@@ -59878,7 +59882,7 @@ function computeMethodAccess(args) {
59878
59882
  }
59879
59883
 
59880
59884
  // src/version.ts
59881
- var version = "0.2.322".length > 0 ? "0.2.322" : "dev";
59885
+ var version = "0.2.324".length > 0 ? "0.2.324" : "dev";
59882
59886
 
59883
59887
  // src/cli-probe/probe.ts
59884
59888
  var fs58 = __toESM(require("fs"), 1);
@@ -24180,7 +24180,9 @@ arrayDiff.join = arrayDiff.removeEmpty = function(value) {
24180
24180
  // src/tools/claude.ts
24181
24181
  var CLAUDE_MODEL_IDS = ["opus", "fable", "sonnet", "haiku"];
24182
24182
  var CLAUDE_MODELS = [
24183
- { id: "", label: "Default", description: "CLI default model", contextWindowSize: 1e6, default: true },
24183
+ // label 不写 'Default':那个词没告诉用户任何事。这一项的语义是「不传 --model」,
24184
+ // 说清楚谁来决定即可(真实落到哪个模型由 UI 用 session.resolvedModel 补充显示)。
24185
+ { id: "", label: "\u7531 CC \u51B3\u5B9A", description: "\u4E0D\u6307\u5B9A\u6A21\u578B\uFF0C\u7528 Claude Code \u81EA\u8EAB\u914D\u7F6E\u7684\u90A3\u4E2A", contextWindowSize: 1e6, default: true },
24184
24186
  { id: "opus", label: "Opus", description: "Most capable", contextWindowSize: 1e6 },
24185
24187
  { id: "fable", label: "Fable", contextWindowSize: 1e6 },
24186
24188
  { id: "sonnet", label: "Sonnet", description: "Fast, balanced", contextWindowSize: 1e6 },
@@ -24190,9 +24192,10 @@ var _assertModelIdsAligned = CLAUDE_MODELS.filter(
24190
24192
  (m) => m.id !== ""
24191
24193
  ).map((m) => m.id);
24192
24194
  var CLAUDE_PERMISSION_MODES = [
24193
- { id: "", label: "Default", description: "Ask for every tool call" },
24194
- { id: "plan", label: "Plan", description: "Read-only, no code changes" },
24195
- { id: "bypassPermissions", label: "YOLO", description: "Skip all permission checks" }
24195
+ // codex 'Ask for approval' 同义同名——同一个概念两个 tool 别叫两个名字
24196
+ { id: "", label: "Ask for approval", description: "\u6BCF\u4E2A\u5DE5\u5177\u8C03\u7528\u90FD\u8981\u4F60\u70B9\u540C\u610F" },
24197
+ { id: "plan", label: "Plan", description: "\u53EA\u8BFB\uFF0C\u4E0D\u6539\u4EE3\u7801" },
24198
+ { id: "bypassPermissions", label: "YOLO", description: "\u8DF3\u8FC7\u5168\u90E8\u6388\u6743\u68C0\u67E5" }
24196
24199
  ];
24197
24200
  var CLAUDE_CAPABILITIES = {
24198
24201
  tool: "claude",
@@ -24226,7 +24229,7 @@ var CLAUDE_CAPABILITIES = {
24226
24229
  // CC `--effort` 值域(claude --help, 2.1.187):low / medium / high / xhigh / max。
24227
24230
  // '' = 不传 --effort,用 CLI 默认。
24228
24231
  options: [
24229
- { value: "", label: "Default" },
24232
+ { value: "", label: "\u7531 CC \u51B3\u5B9A", description: "\u4E0D\u6307\u5B9A\u5F3A\u5EA6\uFF0C\u7528 Claude Code \u81EA\u8EAB\u7684\u9ED8\u8BA4\u6863" },
24230
24233
  { value: "low", label: "Low" },
24231
24234
  { value: "medium", label: "Medium" },
24232
24235
  { value: "high", label: "High" },