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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
博客园_首页
爱范儿
爱范儿
博客园 - 叶小钗
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
Y
Y Combinator Blog
量子位
博客园 - 三生石上(FineUI控件)
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
The Blog of Author Tim Ferriss
月光博客
月光博客
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans

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
docs(update): convert flow steps to Steps component · ope...
vincentkoc · 2026-04-27 · via Recent Commits to openclaw:main

@@ -40,9 +40,11 @@ openclaw --update

4040

`postUpdate.plugins.integrityDrifts` when npm plugin artifact drift is

4141

detected during post-update plugin sync.

4242

- `--timeout <seconds>`: per-step timeout (default is 1800s).

43-

- `--yes`: skip confirmation prompts (for example downgrade confirmation)

43+

- `--yes`: skip confirmation prompts (for example downgrade confirmation).

444445-

Note: downgrades require confirmation because older versions can break configuration.

45+

<Warning>

46+

Downgrades require confirmation because older versions can break configuration.

47+

</Warning>

46484749

## `update status`

4850

@@ -91,35 +93,53 @@ build.

91939294

## Git checkout flow

939594-

Channels:

95-96-

- `stable`: checkout the latest non-beta tag, then build + doctor.

97-

- `beta`: prefer the latest `-beta` tag, but fall back to the latest stable tag

98-

when beta is missing or older.

99-

- `dev`: checkout `main`, then fetch + rebase.

100-101-

High-level:

102-103-

1. Requires a clean worktree (no uncommitted changes).

104-

2. Switches to the selected channel (tag or branch).

105-

3. Fetches upstream (dev only).

106-

4. Dev only: preflight lint + TypeScript build in a temp worktree; if the tip fails, walks back up to 10 commits to find the newest clean build.

107-

5. Rebases onto the selected commit (dev only).

108-

6. Installs deps with the repo package manager. For pnpm checkouts, the updater bootstraps `pnpm` on demand (via `corepack` first, then a temporary `npm install pnpm@10` fallback) instead of running `npm run build` inside a pnpm workspace.

109-

7. Builds + builds the Control UI.

110-

8. Runs `openclaw doctor` as the final “safe update” check.

111-

9. Syncs plugins to the active channel (dev uses bundled plugins; stable/beta uses npm) and updates npm-installed plugins.

112-113-

If an exact pinned npm plugin update resolves to an artifact whose integrity

114-

differs from the stored install record, `openclaw update` aborts that plugin

115-

artifact update instead of installing it. Reinstall or update the plugin

116-

explicitly only after verifying that you trust the new artifact.

117-118-

Post-update plugin sync failures fail the update result and stop restart

119-

follow-up work. Fix the plugin install/update error, then rerun

120-

`openclaw update`.

121-122-

If pnpm bootstrap still fails, the updater now stops early with a package-manager-specific error instead of trying `npm run build` inside the checkout.

96+

### Channel selection

97+98+

- `stable`: checkout the latest non-beta tag, then build and doctor.

99+

- `beta`: prefer the latest `-beta` tag, but fall back to the latest stable tag when beta is missing or older.

100+

- `dev`: checkout `main`, then fetch and rebase.

101+102+

### Update steps

103+104+

<Steps>

105+

<Step title="Verify clean worktree">

106+

Requires no uncommitted changes.

107+

</Step>

108+

<Step title="Switch channel">

109+

Switches to the selected channel (tag or branch).

110+

</Step>

111+

<Step title="Fetch upstream">

112+

Dev only.

113+

</Step>

114+

<Step title="Preflight build (dev only)">

115+

Runs lint and TypeScript build in a temp worktree. If the tip fails, walks back up to 10 commits to find the newest clean build.

116+

</Step>

117+

<Step title="Rebase">

118+

Rebases onto the selected commit (dev only).

119+

</Step>

120+

<Step title="Install dependencies">

121+

Uses the repo package manager. For pnpm checkouts, the updater bootstraps `pnpm` on demand (via `corepack` first, then a temporary `npm install pnpm@10` fallback) instead of running `npm run build` inside a pnpm workspace.

122+

</Step>

123+

<Step title="Build Control UI">

124+

Builds the gateway and the Control UI.

125+

</Step>

126+

<Step title="Run doctor">

127+

`openclaw doctor` runs as the final safe-update check.

128+

</Step>

129+

<Step title="Sync plugins">

130+

Syncs plugins to the active channel. Dev uses bundled plugins; stable and beta use npm. Updates npm-installed plugins.

131+

</Step>

132+

</Steps>

133+134+

<Warning>

135+

If an exact pinned npm plugin update resolves to an artifact whose integrity differs from the stored install record, `openclaw update` aborts that plugin artifact update instead of installing it. Reinstall or update the plugin explicitly only after verifying that you trust the new artifact.

136+

</Warning>

137+138+

<Note>

139+

Post-update plugin sync failures fail the update result and stop restart follow-up work. Fix the plugin install or update error, then rerun `openclaw update`.

140+141+

If pnpm bootstrap still fails, the updater stops early with a package-manager-specific error instead of trying `npm run build` inside the checkout.

142+

</Note>

123143124144

## `--update` shorthand

125145