@openclaw/acpx 2026.9.3 → 2026.9.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/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { resolveNodeHostExecutable } from "openclaw/plugin-sdk/node-host";
8
8
  import { createSessionCatalogNodeHostBindings } from "openclaw/plugin-sdk/session-catalog";
9
9
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  //#region extensions/acpx/src/pi-session-catalog-plugin.ts
11
- const loadPiSessionCatalogModule = createLazyRuntimeModule(() => import("./pi-session-catalog-runtime-BIieInfo.js"));
11
+ const loadPiSessionCatalogModule = createLazyRuntimeModule(() => import("./pi-session-catalog-runtime-BrPX6xQV.js"));
12
12
  function fullConfigCatalogEnabled(config) {
13
13
  if (!isRecord(config) || !isRecord(config.plugins) || !isRecord(config.plugins.entries)) return true;
14
14
  const entry = config.plugins.entries.acpx;
@@ -12,7 +12,7 @@ import { resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-ru
12
12
  import { sessionCatalogPaging } from "openclaw/plugin-sdk/session-catalog-paging";
13
13
  import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
14
14
  import { runTasksWithConcurrency } from "openclaw/plugin-sdk/concurrency-runtime";
15
- import { isPathStrictlyInside } from "openclaw/plugin-sdk/file-access-runtime";
15
+ import { isPathStrictlyInside, readFileRangeAsync } from "openclaw/plugin-sdk/file-access-runtime";
16
16
  //#region extensions/acpx/src/pi-session-timestamp.ts
17
17
  /** Preserve Pi JSONL's date-first string contract while accepting numeric millisecond values. */
18
18
  function parsePiSessionTimestampMs(value) {
@@ -587,16 +587,6 @@ async function readLocalPiTranscriptPage(value) {
587
587
  //#endregion
588
588
  //#region extensions/acpx/src/pi-session-upstream-activity.ts
589
589
  const MAX_PI_UPSTREAM_SCAN_BYTES = 1048576;
590
- async function readFileRange(handle, position, length) {
591
- const buffer = Buffer.alloc(length);
592
- let offset = 0;
593
- while (offset < length) {
594
- const { bytesRead } = await handle.read(buffer, offset, length - offset, position + offset);
595
- if (bytesRead <= 0) break;
596
- offset += bytesRead;
597
- }
598
- return offset === length ? buffer : buffer.subarray(0, offset);
599
- }
600
590
  function parseCompletePiRows(tail) {
601
591
  const entries = [];
602
592
  let lineStart = 0;
@@ -667,7 +657,7 @@ async function checkPiSessionUpstreamActivity(probe) {
667
657
  };
668
658
  if (stat.size <= markerOffset) return;
669
659
  const readLength = Math.min(stat.size - markerOffset, MAX_PI_UPSTREAM_SCAN_BYTES);
670
- const { entries, classifiedBytes } = parseCompletePiRows(await readFileRange(handle, markerOffset, readLength));
660
+ const { entries, classifiedBytes } = parseCompletePiRows(await readFileRangeAsync(handle, markerOffset, readLength));
671
661
  if (classifiedBytes === 0) return;
672
662
  let humanTurns = 0;
673
663
  let occurredAt;
@@ -880,6 +870,7 @@ function createPiSessionCatalogRuntime(api) {
880
870
  },
881
871
  terminal: {
882
872
  executable: "pi",
873
+ uploadPathStyle: "native",
883
874
  args: (threadId) => ["--session", threadId],
884
875
  title: (threadId) => `pi --session ${threadId.slice(0, 12)}…`,
885
876
  requireLocalSession: requireLocalPiSession,
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "acpx",
3
+ "categories": ["runtime", "tools"],
3
4
  "backupResources": [
4
5
  {
5
6
  "disposition": "regenerable",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/acpx",
3
- "version": "2026.9.3",
3
+ "version": "2026.9.4",
4
4
  "description": "OpenClaw ACP runtime backend with plugin-owned session and transport management.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,6 +22,7 @@
22
22
  "./index.ts"
23
23
  ],
24
24
  "install": {
25
+ "clawhubSpec": "clawhub:@openclaw/acpx",
25
26
  "npmSpec": "@openclaw/acpx",
26
27
  "defaultChoice": "npm",
27
28
  "minHostVersion": ">=2026.4.25",
@@ -43,10 +44,10 @@
43
44
  ]
44
45
  },
45
46
  "compat": {
46
- "pluginApi": ">=2026.9.3"
47
+ "pluginApi": ">=2026.9.4"
47
48
  },
48
49
  "build": {
49
- "openclawVersion": "2026.9.3",
50
+ "openclawVersion": "2026.9.4",
50
51
  "staticAssets": [
51
52
  {
52
53
  "source": "./src/runtime-internals/mcp-proxy.mjs",
@@ -74,7 +75,7 @@
74
75
  "skills/**"
75
76
  ],
76
77
  "peerDependencies": {
77
- "openclaw": ">=2026.9.3"
78
+ "openclaw": ">=2026.9.4"
78
79
  },
79
80
  "peerDependenciesMeta": {
80
81
  "openclaw": {