@slock-ai/computer 0.0.37 → 0.0.52

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 ADDED
@@ -0,0 +1,9 @@
1
+ # @slock-ai/computer
2
+
3
+ **This package has been renamed to [@botiverse/raft-computer](https://www.npmjs.com/package/@botiverse/raft-computer).**
4
+
5
+ From the shim versions onward, @slock-ai/computer is a compatibility wrapper
6
+ that depends on @botiverse/raft-computer: the `slock-computer` bin delegates
7
+ to it and the `./lib` export re-exports it, so existing installs and
8
+ auto-upgrade scripts keep working unchanged. New installs should use
9
+ @botiverse/raft-computer directly.
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ // Compatibility shim: @slock-ai/computer -> @botiverse/raft-computer.
3
+ await import("@botiverse/raft-computer/dist/slock-computer.js");
package/lib.js ADDED
@@ -0,0 +1,2 @@
1
+ // Compatibility re-export: @slock-ai/computer/lib -> @botiverse/raft-computer/lib.
2
+ export * from "@botiverse/raft-computer/lib";
package/package.json CHANGED
@@ -1,21 +1,15 @@
1
1
  {
2
2
  "name": "@slock-ai/computer",
3
- "version": "0.0.37",
4
- "description": "Slock Computer — standalone human/local-machine control-plane CLI (login + attach). Distinct from the agent-facing @slock-ai/cli.",
3
+ "version": "0.0.52",
4
+ "description": "Renamed to @botiverse/raft-computer. This package is a compatibility shim that delegates to it; existing `slock-computer` invocations and the ./lib export keep working.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "slock-computer": "dist/index.js"
7
+ "slock-computer": "index.js"
8
8
  },
9
9
  "exports": {
10
- "./lib": {
11
- "types": "./dist/lib/index.d.ts",
12
- "default": "./dist/lib/index.js"
13
- },
10
+ "./lib": "./lib.js",
14
11
  "./package.json": "./package.json"
15
12
  },
16
- "files": [
17
- "dist"
18
- ],
19
13
  "repository": {
20
14
  "type": "git",
21
15
  "url": "git+https://github.com/botiverse/slock.git",
@@ -25,30 +19,6 @@
25
19
  "access": "public"
26
20
  },
27
21
  "dependencies": {
28
- "commander": "^12.1.0",
29
- "proper-lockfile": "^4.1.2",
30
- "undici": "^7.24.7",
31
- "@slock-ai/daemon": "0.57.7"
32
- },
33
- "devDependencies": {
34
- "@types/node": "^25.5.0",
35
- "@types/proper-lockfile": "^4.1.4",
36
- "esbuild": "^0.25.0",
37
- "postject": "^1.0.0-alpha.6",
38
- "tsup": "^8.5.1",
39
- "tsx": "^4.21.0",
40
- "typescript": "^5.9.3"
41
- },
42
- "scripts": {
43
- "computer": "tsx src/index.ts",
44
- "start": "tsx src/index.ts",
45
- "build:deps": "pnpm --filter @slock-ai/daemon build",
46
- "build": "pnpm run build:deps && tsup",
47
- "build:native": "pnpm run build:deps && node scripts/native/build.mjs",
48
- "manifest:native": "node scripts/native/produce-manifest.mjs",
49
- "test": "node --import tsx --test --test-force-exit 'src/**/*.test.ts'",
50
- "typecheck": "tsc --noEmit",
51
- "lint:boundaries": "node scripts/check-boundaries.mjs",
52
- "lint:naming": "node scripts/check-naming.mjs"
22
+ "@botiverse/raft-computer": "^0.0.52"
53
23
  }
54
24
  }