Commit Graph

28549 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)
 

Author SHA1 Message Date
Peter Steinberger ac11e02518
perf: route bundled and extension helper tests 8 months ago
Peter Steinberger 269771a4b6
perf: route targeted tests to scoped vitest configs 8 months ago
Peter Steinberger 37ee19521f
fix(status): keep empty status path lightweight 8 months ago
Peter Steinberger f8a3840a42
fix(ci): restore contextTokens runtime typing 8 months ago
Gustavo Madeira Santana 931ddd96f0
fix(cache): preserve full 3-turn history image cache window (#60603)
Merged via squash.

Prepared head SHA: 58d06ea3729e6892c99909fa0f19f028c6d7dc73
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Peter Steinberger b8021d6709
docs: add prompt cache stability rules 8 months ago
Peter Steinberger 58d2b9dd46
fix: add runtime model contextTokens caps 8 months ago
Peter Steinberger 45675c1698
docs: update Anthropic subscription billing guidance 8 months ago
Peter Steinberger b2fb1210e1
fix: normalize openai websocket errors 8 months ago
Peter Steinberger a38cb20177
feat(openai): add default prompt overlay 8 months ago
Gustavo Madeira Santana f6f7609b66
matrix: retry credentials after legacy migration race (#60591)
Merged via squash.

Prepared head SHA: e050b39de022f15f21de27bd859390ee522b4829
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Boris Cherny af81c437fa
fix(cache): delay history image pruning to preserve prompt cache prefix (#58038)
pruneProcessedHistoryImages was stripping image blocks from every
already-answered user turn on each run. Turn N sends image bytes → provider
caches the prefix. Turn N+1 replaces image with text marker → bytes diverge
at that message → cache miss from there onward.

Now only prune images older than 3 assistant turns. Recent history stays
byte-identical so the cached prefix survives, while legacy sessions with
persisted image payloads still get cleaned up.
8 months ago
Gustavo Madeira Santana 300fb36879
infra: atomically replace sync JSON writes (#60589)
Merged via squash.

Prepared head SHA: cb8ed7704992fe7ea94a6ef16ee1638f3f650a23
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Peter Steinberger 628c71103e
fix: align native openai transport defaults 8 months ago
Boris Cherny bc16b9dccf
fix(cache): sort MCP tools deterministically to stabilize prompt cache (#58037)
Co-authored-by: George Zhang <georgezhangtj97@gmail.com>
8 months ago
George Zhang 881f7dc82f
Plugin SDK: add plugin config TUI prompts to onboard and configure wizards (#60590) (#60590)
Wire uiHints from plugin manifests into the TUI wizard so sandbox/tool
plugins get interactive config prompts during openclaw onboard (manual
flow) and openclaw configure --section plugins.

- Add setup.plugin-config.ts: discovers plugins with non-advanced uiHints,
  generates type-aware prompts (enum→select, boolean→confirm, array→csv,
  string/number→text) from jsonSchema + uiHints metadata.
- Onboard: new step after Skills, before Hooks (skipped in QuickStart).
  Only shows plugins with unconfigured fields.
- Configure: new 'plugins' section in the section menu. Shows all
  configurable plugins with configured/total field counts.

Closes #60030
8 months ago
Boris Cherny f6380ae4b7
fix(cache): compact newest tool results first to preserve prompt cache prefix (#58036)
* fix(cache): compact newest tool results first to preserve prompt cache prefix

compactExistingToolResultsInPlace iterated front-to-back, replacing the
oldest tool results with placeholders when context exceeded 75%. This
rewrote messages[k] for small k, invalidating the provider prompt cache
from that point onward on every subsequent turn.

Reverse the loop to compact newest-first. The cached prefix stays intact;
the tradeoff is the model loses recent tool output instead of old, which
is acceptable since this guard only fires as an emergency measure past
the 75% threshold.

* fix(cache): compact newest tool results first to preserve prompt cache prefix (#58036) Thanks @bcherny

---------

Co-authored-by: George Zhang <georgezhangtj97@gmail.com>
8 months ago
Peter Steinberger d01cb5ecc6
docs: expand model fallback guide 8 months ago
Peter Steinberger 5bea93fd63
fix: restore gateway watch boot path 8 months ago
Peter Steinberger fe72474153
fix: persist fallback overrides safely 8 months ago
Peter Steinberger 411282c36d docs(changelog): note Telegram picker fix (#60384) (thanks @sfuminya) 8 months ago
fumin 43272d27f8 fix(telegram): compare full provider/model in models picker 8 months ago
Vincent Koc bb4e54ccf7 fix(ci): restore plugin sdk boundary seams 8 months ago
Vincent Koc df83374a54 docs(changelog): summarize provider transport rollout 8 months ago
Peter Steinberger 236a9003b6
test(ci): fix logs cli gateway mock typing 8 months ago
Peter Steinberger 3a3fdf1920
fix(ci): restore plugin contract surfaces 8 months ago
Ted Li ff62705206
fix(whatsapp): reset watchdog timeout after reconnect (#60007)
Merged via squash.

Prepared head SHA: 64223e5dd4ec18dcb8143b36ef4f331ba656cabf
Co-authored-by: MonkeyLeeT <6754057+MonkeyLeeT@users.noreply.github.com>
Co-authored-by: mcaxtr <7562095+mcaxtr@users.noreply.github.com>
Reviewed-by: @mcaxtr
8 months ago
Peter Steinberger 306fe841f5
fix(cli): add local logs fallback 8 months ago
Peter Steinberger de2eaccfce
fix: restore discord startup logging and boundary bootstrap 8 months ago
Peter Steinberger 0f18e44538
test: trim onboarding helper partial mock 8 months ago
Peter Steinberger d02fc365b4
test(plugins): drop stale core test files 8 months ago
Peter Steinberger ab318de8b7
test(plugins): finish moving contract coverage 8 months ago
Peter Steinberger e4b5027c5e
refactor(plugins): move extension seams into extensions 8 months ago
Tak Hoffman c19321ed9e
docs: trim PR template root-cause boilerplate 8 months ago
Agustin Rivera ff607adc69
fix(sandbox): block home credential binds (#59157)
* fix(sandbox): block home credential binds
* fix(sandbox): harden blocked credential bind checks
8 months ago
Peter Steinberger 4540effd6c
test(ci): make mattermost client retry deterministic 8 months ago
Efe Büken 5fc9918a20
fix(matrix): surface user-visible 'too large' marker when Matrix media exceeds size limit (#60289)
Merged via squash.

Prepared head SHA: f33dd499462b71c863190e43a27d0bf4045c9f0b
Co-authored-by: efe-arv <259833796+efe-arv@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Peter Steinberger 94fee8486f
test: make mattermost reconnect tests deterministic 8 months ago
pgondhi987 e19dce0aed
fix(hooks): harden before_tool_call hook runner to fail-closed on error [AI] (#59822)
* fix: address issue

* fix: address PR review feedback

* docs: add changelog entry for PR merge

* docs: normalize changelog entry placement

---------

Co-authored-by: Devin Robison <drobison@nvidia.com>
8 months ago
Peter Steinberger 1322aa2ba2
test(ci): make mattermost reconnect deterministic 8 months ago
Peter Steinberger 2af05ac558
test: restore leaked timer spies in mattermost reconnect tests 8 months ago
Peter Steinberger 3d2734185b
test: stabilize rebased auto-reply command checks 8 months ago
Gustavo Madeira Santana 9004ef65df
Plugins: add install --force overwrite flag (#60544)
Merged via squash.

Prepared head SHA: 28ae50b615e96706766459698689a0d247ec13a2
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Tak Hoffman 3fd29e549d
fix: honor tools default account 8 months ago
Peter Steinberger ccf16a25d2
test: tolerate plain baileys exports in whatsapp hooks 8 months ago
Tak Hoffman cc0987f7b1
fix: honor allowlist default account 8 months ago
Agustin Rivera 42ffdf882f
fix(fetch): normalize guarded redirect handling (#59121)
* fix(fetch): align guarded redirect rewrites

* fix(fetch): tighten redirect coverage

* fix(fetch): add changelog entry
8 months ago
Tak Hoffman 393d8c7606
fix: honor approve default account 8 months ago
Tak Hoffman 5f1f43af4d
fix: honor config write default account 8 months ago
Tak Hoffman 4d60d61dec
fix: honor reset notice default account 8 months ago