@qingchencloud/openclaw-zh 2026.1.29-zh.202601301427 → 2026.1.30-zh.1

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.
@@ -96,7 +96,7 @@ export async function statusCommand(opts, runtime) {
96
96
  const warn = (value) => (rich ? theme.warn(value) : value);
97
97
  if (opts.verbose) {
98
98
  const details = buildGatewayConnectionDetails();
99
- runtime.log(info("Gateway connection:"));
99
+ runtime.log(info("网关连接:"));
100
100
  for (const line of details.message.split("\n"))
101
101
  runtime.log(` ${line}`);
102
102
  runtime.log("");
@@ -271,9 +271,9 @@ export async function statusCommand(opts, runtime) {
271
271
  Value: `${summary.sessions.count} active · default ${defaults.model ?? "unknown"}${defaultCtx} · ${storeLabel}`,
272
272
  },
273
273
  ];
274
- runtime.log(theme.heading("OpenClaw status"));
274
+ runtime.log(theme.heading("OpenClaw 状态"));
275
275
  runtime.log("");
276
- runtime.log(theme.heading("Overview"));
276
+ runtime.log(theme.heading("概览"));
277
277
  runtime.log(renderTable({
278
278
  width: tableWidth,
279
279
  columns: [
@@ -283,7 +283,7 @@ export async function statusCommand(opts, runtime) {
283
283
  rows: overviewRows,
284
284
  }).trimEnd());
285
285
  runtime.log("");
286
- runtime.log(theme.heading("Security audit"));
286
+ runtime.log(theme.heading("安全审计"));
287
287
  const fmtSummary = (value) => {
288
288
  const parts = [
289
289
  theme.error(`${value.critical} critical`),
@@ -295,7 +295,7 @@ export async function statusCommand(opts, runtime) {
295
295
  runtime.log(theme.muted(`Summary: ${fmtSummary(securityAudit.summary)}`));
296
296
  const importantFindings = securityAudit.findings.filter((f) => f.severity === "critical" || f.severity === "warn");
297
297
  if (importantFindings.length === 0) {
298
- runtime.log(theme.muted("No critical or warn findings detected."));
298
+ runtime.log(theme.muted("未检测到严重或警告级别问题。"));
299
299
  }
300
300
  else {
301
301
  const severityLabel = (sev) => {
@@ -321,7 +321,7 @@ export async function statusCommand(opts, runtime) {
321
321
  runtime.log(theme.muted(`Full report: ${formatCliCommand("openclaw security audit")}`));
322
322
  runtime.log(theme.muted(`Deep probe: ${formatCliCommand("openclaw security audit --deep")}`));
323
323
  runtime.log("");
324
- runtime.log(theme.heading("Channels"));
324
+ runtime.log(theme.heading("通道"));
325
325
  const channelIssuesByChannel = (() => {
326
326
  const map = new Map();
327
327
  for (const issue of channelIssues) {
@@ -363,7 +363,7 @@ export async function statusCommand(opts, runtime) {
363
363
  }),
364
364
  }).trimEnd());
365
365
  runtime.log("");
366
- runtime.log(theme.heading("Sessions"));
366
+ runtime.log(theme.heading("会话"));
367
367
  runtime.log(renderTable({
368
368
  width: tableWidth,
369
369
  columns: [
@@ -393,7 +393,7 @@ export async function statusCommand(opts, runtime) {
393
393
  }).trimEnd());
394
394
  if (summary.queuedSystemEvents.length > 0) {
395
395
  runtime.log("");
396
- runtime.log(theme.heading("System events"));
396
+ runtime.log(theme.heading("系统事件"));
397
397
  runtime.log(renderTable({
398
398
  width: tableWidth,
399
399
  columns: [{ key: "Event", header: "Event", flex: true, minWidth: 24 }],
@@ -407,7 +407,7 @@ export async function statusCommand(opts, runtime) {
407
407
  }
408
408
  if (health) {
409
409
  runtime.log("");
410
- runtime.log(theme.heading("Health"));
410
+ runtime.log(theme.heading("健康状态"));
411
411
  const rows = [];
412
412
  rows.push({
413
413
  Item: "Gateway",
@@ -450,7 +450,7 @@ export async function statusCommand(opts, runtime) {
450
450
  }
451
451
  if (usage) {
452
452
  runtime.log("");
453
- runtime.log(theme.heading("Usage"));
453
+ runtime.log(theme.heading("用量统计"));
454
454
  for (const line of formatUsageReportLines(usage)) {
455
455
  runtime.log(line);
456
456
  }
@@ -25,7 +25,7 @@ function buildScopeSelection(opts) {
25
25
  }
26
26
  async function stopAndUninstallService(runtime) {
27
27
  if (isNixMode) {
28
- runtime.error("Nix mode detected; service uninstall is disabled.");
28
+ runtime.error("检测到 Nix 模式;服务卸载已禁用。");
29
29
  return false;
30
30
  }
31
31
  const service = resolveGatewayService();
@@ -68,13 +68,13 @@ export async function uninstallCommand(runtime, opts) {
68
68
  const { scopes, hadExplicit } = buildScopeSelection(opts);
69
69
  const interactive = !opts.nonInteractive;
70
70
  if (!interactive && !opts.yes) {
71
- runtime.error("Non-interactive mode requires --yes.");
71
+ runtime.error("非交互模式需要 --yes 参数。");
72
72
  runtime.exit(1);
73
73
  return;
74
74
  }
75
75
  if (!hadExplicit) {
76
76
  if (!interactive) {
77
- runtime.error("Non-interactive mode requires explicit scopes (use --all).");
77
+ runtime.error("非交互模式需要明确指定范围(使用 --all)。");
78
78
  runtime.exit(1);
79
79
  return;
80
80
  }
@@ -105,7 +105,7 @@ export async function uninstallCommand(runtime, opts) {
105
105
  scopes.add(value);
106
106
  }
107
107
  if (scopes.size === 0) {
108
- runtime.log("Nothing selected.");
108
+ runtime.log("未选择任何内容。");
109
109
  return;
110
110
  }
111
111
  if (interactive && !opts.yes) {
@@ -151,11 +151,11 @@ export async function uninstallCommand(runtime, opts) {
151
151
  if (scopes.has("app")) {
152
152
  await removeMacApp(runtime, dryRun);
153
153
  }
154
- runtime.log("CLI still installed. Remove via npm/pnpm if desired.");
154
+ runtime.log("CLI 仍已安装。如需删除请使用 npm/pnpm");
155
155
  if (scopes.has("state") && !scopes.has("workspace")) {
156
156
  const home = resolveHomeDir();
157
157
  if (home && workspaceDirs.some((dir) => dir.startsWith(path.resolve(home)))) {
158
- runtime.log("Tip: workspaces were preserved. Re-run with --workspace to remove them.");
158
+ runtime.log("提示:工作区已保留。如需删除请加 --workspace 重新运行。");
159
159
  }
160
160
  }
161
161
  }