docs: document command setup batch · openclaw/openclaw@7a7ca15
steipete
·
2026-06-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Agent runtime config tests cover agent-specific runtime config resolution from temp homes. |
1 | 2 | import path from "node:path"; |
2 | 3 | import { withTempHome as withTempHomeBase } from "openclaw/plugin-sdk/test-env"; |
3 | 4 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Channels list tests cover catalog entries, installed plugins, status fallback, and terminal output. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import { stripAnsi } from "../../packages/terminal-core/src/ansi.js"; |
3 | 4 | import type { ChannelPluginCatalogEntry } from "../channels/plugins/catalog.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Dashboard command tests cover dashboard URL selection, gateway bind modes, and runtime output. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { GatewayBindMode } from "../config/types.gateway.js"; |
3 | 4 | import { dashboardCommand } from "./dashboard.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor auth profile-health tests cover stale profile detection, repair notes, and store health. |
1 | 2 | import fs from "node:fs"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor config analysis tests cover schema analysis, model fallback values, and issue generation. |
1 | 2 | import { afterEach, beforeEach, describe, expect, it } from "vitest"; |
2 | 3 | import { resolveAgentModelFallbackValues } from "../config/model-input.js"; |
3 | 4 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor gateway service tests cover service audit diagnostics and duplicate gateway service reporting. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor install policy tests cover install policy checks and filesystem diagnostics. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor security tests cover security audit checks, config findings, and repair output. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor service audit test helpers normalize expected service environment-source labels. |
1 | 2 | import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce"; |
2 | 3 | import { isEnvironmentFileOnlySource } from "../daemon/service-managed-env.js"; |
3 | 4 | import type { GatewayServiceEnvironmentValueSource } from "../daemon/service-types.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor command tests cover probe orchestration, fix mode, and runtime command output. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | |
3 | 4 | const mocks = vi.hoisted(() => ({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。