openclaw/extensions/ollama
pengxuewu-lab fb52a989b2
fix(plugin-sdk): update ssrf-runtime import path in cdp-proxy-bypass (#96994)
* fix(plugin-sdk): update ssrf-runtime import path in cdp-proxy-bypass.ts

The import path `openclaw/plugin-sdk/ssrf-runtime-internal` was renamed
to `openclaw/plugin-sdk/ssrf-runtime` in a previous version, but
cdp-proxy-bypass.ts still referenced the old path. The neighbouring
cdp.helpers.ts already uses the correct path. This caused the browser
plugin to fail to load with "Package subpath is not defined by exports".

Fixes #96639

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(plugin-sdk): update ssrf-runtime import path in cdp-proxy-bypass

The import path `openclaw/plugin-sdk/ssrf-runtime-internal` was renamed
to `openclaw/plugin-sdk/ssrf-runtime` in a previous version, but
cdp-proxy-bypass.ts still referenced the old path. The neighbouring
cdp.helpers.ts already uses the correct path. This caused the browser
plugin to fail to load with "Package subpath is not defined by exports".

Update the corresponding vi.mock path in the test file to match.

Fixes #96639

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(plugin-sdk): promote managed-proxy bypass exports to public ssrf-runtime

Export registerManagedProxyBrowserCdpBypass and fetchConfiguredLocalOriginWithSsrFGuard
from the public ssrf-runtime path so that the browser plugin and ollama embedding
provider can lazy-load without hitting the private ssrf-runtime-internal subpath
that is excluded from package.json exports.

Fixes #96639

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(build): bundle private SSRF runtime for packaged plugins

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-09 12:20:18 +01:00
..
src fix(plugin-sdk): update ssrf-runtime import path in cdp-proxy-bypass (#96994) 2026-07-09 12:20:18 +01:00
api.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
doctor-contract-api.test.ts [Bug]: ollama-cloud runtime fails DNS lookup for ai.ollama.com, while ollama/<model>:cloud works (#92594) 2026-06-16 14:17:57 +08:00
doctor-contract-api.ts [Bug]: ollama-cloud runtime fails DNS lookup for ai.ollama.com, while ollama/<model>:cloud works (#92594) 2026-06-16 14:17:57 +08:00
index.test.ts fix(ollama): fall back when native streams end early (#100482) 2026-07-06 03:12:49 +01:00
index.ts fix(ollama): fall back when native streams end early (#100482) 2026-07-06 03:12:49 +01:00
ollama.live.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
openclaw.plugin.json feat(macos): load provider catalog during AI onboarding (#101132) 2026-07-06 20:57:56 +01:00
package.json chore: update dependencies (#100027) 2026-07-04 14:56:50 -04:00
provider-discovery.import-guard.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
provider-discovery.test.ts test(plugins): repair prerelease validation fixtures 2026-07-01 18:02:09 -07:00
provider-discovery.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
provider-policy-api.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
provider-policy-api.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
README.md
runtime-api.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
tsconfig.json
web-search-contract-api.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
web-search-provider.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00

Ollama Provider

Bundled provider plugin for Ollama discovery and setup.