@botiverse/raft-daemon 0.58.0 → 0.58.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.
|
@@ -1518,7 +1518,7 @@ import { mkdirSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
|
1518
1518
|
import { createRequire } from "module";
|
|
1519
1519
|
import path2 from "path";
|
|
1520
1520
|
|
|
1521
|
-
// src/drivers/
|
|
1521
|
+
// src/drivers/raftCliGuide.ts
|
|
1522
1522
|
var MESSAGE_HEREDOC_DELIMITER = "SLOCKMSG";
|
|
1523
1523
|
function describeSlockInstallation(audience) {
|
|
1524
1524
|
if (audience === "managed-runner") {
|
|
@@ -1912,7 +1912,7 @@ If a built-in Slock app or registered third-party service requires login, use Sl
|
|
|
1912
1912
|
const readingHistorySection = cliGuideSections.readingHistory;
|
|
1913
1913
|
const historicalReferenceSection = cliGuideSections.historicalReferences;
|
|
1914
1914
|
const tasksSection = cliGuideSections.tasks;
|
|
1915
|
-
let prompt = `You are "${config.displayName || config.name}", an AI agent in Slock \u2014 a collaborative platform for human-AI collaboration, serving as a shared message service for humans and agents who may be running on different computers.
|
|
1915
|
+
let prompt = `You are "${config.displayName || config.name}", an AI agent in Raft (former Slock) \u2014 a collaborative platform for human-AI collaboration, serving as a shared message service for humans and agents who may be running on different computers.
|
|
1916
1916
|
|
|
1917
1917
|
## Who you are
|
|
1918
1918
|
|
|
@@ -14160,7 +14160,7 @@ function resolveSlockCliPathOrEmpty(moduleUrl = import.meta.url) {
|
|
|
14160
14160
|
}
|
|
14161
14161
|
async function runBundledSlockCli(argv) {
|
|
14162
14162
|
process.argv = [process.execPath, "slock", ...argv];
|
|
14163
|
-
await import("./dist-
|
|
14163
|
+
await import("./dist-ADWW7UHH.js");
|
|
14164
14164
|
}
|
|
14165
14165
|
function detectRuntimes(tracer = noopTracer) {
|
|
14166
14166
|
const ids = [];
|
|
@@ -14290,7 +14290,7 @@ var DaemonCore = class {
|
|
|
14290
14290
|
options;
|
|
14291
14291
|
daemonVersion;
|
|
14292
14292
|
// When this runner is launched by a managed Computer service, the
|
|
14293
|
-
// service exports SLOCK_COMPUTER_VERSION (the `@
|
|
14293
|
+
// service exports SLOCK_COMPUTER_VERSION (the `@botiverse/raft-computer`
|
|
14294
14294
|
// bundle version). Reported in `ready` so the server can surface the
|
|
14295
14295
|
// Computer's own version (distinct from the underlying daemonVersion).
|
|
14296
14296
|
computerVersion;
|
package/dist/cli/index.js
CHANGED
|
@@ -1289,8 +1289,8 @@ async function mintAndPersist(ctx, options, accessToken, paths) {
|
|
|
1289
1289
|
ctx.io.stdout.write(
|
|
1290
1290
|
`state: authorized
|
|
1291
1291
|
Logged in as '${minted.agentName}' on ${options.server}. Credential saved to ${paths.credentialPath}.
|
|
1292
|
-
Next (if you are the human operator): start your agent with RAFT_PROFILE=${paths.profileSlug} in its environment, and let the agent run \`raft manual get
|
|
1293
|
-
Next (if you are the agent): run \`raft manual get
|
|
1292
|
+
Next (if you are the human operator): start your agent with RAFT_PROFILE=${paths.profileSlug} in its environment, and let the agent run \`raft manual get raft-cli-overview\` to learn the Raft CLI.
|
|
1293
|
+
Next (if you are the agent): run \`raft manual get raft-cli-overview\`, then use \`raft --profile ${paths.profileSlug} \u2026\` for all commands.
|
|
1294
1294
|
`
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
package/dist/core.js
CHANGED
|
@@ -1276,8 +1276,8 @@ async function mintAndPersist(ctx, options, accessToken, paths) {
|
|
|
1276
1276
|
ctx.io.stdout.write(
|
|
1277
1277
|
`state: authorized
|
|
1278
1278
|
Logged in as '${minted.agentName}' on ${options.server}. Credential saved to ${paths.credentialPath}.
|
|
1279
|
-
Next (if you are the human operator): start your agent with RAFT_PROFILE=${paths.profileSlug} in its environment, and let the agent run \`raft manual get
|
|
1280
|
-
Next (if you are the agent): run \`raft manual get
|
|
1279
|
+
Next (if you are the human operator): start your agent with RAFT_PROFILE=${paths.profileSlug} in its environment, and let the agent run \`raft manual get raft-cli-overview\` to learn the Raft CLI.
|
|
1280
|
+
Next (if you are the agent): run \`raft manual get raft-cli-overview\`, then use \`raft --profile ${paths.profileSlug} \u2026\` for all commands.
|
|
1281
1281
|
`
|
|
1282
1282
|
);
|
|
1283
1283
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botiverse/raft-daemon",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"raft-daemon": "dist/raft-daemon.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typecheck": "tsc --noEmit",
|
|
37
37
|
"lint:publish-package": "node scripts/check-publish-package.mjs",
|
|
38
38
|
"generate:slock-cli-guide": "tsx scripts/generate-slock-cli-guide.ts",
|
|
39
|
-
"check:slock-cli-guide-fresh": "pnpm generate:slock-cli-guide && git diff --exit-code ../../manual/agent-knowledge/
|
|
39
|
+
"check:slock-cli-guide-fresh": "pnpm generate:slock-cli-guide && git diff --exit-code ../../manual/agent-knowledge/raft-cli-overview.md",
|
|
40
40
|
"release:patch": "npm version patch --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|
|
41
41
|
"release:minor": "npm version minor --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|
|
42
42
|
"release:major": "npm version major --no-git-tag-version && cd ../.. && pnpm install --lockfile-only && git add packages/daemon/package.json pnpm-lock.yaml && git commit -m \"chore: bump @botiverse/raft-daemon to v$(node -p \"require('./packages/daemon/package.json').version\")\" && git tag daemon-v$(node -p \"require('./packages/daemon/package.json').version\") && git push && git push --tags",
|