@nextclaw/openclaw-compat 0.3.5 → 0.3.7

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.d.ts CHANGED
@@ -60,6 +60,29 @@ type OpenClawPluginNcpAgentRuntimeRegistration = {
60
60
  kind: string;
61
61
  label?: string;
62
62
  createRuntime: (params: RuntimeFactoryParams) => NcpAgentRuntime;
63
+ describeSessionType?: () => Promise<{
64
+ ready?: boolean;
65
+ reason?: string | null;
66
+ reasonMessage?: string | null;
67
+ supportedModels?: string[];
68
+ recommendedModel?: string | null;
69
+ cta?: {
70
+ kind: string;
71
+ label?: string;
72
+ href?: string;
73
+ } | null;
74
+ } | null | undefined> | {
75
+ ready?: boolean;
76
+ reason?: string | null;
77
+ reasonMessage?: string | null;
78
+ supportedModels?: string[];
79
+ recommendedModel?: string | null;
80
+ cta?: {
81
+ kind: string;
82
+ label?: string;
83
+ href?: string;
84
+ } | null;
85
+ } | null | undefined;
63
86
  };
64
87
  type OpenClawProviderPlugin = {
65
88
  id: string;
@@ -215,6 +238,7 @@ type PluginNcpAgentRuntimeRegistration = {
215
238
  kind: string;
216
239
  label: string;
217
240
  createRuntime: (params: RuntimeFactoryParams) => NcpAgentRuntime;
241
+ describeSessionType?: OpenClawPluginNcpAgentRuntimeRegistration["describeSessionType"];
218
242
  source: string;
219
243
  };
220
244
  type PluginReplyDispatchParams = {
package/dist/index.js CHANGED
@@ -1426,6 +1426,7 @@ function registerPluginNcpAgentRuntime(params) {
1426
1426
  kind: accepted[0],
1427
1427
  label: params.registration.label?.trim() || accepted[0],
1428
1428
  createRuntime: params.registration.createRuntime,
1429
+ describeSessionType: params.registration.describeSessionType,
1429
1430
  source: params.source
1430
1431
  });
1431
1432
  params.record.ncpAgentRuntimeKinds.push(accepted[0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/openclaw-compat",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": false,
5
5
  "description": "OpenClaw plugin compatibility layer for NextClaw.",
6
6
  "type": "module",
@@ -19,20 +19,20 @@
19
19
  "jiti": "^1.21.7",
20
20
  "jszip": "^3.10.1",
21
21
  "tar": "^7.4.3",
22
- "@nextclaw/channel-plugin-mochat": "0.2.2",
23
- "@nextclaw/channel-plugin-dingtalk": "0.2.2",
24
- "@nextclaw/channel-plugin-feishu": "0.2.2",
25
- "@nextclaw/channel-plugin-slack": "0.2.2",
26
- "@nextclaw/channel-plugin-email": "0.2.2",
27
- "@nextclaw/channel-plugin-wecom": "0.2.2",
28
- "@nextclaw/channel-plugin-qq": "0.2.2",
29
- "@nextclaw/channel-plugin-telegram": "0.2.2",
30
- "@nextclaw/core": "0.9.2",
31
- "@nextclaw/channel-runtime": "0.2.2",
32
- "@nextclaw/ncp": "0.3.1",
33
- "@nextclaw/channel-plugin-discord": "0.2.2",
22
+ "@nextclaw/channel-plugin-mochat": "0.2.4",
23
+ "@nextclaw/channel-plugin-feishu": "0.2.4",
24
+ "@nextclaw/channel-plugin-dingtalk": "0.2.4",
25
+ "@nextclaw/channel-plugin-email": "0.2.4",
26
+ "@nextclaw/channel-plugin-slack": "0.2.4",
27
+ "@nextclaw/channel-plugin-qq": "0.2.4",
28
+ "@nextclaw/channel-plugin-wecom": "0.2.4",
29
+ "@nextclaw/channel-runtime": "0.2.4",
30
+ "@nextclaw/channel-plugin-whatsapp": "0.2.4",
31
+ "@nextclaw/core": "0.9.4",
34
32
  "@nextclaw/ncp-toolkit": "0.4.1",
35
- "@nextclaw/channel-plugin-whatsapp": "0.2.2"
33
+ "@nextclaw/ncp": "0.3.1",
34
+ "@nextclaw/channel-plugin-discord": "0.2.4",
35
+ "@nextclaw/channel-plugin-telegram": "0.2.4"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^20.17.6",