@efengx/openclaw-channel-dragon 0.5.15 → 0.5.16

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
@@ -2,7 +2,6 @@ import { defineChannelPluginEntry, createChatChannelPlugin, createChannelPluginB
2
2
  import { createRawChannelSendResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
3
3
  import * as InfraRuntime from "openclaw/plugin-sdk/infra-runtime";
4
4
  import { ServiceContainer } from "./core/ServiceContainer.js";
5
- import { PollingComponent } from "./components/sync/PollingComponent.js";
6
5
  import { TelemetryComponent } from "./components/telemetry/TelemetryComponent.js";
7
6
  import { HttpComponent } from "./components/http/HttpComponent.js";
8
7
  import { ChannelComponent } from "./components/channel/ChannelComponent.js";
@@ -31,18 +30,11 @@ async function getOrCreateContainer(account, ctx) {
31
30
  cfg: ctx.cfg,
32
31
  logger
33
32
  }, telemetry));
34
- // 3. Sync Infrastructure (SSE + Polling)
33
+ // 3. Sync Infrastructure
35
34
  container.register('sse', new SseComponent(http, channel, {
36
35
  agentId: account.agentId,
37
36
  logger
38
37
  }));
39
- container.register('polling', new PollingComponent(http, channel, {
40
- agentId: account.agentId,
41
- accountId: account.accountId,
42
- channelRuntime: ctx.channelRuntime,
43
- abortSignal: ctx.abortSignal,
44
- logger
45
- }));
46
38
  await container.startAll();
47
39
  containers.set(key, container);
48
40
  return container;
@@ -2,7 +2,7 @@
2
2
  "id": "dragon",
3
3
  "name": "Dragon Workbench Channel",
4
4
  "description": "Connect OpenClaw to the Dragon agent-client workbench chat.",
5
- "version": "0.5.15",
5
+ "version": "0.5.16",
6
6
  "enabledByDefault": true,
7
7
  "activation": {
8
8
  "onCapabilities": ["hook"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@efengx/openclaw-channel-dragon",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "description": "Dragon workbench channel for OpenClaw",
5
5
  "author": "feng xiang <ofengx@gmail.com>",
6
6
  "type": "module",