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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
Jina AI
Jina AI
C
Check Point Blog
V
V2EX
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
A
About on SuperTechFans
D
DataBreaches.Net
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
博客园_首页
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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
refactor(copilot): remove dormant bridge scaffolding · op...
vincentkoc · 2026-06-18 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -179,8 +179,7 @@ The harness reads its config from per-attempt input

179179

registered with `overridesBuiltInTool: true` and

180180

`skipPermission: true` so 100% of tool calls flow through OpenClaw's

181181

wrapped `execute()`. See [Permissions and ask_user](#permissions-and-ask_user).

182-

- `enableSessionTelemetry` — opt-in OpenTelemetry routing via

183-

`telemetry-bridge.ts`.

182+

- `enableSessionTelemetry` — optional SDK session telemetry flag.

184183
185184

Nothing in the rest of OpenClaw needs to know about these fields. Other

186185

plugins, channels, and core code only see the standard

@@ -267,9 +266,7 @@ real Copilot CLI or touch the host fs.

267266

decisions from the initial prompt rather than asking clarifying

268267

questions mid-turn. A follow-up will port the codex pattern at

269268

`extensions/codex/src/app-server/user-input-bridge.ts` to route SDK

270-

`UserInputRequest`s through the OpenClaw channel/TUI prompt path; the

271-

dormant scaffolding in `extensions/copilot/src/user-input-bridge.ts`

272-

is the surface that follow-up will wire.

269+

`UserInputRequest`s through the OpenClaw channel/TUI prompt path.

273270
274271

## Permissions and ask_user

275272
Original file line numberDiff line numberDiff line change

@@ -983,8 +983,7 @@ describe("runCopilotAttempt", () => {

983983

// Per the SDK contract (types.d.ts: `When provided, enables the

984984

// ask_user tool allowing the agent to ask questions`), omitting the

985985

// handler hides ask_user from the model entirely. The MVP keeps it

986-

// hidden; a follow-up will port the codex user-input-bridge to wire

987-

// ask_user to the OpenClaw channel/TUI path.

986+

// hidden until a real channel/TUI prompt bridge exists.

988987

expect("onUserInputRequest" in cfg).toBe(false);

989988

});

990989
Original file line numberDiff line numberDiff line change

@@ -763,14 +763,8 @@ function createSessionConfig(

763763

onPermissionRequest: createPermissionBridge(permissionPolicy),

764764

// `onUserInputRequest` is intentionally NOT registered: per the SDK

765765

// contract, omitting the handler hides the `ask_user` tool from the

766-

// model entirely. This is the MVP posture — interactive ask_user

767-

// requires routing the request to the OpenClaw channel/TUI prompt

768-

// path (mirroring extensions/codex/src/app-server/user-input-bridge.ts),

769-

// which is tracked as a follow-up. With the handler absent, agents

770-

// running under this harness must make best-judgment decisions from

771-

// the initial prompt rather than asking clarifying questions

772-

// mid-turn. See user-input-bridge.ts for the dormant policy

773-

// scaffolding the follow-up will reuse.

766+

// model entirely. Interactive ask_user will need a real channel/TUI

767+

// prompt bridge before this runtime can expose the handler.

774768

// SessionHooks: only set when the host actually supplied handlers.

775769

// createHooksBridge returns undefined for an empty config so we

776770

// never install an empty hooks subsystem. See hooks-bridge.ts for

@@ -779,8 +773,6 @@ function createSessionConfig(

779773

// Session-level telemetry opt-out: only propagate when the host

780774

// explicitly set a boolean. undefined means "use SDK default"

781775

// (enabled for GitHub auth; disabled when a BYOK provider is set).

782-

// Client-level OTel config is plumbed via runtime.ts /

783-

// telemetry-bridge.ts.

784776

...(typeof params.enableSessionTelemetry === "boolean"

785777

? { enableSessionTelemetry: params.enableSessionTelemetry }

786778

: {}),