Kaspre
b3f8a0edf3
fix(plugin-sdk): use Function.name to find onDiagnosticEvent export ( #87084 )
...
* fix(plugin-sdk): use Function.name to find onDiagnosticEvent export
normalizeDiagnosticEventsModule hardcodes `mod.r` as the fallback alias
for onDiagnosticEvent, but the bundler reassigns export aliases across
builds. On 2026.5.25-beta.1, `r` is emitFailoverEvent — calling it as
onDiagnosticEvent returns a non-function, so the combo unsubscribe
closure throws TypeError on every gateway stop.
Replace the hardcoded letter with Function.name introspection. JS
functions retain their original .name regardless of export aliasing,
so this survives bundler alias changes.
Fixes #87082
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
* test(plugin-sdk): cover diagnostic event alias shifts
* fix(plugin-sdk): harden diagnostic alias cleanup
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-26 19:31:41 -07:00
Vincent Koc
a5d5604198
fix(tests): harden native macos plugin proof
2026-05-25 07:21:12 +02:00
Kaspre
fd2a9adbe6
fix(ollama): bypass managed proxy for loopback embeddings ( #85707 )
...
* fix(ollama): bypass proxy for local embeddings
* fix(ollama): keep managed proxy bypass loopback-only
* fix(ollama): keep proxy bypass internal
* fix(ollama): keep proxy bypass private
* fix(ollama): harden internal proxy bypass
* chore(plugin-sdk): refresh api baseline
* fix(ollama): keep internal bypass out of qa aliases
* test(ollama): keep ssrf runtime mock complete
* fix(ollama): keep dist sdk aliases public-only
* fix(ollama): keep fetch bypass out of infra runtime
* fix(ollama): preserve packaged private sdk alias
* test(ollama): harden private ssrf alias coverage
* test(ollama): cover private ssrf resolver edges
* fix(ollama): scope private sdk native aliases
* test(ollama): audit blocked loopback bypasses
* fix(plugins): keep staged sdk aliases public-only
* test(ollama): harden proxy bypass proof
* test(ollama): cover origin mismatch proxy path
* test(ollama): cover ipv6 and batch bypass paths
* fix lint findings in Ollama proxy tests
* refactor: tighten Ollama proxy bypass
* fix: widen private sdk owner registry type
* test: stabilize Ollama proxy PR checks
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-05-23 21:17:55 +01:00
Super Zheng
4223dd2886
fix: enable native require fast path on Windows for plugin-sdk root alias ( #80878 )
...
Merged via squash.
Prepared head SHA: 87446445b6
Co-authored-by: medns <1575008+medns@users.noreply.github.com >
Co-authored-by: odysseus0 <8635094+odysseus0@users.noreply.github.com >
Reviewed-by: @odysseus0
2026-05-12 04:43:55 -07:00
Peter Steinberger
23fd8a90f9
refactor: simplify plugin module loading
2026-05-02 01:41:09 +01:00
Gustavo Madeira Santana
d5933af80b
QA: fix private runtime source loading ( #67428 )
...
Merged via squash.
Prepared head SHA: b8bf2b6be6
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-15 21:59:16 -04:00
Vincent Koc
1898b2093f
fix(plugin-sdk): widen root alias source candidates
2026-04-14 18:09:36 +01:00
Vincent Koc
665a8496d7
fix(plugin-sdk): sort hashed root alias dist chunks
2026-04-14 17:53:10 +01:00
Vincent Koc
16851e2d55
fix(plugin-sdk): sort safe root alias subpaths
2026-04-14 17:49:41 +01:00
Vincent Koc
a80ecb9937
fix(plugin-sdk): align root alias scoped sdk map
2026-04-14 17:39:36 +01:00
Peter Steinberger
3a4b96bfbf
fix: normalize plugin SDK aliases on Windows
2026-04-05 15:57:47 +01:00
Peter Steinberger
23f0486810
fix: stabilize plugin startup boundaries
2026-03-28 05:22:26 +00:00
Peter Steinberger
546a1aad98
refactor: replace plugin-sdk dist env hacks with loader option
2026-03-27 13:46:17 +00:00
Peter Steinberger
b5a8d5a230
fix: stabilize plugin-sdk test loading
2026-03-27 13:46:17 +00:00
Vincent Koc
83e715cdaa
fix(plugin-sdk): normalize hashed diagnostic event exports
2026-03-23 00:24:47 -07:00
Vincent Koc
b23e9c577d
fix(plugin-sdk): resolve hashed diagnostic events chunks
2026-03-23 00:18:19 -07:00
Vincent Koc
be3a2e2eb6
fix(plugin-sdk): fall back to src root alias files
2026-03-22 22:26:18 -07:00
Vincent Koc
5f746422aa
fix(plugin-sdk): fast-path root diagnostic subscriptions
2026-03-22 21:07:11 -07:00
Peter Steinberger
e64dbb00b3
fix: prefer source plugin-sdk root alias in tests
2026-03-22 12:25:51 -07:00
Peter Steinberger
1ceaad18a6
test: harden vitest no-isolate coverage
2026-03-22 10:48:21 -07:00
Peter Steinberger
18fa2992f9
fix: restore plugin sdk runtime barrels
2026-03-20 16:46:34 +00:00
Vincent Koc
dbc9d3dd70
fix(plugin-sdk): restore root diagnostic compat
2026-03-20 09:27:37 -07:00
Vincent Koc
009f494cd9
fix(plugin-sdk): stop library import warmup side effects
2026-03-19 16:07:53 -07:00
Peter Steinberger
3d8afb96bd
fix: use transpiled jiti for source plugin shims
2026-03-18 16:24:45 +00:00
Peter Steinberger
f2bd76cd1a
refactor: finalize plugin sdk legacy boundary cleanup
2026-03-16 22:51:46 -07:00
Harold Hunt
94c27f34a1
fix(plugins): keep built plugin loading on one module graph ( #48595 )
2026-03-16 20:58:58 -04:00
Gustavo Madeira Santana
c186176ca3
Plugin SDK: keep root alias reflection lazy
2026-03-16 12:35:13 +00:00
Gustavo Madeira Santana
5889a2e98e
fix(plugin-sdk): lazily load legacy root alias
2026-03-08 17:13:46 -04:00
Peter Steinberger
25d0aa7296
refactor: simplify plugin sdk compatibility aliases
2026-03-08 18:40:14 +00:00
Bob
61f7cea48b
fix: kill stuck ACP child processes on startup and harden sessions in discord threads ( #33699 )
...
* Gateway: resolve agent.wait for chat.send runs
* Discord: harden ACP thread binding + listener timeout
* ACPX: handle already-exited child wait
* Gateway/Discord: address PR review findings
* Discord: keep ACP error-state thread bindings on startup
* gateway: make agent.wait dedupe bridge event-driven
* discord: harden ACP probe classification and cap startup fan-out
* discord: add cooperative timeout cancellation
* discord: fix startup probe concurrency helper typing
* plugin-sdk: avoid Windows root-alias shard timeout
* plugin-sdk: keep root alias reflection path non-blocking
* discord+gateway: resolve remaining PR review findings
* gateway+discord: fix codex review regressions
* Discord/Gateway: address Codex review findings
* Gateway: keep agent.wait lifecycle active with shared run IDs
* Discord: clean up status reactions on aborted runs
* fix: add changelog note for ACP/Discord startup hardening (#33699 ) (thanks @dutifulbob)
---------
Co-authored-by: Onur <2453968+osolmaz@users.noreply.github.com >
2026-03-04 10:52:28 +01:00
Gustavo Madeira Santana
802b9f6b19
Plugins: add root-alias shim and cache/docs updates
2026-03-04 01:20:48 -05:00