Commit Graph

171 Commits (fa67ab2358df92d378eb75bcce2e730effa1cdae)

Author SHA1 Message Date
Peter Steinberger fa67ab2358 fix: preserve gateway-bindable loader compatibility 8 months ago
HansY c78defdc2f plugins: exclude runtimeSubagentMode from loader cache key
The plugin loader cache key included runtimeSubagentMode, which is
derived from allowGatewaySubagentBinding. Since different call sites in
the message processing pipeline pass different values for this flag,
each call produced a distinct cache key, triggering redundant
register() calls (40+ in 24 seconds after startup).

runtimeSubagentMode does not affect which plugins are loaded or how
they are configured — it is only metadata stored alongside the active
registry state. Removing it from the cache key lets all call sites
share the same cached registry regardless of their binding mode.

Fixes #61756
8 months ago
Peter Steinberger c39f061003
Revert "refactor(cli): remove bundled cli text providers"
This reverts commit 05d351c430.
8 months ago
Peter Steinberger 7f11941134
fix(windows): preserve plugin loader alias resolution (#61832) (thanks @Zeesejo)
# Conflicts:
#	CHANGELOG.md
#	src/plugins/loader.ts
8 months ago
Vincent Koc 5716d83336 feat(memory-wiki): restore llm wiki stack 8 months ago
Peter Steinberger dc0ee2e178
feat: add music generation tooling 8 months ago
Peter Steinberger 471d056e2f
refactor: move browser runtime seams behind plugin metadata 8 months ago
Vincent Koc 94256ea1a0 revert(memory-wiki): back out llm wiki stack 8 months ago
Vincent Koc 2f72363984 feat(memory-core): bridge wiki corpus into memory tools 8 months ago
Vincent Koc c11e7a7420 feat(memory-wiki): add prompt supplement integration 8 months ago
Peter Steinberger 05d351c430
refactor(cli): remove bundled cli text providers 8 months ago
Gustavo Madeira Santana 8d3e557fc4
Plugins: suppress trust warning noise in snapshot loads (#61427)
Merged via squash.

Prepared head SHA: a3f484bebdb20be882c1ded6008d37eb45fa284e
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 629baf5fa7
refactor: move plugin setup and memory capabilities to registries 8 months ago
Jamil Zakirov ffb5b99114
fix: propagate workspaceDir to snapshot plugin loads (#61138)
* plugins: include resolved workspaceDir in provider hook cache keys

resolveProviderPluginsForHooks, resolveProviderPluginsForCatalogHooks, and
resolveProviderRuntimePlugin used the raw params.workspaceDir for cache keys
and plugin-id discovery while resolvePluginProviders already fell back to
the active registry workspace. Resolve workspaceDir once at the top of each
function so cache keys, candidate filtering, and loading all use the same
workspace root.

* fix(plugins): inherit runtime workspace for snapshot loads

* test(gateway): stub runtime registry seam

* fix(plugins): restore workspace fallback after rebase

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Peter Steinberger e3ac0f43df
feat(qwen): add qwen provider and video generation 8 months ago
Peter Steinberger d1a4363783
fix(runtime): restore gateway watch on legacy state 8 months ago
Peter Steinberger be15805a84
refactor(runtime): lazy-load control-ui and channel-config surfaces 8 months ago
Peter Steinberger a23ab9b906
refactor: move voice-call realtime providers into extensions 8 months ago
Peter Steinberger 1e6e685347
fix: unblock cli startup metadata 8 months ago
Shakker 5dd6189a2a refactor: split plugin interactive registration 8 months ago
Peter Steinberger cd38eba316
refactor: unify plugin activation source plumbing 8 months ago
Peter Steinberger d375cd727e
fix: migrate legacy web search config on startup 8 months ago
Peter Steinberger bc137951e9
fix: preserve allowlist guard for auto-enabled bundled channels (#60233) (thanks @dorukardahan) 8 months ago
Doruk Ardahan cd08facd7a
fix(plugins): keep auto-enabled channels behind allowlists 8 months ago
Vincent Koc 883df8c6a8
fix(plugins): reuse runtime registries for web provider snapshots (#59865)
* fix(plugins): reuse runtime registries for web providers

* test(plugins): clarify runtime reuse intent

* chore(changelog): note web provider runtime reuse
8 months ago
Vincent Koc def5b954a8
feat(plugins): surface imported runtime state in status tooling (#59659)
* feat(plugins): surface imported runtime state

* fix(plugins): keep status imports snapshot-only

* fix(plugins): keep status snapshots manifest-only

* fix(plugins): restore doctor load checks

* refactor(plugins): split snapshot and diagnostics reports

* fix(plugins): track imported erroring modules

* fix(plugins): keep hot metadata where required

* fix(plugins): keep hot doctor and write targeting

* fix(plugins): track throwing module imports
8 months ago
Vincent Koc 9823833383
fix(plugins): preserve activation provenance (#59641)
* fix(plugins): preserve activation provenance

* fix(gateway): preserve activation reason metadata

* fix(plugins): harden activation state policy
8 months ago
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
Vincent Koc 7771c69caf
fix(plugins): enforce activation before shipped imports (#59136)
* fix(plugins): enforce activation before shipped imports

* fix(plugins): remove more ambient bundled loads

* fix(plugins): tighten scoped loader matching

* fix(plugins): remove channel-id scoped loader matches

* refactor(plugin-sdk): relocate ambient provider helpers

* fix(plugin-sdk): preserve unicode ADC credential paths

* fix(plugins): restore safe setup fallback
8 months ago
dudu1111685 ed8e6b0a74
plugins: suppress provenance warning for allowlisted local plugins (#58604)
Co-authored-by: me <shlomo@vmi1916417.contaboserver.net>
8 months ago
Peter Steinberger 8bf8baef87
Revert "refactor: move tasks into bundled plugin"
This reverts commit c75f4695b7.
8 months ago
Peter Steinberger c75f4695b7
refactor: move tasks into bundled plugin 8 months ago
fuller-stack-dev 235908c30e
fix: support multi-kind plugins for dual slot ownership (#57507) (thanks @fuller-stack-dev)
* feat(plugins): support multi-kind plugins for dual slot ownership

* fix: address review feedback on multi-kind plugin support

- Use sorted normalizeKinds() for kind-mismatch comparison in loader.ts
  (fixes order-sensitive JSON.stringify for arrays)
- Derive slot-to-kind reverse mapping from SLOT_BY_KIND in slots.ts
  (removes hardcoded ternary that would break for future slot types)
- Use shared hasKind() helper in config-state.ts instead of inline logic

* fix: don't disable dual-kind plugin that still owns another slot

When a new plugin takes over one slot, a dual-kind plugin that still
owns the other slot must not be disabled — otherwise context engine
resolution fails at runtime.

* fix: exempt dual-kind plugins from memory slot disablement

A plugin with kind: ["memory", "context-engine"] must stay enabled even
when it loses the memory slot, so its context engine role can still load.

* fix: address remaining review feedback

- Pass manifest kind (not hardcoded "memory") in early memory gating
- Extract kindsEqual() helper for DRY kind comparison in loader.ts
- Narrow slotKeyForPluginKind back to single PluginKind with JSDoc
- Reject empty array in parsePluginKind
- Add kindsEqual tests

* fix: use toSorted() instead of sort() per lint rules

* plugins: include default slot ownership in disable checks and gate dual-kind memory registration
8 months ago
Shakker 8746e2e216 fix: restore cli registry side-effect option 8 months ago
Ayaan Zaidi 1b557ffe65 fix(plugins): keep snapshot hook loads isolated 8 months ago
Gustavo Madeira Santana b0077904a7
Plugins: align CLI metadata loader behavior 8 months ago
Gustavo Madeira Santana e5dac0c39e
CLI: keep root help plugin descriptors non-activating (#57294)
Merged via squash.

Prepared head SHA: c8da48f689080b2991670df90f95ce856e112d97
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 8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading 8 months ago
Ayaan Zaidi e3faa99c6a
fix(plugins): preserve gateway-bindable registry reuse
# Conflicts:
#	src/agents/runtime-plugins.test.ts
#	src/agents/runtime-plugins.ts
#	src/plugins/loader.ts
#	src/plugins/tools.ts
8 months ago
Gustavo Madeira Santana cdf19111e5
Plugins: narrow loader testing helper surface 8 months ago
Tak Hoffman c0d4c07b88
fix(regression): scope plugin registry reuse by gateway methods 8 months ago
Gustavo Madeira Santana ee7f5825c8
Plugins: share runtime registry resolution 8 months ago
Gustavo Madeira Santana fd0aac297c
Plugins: add runtime registry compatibility helper 8 months ago
Peter Steinberger 546a1aad98 refactor: replace plugin-sdk dist env hacks with loader option 8 months ago
Peter Steinberger 7a35bca2ec
refactor: make memory embedding adapters generic 8 months ago
Peter Steinberger 40bd36e35d
refactor: move channel config metadata into plugin-owned manifests 8 months ago
Peter Steinberger dbf78de7c6
refactor: move memory engine behind plugin adapters 8 months ago
Peter Steinberger 0f5a77d058
refactor: route memory runtime through memory plugin 8 months ago
Peter Steinberger 1619090693
refactor: move memory plugin state into plugin host 8 months ago
Peter Steinberger e955d574b2
refactor: move memory tooling into memory-core extension 8 months ago