shrey150
8b2f40f5f6
fix(browser): update existing tests for ws/wss protocol support
...
Two pre-existing tests still expected ws:// URLs to be rejected by
parseHttpUrl, which now accepts them. Switch the invalid-protocol
fixture to ftp:// and tighten the assertion to match the full
"must be http(s) or ws(s)" error message.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 18:48:10 +00:00
shrey150
f9c220e261
test+docs: comprehensive coverage and generic framing
...
- Add 12 new tests covering: isWebSocketUrl detection, parseHttpUrl WSS
acceptance/rejection, direct WS target creation with query params,
SSRF enforcement on WS URLs, WS reachability probing bypasses HTTP
- Reframe docs section as generic "Direct WebSocket CDP providers" with
Browserbase as one example — any WSS-based provider works
- Update security tips to mention WSS alongside HTTPS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 18:48:10 +00:00
shrey150
75602014db
feat(browser): support direct WebSocket CDP URLs for Browserbase
...
Browserbase uses direct WebSocket connections (wss://) rather than the
standard HTTP-based /json/version CDP discovery flow used by Browserless.
This change teaches the browser tool to accept ws:// and wss:// URLs as
cdpUrl values: when a WebSocket URL is detected, OpenClaw connects
directly instead of attempting HTTP discovery.
Changes:
- config.ts: accept ws:// and wss:// in cdpUrl validation
- cdp.helpers.ts: add isWebSocketUrl() helper
- cdp.ts: skip /json/version when cdpUrl is already a WebSocket URL
- chrome.ts: probe WSS endpoints via WebSocket handshake instead of HTTP
- cdp.test.ts: add test for direct WebSocket target creation
- docs/tools/browser.md: update Browserbase section with correct URL
format and notes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 18:48:10 +00:00
Peter Steinberger
3ada30e670
fix: restore gate after rebase
2026-03-08 18:40:15 +00:00
Peter Steinberger
c5095153b0
refactor: extract qmd process runner
2026-03-08 18:40:15 +00:00
Peter Steinberger
68775745d2
fix: restore acp session meta narrowing
2026-03-08 18:40:15 +00:00
Peter Steinberger
6bd5735519
refactor: split doctor config analysis helpers
2026-03-08 18:40:15 +00:00
Peter Steinberger
11be305609
refactor: neutralize context engine runtime bridge
2026-03-08 18:40:15 +00:00
Peter Steinberger
f6cb77134c
refactor: centralize acp session resolution guards
2026-03-08 18:40:14 +00:00
Peter Steinberger
25d0aa7296
refactor: simplify plugin sdk compatibility aliases
2026-03-08 18:40:14 +00:00
Peter Steinberger
dd7470730d
test: isolate git commit resolution fallbacks
2026-03-08 18:40:14 +00:00
Peter Steinberger
c70151e873
test: isolate legacy plugin-sdk root import check
2026-03-08 18:40:14 +00:00
Peter Steinberger
a007bed375
test: isolate plugin loader from mocked module cache
2026-03-08 18:40:14 +00:00
Peter Steinberger
371c53b282
test: expand talk config contract fixtures
2026-03-08 18:40:14 +00:00
Peter Steinberger
2ed644f5d3
fix: require talk resolved payload
2026-03-08 18:40:14 +00:00
Mariano
404b1527e6
fix(acp): persist spawned child session history ( #40137 )
...
Merged via squash.
Prepared head SHA: 62de5d56691e1fd185cc617bb5e7283a14ce90b0
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com >
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com >
Reviewed-by: @mbelinky
2026-03-08 19:37:00 +01:00
Peter Steinberger
72ebaf97c3
test: add implicit provider matrix coverage
2026-03-08 18:26:36 +00:00
Peter Steinberger
8ab762c005
test: standardize hermetic provider env snapshots
2026-03-08 18:26:36 +00:00
Peter Steinberger
52bc809143
refactor: extract provider stream wrappers
2026-03-08 18:26:36 +00:00
Peter Steinberger
6094035054
refactor: extract static provider builders
2026-03-08 18:26:36 +00:00
Peter Steinberger
e53d840fed
refactor: extract openai stream wrappers
2026-03-08 18:26:36 +00:00
Peter Steinberger
f66bd105a4
refactor: decompose implicit provider resolution
2026-03-08 18:26:36 +00:00
Peter Steinberger
ef2541ceb3
refactor: centralize transcript provider quirks
2026-03-08 18:26:35 +00:00
Peter Steinberger
8a18e2598f
refactor: split models registry loading from persistence
2026-03-08 18:26:35 +00:00
Peter Steinberger
749eb4efea
refactor: thread config runtime env through models config
2026-03-08 18:26:35 +00:00
Peter Steinberger
e5c06dd64a
refactor: use model compat for anthropic tool payload normalization
2026-03-08 18:26:35 +00:00
Vincent Koc
efcca3d2ea
Tests: format daemon lifecycle CLI coverage
2026-03-08 11:22:41 -07:00
Vincent Koc
0b452a5665
CLI: set local gateway mode in setup
2026-03-08 11:17:29 -07:00
Vincent Koc
7856f5730c
Web search: allowlist Perplexity auth source type name
2026-03-08 11:16:03 -07:00
Vincent Koc
d23d36a2f9
Tests: lower entropy git commit fixtures
2026-03-08 11:16:03 -07:00
Vincent Koc
6f4de3cc23
Web search: rename Perplexity auth source helper
2026-03-08 11:16:03 -07:00
Vincent Koc
f19761cefa
Tests: reduce web search secret-scan noise
2026-03-08 11:16:03 -07:00
Vincent Koc
5387faa718
CI: satisfy provider merge fixture typing
2026-03-08 11:15:48 -07:00
Tak Hoffman
74624e619d
fix: prefer bundled channel plugins over npm duplicates ( #40094 )
...
* fix: prefer bundled channel plugins over npm duplicates
* fix: tighten bundled plugin review follow-ups
* fix: address check gate follow-ups
* docs: add changelog for bundled plugin install fix
* fix: align lifecycle test formatting with CI oxfmt
2026-03-08 13:00:24 -05:00
yuweuii
6c9b49a10b
fix(sessions): clear stale contextTokens on model switch ( #38044 )
...
Merged via squash.
Prepared head SHA: bac2df4b7f920ce271f0a15f1db9ed99b35300f3
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-03-08 10:59:16 -07:00
GitBuck
caf1b84822
feat: allow compaction model override via config ( #38753 )
...
Merged via squash.
Prepared head SHA: a3d6d6c845c9ef492370c4cc12ea790ca92123f0
Co-authored-by: starbuck100 <25417736+starbuck100@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-03-08 10:47:34 -07:00
Ayaan Zaidi
d4ab731746
fix(telegram): use message previews in DMs
2026-03-08 21:59:43 +05:30
Peter Steinberger
95dff166cb
refactor: fold implicit provider injection into resolver
2026-03-08 16:22:52 +00:00
Peter Steinberger
bce9d93fb5
fix: publish models.json atomically
2026-03-08 16:22:52 +00:00
Peter Steinberger
bec3c0b71d
refactor: reuse one models.json read per write
2026-03-08 16:22:52 +00:00
Peter Steinberger
b41bcb08a2
refactor: expand provider capability registry
2026-03-08 16:22:52 +00:00
Peter Steinberger
75e1521660
refactor: extract pure models config merge helpers
2026-03-08 16:22:52 +00:00
Peter Steinberger
79c5c660bb
fix: treat model api drift as baseUrl refresh
2026-03-08 16:22:52 +00:00
Peter Steinberger
dc5645d459
test: add talk config contract fixtures
2026-03-08 16:22:48 +00:00
Peter Steinberger
87640f9a61
fix: align talk config secret schemas
2026-03-08 16:22:48 +00:00
Peter Steinberger
b7ad8fd661
fix: fail closed talk provider selection
2026-03-08 16:22:48 +00:00
Altay
ca5e352c53
CLI: include commit hash in --version output ( #39712 )
...
* CLI: include commit hash in --version output
* fix(version): harden commit SHA resolution and keep output consistent
* CLI: keep install checks compatible with commit-tagged version output
* fix(cli): include commit hash in root version fast path
* test(cli): allow null commit-hash mocks
* Installer: share version parser across install scripts
* Installer: avoid sourcing helpers from stdin cwd
* CLI: note commit-tagged version output
* CLI: anchor commit hash resolution to module root
* CLI: harden commit hash resolution
* CLI: fix commit hash lookup edge cases
* CLI: prefer live git metadata in dev builds
* CLI: keep git lookup inside package root
* Infra: tolerate invalid moduleUrl hints
* CLI: cache baked commit metadata fallbacks
* CLI: align changelog attribution with prep gate
* CLI: restore changelog contributor credit
---------
Co-authored-by: echoVic <echovic@163.com >
Co-authored-by: echoVic <echoVic@users.noreply.github.com >
2026-03-08 19:10:48 +03:00
Hermione
c942655451
fix(hooks): use resolveAgentIdFromSessionKey in runBeforeReset ( #39875 )
...
Merged via squash.
Prepared head SHA: 00a2b241df1cf4fa7089d6ee98b5d7e2c7acf105
Co-authored-by: rbutera <6047293+rbutera@users.noreply.github.com >
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com >
Reviewed-by: @altaywtf
2026-03-08 19:07:28 +03:00
Tak Hoffman
fa83010b17
fix(plugins): ship Feishu bundled runtime dependency ( #39990 )
...
* fix: ship feishu bundled runtime dependency
* test: align feishu bundled dependency specs
2026-03-08 10:36:41 -05:00
darkamenosa
67b2e81360
Zalo: fix provider lifecycle restarts ( #39892 )
...
* Zalo: fix provider lifecycle restarts
* Zalo: add typing indicators, smart webhook cleanup, and API type fixes
* fix review
* add allow list test secrect
* Zalo: bound webhook cleanup during shutdown
* Zalo: bound typing chat action timeout
* Zalo: use plugin-safe abort helper import
2026-03-08 22:33:18 +07:00