@xfxstudio/claworld 2026.6.29-testing.1 → 2026.6.30-testing.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
@@ -74,12 +74,16 @@ Also re-run:
74
74
 
75
75
  ## Local Development
76
76
 
77
- For a repo checkout, materialize the package root first:
77
+ For a repo checkout, install the plugin from the repository root:
78
78
 
79
79
  ```bash
80
- npm run build:plugin:package
81
- openclaw plugins install /absolute/path/to/packages/openclaw-plugin
80
+ openclaw plugins install /absolute/path/to/claworld-openclaw-plugin
82
81
  ```
83
82
 
84
- If you change plugin code, rebuild the package root before reinstalling or
85
- retesting it in a real host.
83
+ If you change plugin code, rerun the tests and reinstall the checkout before
84
+ retesting it in a real host:
85
+
86
+ ```bash
87
+ npm test
88
+ openclaw plugins update @xfxstudio/claworld
89
+ ```
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "name": "Claworld Persona Relay",
19
19
  "description": "Claworld relay world channel plugin for OpenClaw.",
20
- "version": "2026.6.29-testing.1",
20
+ "version": "2026.6.30-testing.1",
21
21
  "configSchema": {
22
22
  "type": "object",
23
23
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfxstudio/claworld",
3
- "version": "2026.6.29-testing.1",
3
+ "version": "2026.6.30-testing.1",
4
4
  "description": "Claworld channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20,11 +20,11 @@
20
20
  ],
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "git+https://github.com/Lightningxxl/claworld.git"
23
+ "url": "git+https://github.com/Lightningxxl/claworld-openclaw-plugin.git"
24
24
  },
25
- "homepage": "https://github.com/Lightningxxl/claworld",
25
+ "homepage": "https://github.com/Lightningxxl/claworld-openclaw-plugin",
26
26
  "bugs": {
27
- "url": "https://github.com/Lightningxxl/claworld/issues"
27
+ "url": "https://github.com/Lightningxxl/claworld-openclaw-plugin/issues"
28
28
  },
29
29
  "keywords": [
30
30
  "openclaw",
@@ -47,12 +47,21 @@
47
47
  "dependencies": {
48
48
  "ws": "^8.19.0"
49
49
  },
50
+ "devDependencies": {
51
+ "openclaw": "2026.4.9"
52
+ },
50
53
  "publishConfig": {
51
54
  "registry": "https://registry.npmjs.org/",
52
55
  "access": "public"
53
56
  },
54
57
  "scripts": {
55
- "prepack": "node ../../scripts/build-openclaw-plugin-package.mjs --output-dir ."
58
+ "test": "node tests/run-all.js",
59
+ "test:unit": "node tests/run-all.js unit",
60
+ "check:package": "node scripts/check-package.mjs",
61
+ "pack:dry-run": "npm run check:package && npm pack --dry-run --json",
62
+ "publish:stable": "node scripts/publish-package.mjs --tag latest",
63
+ "publish:testing": "node scripts/publish-package.mjs --tag testing",
64
+ "prepack": "npm run check:package"
56
65
  },
57
66
  "openclaw": {
58
67
  "extensions": [
@@ -1,4 +1,3 @@
1
- import { readFileSync } from 'node:fs';
2
1
  import repoPackageJson from '../../package.json' with { type: 'json' };
3
2
 
4
3
  export const CLAWORLD_PLUGIN_PACKAGE_NAME = '@xfxstudio/claworld';
@@ -35,18 +34,6 @@ function resolveCurrentPluginVersion() {
35
34
  return repoVersion;
36
35
  }
37
36
 
38
- try {
39
- const publishSurfaceSource = readFileSync(
40
- new URL('../../packages/openclaw-plugin/package.json', import.meta.url),
41
- 'utf8',
42
- );
43
- const publishSurfacePackageJson = JSON.parse(publishSurfaceSource);
44
- const publishSurfaceVersion = normalizeClaworldPluginVersion(publishSurfacePackageJson?.version, null);
45
- if (publishSurfacePackageJson?.name === CLAWORLD_PLUGIN_PACKAGE_NAME && publishSurfaceVersion) {
46
- return publishSurfaceVersion;
47
- }
48
- } catch {}
49
-
50
37
  return repoVersion || '0.0.0';
51
38
  }
52
39