Commit Graph

12250 Commits (105dcd69e75330bbefd8dfb863d2d3dddffeac60)

Author SHA1 Message Date
Darshil 105dcd69e7 style: format probe regression test (openclaw#39820) thanks @lupuletic 8 months ago
Darshil e403ed6546 fix: harden wrapped rate-limit failover (openclaw#39820) thanks @lupuletic 8 months ago
Catalin Lupuleti c1c74f9952 fix: move cause-chain traversal before timeout heuristic (review feedback) 8 months ago
Catalin Lupuleti dac220bd88 fix(agents): normalize abort-wrapped RESOURCE_EXHAUSTED into failover errors (#11972) 8 months ago
kkhomej33-netizen e7d9648fba
feat(cron): support custom session IDs and auto-bind to current session (#16511)
feat(cron): support persistent session targets for cron jobs (#9765)

Add support for `sessionTarget: "current"` and `session:<id>` so cron jobs can
bind to the creating session or a persistent named session instead of only
`main` or ephemeral `isolated` sessions.

Also:
- preserve custom session targets across reloads and restarts
- update gateway validation and normalization for the new target forms
- add cron coverage for current/custom session targets and fallback behavior
- fix merged CI regressions in Discord and diffs tests
- add a changelog entry for the new cron session behavior

Co-authored-by: kkhomej33-netizen <kkhomej33-netizen@users.noreply.github.com>
Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com>
8 months ago
Peter Steinberger 61d171ab0b
fix(browser): restore batch playwright dispatch 8 months ago
Vincent Koc a6bdf2dfd0 Revert "Browser: scope nested batch failures in switch"
This reverts commit aaeb348bb7.
8 months ago
Vincent Koc aa0cb4ef01 Merge remote-tracking branch 'origin/main'
* origin/main:
  fix(gateway): bound unanswered client requests (#45689)
8 months ago
Vincent Koc 81ecae9d7a Merge branch 'main' of https://github.com/openclaw/openclaw
* 'main' of https://github.com/openclaw/openclaw: (640 commits)
  ci: add npm token fallback for npm releases
  build: prepare 2026.3.13-beta.1
  docs: reorder unreleased changelog by impact
  fix: keep windows onboarding logs ascii-safe
  test: harden parallels all-os smoke harness
  chore: bump pi to 0.58.0
  fix(browser): prefer user profile over chrome relay
  build: upload Android native debug symbols
  Gateway: treat scope-limited probe RPC as degraded reachability (#45622)
  build: shrink Android app release bundle
  fix: keep exec summaries inline
  docs: fix changelog formatting
  test(discord): align rate limit error mock with carbon
  build(android): strip unused dnsjava resolver service before R8
  build(android): add auto-bump signed aab release script
  fix(browser): add browser session selection
  fix(models): apply Gemini model-id normalization to google-vertex provider (#42435)
  fix(feishu): add early event-level dedup to prevent duplicate replies (#43762)
  fix: unblock discord startup on deploy rate limits
  fix: default Android TLS setup codes to port 443
  ...

# Conflicts:
#	src/browser/pw-tools-core.interactions.batch.test.ts
#	src/browser/pw-tools-core.interactions.ts
8 months ago
Tak Hoffman 5fc43ff0ec
fix(gateway): bound unanswered client requests (#45689)
* fix(gateway): bound unanswered client requests

* fix(gateway): skip default timeout for expectFinal requests

* fix(gateway): preserve gateway call timeouts

* fix(gateway): localize request timeout policy

* fix(gateway): clamp explicit request timeouts

* fix(gateway): clamp default request timeout
8 months ago
Peter Steinberger ad65778818
fix: keep windows onboarding logs ascii-safe 8 months ago
Peter Steinberger b6d1d0d72d
fix(browser): prefer user profile over chrome relay 8 months ago
Josh Avant f4fef64fc1
Gateway: treat scope-limited probe RPC as degraded reachability (#45622)
* Gateway: treat scope-limited probe RPC as degraded

* Docs: clarify gateway probe degraded scope output

* test: fix CI type regressions in gateway and outbound suites

* Tests: fix Node24 diffs theme loading and Windows assertions

* Tests: fix extension typing after main rebase

* Tests: fix Windows CI regressions after rebase

* Tests: normalize executable path assertions on Windows

* Tests: remove duplicate gateway daemon result alias

* Tests: stabilize Windows approval path assertions

* Tests: fix Discord rate-limit startup fixture typing

* Tests: use Windows-friendly relative exec fixtures

---------

Co-authored-by: Mainframe <mainframe@MainfraacStudio.localdomain>
8 months ago
Peter Steinberger 70459e7fec
fix: keep exec summaries inline 8 months ago
Muhammed Mukhthar CM a4a5fdcd98 test(discord): align rate limit error mock with carbon 8 months ago
Peter Steinberger 5c40c1c78a
fix(browser): add browser session selection 8 months ago
scoootscooob b857a8d8bc
fix(models): apply Gemini model-id normalization to google-vertex provider (#42435)
* fix(models): apply Gemini model-id normalization to google-vertex provider

The existing normalizeGoogleModelId() (which maps e.g. gemini-3.1-flash-lite
to gemini-3.1-flash-lite-preview) was only applied when the provider was
"google". Users configuring google-vertex/gemini-3.1-flash-lite would get
a "missing" model because the -preview suffix was never appended.

Extend the normalization to google-vertex in both model-selection
(parseModelRef path) and normalizeProviders (config normalization path).

Ref: https://github.com/openclaw/openclaw/issues/36838
Ref: https://github.com/openclaw/openclaw/pull/36918#issuecomment-4032732959


* fix(models): normalize google-vertex flash-lite

* fix(models): place unreleased changelog entry last

* fix(models): place unreleased changelog entry before releases
8 months ago
yunweibang f4a2bbe0c9
fix(feishu): add early event-level dedup to prevent duplicate replies (#43762)
* fix(feishu): add early event-level dedup to prevent duplicate replies

Add synchronous in-memory dedup at EventDispatcher handler level using
message_id as key with 5-minute TTL and 2000-entry cap.

This catches duplicate events immediately when they arrive from the Lark
SDK — before the inbound debouncer or processing queue — preventing the
race condition where two concurrent dispatches enter the pipeline before
either records the messageId in the downstream dedup layer.

Fixes the root cause reported in #42687.

* fix(feishu): correct inverted dedup condition

check() returns false on first call (new key) and true on subsequent
calls (duplicate). The previous `!check()` guard was inverted —
dropping every first delivery and passing all duplicates.

Remove the negation so the guard correctly drops duplicates.

* fix(feishu): simplify eventDedup key — drop redundant accountId prefix

eventDedup is already scoped per account (one instance per
registerEventHandlers call), so the accountId prefix in the cache key
is redundant. Use `evt:${messageId}` instead.

* fix(feishu): share inbound processing claim dedupe

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Peter Steinberger 2659fc6c97 fix: unblock discord startup on deploy rate limits 8 months ago
Peter Steinberger 8bc163d15f fix(ci): repair helper typing regressions 8 months ago
George Zhang eee5d7c6b0
fix(browser): harden existing-session driver validation and session lifecycle (#45682)
* fix(browser): harden existing-session driver validation, session lifecycle, and code quality

Fix config validation rejecting existing-session profiles that lack
cdpPort/cdpUrl (they use Chrome MCP auto-connect instead). Fix callTool
tearing down the MCP session on tool-level errors (element not found,
script error), which caused expensive npx re-spawns. Skip unnecessary
CDP port allocation for existing-session profiles. Remove redundant
ensureChromeMcpAvailable call in isReachable.

Extract shared ARIA role sets (INTERACTIVE_ROLES, CONTENT_ROLES,
STRUCTURAL_ROLES) into snapshot-roles.ts so both the Playwright and
Chrome MCP snapshot paths stay in sync. Add usesChromeMcp capability
flag and replace ~20 scattered driver === "existing-session" string
checks with the centralized flag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(browser): harden existing-session driver validation and session lifecycle (#45682) (thanks @odysseus0)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 months ago
Frank Yang 01674c575e
fix(agents): preserve blank local custom-provider API keys after onboarding
Co-authored-by: Xinhua Gu <xinhua.gu@gmail.com>
8 months ago
Peter Steinberger 66e02b296f test: share memory search config helpers 8 months ago
Peter Steinberger c5d905871f test: share oauth profile fixtures 8 months ago
Peter Steinberger 6720bf5be0 refactor: share exec host approval helpers 8 months ago
Peter Steinberger 3bc9d9177d test: share workspace skill test helpers 8 months ago
Peter Steinberger 6ad675c1e9 test: share subagent announce timeout helpers 8 months ago
Peter Steinberger 95b4132674 test: share provider discovery auth fixtures 8 months ago
Peter Steinberger e474ac882e test: share model selection config helpers 8 months ago
Peter Steinberger 0e6f150c3b test: share timeout failover assertions 8 months ago
Peter Steinberger dfcc2fae9f test: share context lookup helpers 8 months ago
Peter Steinberger f0179d3b4a test: share workspace skills snapshot helpers 8 months ago
Peter Steinberger 8622395c8b test: share models config merge helpers 8 months ago
Peter Steinberger 7aedb6d442 test: share subagent gateway mock setup 8 months ago
Peter Steinberger 013ad58f3c test: share sandbox fs bridge seeded workspace 8 months ago
Vincent Koc bcbfbb831e
Plugins: fail fast on channel and binding collisions (#45628)
* Plugins: reject duplicate channel ids

* Bindings: reject duplicate adapter registration

* Plugins: fail on export id mismatch
8 months ago
Peter Steinberger 27e863ce40
chore: update dependencies 8 months ago
Peter Steinberger 10afde99c1 fix: harden discord guild allowlist resolution 8 months ago
2233admin 5c73ed62d5
fix(sessions): create transcript file on chat.inject when missing (#36645)
`chat.inject` called `appendAssistantTranscriptMessage` with
`createIfMissing: false`, causing a hard error when the transcript
file did not exist on disk despite having a valid `transcriptPath`
in session metadata. This commonly happens with ACP oneshot/run
sessions where the session entry is created but the transcript file
is not yet materialized.

The fix is a one-character change: `createIfMissing: true`. The
`ensureTranscriptFile` helper already handles directory creation
and file initialization safely.

Fixes #36170

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Peter Steinberger 965bdb2d2d
fix: harden gateway status rpc smoke 8 months ago
Peter Steinberger 9cfc2d4618 refactor: share request url resolution 8 months ago
Peter Steinberger 757077d028 test: share memory tool helpers 8 months ago
Peter Steinberger 42d6e35cb4 refactor: share session tool context setup 8 months ago
Peter Steinberger d9a604f15f test: share web fetch header helpers 8 months ago
Peter Steinberger 231589ef66 fix: restore imessage control command flag 8 months ago
Peter Steinberger b61bc4948e refactor: share dual text command gating 8 months ago
Peter Steinberger 91d9573b55 refactor: declone model picker model ref parsing 8 months ago
Peter Steinberger c0831927b0 refactor: share allowlist wildcard matching 8 months ago
Peter Steinberger f4094ab19e refactor: share slack text truncation 8 months ago
Peter Steinberger d886ca6474 fix: widen telegram reply progress typing 8 months ago