@bowong/clawshow-gateway 2026.3.16-1 → 2026.3.16-3
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/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/src/runtime.d.ts +0 -9
- package/dist/src/runtime.d.ts.map +0 -1
- package/dist/src/runtime.js +0 -9
- package/dist/src/runtime.js.map +0 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D,QAAA,MAAM,MAAM;;;;;kBAKI,iBAAiB;CAGhC,CAAA;AAED,eAAe,MAAM,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { emptyPluginConfigSchema } from 'openclaw/plugin-sdk';
|
|
2
2
|
import { webChannelPlugin } from './src/plugin.js';
|
|
3
|
-
import { setWebRuntime } from './src/runtime.js';
|
|
4
3
|
const plugin = {
|
|
5
4
|
id: 'clawshow-gateway',
|
|
6
5
|
name: 'clawshow-gateway',
|
|
7
6
|
description: 'Web channel plugin — browser chat via WebSocket relay',
|
|
8
7
|
configSchema: emptyPluginConfigSchema(),
|
|
9
8
|
register(api) {
|
|
10
|
-
setWebRuntime(api.runtime);
|
|
11
9
|
api.registerChannel({ plugin: webChannelPlugin });
|
|
12
10
|
},
|
|
13
11
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,MAAM,MAAM,GAAG;IACb,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,uDAAuD;IACpE,YAAY,EAAE,uBAAuB,EAAE;IACvC,QAAQ,CAAC,GAAsB;QAC7B,GAAG,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAA;IACnD,CAAC;CACF,CAAA;AAED,eAAe,MAAM,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bowong/clawshow-gateway",
|
|
3
|
-
"version": "2026.3.16-
|
|
3
|
+
"version": "2026.3.16-3",
|
|
4
4
|
"description": "OpenClaw Web channel plugin — browser-based chat via WebSocket relay",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"ws": "^8.19.0",
|
|
31
31
|
"@types/ws": "^8.5.13",
|
|
32
|
-
"openclaw": "^2026.3.
|
|
32
|
+
"openclaw": "^2026.3.2"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {},
|
|
35
35
|
"devDependencies": {},
|
package/dist/src/runtime.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Web channel runtime singleton.
|
|
3
|
-
* Uses the same PluginRuntime type as other channel extensions (WhatsApp, etc.)
|
|
4
|
-
* for full access to openclaw infrastructure (config, logging, subagent, channel).
|
|
5
|
-
*/
|
|
6
|
-
import type { PluginRuntime } from 'openclaw/plugin-sdk';
|
|
7
|
-
declare const setWebRuntime: (next: PluginRuntime) => void, getWebRuntime: () => PluginRuntime;
|
|
8
|
-
export { getWebRuntime, setWebRuntime };
|
|
9
|
-
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,QAAA,MAAoB,aAAa,iCAAc,aAAa,qBACoB,CAAA;AAChF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAA"}
|
package/dist/src/runtime.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Web channel runtime singleton.
|
|
3
|
-
* Uses the same PluginRuntime type as other channel extensions (WhatsApp, etc.)
|
|
4
|
-
* for full access to openclaw infrastructure (config, logging, subagent, channel).
|
|
5
|
-
*/
|
|
6
|
-
import { createPluginRuntimeStore } from 'openclaw/plugin-sdk';
|
|
7
|
-
const { setRuntime: setWebRuntime, getRuntime: getWebRuntime } = createPluginRuntimeStore('Web channel runtime not initialized');
|
|
8
|
-
export { getWebRuntime, setWebRuntime };
|
|
9
|
-
//# sourceMappingURL=runtime.js.map
|
package/dist/src/runtime.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,GAC5D,wBAAwB,CAAgB,qCAAqC,CAAC,CAAA;AAChF,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,CAAA"}
|