@eclaw/openclaw-channel 1.0.6 → 1.0.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.
Files changed (2) hide show
  1. package/dist/gateway.js +4 -0
  2. package/package.json +1 -1
package/dist/gateway.js CHANGED
@@ -16,7 +16,11 @@ import { createWebhookHandler } from './webhook-handler.js';
16
16
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
17
  export async function startAccount(ctx) {
18
18
  const { accountId, config } = ctx;
19
+ console.log(`[E-Claw] startAccount called, accountId=${accountId}, config keys=${Object.keys(config || {}).join(',')}`);
20
+ console.log(`[E-Claw] config.channels.eclaw=`, JSON.stringify(config?.channels?.eclaw ?? null));
21
+ console.log(`[E-Claw] config.accounts=`, JSON.stringify(config?.accounts ?? null));
19
22
  const account = resolveAccount(config, accountId);
23
+ console.log(`[E-Claw] resolved account: enabled=${account.enabled}, apiKey=${account.apiKey ? 'SET' : 'MISSING'}`);
20
24
  if (!account.enabled || !account.apiKey) {
21
25
  console.log(`[E-Claw] Account ${accountId} disabled or missing credentials, skipping`);
22
26
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclaw/openclaw-channel",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "E-Claw channel plugin for OpenClaw — AI chat platform for live wallpaper entities",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",