@mclawnet/agent 0.2.0 → 0.2.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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,43 +1,42 @@
1
1
  {
2
2
  "name": "@mclawnet/agent",
3
- "version": "0.2.0",
4
- "description": "ClawNet Agent — Run OpenClaw with Hub connectivity",
5
- "license": "MIT",
3
+ "version": "0.2.1",
6
4
  "type": "module",
7
- "engines": {
8
- "node": ">=22"
9
- },
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "main": "dist/index.js",
14
- "types": "dist/index.d.ts",
15
5
  "exports": {
16
6
  ".": {
17
7
  "types": "./dist/index.d.ts",
18
8
  "default": "./dist/index.js"
19
9
  }
20
10
  },
21
- "files": ["dist/", "cli.js"],
22
11
  "bin": {
23
12
  "clawnet-agent": "./cli.js"
24
13
  },
25
- "scripts": {
26
- "build": "tsup",
27
- "build:prod": "CLAWNET_DEFAULT_HUB_URL=wss://clawnet-hub.politeriver-28dd7708.eastasia.azurecontainerapps.io/ws/agent tsup",
28
- "start": "node cli.js start",
29
- "test": "vitest run",
30
- "prepublishOnly": "pnpm build:prod && pnpm test && node cli.js --help && npm pack --dry-run"
14
+ "files": [
15
+ "dist",
16
+ "cli.js"
17
+ ],
18
+ "publishConfig": {
19
+ "access": "public"
31
20
  },
32
21
  "dependencies": {
33
- "openclaw": "^2026.3.2",
34
- "ws": "^8.19.0"
22
+ "ws": "^8.19.0",
23
+ "@mclawnet/shared": "0.1.0",
24
+ "@mclawnet/swarm": "0.1.0",
25
+ "@mclawnet/logger": "0.1.0"
35
26
  },
36
27
  "devDependencies": {
37
- "@types/ws": "^8.18.1",
28
+ "@types/node": "^22",
29
+ "@types/ws": "^8",
38
30
  "tsup": "^8.5.0",
39
31
  "tsx": "^4.21.0",
40
- "typescript": "^5",
41
- "vitest": "^4.0.18"
32
+ "typescript": "^5.8.3",
33
+ "vitest": "^4.0.18",
34
+ "@mclawnet/claude-adapter": "0.1.0"
35
+ },
36
+ "scripts": {
37
+ "build": "tsup && tsc --emitDeclarationOnly --declaration --outDir dist -p tsconfig.build.json",
38
+ "clean": "rm -rf dist",
39
+ "dev": "tsx --env-file=../../../.env.local src/dev.ts",
40
+ "start": "node cli.js start"
42
41
  }
43
- }
42
+ }