@openclaw/diffs 2026.9.34 → 2026.9.35

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-v15gbeC0.mjs","sha256":"5a4b4ca2e0fad93ef5428e2724088acc64f230b3b2abfe491727f0431071bcb4","facadeSource":"extensions/diffs/src/browser.runtime.ts","sources":["extensions/diffs/src/browser.runtime.ts"]},{"output":".setup/viewer-assets-Bg9efLih.mjs","sha256":"bffb182a6127a1c94de48aaa01d5ad6012cc22b890400df95d29b62553fd71ca","facadeSource":null,"sources":["extensions/diffs/src/viewer-assets.ts"]},{"output":"index.js","sha256":"989bb4c96782a7089d78c6707b28c17d5cca1f3e94732e7b56223377935ea5a6","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, r as VIEWER_RUNTIME_PATH } from "./.setup/viewer-assets-Bg9efLih.mjs";
1
+ import { a as getServedViewerAsset } from "./.setup/viewer-assets-Bg9efLih.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 { z } from "zod";
@@ -557,7 +557,7 @@ async function serveAsset(req, res, pathname, logger) {
557
557
  return true;
558
558
  }
559
559
  res.statusCode = 200;
560
- setSharedHeaders(res, asset.contentType, pathname === VIEWER_RUNTIME_PATH ? IMMUTABLE_ASSET_CACHE_CONTROL : void 0);
560
+ setSharedHeaders(res, asset.contentType, pathname === "/plugins/diffs/assets/viewer-runtime.js" ? IMMUTABLE_ASSET_CACHE_CONTROL : void 0);
561
561
  res.setHeader("content-length", String(Buffer.byteLength(asset.body)));
562
562
  if (req.method === "HEAD") res.end();
563
563
  else res.end(asset.body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/diffs",
3
- "version": "2026.9.34",
3
+ "version": "2026.9.35",
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.9.34"
28
+ "pluginApi": ">=2026.9.35"
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.9.34",
35
+ "openclawVersion": "2026.9.35",
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.9.34"
60
+ "openclaw": ">=2026.9.35"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "openclaw": {