adp-openclaw 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/monitor.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adp-openclaw",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "ADP-OpenClaw demo channel plugin (Go WebSocket backend)",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/monitor.ts CHANGED
@@ -5,6 +5,9 @@ import type { PluginLogger, ClawdbotConfig } from "openclaw/plugin-sdk";
5
5
  import { getAdpOpenclawRuntime } from "./runtime.js";
6
6
  import crypto from "crypto";
7
7
 
8
+ // Plugin version from package.json
9
+ const PLUGIN_VERSION = "0.0.18";
10
+
8
11
  // WebSocket reconnect delay (fixed at 1 second)
9
12
  const RECONNECT_DELAY_MS = 1000;
10
13
 
@@ -179,7 +182,7 @@ async function connectAndHandle(params: ConnectParams): Promise<void> {
179
182
  const result = msg.payload as AuthResultPayload;
180
183
  if (result.success) {
181
184
  authenticated = true;
182
- log?.info(`[adp-openclaw] Authenticated as client ${result.clientId}`);
185
+ log?.info(`[adp-openclaw] Plugin v${PLUGIN_VERSION} authenticated as client ${result.clientId}`);
183
186
 
184
187
  // Start ping interval
185
188
  pingInterval = setInterval(() => {
@@ -390,6 +393,7 @@ async function connectAndHandle(params: ConnectParams): Promise<void> {
390
393
  recordId: inMsg.recordId, // Pass recordId back to server
391
394
  streamId: streamId,
392
395
  index: chunkIndex,
396
+ isPartial: true, // Mark as partial chunk, final data will be in outbound_end
393
397
  user: inMsg.user,
394
398
  },
395
399
  timestamp: Date.now(),