adp-openclaw 0.0.74 → 0.0.76

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/index.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { OpenClawPluginApi } from "openclaw/plugin-sdk/core";
2
- import { emptyPluginConfigSchema } from "openclaw/plugin-sdk/core";
1
+ import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
2
+ import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
3
3
 
4
4
  // ============================================================================
5
5
  // PERFORMANCE NOTE: This file is the plugin entry point loaded by openclaw at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adp-openclaw",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "ADP-OpenClaw demo channel plugin (Go WebSocket backend)",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -9,7 +9,7 @@
9
9
  "zod": "^3.22.4"
10
10
  },
11
11
  "peerDependencies": {
12
- "openclaw": ">=2026.3.22"
12
+ "openclaw": ">=2026.3.1"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^20.11.0",
package/src/channel.ts CHANGED
@@ -4,8 +4,11 @@
4
4
  import type {
5
5
  ChannelPlugin,
6
6
  OpenClawConfig,
7
- } from "openclaw/plugin-sdk/core";
8
- import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/core";
7
+ } from "openclaw/plugin-sdk";
8
+
9
+ // DEFAULT_ACCOUNT_ID is "default" in all openclaw versions; inline it to avoid
10
+ // importing from plugin-sdk/core (whose subpath export is missing in <= 2026.3.2).
11
+ const DEFAULT_ACCOUNT_ID = "default";
9
12
  import { adpOpenclawSetupWizard } from "./onboarding.js";
10
13
  import { getActiveWebSocket } from "./runtime.js";
11
14
 
package/src/monitor.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Monitor: WebSocket connection to Go server for real-time message handling
2
2
  // Supports: API Token auth, conversation tracking for multi-turn dialogues
3
3
 
4
- import type { PluginLogger, OpenClawConfig } from "openclaw/plugin-sdk/core";
4
+ import type { PluginLogger, OpenClawConfig } from "openclaw/plugin-sdk";
5
5
  import { getAdpOpenclawRuntime, setActiveWebSocket } from "./runtime.js";
6
6
  import {
7
7
  getChatHistory,
package/src/onboarding.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Setup wizard adapter for ADP OpenClaw channel plugin
2
2
  // Migrated from ChannelOnboardingAdapter to ChannelSetupWizard for openclaw >= 2026.3.22
3
- import type { ChannelSetupWizard } from "openclaw/plugin-sdk/setup";
4
- import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
3
+ import type { ChannelSetupWizard } from "openclaw/plugin-sdk";
4
+ import type { OpenClawConfig } from "openclaw/plugin-sdk";
5
5
 
6
6
  const channel = "adp-openclaw" as const;
7
7
 
package/src/runtime.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Runtime singleton for adp-openclaw plugin
2
- import type { PluginRuntime } from "openclaw/plugin-sdk/core";
2
+ import type { PluginRuntime } from "openclaw/plugin-sdk";
3
3
  import type { WebSocket } from "ws";
4
4
 
5
5
  let adpOpenclawRuntime: PluginRuntime | null = null;
@@ -4,7 +4,7 @@
4
4
  // 1. Direct file reading (for local session files)
5
5
  // 2. CLI execution (via openclaw commands)
6
6
 
7
- import type { PluginLogger } from "openclaw/plugin-sdk/core";
7
+ import type { PluginLogger } from "openclaw/plugin-sdk";
8
8
  import * as fs from "node:fs";
9
9
  import * as path from "node:path";
10
10
  import * as os from "node:os";