@openclaw/diffs 2026.10.6 → 2026.10.8
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"entries":[{"output":"index.js","source":"extensions/diffs/index.ts"}],"chunks":[{"output":".setup/browser.runtime-BfvyJ76b.mjs","sha256":"d4d60eec3176a610fa8c7b8be19520263efc17adca90a02e22e40c7424cadec7","facadeSource":"extensions/diffs/src/browser.runtime.ts","sources":["extensions/diffs/src/browser.runtime.ts"]},{"output":".setup/viewer-assets-C646cpoV.mjs","sha256":"7233cd5d6cdde01f22973556f6bff43b8ab1f94d06cbfcd89647c5ab4516036a","facadeSource":null,"sources":["extensions/diffs/src/viewer-assets.ts"]},{"output":"index.js","sha256":"897671806c8f5822bb3e415f773d17ed54fce1190a84a292b164bdf7f2c7f977","facadeSource":"extensions/diffs/index.ts","sources":["extensions/diffs/index.ts","extensions/diffs/src/config.ts","extensions/diffs/src/http.ts","extensions/diffs/src/language-hints.ts","extensions/diffs/src/plugin.ts","extensions/diffs/src/prompt-guidance.ts","extensions/diffs/src/render.ts","extensions/diffs/src/shiki-curated-languages.ts","extensions/diffs/src/store.ts","extensions/diffs/src/tool.ts","extensions/diffs/src/types.ts","extensions/diffs/src/url.ts","packages/normalization-core/src/string-coerce.ts","src/gateway/gateway-http-route-contracts.ts","src/gateway/security-path.ts","src/gateway/server/plugins-http/path-context.ts","src/plugins/http-path-prefix.ts"]}],"unrenderedSources":[]}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getServedViewerAsset
|
|
1
|
+
import { a as getServedViewerAsset } from "./.setup/viewer-assets-C646cpoV.mjs";
|
|
2
2
|
import { buildPluginConfigSchema, definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
3
|
import { mapPluginConfigIssues } from "openclaw/plugin-sdk/extension-shared";
|
|
4
4
|
import { asFiniteNumber, asNonArrayRecord, asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -515,7 +515,7 @@ async function serveAsset(req, res, pathname, logger) {
|
|
|
515
515
|
return true;
|
|
516
516
|
}
|
|
517
517
|
res.statusCode = 200;
|
|
518
|
-
setSharedHeaders(res, asset.contentType, pathname ===
|
|
518
|
+
setSharedHeaders(res, asset.contentType, pathname === "/plugins/diffs/assets/viewer-runtime.js" ? IMMUTABLE_ASSET_CACHE_CONTROL : void 0);
|
|
519
519
|
res.setHeader("content-length", String(Buffer.byteLength(asset.body)));
|
|
520
520
|
if (req.method === "HEAD") res.end();
|
|
521
521
|
else res.end(asset.body);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/diffs",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.8",
|
|
4
4
|
"description": "OpenClaw read-only diff viewer plugin and file renderer for agents.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"minHostVersion": ">=2026.4.30"
|
|
26
26
|
},
|
|
27
27
|
"compat": {
|
|
28
|
-
"pluginApi": ">=2026.10.
|
|
28
|
+
"pluginApi": ">=2026.10.8"
|
|
29
29
|
},
|
|
30
30
|
"assetScripts": {
|
|
31
31
|
"build": "node --import tsx ../../scripts/build-diffs-viewer-runtime.mts curated"
|
|
32
32
|
},
|
|
33
33
|
"build": {
|
|
34
34
|
"bundledDist": false,
|
|
35
|
-
"openclawVersion": "2026.10.
|
|
35
|
+
"openclawVersion": "2026.10.8",
|
|
36
36
|
"staticAssets": [
|
|
37
37
|
{
|
|
38
38
|
"source": "./assets/viewer-runtime.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"skills/**"
|
|
58
58
|
],
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"openclaw": ">=2026.10.
|
|
60
|
+
"openclaw": ">=2026.10.8"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"openclaw": {
|