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

推荐订阅源

WordPress大学
WordPress大学
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
IT之家
IT之家
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
U
Unit 42
爱范儿
爱范儿
博客园 - 聂微东
F
Fortinet All Blogs
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
L
LangChain Blog
雷峰网
雷峰网
B
Blog RSS Feed
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta
H
Hackread – Cybersecurity News, Data Breaches, AI and More

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(admin-http-rpc): allow web QR login methods (#83259)...
liorb-mounta · 2026-05-18 · via Recent Commits to openclaw:main

File tree

  • docs/plugins

  • extensions/admin-http-rpc/src

  • test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path

Original file line numberDiff line numberDiff line change

@@ -12,6 +12,7 @@ Docs: https://docs.openclaw.ai

1212

- Docker/Podman: add `OPENCLAW_IMAGE_APT_PACKAGES` as the runtime-neutral image build arg for extra apt packages while keeping `OPENCLAW_DOCKER_APT_PACKAGES` as a legacy fallback. (#62431) Thanks @urtabajev.

1313

- Gateway/ACPX: attribute startup probe, config, runtime, and resource-count costs in restart traces without changing readiness behavior. (#83300) Thanks @samzong.

1414

- Gateway: overlap startup logging and plugin-service startup with channel sidecars to reduce restart ready latency while preserving `/readyz` sidecar gating. (#83301) Thanks @samzong.

15+

- Plugins/admin-http-rpc: allow trusted admin HTTP RPC clients to start and wait for web QR login flows. (#83259) Thanks @liorb-mountapps.

1516

- Mac app: redesign Settings pages with consistent card layouts, cached navigation, cleaner permissions/voice/skills/cron/exec/debug panes, and steadier spacing around the native sidebar.

1617

- Skills: rename the repo-local Codex closeout review skill and helper to `autoreview` while preserving the Codex-first fallback behavior.

1718

- Skills: add a meme-maker skill for curated template search, local SVG/PNG rendering, Imgflip hosted rendering, and Know Your Meme provenance links.

Original file line numberDiff line numberDiff line change

@@ -171,6 +171,7 @@ HTTP status follows the Gateway error when possible. For example, `INVALID_REQUE

171171

- gateway: `health`, `status`, `logs.tail`, `usage.status`, `usage.cost`, `gateway.restart.request`

172172

- config: `config.get`, `config.schema`, `config.schema.lookup`, `config.set`, `config.patch`, `config.apply`

173173

- channels: `channels.status`, `channels.start`, `channels.stop`, `channels.logout`

174+

- web: `web.login.start`, `web.login.wait`

174175

- models: `models.list`, `models.authStatus`

175176

- agents: `agents.list`, `agents.create`, `agents.update`, `agents.delete`

176177

- approvals: `exec.approvals.get`, `exec.approvals.set`, `exec.approvals.node.get`, `exec.approvals.node.set`

Original file line numberDiff line numberDiff line change

@@ -105,6 +105,33 @@ describe("admin-http-rpc plugin handler", () => {

105105

});

106106

});

107107
108+

it.each([

109+

["web.login.start", { force: true, timeoutMs: 1000 }],

110+

["web.login.wait", { timeoutMs: 1000 }],

111+

] as const)(

112+

"allows web QR login method %s through the authenticated plugin request scope",

113+

async (method, params) => {

114+

dispatchGatewayMethod.mockResolvedValueOnce({

115+

ok: true,

116+

payload: { status: "ok" },

117+

});

118+
119+

const result = await invoke({

120+

id: "web-login",

121+

method,

122+

params,

123+

});

124+
125+

expect(dispatchGatewayMethod).toHaveBeenCalledWith(method, params);

126+

expect(result.captured.statusCode).toBe(200);

127+

expect(result.json).toEqual({

128+

id: "web-login",

129+

ok: true,

130+

payload: { status: "ok" },

131+

});

132+

},

133+

);

134+
108135

it("rejects methods outside the admin HTTP RPC allowlist", async () => {

109136

const result = await invoke({ id: "bad", method: "sessions.send" });

110137
Original file line numberDiff line numberDiff line change

@@ -17,6 +17,7 @@ const ADMIN_HTTP_RPC_ALLOWED_METHOD_GROUPS = {

1717

"config.apply",

1818

],

1919

channels: ["channels.status", "channels.start", "channels.stop", "channels.logout"],

20+

web: ["web.login.start", "web.login.wait"],

2021

models: ["models.list", "models.authStatus"],

2122

agents: ["agents.list", "agents.create", "agents.update", "agents.delete"],

2223

approvals: [

Original file line numberDiff line numberDiff line change

@@ -77,7 +77,7 @@

7777

"approvalsReviewer": "user",

7878

"config": {

7979

"features.code_mode": true,

80-

"features.code_mode_only": true,

80+

"features.code_mode_only": false,

8181

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

8282

},

8383

"cwd": "/tmp/openclaw-happy-path/workspace",

@@ -115,7 +115,7 @@

115115

"approvalsReviewer": "user",

116116

"config": {

117117

"features.code_mode": true,

118-

"features.code_mode_only": true,

118+

"features.code_mode_only": false,

119119

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

120120

},

121121

"developerInstructions": "<see Reconstructed Model-Bound Prompt Layers>",

Original file line numberDiff line numberDiff line change

@@ -77,7 +77,7 @@

7777

"approvalsReviewer": "user",

7878

"config": {

7979

"features.code_mode": true,

80-

"features.code_mode_only": true,

80+

"features.code_mode_only": false,

8181

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

8282

},

8383

"cwd": "/tmp/openclaw-happy-path/workspace",

@@ -115,7 +115,7 @@

115115

"approvalsReviewer": "user",

116116

"config": {

117117

"features.code_mode": true,

118-

"features.code_mode_only": true,

118+

"features.code_mode_only": false,

119119

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

120120

},

121121

"developerInstructions": "<see Reconstructed Model-Bound Prompt Layers>",

Original file line numberDiff line numberDiff line change

@@ -77,7 +77,7 @@

7777

"approvalsReviewer": "user",

7878

"config": {

7979

"features.code_mode": true,

80-

"features.code_mode_only": true,

80+

"features.code_mode_only": false,

8181

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

8282

},

8383

"cwd": "/tmp/openclaw-happy-path/workspace",

@@ -116,7 +116,7 @@

116116

"approvalsReviewer": "user",

117117

"config": {

118118

"features.code_mode": true,

119-

"features.code_mode_only": true,

119+

"features.code_mode_only": false,

120120

"instructions": "OpenClaw loaded these user-editable workspace files. Treat them as project/user context. Codex loads AGENTS.md natively, so AGENTS.md is not repeated here.\n\n# Project Context\n\nThe following project context files have been loaded:\nSOUL.md: persona/tone. Follow it unless higher-priority instructions override.\n\n## /tmp/openclaw-happy-path/workspace/SOUL.md\n\n<SOUL.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/TOOLS.md\n\n<TOOLS.md contents will be here>\n\n## /tmp/openclaw-happy-path/workspace/HEARTBEAT.md\n\n<HEARTBEAT.md contents will be here>"

121121

},

122122

"developerInstructions": "<see Reconstructed Model-Bound Prompt Layers>",