Commit Graph

140 Commits (2ca97a7d48cffcf6047b00d074e8d38dfc875427)

Author SHA1 Message Date
Vincent Koc 38d2faee20
!feat(plugins): add web fetch provider boundary (#59465)
* feat(plugins): add web fetch provider boundary

* feat(plugins): add web fetch provider modules

* refactor(web-fetch): remove remaining core firecrawl fetch config

* fix(web-fetch): address review follow-ups

* fix(web-fetch): harden provider runtime boundaries

* fix(web-fetch): restore firecrawl compare helper

* fix(web-fetch): restore env-based provider autodetect

* fix(web-fetch): tighten provider hardening

* fix(web-fetch): restore fetch autodetect and compat args

* chore(changelog): note firecrawl fetch config break
8 months ago
Gustavo Madeira Santana bea53d7a3f
Fix: move bootstrap session grammar into plugin-owned session-key surfaces (#58400)
Merged via squash.

Prepared head SHA: b062b18b033a4471e25a857c6a72f437afb3da42
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
Vincent Koc 1a313caff3 refactor(tasks): remove flow registry layer 8 months ago
Peter Steinberger 759d37635d
Revert "refactor: move tasks behind plugin-sdk seam"
This reverts commit da6e9bb76f.
8 months ago
Peter Steinberger da6e9bb76f
refactor: move tasks behind plugin-sdk seam 8 months ago
Shakker cefa191417 test: stabilize gateway and session cleanup flows 8 months ago
Shakker 82695bb24d test: remove timeout-prone windows ci waits 8 months ago
Shakker da03d857f9 test: stabilize recurring windows ci suites 8 months ago
Shakker 6ab0f62b3b test: stabilize remaining windows ci timeouts 8 months ago
Shakker 7d70b1b51e test: stabilize windows registry cleanup flows 8 months ago
Shakker 56c9e2493b test: harden windows timeout-sensitive suites 8 months ago
Shakker b878a34591 test: stabilize windows flow and session cleanup tests 8 months ago
openperf 9a03fe8181 fix(facade-runtime): add recursion guard to facade module loader to prevent infinite stack overflow
Place a sentinel object in the loadedFacadeModules cache before the Jiti
sync load begins.  Re-entrant calls (caused by circular facade references
from constant exports evaluated at module-evaluation time) now receive the
sentinel instead of recursing infinitely.  Once the real module finishes
loading, Object.assign() back-fills the sentinel so any references
captured during the circular load phase see the final exports.

The Jiti load is wrapped in try/catch: on failure the sentinel is removed
from the cache so that subsequent retry attempts re-execute the load
instead of silently returning an empty object.  The function returns the
sentinel (not the raw loaded module) to guarantee a single object identity
for all callers, including those that captured a reference during the
circular load phase.

Also tightens the generic constraint from <T> to <T extends object> so
Object.assign() is type-safe, and propagates the constraint to the
test-utils callers in bundled-plugin-public-surface.ts.

Fixes #57394
8 months ago
Gustavo Madeira Santana c389b05d3c Tests: force-reset session cleanup state between runs 8 months ago
Gustavo Madeira Santana d8ad72bf8d Tests: stabilize session-state cleanup mocks 8 months ago
Peter Steinberger fec51572a3
fix: stabilize gate and extension boundary checks 8 months ago
Peter Steinberger 471e059b69
refactor(plugin-sdk): remove channel-specific sdk shims 8 months ago
Peter Steinberger 2e0682d930
refactor: finish decoupling plugin sdk seams 8 months ago
Peter Steinberger 8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading 8 months ago
Peter Steinberger 02d4c1f2c3 refactor: derive channel metadata from plugin manifests 8 months ago
Gustavo Madeira Santana d042543539
Tests: share agents bind command harness 8 months ago
Gustavo Madeira Santana 5292622fec
Tests: share partial module mock helper 8 months ago
Peter Steinberger 992b30604d refactor: move extension-owned tests to extensions 8 months ago
Peter Steinberger ed055f44ae refactor: route plugin runtime through bundled seams 8 months ago
Ayaan Zaidi 3a7cf5364f
test(cleanup): isolate session lock queue coverage 8 months ago
Peter Steinberger 663ba5a3cd perf: speed up test parallelism 8 months ago
George Zhang 6cbd2d36f8
Revert "feat: add video generation core infrastructure and extend image generation parameters (#53681)" (#54943)
This reverts commit 4cb8dde894.
8 months ago
xieyongliang 4cb8dde894
feat: add video generation core infrastructure and extend image generation parameters (#53681)
* feat: add video generation core infrastructure and extend image generation parameters

Add full video generation capability to OpenClaw core:

- New `video_generate` agent tool with support for prompt, duration, aspect ratio,
  resolution, seed, watermark, I2V (first/last frame), camerafixed, and draft mode
- New `VideoGenerationProvider` plugin SDK type and `registerVideoGenerationProvider` API
- New `src/video-generation/` module (types, runtime with fallback, provider registry)
- New `openclaw/plugin-sdk/video-generation` export for external plugins
- 200MB max file size for generated videos (vs default 5MB for images)

Extend image generation with additional parameters:
- `seed`, `watermark`, `guidanceScale`, `optimizePrompt`, `providerOptions`
- New `readBooleanParam()` helper in tool common utilities

Update plugin registry, contracts, and all test mocks to include
`videoGenerationProviders` and `videoGenerationProviderIds`.

Made-with: Cursor

* fix: validate aspect ratio against target provider when model override is set

* cleanup: remove redundant ?? undefined from video/image generate tools

* chore: regenerate plugin SDK API baseline after video generation additions

---------

Co-authored-by: yongliang.xie <yongliang.xie@bytedance.com>
8 months ago
Peter Steinberger 23a4ae4759 refactor: dedupe test helpers and harnesses 8 months ago
Peter Steinberger b1b162fcdb test: harden threaded channel follow-ups 8 months ago
Peter Steinberger 43131dcc08 test: harden threaded shared-worker suites 8 months ago
Peter Steinberger 0f84aac487 fix: stabilize matrix and teams ci assertions 8 months ago
Peter Steinberger 6b9915a106
refactor!: drop legacy CLAWDBOT env compatibility 8 months ago
Vincent Koc c0cbc7403b test(env): normalize path expectations on windows 8 months ago
Peter Steinberger 1ad47b8fa1 test: harden path resolution test helpers 8 months ago
Gustavo Madeira Santana 682f4d1ca3
Plugin SDK: require unified message discovery 8 months ago
Peter Steinberger 4b125762f6
refactor: clean extension api boundaries 8 months ago
Bob ea15819ecf
ACP: harden startup and move configured routing behind plugin seams (#48197)
* ACPX: keep plugin-local runtime installs out of dist

* Gateway: harden ACP startup and service PATH

* ACP: reinitialize error-state configured bindings

* ACP: classify pre-turn runtime failures as session init failures

* Plugins: move configured ACP routing behind channel seams

* Telegram tests: align startup probe assertions after rebase

* Discord: harden ACP configured binding recovery

* ACP: recover Discord bindings after stale runtime exits

* ACPX: replace dead sessions during ensure

* Discord: harden ACP binding recovery

* Discord: fix review follow-ups

* ACP bindings: load channel snapshots across workspaces

* ACP bindings: cache snapshot channel plugin resolution

* Experiments: add ACP pluginification holy grail plan

* Experiments: rename ACP pluginification plan doc

* Experiments: drop old ACP pluginification doc path

* ACP: move configured bindings behind plugin services

* Experiments: update bindings capability architecture plan

* Bindings: isolate configured binding routing and targets

* Discord tests: fix runtime env helper path

* Tests: fix channel binding CI regressions

* Tests: normalize ACP workspace assertion on Windows

* Bindings: isolate configured binding registry

* Bindings: finish configured binding cleanup

* Bindings: finish generic cleanup

* Bindings: align runtime approval callbacks

* ACP: delete residual bindings barrel

* Bindings: restore legacy compatibility

* Revert "Bindings: restore legacy compatibility"

This reverts commit ac2ed68fa2426ecc874d68278c71c71ad363fcfe.

* Tests: drop ACP route legacy helper names

* Discord/ACP: fix binding regressions

---------

Co-authored-by: Onur <2453968+osolmaz@users.noreply.github.com>
8 months ago
Peter Steinberger aa2d5aaa0c
feat(plugins): add image generation capability 8 months ago
Vincent Koc 357ce71988
Tests: share provider registration helpers (#48767) 8 months ago
Peter Steinberger d2445b5fcd
feat(plugins): share capability capture helpers 8 months ago
Peter Steinberger 3e010e280a
feat(plugins): add media understanding provider registration 8 months ago
Peter Steinberger 662031a88e
feat(plugins): add speech provider registration 8 months ago
Vincent Koc 79a8905fa4 Channels: centralize group policy contracts 8 months ago
Vincent Koc 4aae0d4c9d Channels: centralize outbound payload contracts 8 months ago
Vincent Koc 6644783052 Plugins: capture tool registrations in test registry 8 months ago
Peter Steinberger 2054cb9431
refactor: move remaining channel seams into plugins 8 months ago
Vincent Koc f5ef936615 Tests: replace local channel contracts 8 months ago
Vincent Koc c01515672f Tests: add channel plugin contract helper 8 months ago
Vincent Koc bd67f33364 Tests: add channel actions contract helper 8 months ago