docs: document command onboarding batch · openclaw/openclaw@0156de5
steipete
·
2026-06-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Agents add tests cover agent creation, workspace setup, channel binding, and onboarding integration. |
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 | +// Auth-choice plugin provider tests cover loaded provider setup, plugin install, and credential routing. |
1 | 2 | import { beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import { |
3 | 4 | applyAuthChoiceLoadedPluginProvider, |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Channels logs tests cover gateway log path resolution and channel log tailing. |
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 | +// Daemon install helper tests cover install plan construction, tokens, and platform-specific service setup. |
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 flat auth-profile tests cover legacy flat profile repair and persisted auth-profile loading. |
1 | 2 | import fs from "node:fs"; |
2 | 3 | import { afterEach, describe, expect, it, vi } from "vitest"; |
3 | 4 | import { loadPersistedAuthProfileStore } from "../agents/auth-profiles/persisted.js"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor OAuth sidecar tests cover encrypted sidecar detection and auth repair guidance. |
1 | 2 | import { createCipheriv } from "node:crypto"; |
2 | 3 | import fs from "node:fs"; |
3 | 4 | import path from "node:path"; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor config-flow safe-bin tests cover executable allowlist validation and repair behavior. |
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 heartbeat template repair tests cover migration and repair of heartbeat prompt templates. |
1 | 2 | import fs from "node:fs/promises"; |
2 | 3 | import os from "node:os"; |
3 | 4 | import path from "node:path"; |
@@ -208,6 +209,8 @@ Add short tasks below the comments only when you want the agent to check somethi
|
208 | 209 | |
209 | 210 | await expect(fs.readFile(heartbeatPath, "utf-8")).resolves.toBe( |
210 | 211 | `${[ |
| 212 | + "<!-- Heartbeat template; comments-only content prevents scheduled heartbeat API calls. -->", |
| 213 | + "", |
211 | 214 | "# Keep this file empty (or with only comments) to skip heartbeat API calls.", |
212 | 215 | "", |
213 | 216 | "# Add tasks below when you want the agent to check something periodically.", |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Doctor platform note tests cover startup optimization hints and note output. |
1 | 2 | import { describe, expect, it, vi } from "vitest"; |
2 | 3 | import { noteStartupOptimizationHints } from "./doctor-platform-notes.js"; |
3 | 4 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +// Message command tests cover CLI message sending, environment handling, and runtime dependency wiring. |
1 | 2 | import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 3 | import type { CliDeps } from "../cli/deps.js"; |
3 | 4 | import type { RuntimeEnv } from "../runtime.js"; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。