Commit Graph

158 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Vincent Koc 0453d355fd perf(test): narrow discord monitor runtime seams 8 months ago
Vincent Koc 76c4ecd651 perf(test): narrow sdk seams for channel hotspots 8 months ago
Peter Steinberger 8bf8baef87
Revert "refactor: move tasks into bundled plugin"
This reverts commit c75f4695b7.
8 months ago
Peter Steinberger 759d37635d
Revert "refactor: move tasks behind plugin-sdk seam"
This reverts commit da6e9bb76f.
8 months ago
Peter Steinberger 015ab98591
fix: restore ci status fast path and whatsapp tests 8 months ago
Peter Steinberger da6e9bb76f
refactor: move tasks behind plugin-sdk seam 8 months ago
Peter Steinberger c75f4695b7
refactor: move tasks into bundled plugin 8 months ago
Vincent Koc 2df86cce1c refactor(telegram): narrow native command reply dispatch seam 8 months ago
Vincent Koc 675b80c4a4 perf(slack): narrow send chunking imports 8 months ago
Vincent Koc 7710579a82 perf(telegram): narrow native command import surface 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 82f04ced27
refactor(plugin-sdk): drop legacy provider compat subpaths 8 months ago
Ayaan Zaidi 28074eeea3
fix: dedupe plugin sdk file-lock export 8 months ago
Peter Steinberger 71a3ad153a fix(ci): stabilize bundled capability contract loading 8 months ago
Peter Steinberger d69f20f451 fix: harden bundled channel runtime bootstrap 8 months ago
Peter Steinberger 922c90e9fa refactor: add approval runtime sdk seam 8 months ago
Peter Steinberger 0d98ce1065 refactor: add diagnostic and error runtime sdk seams 8 months ago
Peter Steinberger 70c2458861 refactor: add host and collection runtime sdk seams 8 months ago
Peter Steinberger c222a44e6f refactor: add retry runtime sdk seam 8 months ago
Peter Steinberger a126d23f0d refactor: add fetch runtime sdk seam 8 months ago
Peter Steinberger b236f39104
refactor(agents): generalize tool schema compat cleanup 8 months ago
Peter Steinberger 838013c87a refactor: expose webhook request guard sdk seam 8 months ago
Tak Hoffman 1cfea0af07
fix(regression): restore plugin sdk compat export 8 months ago
Tak Hoffman 2d75288738
fix(regression): export direct-dm plugin sdk subpath 8 months ago
Peter Steinberger dd640e3c41 refactor: add focused global singleton sdk seam 8 months ago
Peter Steinberger 0b26e4d72a refactor: split shared provider catalog sdk helpers 8 months ago
Peter Steinberger b39a7e8073 fix: break plugin-sdk provider barrel recursion 8 months ago
Peter Steinberger 36b9ec9418 fix(ci): narrow browser logger and schema seams 8 months ago
Peter Steinberger 4ca07559ab refactor: move provider seams behind plugin sdk surfaces 8 months ago
Tak Hoffman 0826fb4a00
fix(regression): export plugin-sdk huggingface facade 8 months ago
Peter Steinberger d506eea076 fix(ci): restore contract plugin-sdk source loading 8 months ago
Peter Steinberger 5d3d54ee36 refactor: generate plugin sdk facades 8 months ago
Peter Steinberger ed055f44ae refactor: route plugin runtime through bundled seams 8 months ago
Peter Steinberger 9322481075 fix: route ollama helpers through plugin sdk 8 months ago
Peter Steinberger a3e73daa6b refactor: remove ollama legacy shims 8 months ago
Ayaan Zaidi 8b13710c09
refactor(plugin-sdk): expose zod subpath 8 months ago
Peter Steinberger eebce9e9c7
refactor: move memory host into sdk package 8 months ago
Peter Steinberger bd6c7969ea
refactor: extract memory host sdk package 8 months ago
Peter Steinberger 7a35bca2ec
refactor: make memory embedding adapters generic 8 months ago
Peter Steinberger ab6ddf7245
refactor: slim plugin sdk provider entrypoints 8 months ago
Peter Steinberger dbf78de7c6
refactor: move memory engine behind plugin adapters 8 months ago
Peter Steinberger b96fccadb9
refactor: clean memory plugin host boundary 8 months ago
Peter Steinberger 197510f693 refactor: add browser plugin runtime package 8 months ago
Peter Steinberger ce9dff1458
refactor: clean plugin capability boundaries 8 months ago
Peter Steinberger a4a00aa1da
feat: pluginize cli inference backends 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 6f6468027a refactor: dedupe test and runtime seams 8 months ago
Peter Steinberger 47186c50a2 fix(ci): restore stale guardrails and baselines 8 months ago
Peter Steinberger 3fac0d11fa
test: fix base vitest thread regressions 8 months ago
Vincent Koc f69062c16e fix(plugin-sdk): export line runtime subpath 8 months ago
Vincent Koc 3ad652fa9e fix(build): restore plugin-sdk and line compat after refactor 8 months ago
Peter Steinberger f56edd62f0 fix: export provider-entry plugin sdk subpath 8 months ago
Vincent Koc 0f54ca20aa refactor(image-generation): move provider builders into plugins 8 months ago
Vincent Koc de6bf58e79 refactor(tts): move speech providers into plugins 8 months ago
Peter Steinberger 3fa2300ba1 perf: reduce plugin runtime startup overhead 8 months ago
Peter Steinberger 3382ef2724 perf: reduce plugin runtime startup overhead 8 months ago
Vincent Koc 2b4c3c2057
fix(plugin-sdk): remove relative extension boundary escapes (#51939)
* fix(plugin-sdk): remove relative extension boundary escapes

* Gate new plugin-sdk subpaths on host version

* Add changelog entry for #51939

* Fix local staging for plugin-sdk host version gate

* Raise host floor for line and googlechat plugins

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Jari Mustonen fd2b3ed6af
feat(memory): pluggable system prompt section for memory plugins (#40126)
Merged via squash.

Prepared head SHA: 5228d1937f037172762fa64b0f8749403f9ae85f
Co-authored-by: jarimustonen <1272053+jarimustonen@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Harold Hunt e24bf22f98
Fix Discord `/codex_resume` picker expiration (#51260)
Merged via squash.

Prepared head SHA: 76eb184dbe60cb1c05db02aab426a67b95095cc3
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Reviewed-by: @huntharo
8 months ago
Josh Lehman 2364e45fe4
test: align extension runtime mocks with plugin-sdk (#51289)
* test: align extension runtime mocks with plugin-sdk

Update stale extension tests to mock the plugin-sdk runtime barrels that production code now imports, and harden the Signal tool-result harness around system-event assertions so the channels lane matches current extension boundaries.

Regeneration-Prompt: |
  Verify the failing channels-lane tests against current origin/main in an isolated worktree before changing anything. If the failures reproduce on main, keep the fix test-only unless production behavior is clearly wrong. Recent extension refactors moved Telegram, WhatsApp, and Signal code onto plugin-sdk runtime barrels, so update stale tests that still mock old core module paths to intercept the seams production code now uses. For Signal reaction notifications, avoid brittle assertions that depend on shared queued system-event state when a direct harness spy on enqueue behavior is sufficient. Preserve scope: only touch the failing tests and their local harness, then rerun the reproduced targeted tests plus the full channels lane and repo check gate.

* test: fix extension test drift on main

* fix: lazy-load bundled web search plugin registry

* test: make matrix sweeper failure injection portable

* fix: split heavy matrix runtime-api seams

* fix: simplify bundled web search id lookup

* test: tolerate windows env key casing
8 months ago
Peter Steinberger 62ddc9d9e0 refactor: consolidate plugin sdk surface 8 months ago
Vincent Koc 42801f6178 fix(plugin-sdk): dedupe rebased zalo export entries 8 months ago
Vincent Koc a2e1991ed3 refactor(plugin-sdk): route bundled runtime barrels through public subpaths 8 months ago
Peter Steinberger 18fa2992f9 fix: restore plugin sdk runtime barrels 8 months ago
Vincent Koc aa78a0c00e refactor(plugin-sdk): formalize runtime contract barrels 8 months ago
Peter Steinberger 50ce9ac1c6 refactor: privatize bundled sdk facades 8 months ago
Peter Steinberger f6948ce405 refactor: shrink sdk helper surfaces 8 months ago
Vincent Koc 3b79494cbf fix(runtime): lazy-load setup shims and align contracts 8 months ago
Peter Steinberger 22943f24a9 refactor: prune bundled sdk facades 8 months ago
Tak Hoffman 5b7b5529f1
Plugins: remove shared extension boundary debt 8 months ago
Peter Steinberger 30a94dfd3b refactor: untangle whatsapp runtime boundary 8 months ago
Vincent Koc 8884643f40 fix(plugin-sdk): restore imessage-core export 8 months ago
Vincent Koc f19cb738af fix(plugin-sdk): restore public runtime subpaths 8 months ago
Vincent Koc 9a9db87952 fix(release): isolate config doc surfaces and sdk exports 8 months ago
Peter Steinberger 07d9f725b6 refactor: unify plugin sdk primitives 8 months ago
Peter Steinberger 46f49eb6eb refactor: shrink plugin sdk public surface 8 months ago
Vincent Koc 757c2cc2de fix(release): isolate bundled config docs loading 8 months ago
Vincent Koc 6ebcd853be fix(plugin-sdk): isolate provider entry surfaces 8 months ago
Vincent Koc 152d179302 Plugin SDK: add public WhatsApp runtime subpaths 8 months ago
Peter Steinberger 8d73bc77fa refactor: deduplicate reply payload helpers 8 months ago
Vincent Koc b4f16bad32 Plugin SDK: export windows spawn and temp path 8 months ago
Vincent Koc f96ee99bbc Plugin SDK: harden provider auth seams 8 months ago
Vincent Koc afad0697aa Plugin SDK: register provider auth login entrypoint 8 months ago
Vincent Koc 0ae3e70a5c Plugin SDK: fix contract seam regressions 8 months ago
Vincent Koc e17d10f7cd Plugin SDK: restore lobster and voice-call exports 8 months ago
Vincent Koc 0385553918 Plugin SDK: trim lobster and qwen helper exports 8 months ago
Vincent Koc d341d68180 Plugin SDK: trim legacy helper exports 8 months ago
Vincent Koc fe84354a33
fix(plugins): add missing secret-input-schema build entry and Matrix runtime export
buildSecretInputSchema was not included in plugin-sdk-entrypoints.json,
so it was never emitted to dist/plugin-sdk/secret-input-schema.js. This
caused a ReferenceError during onboard when configuring channels that use
secret input schemas (matrix, feishu, mattermost, bluebubbles, nextcloud-talk, zalo).

Additionally, the Matrix extension's hand-written runtime-api barrel was
missing the re-export, unlike other extensions that use `export *` from
their plugin-sdk subpath.

Co-authored-by: hxy91819 <masonxhuang@icloud.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Ayaan Zaidi c245c8b39d
refactor(plugin-sdk): split interactive runtime helpers 8 months ago
Peter Steinberger a8907d80dd
feat: finish xai provider integration 8 months ago
Gustavo Madeira Santana 826c592deb
Plugin SDK: add outbound session route helpers 8 months ago
Peter Steinberger 1313767825
refactor: enforce plugin boundary seams 8 months ago
Vincent Koc 0d80897476 Plugins: add inspect matrix and trim export 8 months ago
Peter Steinberger 4b125762f6
refactor: clean extension api boundaries 8 months ago
Peter Steinberger 795f1f438b
refactor: expose lazy runtime helper to plugins 8 months ago
Peter Steinberger f9588da3e0
refactor: split plugin testing seam from bundled extension helpers 8 months ago
Peter Steinberger 449127b474 fix: restore full gate 8 months ago
Peter Steinberger aa2d5aaa0c
feat(plugins): add image generation capability 8 months ago