@openclaw/diffs 2026.7.2-beta.2 → 2026.7.2-beta.4
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 +2 -1
- package/dist/assets/viewer-runtime.js +15 -15
- package/dist/index.js +248 -211
- package/node_modules/@shikijs/core/package.json +3 -3
- package/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/node_modules/@shikijs/langs/package.json +2 -2
- package/node_modules/@shikijs/primitive/dist/index.mjs +6 -5
- package/node_modules/@shikijs/primitive/package.json +2 -2
- package/node_modules/@shikijs/themes/package.json +2 -2
- package/node_modules/@shikijs/transformers/package.json +3 -3
- package/node_modules/@shikijs/types/dist/index.d.mts +9 -1
- package/node_modules/@shikijs/types/package.json +1 -1
- package/node_modules/@types/hast/README.md +2 -2
- package/node_modules/@types/hast/index.d.ts +642 -0
- package/node_modules/@types/hast/package.json +9 -3
- package/node_modules/@ungap/structured-clone/cjs/deserialize.js +6 -1
- package/node_modules/@ungap/structured-clone/cjs/serialize.js +2 -2
- package/node_modules/@ungap/structured-clone/esm/deserialize.js +6 -1
- package/node_modules/@ungap/structured-clone/esm/serialize.js +2 -2
- package/node_modules/@ungap/structured-clone/package.json +1 -1
- package/node_modules/@ungap/structured-clone/structured-json.js +1 -1
- package/node_modules/shiki/package.json +7 -7
- package/node_modules/typebox/build/compile/validator.d.mts +1 -4
- package/node_modules/typebox/build/guard/guard.d.mts +1 -1
- package/node_modules/typebox/build/guard/guard.mjs +5 -2
- package/node_modules/typebox/build/guard/string.mjs +16 -4
- package/node_modules/typebox/build/schema/engine/_functions.mjs +34 -15
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +5 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +8 -0
- package/node_modules/typebox/build/typebox.d.mts +1 -1
- package/node_modules/typebox/build/typebox.mjs +1 -1
- package/node_modules/typebox/package.json +1 -1
- package/node_modules/typebox/readme.md +29 -32
- package/npm-shrinkwrap.json +55 -55
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -220,7 +220,8 @@ diff --git a/src/example.ts b/src/example.ts
|
|
|
220
220
|
- Multi-file patches start with a changed-files summary card: totals, per-file `+N`/`-N` stats, change badges, and anchor links.
|
|
221
221
|
- Rendered PNG/PDF files keep the per-file header counts but omit the interactive view toggles.
|
|
222
222
|
- The viewer is hosted locally through the gateway under `/plugins/diffs/...`.
|
|
223
|
-
-
|
|
223
|
+
- Viewer HTML and metadata are ephemeral SQLite plugin blobs. The URL token is returned to the caller while SQLite stores only its SHA-256 hash.
|
|
224
|
+
- Rendered PNG/PDF files remain temporary materializations in `$TMPDIR/openclaw-diffs` because delivery APIs require a file path. No JSON metadata sidecars are written or imported.
|
|
224
225
|
- Default viewer URLs use loopback (`127.0.0.1`) unless you set plugin `viewerBaseUrl`, pass `baseUrl`, or use `gateway.bind=custom` + `gateway.customBindHost`.
|
|
225
226
|
- If `gateway.trustedProxies` includes loopback for a same-host proxy (for example Tailscale Serve), raw `127.0.0.1` viewer requests without forwarded client-IP headers fail closed by design.
|
|
226
227
|
- In that topology, prefer `mode=file` / `mode=both` for attachments, or intentionally enable remote viewers and set plugin `viewerBaseUrl` (or pass a proxy/public `baseUrl`) when you need a shareable viewer URL.
|