abtars 0.2.2 → 0.2.3-alpha.0

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.
Files changed (113) hide show
  1. package/bundle/{_registry.generated-KYX63MGY.js → _registry.generated-KM6LXTNJ.js} +2 -2
  2. package/bundle/abtars-cli.js +6 -3
  3. package/bundle/abtars-cli.js.map +2 -2
  4. package/bundle/abtars.js +29 -28
  5. package/bundle/abtars.js.map +3 -3
  6. package/bundle/{agent-registry-PIS5XJHX.js → agent-registry-ABPFQXNL.js} +2 -2
  7. package/bundle/{chunk-QSC6QZ44.js → chunk-2SFN2VYD.js} +2 -2
  8. package/bundle/{chunk-BBTQKKDO.js → chunk-2W6JIHZ5.js} +2 -1
  9. package/bundle/chunk-2W6JIHZ5.js.map +7 -0
  10. package/bundle/{chunk-3IPMKYYH.js → chunk-6TSCOXF6.js} +56 -25
  11. package/bundle/chunk-6TSCOXF6.js.map +7 -0
  12. package/bundle/{chunk-7WFE2JI5.js → chunk-7B3GK5JQ.js} +2 -2
  13. package/bundle/{chunk-SMZQDMSZ.js → chunk-ENXQMPV3.js} +1 -2
  14. package/bundle/chunk-ENXQMPV3.js.map +7 -0
  15. package/bundle/{chunk-N24ROESF.js → chunk-HFPXN6NM.js} +1 -1
  16. package/bundle/chunk-HFPXN6NM.js.map +7 -0
  17. package/bundle/{chunk-Y2XBDQP3.js → chunk-SEXVA3GK.js} +144 -37
  18. package/bundle/chunk-SEXVA3GK.js.map +7 -0
  19. package/bundle/{commands-LAWVNQTO.js → commands-L6VIMPCR.js} +2 -2
  20. package/bundle/{direct-api-transport-QIWA5ES2.js → direct-api-transport-BK72AP3I.js} +1 -1
  21. package/bundle/{direct-api-transport-QIWA5ES2.js.map → direct-api-transport-BK72AP3I.js.map} +2 -2
  22. package/bundle/{discord-adapter-W6L5KJ6T.js → discord-adapter-DWIQRNDI.js} +3 -3
  23. package/bundle/{doctor-PIPSGI3H.js → doctor-WHTVSUOF.js} +36 -26
  24. package/bundle/doctor-WHTVSUOF.js.map +7 -0
  25. package/bundle/{install-I3CXVW52.js → install-Q4XNCPG7.js} +2 -2
  26. package/bundle/{message-pipeline-4CTBJ6K2.js → message-pipeline-GCSZCQWO.js} +2 -2
  27. package/bundle/meta.json +298 -279
  28. package/bundle/{phase-transport-INFD6ELA.js → phase-transport-F7GQRRYE.js} +3 -3
  29. package/bundle/{sleep-ENFZFUJJ.js → sleep-MYOZ73IU.js} +2 -2
  30. package/bundle/{subagent-runtime-5AYOXOU2.js → subagent-runtime-QA4LVU4C.js} +2 -2
  31. package/bundle/{system-status-7K2QTH3J.js → system-status-KMKPAC5Z.js} +4 -2
  32. package/bundle/system-status-KMKPAC5Z.js.map +7 -0
  33. package/bundle/{telegram-adapter-4KI4CJPG.js → telegram-adapter-TRMCC634.js} +7 -4
  34. package/bundle/telegram-adapter-TRMCC634.js.map +7 -0
  35. package/config/transport.default.json +2 -1
  36. package/install-manifest.json +0 -3
  37. package/package.json +1 -1
  38. package/scripts/abtars-daemon.service +0 -4
  39. package/scripts/abtars@.service +0 -4
  40. package/scripts/build-and-deploy.sh +15 -27
  41. package/bundle/agent-registry-5VL5KI6U.js +0 -19
  42. package/bundle/chunk-3IPMKYYH.js.map +0 -7
  43. package/bundle/chunk-4WKWPU6U.js +0 -1089
  44. package/bundle/chunk-4WKWPU6U.js.map +0 -7
  45. package/bundle/chunk-5WFIAUQC.js +0 -672
  46. package/bundle/chunk-5WFIAUQC.js.map +0 -7
  47. package/bundle/chunk-B52YRWR6.js +0 -257
  48. package/bundle/chunk-B52YRWR6.js.map +0 -7
  49. package/bundle/chunk-BBTQKKDO.js.map +0 -7
  50. package/bundle/chunk-HAS5NEK7.js +0 -189
  51. package/bundle/chunk-HAS5NEK7.js.map +0 -7
  52. package/bundle/chunk-HB54S5OY.js +0 -4036
  53. package/bundle/chunk-HB54S5OY.js.map +0 -7
  54. package/bundle/chunk-N24ROESF.js.map +0 -7
  55. package/bundle/chunk-N7UG4FID.js +0 -4036
  56. package/bundle/chunk-N7UG4FID.js.map +0 -7
  57. package/bundle/chunk-PUDGA4RR.js +0 -183
  58. package/bundle/chunk-QSC6QZ44.js.map +0 -7
  59. package/bundle/chunk-SMZQDMSZ.js.map +0 -7
  60. package/bundle/chunk-VY2BUO6L.js +0 -4035
  61. package/bundle/chunk-VY2BUO6L.js.map +0 -7
  62. package/bundle/chunk-Y2XBDQP3.js.map +0 -7
  63. package/bundle/chunk-YMGX6HNP.js +0 -131
  64. package/bundle/chunk-YMGX6HNP.js.map +0 -7
  65. package/bundle/commands-IGRSOSK6.js +0 -34
  66. package/bundle/commands-RBWY7YXB.js +0 -34
  67. package/bundle/commands-XFZNMZN6.js +0 -34
  68. package/bundle/direct-api-transport-OZICXTWQ.js +0 -889
  69. package/bundle/direct-api-transport-OZICXTWQ.js.map +0 -7
  70. package/bundle/discord-adapter-JFIIVG34.js +0 -589
  71. package/bundle/discord-adapter-U3FA5OTY.js +0 -589
  72. package/bundle/discord-adapter-U3FA5OTY.js.map +0 -7
  73. package/bundle/discord-adapter-W6L5KJ6T.js.map +0 -7
  74. package/bundle/discord-adapter-WWM6ROTW.js +0 -589
  75. package/bundle/discord-adapter-WWM6ROTW.js.map +0 -7
  76. package/bundle/doctor-PIPSGI3H.js.map +0 -7
  77. package/bundle/kanban-board-6Q5E5GEB.js +0 -31
  78. package/bundle/kanban-board-6Q5E5GEB.js.map +0 -7
  79. package/bundle/message-pipeline-4CTBJ6K2.js.map +0 -7
  80. package/bundle/message-pipeline-4KL7OWUH.js +0 -38
  81. package/bundle/message-pipeline-4KL7OWUH.js.map +0 -7
  82. package/bundle/message-pipeline-GFKSHRFU.js +0 -38
  83. package/bundle/message-pipeline-GFKSHRFU.js.map +0 -7
  84. package/bundle/message-pipeline-TGI2WJJM.js +0 -38
  85. package/bundle/message-pipeline-TGI2WJJM.js.map +0 -7
  86. package/bundle/phase-transport-INFD6ELA.js.map +0 -7
  87. package/bundle/phase-transport-KXFZ5BVF.js +0 -23
  88. package/bundle/phase-transport-KXFZ5BVF.js.map +0 -7
  89. package/bundle/sleep-ENFZFUJJ.js.map +0 -7
  90. package/bundle/subagent-runtime-5AYOXOU2.js.map +0 -7
  91. package/bundle/subagent-runtime-VKTX6Q2M.js +0 -13
  92. package/bundle/subagent-runtime-VKTX6Q2M.js.map +0 -7
  93. package/bundle/system-status-7K2QTH3J.js.map +0 -7
  94. package/bundle/telegram-adapter-4KI4CJPG.js.map +0 -7
  95. package/bundle/telegram-adapter-76B4JRJJ.js +0 -1080
  96. package/bundle/telegram-adapter-76B4JRJJ.js.map +0 -7
  97. package/bundle/telegram-adapter-VZA74EMT.js +0 -1080
  98. package/bundle/telegram-adapter-VZA74EMT.js.map +0 -7
  99. package/bundle/telegram-adapter-ZO2CLU22.js +0 -1080
  100. package/bundle/telegram-adapter-ZO2CLU22.js.map +0 -7
  101. package/bundle/tool-registry-TGNU5AMG.js +0 -43
  102. package/bundle/tool-registry-TGNU5AMG.js.map +0 -7
  103. /package/bundle/{_registry.generated-KYX63MGY.js.map → _registry.generated-KM6LXTNJ.js.map} +0 -0
  104. /package/bundle/{agent-registry-5VL5KI6U.js.map → agent-registry-ABPFQXNL.js.map} +0 -0
  105. /package/bundle/{chunk-PUDGA4RR.js.map → chunk-2SFN2VYD.js.map} +0 -0
  106. /package/bundle/{chunk-7WFE2JI5.js.map → chunk-7B3GK5JQ.js.map} +0 -0
  107. /package/bundle/{agent-registry-PIS5XJHX.js.map → commands-L6VIMPCR.js.map} +0 -0
  108. /package/bundle/{discord-adapter-JFIIVG34.js.map → discord-adapter-DWIQRNDI.js.map} +0 -0
  109. /package/bundle/{commands-IGRSOSK6.js.map → install-Q4XNCPG7.js.map} +0 -0
  110. /package/bundle/{commands-LAWVNQTO.js.map → message-pipeline-GCSZCQWO.js.map} +0 -0
  111. /package/bundle/{commands-RBWY7YXB.js.map → phase-transport-F7GQRRYE.js.map} +0 -0
  112. /package/bundle/{commands-XFZNMZN6.js.map → sleep-MYOZ73IU.js.map} +0 -0
  113. /package/bundle/{install-I3CXVW52.js.map → subagent-runtime-QA4LVU4C.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  import "./chunk-DHPFI7OF.js";
7
7
  import {
8
8
  sleep_exports
9
- } from "./chunk-N24ROESF.js";
9
+ } from "./chunk-HFPXN6NM.js";
10
10
  import {
11
11
  hotskills_exports,
12
12
  init_hotskills
@@ -36,4 +36,4 @@ var capabilities = [
36
36
  export {
37
37
  capabilities
38
38
  };
39
- //# sourceMappingURL=_registry.generated-KYX63MGY.js.map
39
+ //# sourceMappingURL=_registry.generated-KM6LXTNJ.js.map
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
3
3
  import {
4
4
  install
5
- } from "./chunk-SMZQDMSZ.js";
5
+ } from "./chunk-ENXQMPV3.js";
6
6
  import {
7
7
  rollback
8
8
  } from "./chunk-EKHNWFEQ.js";
@@ -1626,6 +1626,8 @@ Use --source local (default) or --source npm.
1626
1626
  writeSentinel(paths.home, { ...sentinelData, status: "success" });
1627
1627
  process.stdout.write(`\u2713 Bridge healthy (PID ${health.pid}, tick at ${new Date(health.heartbeat).toISOString()})
1628
1628
  `);
1629
+ const stateFile = join10(paths.home, "deploy.state");
1630
+ writeFileSync3(stateFile, JSON.stringify({ status: "success", completedAt: (/* @__PURE__ */ new Date()).toISOString(), version: staged.version }) + "\n");
1629
1631
  await syncAssets(paths.home, staged.stagedPath);
1630
1632
  return 0;
1631
1633
  }
@@ -1667,6 +1669,7 @@ Use --source local (default) or --source npm.
1667
1669
  }
1668
1670
  }
1669
1671
  async function copyAbmind(stagedPath, repoRoot) {
1672
+ if ((process.env["MEMORY"] ?? "auto") === "none") return;
1670
1673
  const candidates = [
1671
1674
  process.env["ABMIND_REPO"],
1672
1675
  join10(repoRoot, "..", "abmind"),
@@ -1718,7 +1721,7 @@ async function postSwapHousekeeping(paths, repoRoot, _staged) {
1718
1721
  }
1719
1722
  process.stdout.write(`\u2713 scripts refreshed (${scriptFiles.length} files)
1720
1723
  `);
1721
- const { writeWrapper } = await import("./install-I3CXVW52.js");
1724
+ const { writeWrapper } = await import("./install-Q4XNCPG7.js");
1722
1725
  await mkdir4(paths.bin, { recursive: true });
1723
1726
  for (const name of installManifest.cliWrappers) {
1724
1727
  await writeWrapper(paths.bin, name, paths.app, false);
@@ -1878,7 +1881,7 @@ async function checkForUpdates(home, opts) {
1878
1881
  `);
1879
1882
  return 2;
1880
1883
  }
1881
- async function syncAssets(home, stagedPath) {
1884
+ async function syncAssets(home, _stagedPath) {
1882
1885
  const abmindBundle = join10(home, "app", "bundle", "node_modules", "abmind");
1883
1886
  const abmindHome = process.env["ABMIND_HOME"] ?? join10(process.env["HOME"] ?? "", ".abmind");
1884
1887
  const coreDir = join10(abmindHome, "memory", "core");