@botiverse/raft-computer 0.0.52 → 0.0.56
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/dist/index.js +3 -12
- package/dist/lib/index.js +0 -12
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -31030,18 +31030,6 @@ function readComputerVersion(moduleUrl = import.meta.url) {
|
|
|
31030
31030
|
}
|
|
31031
31031
|
}
|
|
31032
31032
|
var COMPUTER_VERSION = readComputerVersion();
|
|
31033
|
-
function readComputerPackageName(moduleUrl = import.meta.url) {
|
|
31034
|
-
const baked = process.env.SLOCK_COMPUTER_PACKAGE_NAME;
|
|
31035
|
-
if (typeof baked === "string" && baked.length > 0) return baked;
|
|
31036
|
-
try {
|
|
31037
|
-
const require2 = createRequire(moduleUrl);
|
|
31038
|
-
const pkg = require2("../package.json");
|
|
31039
|
-
return typeof pkg.name === "string" && pkg.name.length > 0 ? pkg.name : "@botiverse/raft-computer";
|
|
31040
|
-
} catch {
|
|
31041
|
-
return "@botiverse/raft-computer";
|
|
31042
|
-
}
|
|
31043
|
-
}
|
|
31044
|
-
var COMPUTER_PACKAGE_NAME = readComputerPackageName();
|
|
31045
31033
|
|
|
31046
31034
|
// src/service.ts
|
|
31047
31035
|
import { mkdir as mkdir10, readFile as readFile9, writeFile as writeFile9, open, rename as rename3 } from "fs/promises";
|
|
@@ -32349,6 +32337,9 @@ async function resolveServiceIdentity() {
|
|
|
32349
32337
|
}
|
|
32350
32338
|
} catch {
|
|
32351
32339
|
}
|
|
32340
|
+
if (!version && COMPUTER_VERSION.length > 0) {
|
|
32341
|
+
version = COMPUTER_VERSION;
|
|
32342
|
+
}
|
|
32352
32343
|
return { installRoot, version };
|
|
32353
32344
|
}
|
|
32354
32345
|
async function writeServiceVersionEvidence(slockHome) {
|
package/dist/lib/index.js
CHANGED
|
@@ -488,18 +488,6 @@ function readComputerVersion(moduleUrl = import.meta.url) {
|
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
var COMPUTER_VERSION = readComputerVersion();
|
|
491
|
-
function readComputerPackageName(moduleUrl = import.meta.url) {
|
|
492
|
-
const baked = process.env.SLOCK_COMPUTER_PACKAGE_NAME;
|
|
493
|
-
if (typeof baked === "string" && baked.length > 0) return baked;
|
|
494
|
-
try {
|
|
495
|
-
const require2 = createRequire(moduleUrl);
|
|
496
|
-
const pkg = require2("../package.json");
|
|
497
|
-
return typeof pkg.name === "string" && pkg.name.length > 0 ? pkg.name : "@botiverse/raft-computer";
|
|
498
|
-
} catch {
|
|
499
|
-
return "@botiverse/raft-computer";
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
var COMPUTER_PACKAGE_NAME = readComputerPackageName();
|
|
503
491
|
|
|
504
492
|
// src/service.ts
|
|
505
493
|
import { mkdir as mkdir10, readFile as readFile9, writeFile as writeFile9, open, rename as rename3 } from "fs/promises";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/raft-computer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
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": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"commander": "^12.1.0",
|
|
32
32
|
"proper-lockfile": "^4.1.2",
|
|
33
33
|
"undici": "^7.24.7",
|
|
34
|
-
"@botiverse/raft-daemon": "0.
|
|
34
|
+
"@botiverse/raft-daemon": "0.60.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^25.5.0",
|