Commit Graph

23729 Commits (ca2a67e07ee08bf5ed207fc98a5de794d7ee3a2a)
 

Author SHA1 Message Date
Gustavo Madeira Santana ca2a67e07e
Slack: keep auto-thread test context local 8 months ago
zijiess dca7969b2e
fix(agents): classify Anthropic "unexpected error" api_error as transient (#57441)
* fix(agents): classify Anthropic "unexpected error" api_error as transient (#57010)

Anthropic sometimes returns api_error payloads with message "An unexpected
error occurred while processing the response" during mid-stream failures.
This was not matched by API_ERROR_TRANSIENT_SIGNALS_RE, causing the error
to surface as terminal instead of triggering retry/fallback.

Add "unexpected error" to the transient signal regex. This follows the
same pattern as prior fixes for "Internal server error" (#23193) and
overloaded_error 529 (#34535).

Closes #57010

* chore(changelog): add anthropic failover entry

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Gustavo Madeira Santana 91ea844cc0
Slack: move auto-thread coverage into plugin tests 8 months ago
Vincent Koc dd23e744f4 fix(test): bypass slack facade in message action params test 8 months ago
Vincent Koc b7d59f7831
fix(memory): export archived qmd session transcripts (#57446)
* fix(memory): export archived qmd session transcripts

* test(memory): separate qmd session listing describe
8 months ago
Vincent Koc c7106c4285 refactor(tasks): replace generic task mutation api 8 months ago
wangchunyue 16df3de098
fix: stabilize config default-leak landing tests (#56834) (thanks @openperf)
* fix(config): prevent AJV schema defaults from leaking into persisted config

Fixes #56772. Ensures that channel and plugin AJV validations respect the applyDefaults option, preventing runtime defaults from being written to openclaw.json during doctor/update flows.

* test: address review feedback on #56772 fix

- Split validation.channel-metadata.test.ts into applyDefaults true/false cases (fixes CI)

- Update io.write-config.test.ts regression test to use a mock plugin registry, ensuring it actually exercises the AJV default injection path

* fix(config): revert applyDefaults passthrough to prevent required-field regression

Codex-connector correctly identified that BlueBubbles channel schema marks

enrichGroupParticipantsFromContacts as both default:true and required.

Passing applyDefaults:false during write validation would cause required

checks to fail, breaking writeConfigFile entirely.

Reverted validation.ts to always use applyDefaults:true for channel/plugin

AJV validation. The protection against default leakage into persisted config

is fully handled by the persistCandidate change in io.ts (cfgToWrite uses

the pre-validation merge-patched value, not validated.config).

Updated validation.channel-metadata.test.ts to reflect this architecture.

* fix(config): apply legacy web-search normalization to persistCandidate

* fix: stabilize config default-leak landing tests (#56834) (thanks @openperf)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Vincent Koc 22f56433e0 fix(perf): bypass matrix facade for core helpers 8 months ago
Vincent Koc c142a396f4
fix(memory): rebind qmd collections on pattern drift (#57438) 8 months ago
Gustavo Madeira Santana 313fdf5adf
Memory Host: make backend-config path tests portable 8 months ago
Vincent Koc 8c163c14bc
feat(tasks): harden maintenance repair paths (#57439)
* feat(tasks): harden maintenance repair paths

* fix(tasks): address follow-up maintenance review comments
8 months ago
Gustavo Madeira Santana aaf47ca54b
WhatsApp: align deliver-reply test mocks with imports 8 months ago
Gustavo Madeira Santana 8b0cbebe43
Telegram: align channel test with runtime probe precedence 8 months ago
Gustavo Madeira Santana 0fe193db6a
Discord: restore message utils media-runtime mocks 8 months ago
Gustavo Madeira Santana 3efcc90034
Tests: read packed manifest without shell tar 8 months ago
Gustavo Madeira Santana 1482afae57
Status: keep fast JSON off task audit runtime 8 months ago
Gustavo Madeira Santana e86a2183df
Tests: type package contract npm pack helper 8 months ago
Vincent Koc c52fac836c
feat(tasks): add status health and maintenance command (#57423)
* feat(tasks): add status health and maintenance command

* fix(tasks): address status and maintenance review feedback
8 months ago
Vincent Koc d28349c48e fix(test): align channel mocks with runtime exports 8 months ago
Vincent Koc da35718cb2
fix(memory): add qmd mcporter search tool override (#57363)
* fix(memory): add qmd mcporter search tool override

* fix(memory): tighten qmd search tool override guards

* chore(config): drop generated docs baselines from qmd pr

* fix(memory): keep explicit qmd query override on v2 args

* docs(changelog): normalize qmd search tool attribution

* fix(memory): reuse v1 qmd tool after query fallback
8 months ago
Gustavo Madeira Santana e7984272a7
Tests: make package contract guardrails Windows-safe 8 months ago
Vincent Koc 1421fced04
Update CHANGELOG.md 8 months ago
Yauheni Shauchenka a6bc51f944
feat(openai): forward text verbosity (#47106)
* feat(openai): forward text verbosity across responses transports

* fix(openai): remove stale verbosity rebase artifact

* chore(changelog): add openai text verbosity entry

---------

Co-authored-by: Ubuntu <ubuntu@vps-1c82b947.vps.ovh.net>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Gustavo Madeira Santana 51e053d0e8
OpenAI: preserve oauth exports in index tests 8 months ago
Vincent Koc 03a03c2dc4 fix(ci): restore skill fixtures and security doc anchors 8 months ago
Gustavo Madeira Santana f380305ee4
Tests: restore extension plugin test seams 8 months ago
Gustavo Madeira Santana ecb14338d4
Matrix: keep runtime wrapper off monolithic sdk root 8 months ago
Vincent Koc e57b3618fc
feat(tasks): move task ledger to sqlite and add audit CLI (#57361)
* feat(tasks): move task ledger to sqlite

* feat(tasks): add task run audit command

* style(tasks): normalize audit command formatting

* fix(tasks): address audit summary and sqlite perms

* fix(tasks): avoid duplicate lost audit findings
8 months ago
Ayaan Zaidi 6f09a68ae7 fix: finalize LLM idle timeout landing (#55072) (thanks @liuy) 8 months ago
Ayaan Zaidi 179f713c88 fix: unify idle timeout with runner abort path 8 months ago
Liu Yuan 84b72e66b9 feat: add LLM idle timeout for streaming responses
Problem: When LLM stops responding, the agent hangs for ~5 minutes with no feedback.
Users had to use /stop to recover.

Solution: Add idle timeout detection for LLM streaming responses.
8 months ago
qsam 47839d3b9a
fix(mattermost): detect stale websocket after bot disable/enable cycle (#53604)
Merged via squash.

Prepared head SHA: 818d437a5438eb9e90aa67e74a05b7e2090ae049
Co-authored-by: Qinsam <19649380+Qinsam@users.noreply.github.com>
Co-authored-by: mukhtharcm <56378562+mukhtharcm@users.noreply.github.com>
Reviewed-by: @mukhtharcm
8 months ago
openperf c6ded0fa54 fix(gateway): coerce streaming tool-call argument deltas to object in client tools 8 months ago
Gustavo Madeira Santana 6fe24a6f2c
Matrix: fix source-checkout runtime wrapper 8 months ago
Robin Waslander acf8470f09
fix(status): cap cache hit rate at 100% in status display (#57400)
formatTokensCompact() computed cache rate using totalTokens as the
denominator. Legacy rows with undersized totalTokens produced
impossible values like 120%. Use inputTokens + cacheRead + cacheWrite
when prompt-side fields are available, falling back to
max(totalTokens, cacheRead + cacheWrite) for legacy data.

Fixes #26643
8 months ago
Peter Steinberger 25074de838
fix: restore lightweight root help startup 8 months ago
Gustavo Madeira Santana 2481c0a9b6
Tests: keep channel helpers on public plugin surfaces 8 months ago
Ayaan Zaidi b3c69b941e
fix: add orphaned session key migration (#57217)
* fix: add orphaned session key migration

* fix: address session migration review comments
8 months ago
Peter Steinberger 9d005e6fbb
fix: stabilize telegram contract runtime coverage 8 months ago
MerlinMiao88888888 9c2d22e77f
scripts: respect gateway.bind config when OPENCLAW_GATEWAY_BIND not set (#55453)
* scripts: respect gateway.bind config when OPENCLAW_GATEWAY_BIND not set

* scripts: keep Podman bind precedence focused

Signed-off-by: sallyom <somalley@redhat.com>

---------

Signed-off-by: sallyom <somalley@redhat.com>
Co-authored-by: sallyom <somalley@redhat.com>
8 months ago
Gustavo Madeira Santana acea28a9bb
Telegram: fix extension-fast test seams 8 months ago
Josh Avant 5e4a64848f
fix(exec): harden async approval followup delivery in webchat-only sessions (#57359)
* fix(exec): harden approval followup delivery fallback

* refactor(delivery): share best-effort followup routing helpers

* test(subagents): cover webchat-only completion announce delivery

* docs(exec): clarify async followup delivery behavior

* fix(exec): harden delivery downgrade logging

* test(gateway): cover multi-channel best-effort fallback

* fix(exec): preserve webchat origin on session-only followups

* fix(subagents): keep internal announces channel-less
8 months ago
Gustavo Madeira Santana f44174cf61
Extensions: stabilize telegram registry contracts 8 months ago
Peter Steinberger e92440e9f4
fix: replace weak randomness in feishu test support 8 months ago
Peter Steinberger fec51572a3
fix: stabilize gate and extension boundary checks 8 months ago
Vincent Koc 66f8fb9e9b docs: fix P2 in security -- normalize Security audit checklist heading to sentence case 8 months ago
Vincent Koc 542f17a674 docs: fix P2s in hooks -- text language tag on log block, claude-sonnet-4-6 model example 8 months ago
Vincent Koc 7ed5a4a33d docs: fix P2s in faq -- remote mode accordion title, gpt-5.4 model refs, stable/beta cross-reference 8 months ago
Vincent Koc d19ccde297 docs: fix P2s in configuration-reference -- built-in model catalog, PI_CODING_AGENT_DIR legacy note, deduplicate Identity section 8 months ago
Vincent Koc 0c94420164 docs: fix remaining CLI P1s -- global flags, onboard, logs options
- Add --container global flag
- onboard: add --skip-search, --cloudflare-ai-gateway-account-id, --cloudflare-ai-gateway-gateway-id
- logs: add full options list (--limit, --max-bytes, --follow, --interval, --local-time, etc.)
8 months ago