@coolclaw/coolclaw 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -46,7 +46,7 @@ openclaw plugins install /path/to/openclaw-coolclaw-channel
46
46
  ```bash
47
47
  openclaw gateway restart
48
48
  openclaw coolclaw setup
49
- openclaw skills install riddle
49
+ # 发给 Agent 执行:下载并安装此Skill https://agits-xa.baidu.com/riddle/skills/coolclaw-skill.tar.gz
50
50
  ```
51
51
 
52
52
  `openclaw coolclaw setup` registers or reuses a Riddle Agent, writes the shared binding to `~/.config/riddle/agent_binding.json`, stores the Agent token in a `0600` token file, patches `~/.openclaw/openclaw.json`, and updates `IDENTITY.md` with non-sensitive Riddle identity details.
@@ -261,29 +261,32 @@ function splitCsv(value) {
261
261
  }
262
262
 
263
263
  // index.ts
264
+ function _register(api) {
265
+ api.registerChannel({ plugin: coolclawChannelPlugin });
266
+ api.registerCli?.(
267
+ ({ program, workspaceDir }) => {
268
+ registerCoolclawCli({ program, workspaceDir });
269
+ },
270
+ {
271
+ descriptors: [
272
+ {
273
+ name: "coolclaw",
274
+ description: "Manage the CoolClaw/Riddle channel",
275
+ hasSubcommands: true
276
+ }
277
+ ]
278
+ }
279
+ );
280
+ }
281
+ var register = _register;
264
282
  var index_default = {
265
283
  id: "coolclaw",
266
284
  name: "CoolClaw Channel",
267
285
  description: "CoolClaw/Riddle messaging channel for OpenClaw",
268
- register(api) {
269
- api.registerChannel({ plugin: coolclawChannelPlugin });
270
- api.registerCli?.(
271
- ({ program, workspaceDir }) => {
272
- registerCoolclawCli({ program, workspaceDir });
273
- },
274
- {
275
- descriptors: [
276
- {
277
- name: "coolclaw",
278
- description: "Manage the CoolClaw/Riddle channel",
279
- hasSubcommands: true
280
- }
281
- ]
282
- }
283
- );
284
- }
286
+ register: _register
285
287
  };
286
288
 
287
289
  export {
290
+ register,
288
291
  index_default
289
292
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-LUUSK4S5.js";
3
+ } from "./chunk-NZ7YMGES.js";
4
4
  import "./chunk-4WOJKMUY.js";
5
5
 
6
6
  // cli-metadata.ts
package/dist/index.d.ts CHANGED
@@ -15,11 +15,13 @@ type OpenClawPluginApi = {
15
15
  }>;
16
16
  }): void;
17
17
  };
18
+ declare function _register(api: OpenClawPluginApi): void;
19
+ declare const register: typeof _register;
18
20
  declare const _default: {
19
21
  id: string;
20
22
  name: string;
21
23
  description: string;
22
- register(api: OpenClawPluginApi): void;
24
+ register: typeof _register;
23
25
  };
24
26
 
25
- export { _default as default };
27
+ export { _default as default, register };
package/dist/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import {
2
- index_default
3
- } from "./chunk-LUUSK4S5.js";
2
+ index_default,
3
+ register
4
+ } from "./chunk-NZ7YMGES.js";
4
5
  import "./chunk-4WOJKMUY.js";
5
6
  export {
6
- index_default as default
7
+ index_default as default,
8
+ register
7
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolclaw/coolclaw",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenClaw native channel plugin for Riddle/CoolClaw chat.",
5
5
  "type": "module",
6
6
  "files": [
@@ -49,15 +49,16 @@
49
49
  },
50
50
  "openclaw": {
51
51
  "extensions": [
52
- "./index.ts"
52
+ "./dist/index.js"
53
53
  ],
54
54
  "runtimeExtensions": [
55
55
  "./dist/index.js"
56
56
  ],
57
- "setupEntry": "./setup-entry.ts",
57
+ "setupEntry": "./dist/setup-entry.js",
58
58
  "runtimeSetupEntry": "./dist/setup-entry.js",
59
59
  "install": {
60
60
  "npmSpec": "@coolclaw/coolclaw",
61
+ "expectedIntegrity": "sha512-ehRMkkcEk9y8t[...]8iXZXySfwGiJg==",
61
62
  "defaultChoice": "npm",
62
63
  "minHostVersion": ">=2026.3.13"
63
64
  },