@botiverse/raft-computer 0.0.37 → 0.0.38

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,3 @@
1
+ #!/usr/bin/env node
2
+ const { runCliAsMain } = await import("./index.js");
3
+ runCliAsMain();
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ const { runCliAsMain } = await import("./index.js");
3
+ runCliAsMain();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@botiverse/raft-computer",
3
- "version": "0.0.37",
4
- "description": "Canonical Raft Computer package. Provides raft-computer plus the legacy slock-computer alias over the same control-plane core.",
3
+ "version": "0.0.38",
4
+ "description": "Canonical Raft Computer — standalone human/local-machine control-plane CLI (login + attach). Provides raft-computer plus the legacy slock-computer alias; distinct from the agent-facing @botiverse/raft CLI.",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "raft-computer": "dist/raft-computer.js",
@@ -12,6 +12,8 @@
12
12
  "types": "./dist/lib/index.d.ts",
13
13
  "default": "./dist/lib/index.js"
14
14
  },
15
+ "./dist/raft-computer.js": "./dist/raft-computer.js",
16
+ "./dist/slock-computer.js": "./dist/slock-computer.js",
15
17
  "./package.json": "./package.json"
16
18
  },
17
19
  "files": [
@@ -20,19 +22,37 @@
20
22
  "repository": {
21
23
  "type": "git",
22
24
  "url": "git+https://github.com/botiverse/slock.git",
23
- "directory": "packages/raft-computer"
25
+ "directory": "packages/computer"
24
26
  },
25
27
  "publishConfig": {
26
28
  "access": "public"
27
29
  },
28
- "scripts": {
29
- "build": "pnpm --filter @slock-ai/computer build && node scripts/sync-computer-dist.mjs",
30
- "lint:publish-package": "node scripts/check-publish-package.mjs"
31
- },
32
30
  "dependencies": {
33
- "@botiverse/raft-daemon": "workspace:*",
34
31
  "commander": "^12.1.0",
35
32
  "proper-lockfile": "^4.1.2",
36
- "undici": "^7.24.7"
33
+ "undici": "^7.24.7",
34
+ "@botiverse/raft-daemon": "0.58.2"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^25.5.0",
38
+ "@types/proper-lockfile": "^4.1.4",
39
+ "esbuild": "^0.25.0",
40
+ "postject": "^1.0.0-alpha.6",
41
+ "tsup": "^8.5.1",
42
+ "tsx": "^4.21.0",
43
+ "typescript": "^5.9.3"
44
+ },
45
+ "scripts": {
46
+ "computer": "tsx src/index.ts",
47
+ "start": "tsx src/index.ts",
48
+ "build:deps": "pnpm --filter @botiverse/raft-daemon build",
49
+ "build": "pnpm run build:deps && tsup && node scripts/write-dist-bins.mjs",
50
+ "build:native": "pnpm run build:deps && node scripts/native/build.mjs",
51
+ "manifest:native": "node scripts/native/produce-manifest.mjs",
52
+ "test": "node --import tsx --test --test-force-exit 'src/**/*.test.ts'",
53
+ "typecheck": "tsc --noEmit",
54
+ "lint:boundaries": "node scripts/check-boundaries.mjs",
55
+ "lint:naming": "node scripts/check-naming.mjs",
56
+ "lint:publish-package": "node scripts/check-publish-package.mjs"
37
57
  }
38
- }
58
+ }