@zerogpu/browser-extension-sdk 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/assets/herogpu-assets.json +2 -2
- package/dist/assets/zerogpu-assets.json +2 -2
- package/dist/extension/herogpu-offscreen.js +1 -1
- package/dist/extension/zerogpu-offscreen.js +1 -1
- package/dist/herogpu-browser-sdk.cjs +1 -1
- package/dist/herogpu-browser-sdk.esm.js +1 -1
- package/dist/herogpu-browser-sdk.umd.js +1 -1
- package/dist/manifest.json +5 -5
- package/dist/types/telemetry/event-reporter.d.ts +1 -0
- package/dist/types/transport/orchestrator-host.d.ts +23 -0
- package/dist/v/herogpu-browser-sdk.01ff0977da78.umd.js +1 -0
- package/dist/v/zerogpu-browser-sdk.01ff0977da78.umd.js +1 -0
- package/dist/zerogpu-browser-sdk.cjs +1 -1
- package/dist/zerogpu-browser-sdk.esm.js +1 -1
- package/dist/zerogpu-browser-sdk.umd.js +1 -1
- package/docs/extension-developer-guide.md +1 -1
- package/package.json +1 -1
- package/dist/v/herogpu-browser-sdk.a957716b164a.umd.js +0 -1
- package/dist/v/zerogpu-browser-sdk.a957716b164a.umd.js +0 -1
package/README.md
CHANGED
|
@@ -228,9 +228,13 @@ What does not change, and what to check:
|
|
|
228
228
|
- **`error.name` is unchanged.** A `HeroGpuError` still reports `name === 'ZeroGpuError'`,
|
|
229
229
|
because code compares that string. Branch on `error.code`, or use `isHeroGpuError(error)`.
|
|
230
230
|
- **Where the SDK connects.** The default registry and its WebSocket are now on `herogpu.com`.
|
|
231
|
-
|
|
232
|
-
`
|
|
233
|
-
|
|
231
|
+
From 0.6.1, when the page cannot reach `herogpu.com` (a Content-Security-Policy
|
|
232
|
+
`connect-src` or extension `host_permissions` that list only `zerogpu.ai`, a firewall, DNS),
|
|
233
|
+
the SDK falls back to the same registry on `zerogpu.ai` by itself, and the WebSocket follows.
|
|
234
|
+
Nothing to change for that, though adding `https://*.herogpu.com` and `wss://*.herogpu.com`
|
|
235
|
+
next to the `zerogpu.ai` entries saves the blocked first request (and its CSP report) on
|
|
236
|
+
each page load. (0.6.0 had no fallback.) Model files are still served from the hosts they
|
|
237
|
+
were served from.
|
|
234
238
|
- **Unchanged addresses and keys.** The loader and CDN (`js-sdk.zerogpu.ai`), the end-user
|
|
235
239
|
settings page (`zerogpu.ai/extension-settings`) and operator keys (`zgpu-sdk-…`) are the same.
|
|
236
240
|
`vendor` adds `https://*.herogpu.com/*` to your manifest's `externally_connectable` next to
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sdkVersion": "0.6.
|
|
2
|
+
"sdkVersion": "0.6.1+e3bcd17",
|
|
3
3
|
"channel": "official",
|
|
4
4
|
"transformersVersion": "2.17.2",
|
|
5
5
|
"wllamaVersion": "2.3.5",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"wllama/single-thread/wllama.wasm",
|
|
18
18
|
"wllama/multi-thread/wllama.wasm"
|
|
19
19
|
],
|
|
20
|
-
"builtAt": "2026-12-
|
|
20
|
+
"builtAt": "2026-12-04T17:01:59.420Z"
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sdkVersion": "0.6.
|
|
2
|
+
"sdkVersion": "0.6.1+e3bcd17",
|
|
3
3
|
"channel": "official",
|
|
4
4
|
"transformersVersion": "2.17.2",
|
|
5
5
|
"wllamaVersion": "2.3.5",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"wllama/single-thread/wllama.wasm",
|
|
18
18
|
"wllama/multi-thread/wllama.wasm"
|
|
19
19
|
],
|
|
20
|
-
"builtAt": "2026-12-
|
|
20
|
+
"builtAt": "2026-12-04T17:01:59.420Z"
|
|
21
21
|
}
|