abtars 0.2.0 → 0.2.1-alpha.2
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/bundle/abtars-cli.js +10 -0
- package/bundle/abtars-cli.js.map +3 -3
- package/bundle/abtars.js +10 -9
- package/bundle/abtars.js.map +2 -2
- package/bundle/chunk-SMPIFP43.js +3717 -0
- package/bundle/chunk-SMPIFP43.js.map +7 -0
- package/bundle/commands-2JNT6SYN.js +33 -0
- package/bundle/commands-2JNT6SYN.js.map +7 -0
- package/bundle/discord-adapter-GWAFMN2H.js +586 -0
- package/bundle/discord-adapter-GWAFMN2H.js.map +7 -0
- package/bundle/message-pipeline-U2CGLUNH.js +35 -0
- package/bundle/message-pipeline-U2CGLUNH.js.map +7 -0
- package/bundle/meta.json +52 -32
- package/bundle/telegram-adapter-5SG4BFO6.js +1062 -0
- package/bundle/telegram-adapter-5SG4BFO6.js.map +7 -0
- package/package.json +1 -1
- package/scripts/doctor.sh +3 -0
- package/core/core_templates/SOUL.md +0 -24
- package/core/core_templates/agent_notes.md +0 -7
- package/core/core_templates/core_facts.md +0 -10
- package/core/core_templates/user_profile.md +0 -7
- package/core/skills/tools/fxtwitter/SKILL.md +0 -52
- package/core/skills/tools/twitterX/SKILL.md +0 -52
- package/core/skills/tools/twitterX/scripts/abtars-tweet.js +0 -532
- package/core/skills/tools/twitterX/scripts/package.json +0 -1
package/bundle/abtars-cli.js
CHANGED
|
@@ -413,6 +413,7 @@ function collectDir(dir, prefix, out) {
|
|
|
413
413
|
init_log_and_swallow();
|
|
414
414
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
415
415
|
import { dirname as dirname2, join as join6 } from "node:path";
|
|
416
|
+
import { homedir as homedir2 } from "node:os";
|
|
416
417
|
import { fileURLToPath } from "node:url";
|
|
417
418
|
|
|
418
419
|
// src/components/hints.ts
|
|
@@ -974,6 +975,15 @@ async function onboard(opts) {
|
|
|
974
975
|
await writeFile(usersPath, JSON.stringify(users, null, 2) + "\n", { mode: 384 });
|
|
975
976
|
process.stdout.write(`\u2713 users.json \u2192 ${usersPath}
|
|
976
977
|
`);
|
|
978
|
+
try {
|
|
979
|
+
const manifestPath2 = join6(homedir2(), ".abmind", "manifest.json");
|
|
980
|
+
const manifest2 = JSON.parse((await import("node:fs")).readFileSync(manifestPath2, "utf-8"));
|
|
981
|
+
if (manifest2.encryptionUser && manifest2.encryptionUser !== answers.userName) {
|
|
982
|
+
process.stdout.write(`\u26A0\uFE0F abmind encryption uses name '${manifest2.encryptionUser}' but you entered '${answers.userName}'. Backup restore will need the encryption name ('${manifest2.encryptionUser}').
|
|
983
|
+
`);
|
|
984
|
+
}
|
|
985
|
+
} catch {
|
|
986
|
+
}
|
|
977
987
|
}
|
|
978
988
|
if (answers.userName) {
|
|
979
989
|
const abmindHome = process.env["ABMIND_HOME"] ?? join6(dirname2(paths.home), ".abmind");
|