@aka_openclaw_plugin/mychat 0.1.16 → 0.1.18
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/api.js +3 -3
- package/channel-plugin-api.js +1 -1
- package/index.js +2 -2
- package/openclaw.plugin.json +6 -2
- package/package.json +3 -2
- package/runtime-api.js +2 -2
- package/runtime-setter-api.js +2 -2
- package/setup-entry.js +1 -1
- package/channel-Cjn7oWbb.js +0 -4535
- package/config-api.js +0 -3
- package/config-schema-C42X7OSY.js +0 -4234
- package/runtime-PfFuZ2Rm.js +0 -62
package/runtime-PfFuZ2Rm.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
3
|
-
//#region \0rolldown/runtime.js
|
|
4
|
-
var __create = Object.create;
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
11
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
12
|
-
var __exportAll = (all, no_symbols) => {
|
|
13
|
-
let target = {};
|
|
14
|
-
for (var name in all) __defProp(target, name, {
|
|
15
|
-
get: all[name],
|
|
16
|
-
enumerable: true
|
|
17
|
-
});
|
|
18
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
|
-
return target;
|
|
20
|
-
};
|
|
21
|
-
var __copyProps = (to, from, except, desc) => {
|
|
22
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
23
|
-
key = keys[i];
|
|
24
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
25
|
-
get: ((k) => from[k]).bind(null, key),
|
|
26
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
return to;
|
|
30
|
-
};
|
|
31
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
32
|
-
value: mod,
|
|
33
|
-
enumerable: true
|
|
34
|
-
}) : target, mod));
|
|
35
|
-
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region src/runtime.ts
|
|
39
|
-
var runtime_exports = /* @__PURE__ */ __exportAll({
|
|
40
|
-
getMychatRuntime: () => getMychatRuntime,
|
|
41
|
-
mychatRuntimeStore: () => mychatRuntimeStore,
|
|
42
|
-
setMychatRuntime: () => setMychatRuntime,
|
|
43
|
-
tryGetMychatRuntime: () => tryGetMychatRuntime
|
|
44
|
-
});
|
|
45
|
-
function setMychatRuntime(runtime) {
|
|
46
|
-
mychatRuntimeStore.setRuntime(runtime);
|
|
47
|
-
}
|
|
48
|
-
function getMychatRuntime() {
|
|
49
|
-
return mychatRuntimeStore.getRuntime();
|
|
50
|
-
}
|
|
51
|
-
function tryGetMychatRuntime() {
|
|
52
|
-
return mychatRuntimeStore.tryGetRuntime();
|
|
53
|
-
}
|
|
54
|
-
var mychatRuntimeStore;
|
|
55
|
-
var init_runtime = __esmMin((() => {
|
|
56
|
-
mychatRuntimeStore = createPluginRuntimeStore({
|
|
57
|
-
pluginId: "mychat",
|
|
58
|
-
errorMessage: "MyChat runtime not initialized. Ensure the plugin is registered."
|
|
59
|
-
});
|
|
60
|
-
}));
|
|
61
|
-
//#endregion
|
|
62
|
-
export { tryGetMychatRuntime as a, __toCommonJS as c, setMychatRuntime as i, __toESM as l, init_runtime as n, __commonJSMin as o, runtime_exports as r, __require as s, getMychatRuntime as t };
|