@andocorp/openclaw-plugin 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +40 -0
  2. package/package.json +10 -9
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @andocorp/openclaw-plugin
2
+
3
+ OpenClaw adapter for Ando.
4
+
5
+ ## Publish
6
+
7
+ This package must be packed and published with `pnpm`, not `npm`.
8
+
9
+ Reason:
10
+ - Source uses `@andocorp/sdk` as `workspace:*`.
11
+ - The published tarball relies on pnpm workspace dependency rewriting.
12
+ - `npm pack` / `npm publish` will produce a broken package.
13
+
14
+ Before publishing:
15
+ 1. Ensure `@andocorp/sdk@<current version>` is already published.
16
+ 2. Run the package verification.
17
+ 3. Publish `@andocorp/openclaw-plugin`.
18
+
19
+ From the package directory:
20
+
21
+ ```sh
22
+ pnpm run check:publish
23
+ pnpm publish --access restricted --no-git-checks
24
+ ```
25
+
26
+ From the repo root:
27
+
28
+ ```sh
29
+ pnpm --filter @andocorp/openclaw-plugin run check:publish
30
+ pnpm --filter @andocorp/openclaw-plugin publish --access restricted --no-git-checks
31
+ ```
32
+
33
+ `pnpm publish` runs the same verification automatically via `prepublishOnly`.
34
+
35
+ Do not use `npm`:
36
+
37
+ ```sh
38
+ npm pack
39
+ npm publish
40
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andocorp/openclaw-plugin",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "OpenClaw adapter for Ando",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,14 +13,9 @@
13
13
  "engines": {
14
14
  "node": ">=22"
15
15
  },
16
- "scripts": {
17
- "typecheck": "pnpm --filter @andocorp/sdk build && tsc --noEmit",
18
- "test": "pnpm --filter @andocorp/sdk build && vitest run",
19
- "test:boundaries": "pnpm --filter @andocorp/sdk build && vitest run src/monitor.test.ts src/channel.test.ts"
20
- },
21
16
  "dependencies": {
22
- "@andocorp/sdk": "workspace:*",
23
- "zod": "^4.3.6"
17
+ "zod": "^4.3.6",
18
+ "@andocorp/sdk": "0.0.1"
24
19
  },
25
20
  "peerDependencies": {
26
21
  "openclaw": ">=2026.3.23"
@@ -50,5 +45,11 @@
50
45
  "docsPath": "/channels/ando",
51
46
  "blurb": "Live agent membership inside Ando conversations."
52
47
  }
48
+ },
49
+ "scripts": {
50
+ "check:publish": "node ../../scripts/check-openclaw-plugin-package.mjs",
51
+ "typecheck": "pnpm --filter @andocorp/sdk build && tsc --noEmit",
52
+ "test": "pnpm --filter @andocorp/sdk build && vitest run",
53
+ "test:boundaries": "pnpm --filter @andocorp/sdk build && vitest run src/monitor.test.ts src/channel.test.ts"
53
54
  }
54
- }
55
+ }