@agentchatme/openclaw 0.3.0 → 0.5.0
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/CHANGELOG.md +333 -0
- package/README.md +26 -7
- package/dist/index.cjs +2238 -278
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -25
- package/dist/index.d.ts +25 -25
- package/dist/index.js +2238 -278
- package/dist/index.js.map +1 -1
- package/dist/{setup-entry-1vjPD1gu.d.cts → setup-entry-Cr6cKgzq.d.cts} +16 -13
- package/dist/{setup-entry-1vjPD1gu.d.ts → setup-entry-Cr6cKgzq.d.ts} +16 -13
- package/dist/setup-entry.cjs +3620 -194
- package/dist/setup-entry.cjs.map +1 -1
- package/dist/setup-entry.d.cts +1 -1
- package/dist/setup-entry.d.ts +1 -1
- package/dist/setup-entry.js +3616 -194
- package/dist/setup-entry.js.map +1 -1
- package/icon.svg +5 -0
- package/openclaw.plugin.json +5 -3
- package/package.json +181 -128
- package/skills/agentchat/SKILL.md +317 -170
package/dist/index.d.cts
CHANGED
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
import { A as AgentchatChannelConfig } from './setup-entry-
|
|
2
|
-
export { a as AgentchatResolvedAccount, b as agentchatChannelEntry, c as agentchatPlugin, d as agentchatSetupEntry, c as agentchatSetupPlugin, b as default, p as parseChannelConfig } from './setup-entry-
|
|
1
|
+
import { A as AgentchatChannelConfig } from './setup-entry-Cr6cKgzq.cjs';
|
|
2
|
+
export { a as AgentchatResolvedAccount, b as agentchatChannelEntry, c as agentchatPlugin, d as agentchatSetupEntry, c as agentchatSetupPlugin, b as default, p as parseChannelConfig } from './setup-entry-Cr6cKgzq.cjs';
|
|
3
3
|
export { hasAgentChatConfiguredState } from './configured-state.cjs';
|
|
4
4
|
import { WebSocket } from 'ws';
|
|
5
5
|
import 'openclaw/plugin-sdk/channel-core';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Account-config primitives for the AgentChat channel plugin.
|
|
10
|
-
*
|
|
11
|
-
* This module owns the smallest set of shared pieces that both the plugin
|
|
12
|
-
* definition (`channel.ts`) and the interactive setup wizard
|
|
13
|
-
* (`channel.wizard.ts`) need to read or mutate the `channels.agentchat.*`
|
|
14
|
-
* section of the OpenClaw config. Keeping them in a leaf file (no imports
|
|
15
|
-
* from other channel-* modules) breaks the channel.ts ↔ channel.wizard.ts
|
|
16
|
-
* import cycle — without it, the wizard literal's `channel:` field resolves
|
|
17
|
-
* to the temporal-dead-zone value of `AGENTCHAT_CHANNEL_ID` at module-init
|
|
18
|
-
* time, which bundlers emit as `undefined`.
|
|
19
|
-
*
|
|
20
|
-
* Invariants:
|
|
21
|
-
* - Flat form (`channels.agentchat.{apiKey,...}`) is the default-account
|
|
22
|
-
* layout when no `accounts` key is present. Once a named account is
|
|
23
|
-
* written, flat form is never used again for the default account.
|
|
24
|
-
* - The `enabled` flag is section-level (not per-account) and is kept out
|
|
25
|
-
* of the Zod-parsed account shape because the schema is `.strict()`.
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
declare const AGENTCHAT_CHANNEL_ID: "agentchat";
|
|
29
|
-
declare const AGENTCHAT_DEFAULT_ACCOUNT_ID = "default";
|
|
30
|
-
|
|
31
8
|
interface Logger {
|
|
32
9
|
trace(obj: object, msg?: string): void;
|
|
33
10
|
debug(obj: object, msg?: string): void;
|
|
@@ -656,6 +633,29 @@ declare class AgentchatChannelRuntime {
|
|
|
656
633
|
private recordInboundMetric;
|
|
657
634
|
}
|
|
658
635
|
|
|
636
|
+
/**
|
|
637
|
+
* Account-config primitives for the AgentChat channel plugin.
|
|
638
|
+
*
|
|
639
|
+
* This module owns the smallest set of shared pieces that both the plugin
|
|
640
|
+
* definition (`channel.ts`) and the interactive setup wizard
|
|
641
|
+
* (`channel.wizard.ts`) need to read or mutate the `channels.agentchat.*`
|
|
642
|
+
* section of the OpenClaw config. Keeping them in a leaf file (no imports
|
|
643
|
+
* from other channel-* modules) breaks the channel.ts ↔ channel.wizard.ts
|
|
644
|
+
* import cycle — without it, the wizard literal's `channel:` field resolves
|
|
645
|
+
* to the temporal-dead-zone value of `AGENTCHAT_CHANNEL_ID` at module-init
|
|
646
|
+
* time, which bundlers emit as `undefined`.
|
|
647
|
+
*
|
|
648
|
+
* Invariants:
|
|
649
|
+
* - Flat form (`channels.agentchat.{apiKey,...}`) is the default-account
|
|
650
|
+
* layout when no `accounts` key is present. Once a named account is
|
|
651
|
+
* written, flat form is never used again for the default account.
|
|
652
|
+
* - The `enabled` flag is section-level (not per-account) and is kept out
|
|
653
|
+
* of the Zod-parsed account shape because the schema is `.strict()`.
|
|
654
|
+
*/
|
|
655
|
+
|
|
656
|
+
declare const AGENTCHAT_CHANNEL_ID: "agentchat";
|
|
657
|
+
declare const AGENTCHAT_DEFAULT_ACCOUNT_ID = "default";
|
|
658
|
+
|
|
659
659
|
/**
|
|
660
660
|
* Minimal HTTP client used by the setup plugin (P7) to:
|
|
661
661
|
* - verify an API key is live before finalizing setup (`validateApiKey`)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
import { A as AgentchatChannelConfig } from './setup-entry-
|
|
2
|
-
export { a as AgentchatResolvedAccount, b as agentchatChannelEntry, c as agentchatPlugin, d as agentchatSetupEntry, c as agentchatSetupPlugin, b as default, p as parseChannelConfig } from './setup-entry-
|
|
1
|
+
import { A as AgentchatChannelConfig } from './setup-entry-Cr6cKgzq.js';
|
|
2
|
+
export { a as AgentchatResolvedAccount, b as agentchatChannelEntry, c as agentchatPlugin, d as agentchatSetupEntry, c as agentchatSetupPlugin, b as default, p as parseChannelConfig } from './setup-entry-Cr6cKgzq.js';
|
|
3
3
|
export { hasAgentChatConfiguredState } from './configured-state.js';
|
|
4
4
|
import { WebSocket } from 'ws';
|
|
5
5
|
import 'openclaw/plugin-sdk/channel-core';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Account-config primitives for the AgentChat channel plugin.
|
|
10
|
-
*
|
|
11
|
-
* This module owns the smallest set of shared pieces that both the plugin
|
|
12
|
-
* definition (`channel.ts`) and the interactive setup wizard
|
|
13
|
-
* (`channel.wizard.ts`) need to read or mutate the `channels.agentchat.*`
|
|
14
|
-
* section of the OpenClaw config. Keeping them in a leaf file (no imports
|
|
15
|
-
* from other channel-* modules) breaks the channel.ts ↔ channel.wizard.ts
|
|
16
|
-
* import cycle — without it, the wizard literal's `channel:` field resolves
|
|
17
|
-
* to the temporal-dead-zone value of `AGENTCHAT_CHANNEL_ID` at module-init
|
|
18
|
-
* time, which bundlers emit as `undefined`.
|
|
19
|
-
*
|
|
20
|
-
* Invariants:
|
|
21
|
-
* - Flat form (`channels.agentchat.{apiKey,...}`) is the default-account
|
|
22
|
-
* layout when no `accounts` key is present. Once a named account is
|
|
23
|
-
* written, flat form is never used again for the default account.
|
|
24
|
-
* - The `enabled` flag is section-level (not per-account) and is kept out
|
|
25
|
-
* of the Zod-parsed account shape because the schema is `.strict()`.
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
declare const AGENTCHAT_CHANNEL_ID: "agentchat";
|
|
29
|
-
declare const AGENTCHAT_DEFAULT_ACCOUNT_ID = "default";
|
|
30
|
-
|
|
31
8
|
interface Logger {
|
|
32
9
|
trace(obj: object, msg?: string): void;
|
|
33
10
|
debug(obj: object, msg?: string): void;
|
|
@@ -656,6 +633,29 @@ declare class AgentchatChannelRuntime {
|
|
|
656
633
|
private recordInboundMetric;
|
|
657
634
|
}
|
|
658
635
|
|
|
636
|
+
/**
|
|
637
|
+
* Account-config primitives for the AgentChat channel plugin.
|
|
638
|
+
*
|
|
639
|
+
* This module owns the smallest set of shared pieces that both the plugin
|
|
640
|
+
* definition (`channel.ts`) and the interactive setup wizard
|
|
641
|
+
* (`channel.wizard.ts`) need to read or mutate the `channels.agentchat.*`
|
|
642
|
+
* section of the OpenClaw config. Keeping them in a leaf file (no imports
|
|
643
|
+
* from other channel-* modules) breaks the channel.ts ↔ channel.wizard.ts
|
|
644
|
+
* import cycle — without it, the wizard literal's `channel:` field resolves
|
|
645
|
+
* to the temporal-dead-zone value of `AGENTCHAT_CHANNEL_ID` at module-init
|
|
646
|
+
* time, which bundlers emit as `undefined`.
|
|
647
|
+
*
|
|
648
|
+
* Invariants:
|
|
649
|
+
* - Flat form (`channels.agentchat.{apiKey,...}`) is the default-account
|
|
650
|
+
* layout when no `accounts` key is present. Once a named account is
|
|
651
|
+
* written, flat form is never used again for the default account.
|
|
652
|
+
* - The `enabled` flag is section-level (not per-account) and is kept out
|
|
653
|
+
* of the Zod-parsed account shape because the schema is `.strict()`.
|
|
654
|
+
*/
|
|
655
|
+
|
|
656
|
+
declare const AGENTCHAT_CHANNEL_ID: "agentchat";
|
|
657
|
+
declare const AGENTCHAT_DEFAULT_ACCOUNT_ID = "default";
|
|
658
|
+
|
|
659
659
|
/**
|
|
660
660
|
* Minimal HTTP client used by the setup plugin (P7) to:
|
|
661
661
|
* - verify an API key is live before finalizing setup (`validateApiKey`)
|