@stagewhisper/stagewhisper 0.31.0 → 0.32.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/openclaw.plugin.json +1 -2
- package/package.json +1 -3
- package/plugin-main.ts +8 -6
- package/setup-entry.ts +0 -4
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stagewhisper/stagewhisper",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenClaw channel plugin that connects StageWhisper live calls to your AI assistant",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
8
|
"index.ts",
|
|
9
9
|
"plugin-main.ts",
|
|
10
|
-
"setup-entry.ts",
|
|
11
10
|
"api.ts",
|
|
12
11
|
"src",
|
|
13
12
|
"openclaw.plugin.json",
|
|
@@ -22,7 +21,6 @@
|
|
|
22
21
|
"extensions": [
|
|
23
22
|
"./index.ts"
|
|
24
23
|
],
|
|
25
|
-
"setupEntry": "./setup-entry.ts",
|
|
26
24
|
"channel": {
|
|
27
25
|
"id": "stagewhisper",
|
|
28
26
|
"label": "StageWhisper",
|
package/plugin-main.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
2
|
import { stagewhisperPlugin } from "./src/channel.js";
|
|
3
3
|
import { setRuntime } from "./src/runtime.js";
|
|
4
4
|
import { createRelayService } from "./src/service.js";
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default definePluginEntry({
|
|
7
7
|
id: "stagewhisper",
|
|
8
8
|
name: "StageWhisper",
|
|
9
9
|
description: "Turn live call moments into assistant tasks via StageWhisper",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
registerFull(api) {
|
|
13
|
-
const service = createRelayService(api);
|
|
10
|
+
register(api) {
|
|
11
|
+
api.registerChannel({ plugin: stagewhisperPlugin });
|
|
14
12
|
|
|
15
13
|
api.registerCli(
|
|
16
14
|
({ program }) => {
|
|
@@ -155,6 +153,10 @@ export default defineChannelPluginEntry({
|
|
|
155
153
|
{ commands: ["stagewhisper"] },
|
|
156
154
|
);
|
|
157
155
|
|
|
156
|
+
if (api.registrationMode !== "full") return;
|
|
157
|
+
|
|
158
|
+
setRuntime(api.runtime);
|
|
159
|
+
const service = createRelayService(api);
|
|
158
160
|
api.registerService(service);
|
|
159
161
|
},
|
|
160
162
|
});
|
package/setup-entry.ts
DELETED