@alfe.ai/openclaw 0.0.1 → 0.0.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 +1 -1
- package/dist/index.js +2 -27
- package/dist/plugin2.js +3203 -58
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ declare abstract class BaseAgentClient {
|
|
|
129
129
|
get isConnected(): boolean;
|
|
130
130
|
start(): Promise<void>;
|
|
131
131
|
stop(): void;
|
|
132
|
-
request(method: string, params:
|
|
132
|
+
request(method: string, params: object, opts?: {
|
|
133
133
|
expectFinal?: boolean;
|
|
134
134
|
timeoutMs?: number;
|
|
135
135
|
}): Promise<unknown>;
|
package/dist/index.js
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
|
-
import { a as isIPCEvent, i as PROTOCOL_VERSION, n as registerWithDaemon, o as isIPCRequest, r as IPCClient, s as isIPCResponse, t as plugin } from "./plugin2.js";
|
|
2
|
-
import { createRequire } from "node:module";
|
|
3
|
-
import { EventEmitter } from "events";
|
|
1
|
+
import { a as isIPCEvent, c as __commonJSMin, i as PROTOCOL_VERSION, l as __require, n as registerWithDaemon, o as isIPCRequest, r as IPCClient, s as isIPCResponse, t as plugin, u as __toESM } from "./plugin2.js";
|
|
4
2
|
import { randomUUID } from "crypto";
|
|
5
|
-
|
|
6
|
-
var __create = Object.create;
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
-
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
15
|
-
key = keys[i];
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
-
get: ((k) => from[k]).bind(null, key),
|
|
18
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return to;
|
|
22
|
-
};
|
|
23
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
24
|
-
value: mod,
|
|
25
|
-
enumerable: true
|
|
26
|
-
}) : target, mod));
|
|
27
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
28
|
-
//#endregion
|
|
3
|
+
import { EventEmitter } from "events";
|
|
29
4
|
//#region ../../node_modules/.pnpm/ws@8.19.0_bufferutil@4.1.0_utf-8-validate@6.0.6/node_modules/ws/lib/constants.js
|
|
30
5
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
31
6
|
const BINARY_TYPES = [
|