docs: document command cleanup batch · openclaw/openclaw@bf19d19
steipete
·
2026-06-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Agent command tests cover local agent runs, session routing, and command runtime behavior. |
1 | 2 | import fs from "node:fs"; |
2 | 3 | import path from "node:path"; |
3 | 4 | import { withTempHome as withTempHomeBase } from "openclaw/plugin-sdk/test-env"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Agent bind Matrix integration tests cover account binding resolution through plugin registry surfaces. |
1 | 2 | import { afterEach, describe, expect, it } from "vitest"; |
2 | 3 | import { setActivePluginRegistry } from "../plugins/runtime.js"; |
3 | 4 | import { |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Auth-choice option tests cover provider wizard options, grouping, and onboarding scope filters. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { AuthProfileStore } from "../agents/auth-profiles.js"; |
3 | 4 | import type { ProviderAuthChoiceMetadata } from "../plugins/provider-auth-choices.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// API-provider auth-choice tests cover built-in provider config, API keys, and provider plugin setup. |
1 | 2 | import { afterEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { ProviderPlugin } from "../plugins/types.js"; |
3 | 4 | import { normalizeApiKeyTokenProviderAuthChoice } from "./auth-choice.apply.api-providers.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Auth-choice model check tests cover warnings for mismatched model and auth config. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { AuthProfileStore } from "../agents/auth-profiles.js"; |
3 | 4 | import type { OpenClawConfig } from "../config/types.openclaw.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Chutes OAuth tests cover OAuth endpoints, local callback handling, and fetch preconnect behavior. |
1 | 2 | import net from "node:net"; |
2 | 3 | import { describe, expect, it, vi } from "vitest"; |
3 | 4 | import { CHUTES_TOKEN_ENDPOINT, CHUTES_USERINFO_ENDPOINT } from "../agents/chutes-oauth.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor config preflight tests cover last-known-good snapshots and config snapshot promotion. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import { describe, expect, it } from "vitest"; |
3 | 4 | import { promoteConfigSnapshotToLastKnownGood, readConfigFileSnapshot } from "../config/config.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor gateway health tests cover gateway probe failures, auth requirements, and repair messages. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { OpenClawConfig } from "../config/config.js"; |
3 | 4 | import { |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor install tests cover install checks, repair notes, and binary/package diagnostics. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import path from "node:path"; |
3 | 4 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor launchctl environment tests cover macOS gateway platform warnings for env overrides. |
1 | 2 | import { describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { OpenClawConfig } from "../config/config.js"; |
3 | 4 | import { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。