@alfe.ai/openclaw-chat 0.0.22 → 0.0.24
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/plugin.d.cts +1 -0
- package/dist/plugin.d.ts +1 -0
- package/dist/plugin2.cjs +3 -4
- package/dist/plugin2.js +3 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
package/dist/plugin.d.cts
CHANGED
|
@@ -222,6 +222,7 @@ interface AgentEventPayload {
|
|
|
222
222
|
}
|
|
223
223
|
interface PluginApi {
|
|
224
224
|
logger: PluginLogger;
|
|
225
|
+
registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
|
|
225
226
|
config?: Record<string, unknown>;
|
|
226
227
|
runtime?: PluginRuntime;
|
|
227
228
|
registerChannel(channel: ReturnType<typeof createAlfeChannelPlugin>): void;
|
package/dist/plugin.d.ts
CHANGED
|
@@ -222,6 +222,7 @@ interface AgentEventPayload {
|
|
|
222
222
|
}
|
|
223
223
|
interface PluginApi {
|
|
224
224
|
logger: PluginLogger;
|
|
225
|
+
registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
|
|
225
226
|
config?: Record<string, unknown>;
|
|
226
227
|
runtime?: PluginRuntime;
|
|
227
228
|
registerChannel(channel: ReturnType<typeof createAlfeChannelPlugin>): void;
|
package/dist/plugin2.cjs
CHANGED
|
@@ -805,18 +805,17 @@ async function handleSessionsGet(request, log) {
|
|
|
805
805
|
}
|
|
806
806
|
const plugin = {
|
|
807
807
|
id: "@alfe.ai/openclaw-chat",
|
|
808
|
-
name: "Chat Plugin",
|
|
808
|
+
name: "Alfe Chat Plugin",
|
|
809
809
|
description: "Chat conversation channel — web widget and mobile app share unified chat sessions",
|
|
810
810
|
version: "0.0.8",
|
|
811
811
|
activate(api) {
|
|
812
812
|
const log = api.logger;
|
|
813
813
|
const alreadyActivated = globalThis.__alfeChatPluginActivated === true;
|
|
814
|
-
const isGatewayMode = !!api.runtime;
|
|
815
814
|
const alfeChannel = createAlfeChannelPlugin();
|
|
816
815
|
api.registerChannel(alfeChannel);
|
|
817
816
|
log.info(`Registered channel: ${alfeChannel.id}`);
|
|
818
|
-
if (
|
|
819
|
-
log.debug("
|
|
817
|
+
if (api.registrationMode === "cli-metadata") {
|
|
818
|
+
log.debug("CLI metadata mode — skipping persistent resource init");
|
|
820
819
|
return;
|
|
821
820
|
}
|
|
822
821
|
globalThis.__alfeChatPluginActivated = true;
|
package/dist/plugin2.js
CHANGED
|
@@ -808,18 +808,17 @@ async function handleSessionsGet(request, log) {
|
|
|
808
808
|
}
|
|
809
809
|
const plugin = {
|
|
810
810
|
id: "@alfe.ai/openclaw-chat",
|
|
811
|
-
name: "Chat Plugin",
|
|
811
|
+
name: "Alfe Chat Plugin",
|
|
812
812
|
description: "Chat conversation channel — web widget and mobile app share unified chat sessions",
|
|
813
813
|
version: "0.0.8",
|
|
814
814
|
activate(api) {
|
|
815
815
|
const log = api.logger;
|
|
816
816
|
const alreadyActivated = globalThis.__alfeChatPluginActivated === true;
|
|
817
|
-
const isGatewayMode = !!api.runtime;
|
|
818
817
|
const alfeChannel = createAlfeChannelPlugin();
|
|
819
818
|
api.registerChannel(alfeChannel);
|
|
820
819
|
log.info(`Registered channel: ${alfeChannel.id}`);
|
|
821
|
-
if (
|
|
822
|
-
log.debug("
|
|
820
|
+
if (api.registrationMode === "cli-metadata") {
|
|
821
|
+
log.debug("CLI metadata mode — skipping persistent resource init");
|
|
823
822
|
return;
|
|
824
823
|
}
|
|
825
824
|
globalThis.__alfeChatPluginActivated = true;
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-chat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "OpenClaw chat plugin for Alfe — web widget and mobile app channels",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/plugin.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@alfe.ai/agent-api-client": "^0.0.7",
|
|
31
|
-
"@alfe.ai/chat": "^0.0.
|
|
32
|
-
"@alfe.ai/config": "^0.0.
|
|
31
|
+
"@alfe.ai/chat": "^0.0.8",
|
|
32
|
+
"@alfe.ai/config": "^0.0.8"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"openclaw": ">=2026.3.0"
|