@alfe.ai/openclaw-google-chat 0.0.11 → 0.0.12
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 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin2.cjs +1 -4
- package/dist/plugin2.js +1 -4
- package/package.json +2 -2
package/dist/plugin.d.cts
CHANGED
|
@@ -35,7 +35,7 @@ interface PluginApi {
|
|
|
35
35
|
registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
|
|
36
36
|
config?: Record<string, unknown>;
|
|
37
37
|
runtime?: PluginRuntime;
|
|
38
|
-
registerService
|
|
38
|
+
registerService(service: {
|
|
39
39
|
id: string;
|
|
40
40
|
start: (ctx: PluginServiceContext) => void | Promise<void>;
|
|
41
41
|
stop?: (ctx: PluginServiceContext) => void | Promise<void>;
|
package/dist/plugin.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ interface PluginApi {
|
|
|
35
35
|
registrationMode?: 'full' | 'setup-only' | 'setup-runtime' | 'cli-metadata';
|
|
36
36
|
config?: Record<string, unknown>;
|
|
37
37
|
runtime?: PluginRuntime;
|
|
38
|
-
registerService
|
|
38
|
+
registerService(service: {
|
|
39
39
|
id: string;
|
|
40
40
|
start: (ctx: PluginServiceContext) => void | Promise<void>;
|
|
41
41
|
stop?: (ctx: PluginServiceContext) => void | Promise<void>;
|
package/dist/plugin2.cjs
CHANGED
|
@@ -606,7 +606,7 @@ const plugin = {
|
|
|
606
606
|
dispatchInbound = null;
|
|
607
607
|
log.info("Google Chat plugin stopped");
|
|
608
608
|
};
|
|
609
|
-
|
|
609
|
+
api.registerService({
|
|
610
610
|
id: "google-chat-poller",
|
|
611
611
|
start: () => {
|
|
612
612
|
startService().catch((err) => {
|
|
@@ -617,9 +617,6 @@ const plugin = {
|
|
|
617
617
|
stopService();
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
|
-
else startService().catch((err) => {
|
|
621
|
-
log.error(`Failed to start: ${err instanceof Error ? err.message : String(err)}`);
|
|
622
|
-
});
|
|
623
620
|
log.info("Google Chat plugin registered");
|
|
624
621
|
},
|
|
625
622
|
deactivate(api) {
|
package/dist/plugin2.js
CHANGED
|
@@ -606,7 +606,7 @@ const plugin = {
|
|
|
606
606
|
dispatchInbound = null;
|
|
607
607
|
log.info("Google Chat plugin stopped");
|
|
608
608
|
};
|
|
609
|
-
|
|
609
|
+
api.registerService({
|
|
610
610
|
id: "google-chat-poller",
|
|
611
611
|
start: () => {
|
|
612
612
|
startService().catch((err) => {
|
|
@@ -617,9 +617,6 @@ const plugin = {
|
|
|
617
617
|
stopService();
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
|
-
else startService().catch((err) => {
|
|
621
|
-
log.error(`Failed to start: ${err instanceof Error ? err.message : String(err)}`);
|
|
622
|
-
});
|
|
623
620
|
log.info("Google Chat plugin registered");
|
|
624
621
|
},
|
|
625
622
|
deactivate(api) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-google-chat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "OpenClaw Google Chat plugin — DM polling and auto-reply via connected Google account",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/plugin.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"openclaw.plugin.json"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@alfe.ai/agent-api-client": "^0.1.
|
|
30
|
+
"@alfe.ai/agent-api-client": "^0.1.3",
|
|
31
31
|
"@alfe.ai/config": "^0.0.8"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|