惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
H
Help Net Security
GbyAI
GbyAI
博客园_首页
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
月光博客
月光博客
美团技术团队
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 叶小钗
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat(onboard): show setup timeline note (#97482) · opencl...
ly85206559 · 2026-06-29 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -328,7 +328,12 @@ and troubleshooting see the main [FAQ](/help/faq).

328328

Rough guide:

329329
330330

- **Install:** 2-5 minutes

331-

- **Onboarding:** 5-15 minutes depending on how many channels/models you configure

331+

- **QuickStart onboarding:** usually a few minutes

332+

- **Full onboarding:** longer when provider sign-in, channel pairing, daemon install,

333+

network downloads, skills, or optional plugins need extra setup

334+
335+

The CLI wizard shows this timeline up front. You can skip optional steps and return

336+

later with `openclaw configure`.

332337
333338

If it hangs, use [Installer stuck](#quick-start-and-first-run-setup)

334339

and the fast debug loop in [I am stuck](#quick-start-and-first-run-setup).

@@ -508,7 +513,8 @@ and troubleshooting see the main [FAQ](/help/faq).

508513

- **Daemon install** (LaunchAgent on macOS; systemd user unit on Linux/WSL2)

509514

- **Health checks** and **skills** selection

510515
511-

It also warns if your configured model is unknown or missing auth.

516+

It also sets duration expectations before the main prompts begin and warns if your

517+

configured model is unknown or missing auth.

512518
513519

</Accordion>

514520
Original file line numberDiff line numberDiff line change

@@ -55,7 +55,10 @@ Need to install Node? See [Node setup](/install/node).

5555

```

5656
5757

The wizard walks you through choosing a model provider, setting an API key,

58-

and configuring the Gateway. It takes about 2 minutes.

58+

and configuring the Gateway. QuickStart is usually only a few minutes, but

59+

provider sign-in, channel pairing, daemon install, network downloads, skills,

60+

or optional plugins can make full onboarding take longer. You can skip optional

61+

steps and return later with `openclaw configure`.

5962
6063

See [Onboarding (CLI)](/start/wizard) for the full reference.

6164
Original file line numberDiff line numberDiff line change

@@ -17,6 +17,12 @@ and workspace defaults in one guided flow.

1717

openclaw onboard

1818

```

1919
20+

QuickStart is usually only a few minutes, but full onboarding can take longer

21+

when provider sign-in, channel pairing, daemon install, network downloads,

22+

skills, or optional plugins need extra setup. The wizard shows this timeline up

23+

front, and optional steps can be skipped and revisited later with

24+

`openclaw configure`.

25+
2026

## Locale

2127
2228

The CLI wizard localizes fixed onboarding copy. It resolves locale from

Original file line numberDiff line numberDiff line change

@@ -244,15 +244,14 @@ describe("FS tools with workspaceOnly=false", () => {

244244

await fs.writeFile(allowedAbsolutePath, "seed");

245245
246246

const tools = [

247-

createOpenClawReadTool(createReadTool(workspaceDir) as unknown as AnyAgentTool),

248247

wrapToolMemoryFlushAppendOnlyWrite(createHostWorkspaceWriteTool(workspaceDir), {

249248

root: workspaceDir,

250249

relativePath: allowedRelativePath,

251250

}),

252251

];

253252
254253

const writeTool = requireTool(tools, "write");

255-

expect(tools.map((tool) => tool.name).toSorted()).toEqual(["read", "write"]);

254+

expect(tools.map((tool) => tool.name)).toEqual(["write"]);

256255
257256

await expect(

258257

writeTool.execute("test-call-memory-deny", {

Original file line numberDiff line numberDiff line change

@@ -62,6 +62,18 @@ async function createTempSessionFile(): Promise<string> {

6262

return sessionFile;

6363

}

6464
65+

async function waitUntil(predicate: () => boolean, message: string): Promise<void> {

66+

const deadline = Date.now() + 1_000;

67+

while (!predicate()) {

68+

if (Date.now() >= deadline) {

69+

throw new Error(message);

70+

}

71+

await new Promise<void>((resolve) => {

72+

setTimeout(resolve, 1);

73+

});

74+

}

75+

}

76+
6577

function cloneBigIntStatWith(

6678

stat: Awaited<ReturnType<typeof fs.stat>>,

6779

fields: Partial<Awaited<ReturnType<typeof fs.stat>>>,

@@ -3976,15 +3988,16 @@ describe("embedded attempt session lock lifecycle", () => {

39763988

.finally(() => {

39773989

takeoverSettled = true;

39783990

});

3979-

await new Promise<void>((resolve) => {

3980-

setImmediate(resolve);

3981-

});

3991+

await waitUntil(

3992+

() => controller.hasSessionTakeover(),

3993+

"expected takeover detection while active retained writer was still running",

3994+

);

39823995
39833996

expect(takeoverSettled).toBe(false);

39843997

expect(releaseRetained).not.toHaveBeenCalled();

39853998
39863999

releaseActiveWrite();

3987-

await expect(activeWrite).resolves.toBeUndefined();

4000+

await expect(activeWrite).rejects.toBeInstanceOf(EmbeddedAttemptSessionTakeoverError);

39884001

await expect(takeoverWrite).resolves.toBeInstanceOf(EmbeddedAttemptSessionTakeoverError);

39894002
39904003

expect(releaseRetained).toHaveBeenCalledTimes(1);

Original file line numberDiff line numberDiff line change

@@ -238,6 +238,9 @@ export const en = {

238238

authChoiceRequired: "auth choice is required",

239239

channelsTitle: "Channels",

240240

configHandling: "Config handling",

241+

durationNote:

242+

"We'll walk through model/auth, workspace, Gateway, channels, web search, skills, and optional plugin setup. QuickStart is usually only a few minutes, but provider sign-in, channel pairing, daemon install, network downloads, and optional dependencies can take longer. You can skip optional steps and return later with {command}.",

243+

durationTitle: "Setup timeline",

241244

existingConfigTitle: "Existing config detected",

242245

flowAdvanced: "Manual setup",

243246

flowAdvancedHint: "Choose Gateway port, network exposure, Tailscale, and auth.",

Original file line numberDiff line numberDiff line change

@@ -235,6 +235,9 @@ export const zh_CN = {

235235

authChoiceRequired: "必须选择认证方式",

236236

channelsTitle: "频道",

237237

configHandling: "配置处理",

238+

durationNote:

239+

"接下来会依次设置模型/认证、工作区、Gateway、频道、网页搜索、技能和可选插件。QuickStart 通常只需几分钟,但提供商登录、频道配对、daemon 安装、网络下载和可选依赖可能需要更久。你可以跳过可选步骤,之后用 {command} 返回配置。",

240+

durationTitle: "设置流程",

238241

existingConfigTitle: "检测到已有配置",

239242

flowAdvanced: "手动设置",

240243

flowAdvancedHint: "选择 Gateway 端口、网络暴露、Tailscale 和认证方式。",

Original file line numberDiff line numberDiff line change

@@ -235,6 +235,9 @@ export const zh_TW = {

235235

authChoiceRequired: "必須選擇認證方式",

236236

channelsTitle: "頻道",

237237

configHandling: "設定處理",

238+

durationNote:

239+

"接下來會依序設定模型/認證、工作區、Gateway、頻道、網頁搜尋、技能和選用插件。QuickStart 通常只需幾分鐘,但提供者登入、頻道配對、daemon 安裝、網路下載和選用依賴可能需要更久。你可以略過選用步驟,之後用 {command} 返回設定。",

240+

durationTitle: "設定流程",

238241

existingConfigTitle: "偵測到既有設定",

239242

flowAdvanced: "手動設定",

240243

flowAdvancedHint: "選擇 Gateway 連接埠、網路暴露、Tailscale 和認證方式。",

Original file line numberDiff line numberDiff line change

@@ -509,6 +509,35 @@ describe("runSetupWizard", () => {

509509

expect(healthCommand).not.toHaveBeenCalled();

510510

expect(runTui).not.toHaveBeenCalled();

511511

});

512+
513+

it("shows setup duration expectations before the security acknowledgement", async () => {

514+

const note: WizardPrompter["note"] = vi.fn(async () => {});

515+

const confirm = vi.fn(async () => true) as unknown as WizardPrompter["confirm"];

516+

const prompter = buildWizardPrompter({ note, confirm });

517+

const runtime = createRuntime({ throwsOnExit: true });

518+
519+

await runSetupWizard(

520+

{

521+

flow: "quickstart",

522+

authChoice: "skip",

523+

installDaemon: false,

524+

skipProviders: true,

525+

skipSkills: true,

526+

skipSearch: true,

527+

skipHealth: true,

528+

skipUi: true,

529+

},

530+

runtime,

531+

prompter,

532+

);

533+
534+

const calls = getWizardNoteCalls(note);

535+

expect(calls[0]?.[1]).toBe("Setup timeline");

536+

expect(calls[0]?.[0]).toContain("model/auth, workspace, Gateway, channels");

537+

expect(calls[0]?.[0]).toContain("openclaw configure");

538+

expect(calls[1]?.[1]).toBe("Security disclaimer");

539+

});

540+
512541

it("persists skipBootstrap and skips workspace bootstrap creation when requested", async () => {

513542

ensureWorkspaceAndSessions.mockClear();

514543

replaceConfigFile.mockClear();

Original file line numberDiff line numberDiff line change

@@ -231,6 +231,12 @@ export async function runSetupWizard(

231231

const onboardHelpers = await import("../commands/onboard-helpers.js");

232232

onboardHelpers.printWizardHeader(runtime);

233233

await prompter.intro(t("wizard.setup.intro"));

234+

await prompter.note(

235+

t("wizard.setup.durationNote", {

236+

command: formatCliCommand("openclaw configure"),

237+

}),

238+

t("wizard.setup.durationTitle"),

239+

);

234240

await requireRiskAcknowledgement({ opts, prompter });

235241
236242

const snapshot = await readSetupConfigFileSnapshot();