abtars 0.1.0-alpha.2 → 0.1.0-alpha.21
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/CHANGELOG.md +64 -0
- package/bundle/_registry.generated-KQODGKTQ.js +36 -0
- package/bundle/{_registry.generated-M4WY2MMI.js.map → _registry.generated-KQODGKTQ.js.map} +1 -1
- package/bundle/abtars-browser.js +8 -7
- package/bundle/abtars-browser.js.map +1 -1
- package/bundle/abtars-cli.js +646 -73
- package/bundle/abtars-cli.js.map +4 -4
- package/bundle/abtars-restart.js +7 -6
- package/bundle/abtars-rss.js +2 -1
- package/bundle/abtars-rss.js.map +1 -1
- package/bundle/abtars-task.js +9 -8
- package/bundle/abtars-task.js.map +1 -1
- package/bundle/abtars.js +103 -96
- package/bundle/abtars.js.map +2 -2
- package/bundle/{agent-api-rate-limit-OQNFMXTZ.js → agent-api-rate-limit-7R5TX2F2.js} +7 -6
- package/bundle/{agent-api-rate-limit-OQNFMXTZ.js.map → agent-api-rate-limit-7R5TX2F2.js.map} +1 -1
- package/bundle/agent-registry-5M77ZOMV.js +19 -0
- package/bundle/agent-registry-VJMNIQ5W.js +19 -0
- package/bundle/{anthropic-adapter-2APTH3LA.js → anthropic-adapter-IBY3NPXW.js} +4 -3
- package/bundle/{anthropic-adapter-2APTH3LA.js.map → anthropic-adapter-IBY3NPXW.js.map} +1 -1
- package/bundle/{bridge-lock-transport-4AC2G5G6.js → bridge-lock-transport-HO545SBK.js} +9 -8
- package/bundle/browse-delivery-64GQIUHG.js +18 -0
- package/bundle/browser-EXR5OQGK.js +19 -0
- package/bundle/capability-HIE7UGFU.js +18 -0
- package/bundle/{chunk-BUUVFUPO.js → chunk-2BY6I4P5.js} +5 -4
- package/bundle/{chunk-BUUVFUPO.js.map → chunk-2BY6I4P5.js.map} +1 -1
- package/bundle/{chunk-Y6XAEX2Q.js → chunk-2F6XKG7Y.js} +15 -9
- package/bundle/chunk-2F6XKG7Y.js.map +7 -0
- package/bundle/{chunk-V76TVMCM.js → chunk-3MO2MDXJ.js} +5 -4
- package/bundle/{chunk-V76TVMCM.js.map → chunk-3MO2MDXJ.js.map} +1 -1
- package/bundle/{chunk-6UCRKRWR.js → chunk-6XX4OAAM.js} +22 -21
- package/bundle/chunk-6XX4OAAM.js.map +7 -0
- package/bundle/{chunk-XREWVCUO.js → chunk-7CHLS36W.js} +16 -148
- package/bundle/chunk-7CHLS36W.js.map +7 -0
- package/bundle/{chunk-NWDBD4PA.js → chunk-7K2YZTLD.js} +3 -2
- package/bundle/{chunk-JCJS4ZIB.js → chunk-AQVOAQQI.js} +5 -4
- package/bundle/{chunk-JCJS4ZIB.js.map → chunk-AQVOAQQI.js.map} +1 -1
- package/bundle/chunk-AUQD2PKM.js +136 -0
- package/bundle/chunk-AUQD2PKM.js.map +7 -0
- package/bundle/{chunk-YOCTDKKL.js → chunk-BYDUMHXT.js} +4 -3
- package/bundle/{chunk-YOCTDKKL.js.map → chunk-BYDUMHXT.js.map} +1 -1
- package/bundle/{chunk-RVE2N7FA.js → chunk-CELR236Q.js} +5 -4
- package/bundle/{chunk-RVE2N7FA.js.map → chunk-CELR236Q.js.map} +1 -1
- package/bundle/{chunk-2XU2X4OI.js → chunk-CUQA2AJT.js} +3 -2
- package/bundle/{chunk-2XU2X4OI.js.map → chunk-CUQA2AJT.js.map} +1 -1
- package/bundle/chunk-DMPR5MYT.js +183 -0
- package/bundle/chunk-DMPR5MYT.js.map +7 -0
- package/bundle/{chunk-BHMZ4RCC.js → chunk-DY3R7LDW.js} +55 -54
- package/bundle/{chunk-BHMZ4RCC.js.map → chunk-DY3R7LDW.js.map} +1 -1
- package/bundle/{chunk-AR6GO6YC.js → chunk-ELRAH7VL.js} +5 -4
- package/bundle/{chunk-AR6GO6YC.js.map → chunk-ELRAH7VL.js.map} +1 -1
- package/bundle/{chunk-FMWKEPM7.js → chunk-EX2SRTUE.js} +5 -4
- package/bundle/{chunk-FMWKEPM7.js.map → chunk-EX2SRTUE.js.map} +1 -1
- package/bundle/{chunk-JW6RU47G.js → chunk-FVQGP5YO.js} +8 -7
- package/bundle/{chunk-JW6RU47G.js.map → chunk-FVQGP5YO.js.map} +1 -1
- package/bundle/{chunk-GRNENTPA.js → chunk-G6IXMYIO.js} +4 -3
- package/bundle/{chunk-GRNENTPA.js.map → chunk-G6IXMYIO.js.map} +1 -1
- package/bundle/{chunk-6NR3OHEW.js → chunk-H2RZ4NEJ.js} +6 -5
- package/bundle/{chunk-6NR3OHEW.js.map → chunk-H2RZ4NEJ.js.map} +1 -1
- package/bundle/chunk-HVKJN3AG.js +189 -0
- package/bundle/chunk-HVKJN3AG.js.map +7 -0
- package/bundle/{chunk-265TPOPC.js → chunk-HXJRZWKA.js} +3 -2
- package/bundle/{chunk-265TPOPC.js.map → chunk-HXJRZWKA.js.map} +1 -1
- package/bundle/chunk-IU3RI5E4.js +645 -0
- package/bundle/chunk-IU3RI5E4.js.map +7 -0
- package/bundle/{chunk-GST5T3WZ.js → chunk-J5YIMCLT.js} +6 -5
- package/bundle/{chunk-GST5T3WZ.js.map → chunk-J5YIMCLT.js.map} +1 -1
- package/bundle/chunk-JAJ3DUQ2.js +30 -0
- package/bundle/{chunk-OP7BTAWY.js.map → chunk-JAJ3DUQ2.js.map} +1 -1
- package/bundle/chunk-JHF25OOG.js +645 -0
- package/bundle/chunk-JHF25OOG.js.map +7 -0
- package/bundle/{chunk-MPX525QO.js → chunk-JRG4EFMP.js} +5 -4
- package/bundle/{chunk-MPX525QO.js.map → chunk-JRG4EFMP.js.map} +1 -1
- package/bundle/{chunk-VVEDVGCR.js → chunk-JU3UBWLN.js} +17 -16
- package/bundle/{chunk-VVEDVGCR.js.map → chunk-JU3UBWLN.js.map} +1 -1
- package/bundle/{chunk-QBGBT5QS.js → chunk-JX3ZZU3O.js} +5 -4
- package/bundle/{chunk-QBGBT5QS.js.map → chunk-JX3ZZU3O.js.map} +1 -1
- package/bundle/{chunk-6SETMHNN.js → chunk-K7P74UNQ.js} +8 -7
- package/bundle/{chunk-6SETMHNN.js.map → chunk-K7P74UNQ.js.map} +1 -1
- package/bundle/{chunk-AZJIODTQ.js → chunk-KED3G7HS.js} +6 -5
- package/bundle/{chunk-AZJIODTQ.js.map → chunk-KED3G7HS.js.map} +1 -1
- package/bundle/chunk-KI2ROWAH.js +3707 -0
- package/bundle/chunk-KI2ROWAH.js.map +7 -0
- package/bundle/{chunk-UHRP745J.js → chunk-L7YHV5DL.js} +6 -5
- package/bundle/{chunk-UHRP745J.js.map → chunk-L7YHV5DL.js.map} +1 -1
- package/bundle/{chunk-BSSBCSCL.js → chunk-LD5BMLHG.js} +11 -10
- package/bundle/{chunk-BSSBCSCL.js.map → chunk-LD5BMLHG.js.map} +1 -1
- package/bundle/{chunk-2UPU3OW6.js → chunk-LYEAHE5V.js} +5 -4
- package/bundle/{chunk-2UPU3OW6.js.map → chunk-LYEAHE5V.js.map} +1 -1
- package/bundle/{chunk-3B7BBE4F.js → chunk-MCGEXAG5.js} +8 -7
- package/bundle/{chunk-3B7BBE4F.js.map → chunk-MCGEXAG5.js.map} +1 -1
- package/bundle/{chunk-X76UX47U.js → chunk-MJ6PHMOK.js} +4 -3
- package/bundle/{chunk-X76UX47U.js.map → chunk-MJ6PHMOK.js.map} +1 -1
- package/bundle/{chunk-LSPKJQCI.js → chunk-MV6CJFWR.js} +3 -2
- package/bundle/{chunk-LSPKJQCI.js.map → chunk-MV6CJFWR.js.map} +1 -1
- package/bundle/chunk-MZWMYN4O.js +17 -0
- package/bundle/{chunk-M6VBAPNT.js.map → chunk-MZWMYN4O.js.map} +1 -1
- package/bundle/{chunk-HX7Y7EYP.js → chunk-NIRYBWUW.js} +4 -3
- package/bundle/{chunk-HX7Y7EYP.js.map → chunk-NIRYBWUW.js.map} +1 -1
- package/bundle/{chunk-3E545J66.js → chunk-OW64RUE5.js} +3 -2
- package/bundle/{chunk-3E545J66.js.map → chunk-OW64RUE5.js.map} +1 -1
- package/bundle/chunk-P56PLAIC.js +126 -0
- package/bundle/chunk-P56PLAIC.js.map +7 -0
- package/bundle/{chunk-TZHIDLDS.js → chunk-P6PN34XD.js} +5 -4
- package/bundle/{chunk-TZHIDLDS.js.map → chunk-P6PN34XD.js.map} +1 -1
- package/bundle/{chunk-2UENBO6M.js → chunk-PF5UQ64X.js} +9 -8
- package/bundle/{chunk-2UENBO6M.js.map → chunk-PF5UQ64X.js.map} +1 -1
- package/bundle/{chunk-6CPN4IGS.js → chunk-PQ62LZNA.js} +9 -8
- package/bundle/{chunk-6CPN4IGS.js.map → chunk-PQ62LZNA.js.map} +1 -1
- package/bundle/{chunk-UCQ2WC3B.js → chunk-PQW5QBPY.js} +15 -8
- package/bundle/chunk-PQW5QBPY.js.map +7 -0
- package/bundle/{chunk-D2DCBO6M.js → chunk-R36WIOYX.js} +3 -2
- package/bundle/{chunk-D2DCBO6M.js.map → chunk-R36WIOYX.js.map} +1 -1
- package/bundle/chunk-RB3X66KM.js +386 -0
- package/bundle/chunk-RB3X66KM.js.map +7 -0
- package/bundle/{chunk-GUQVJC3U.js → chunk-RE3F3CFW.js} +7 -6
- package/bundle/{chunk-GUQVJC3U.js.map → chunk-RE3F3CFW.js.map} +1 -1
- package/bundle/chunk-RWUINZUQ.js +19 -0
- package/bundle/chunk-RWUINZUQ.js.map +7 -0
- package/bundle/{chunk-NT3OBORC.js → chunk-S54DBUZ4.js} +10 -9
- package/bundle/{chunk-NT3OBORC.js.map → chunk-S54DBUZ4.js.map} +1 -1
- package/bundle/{chunk-CWOHNFUV.js → chunk-SY67HM2Y.js} +3 -2
- package/bundle/{chunk-CWOHNFUV.js.map → chunk-SY67HM2Y.js.map} +1 -1
- package/bundle/{chunk-BQ2L4GMG.js → chunk-TBLYGCPQ.js} +4 -3
- package/bundle/{chunk-BQ2L4GMG.js.map → chunk-TBLYGCPQ.js.map} +1 -1
- package/bundle/chunk-TCBMBX3Z.js +183 -0
- package/bundle/chunk-TCBMBX3Z.js.map +7 -0
- package/bundle/chunk-TXRWQIQQ.js +3707 -0
- package/bundle/chunk-TXRWQIQQ.js.map +7 -0
- package/bundle/chunk-U34CSHFS.js +645 -0
- package/bundle/chunk-U34CSHFS.js.map +7 -0
- package/bundle/{chunk-CEVRHKJY.js → chunk-UDZIZB5F.js} +6 -5
- package/bundle/{chunk-CEVRHKJY.js.map → chunk-UDZIZB5F.js.map} +1 -1
- package/bundle/{chunk-W6FAL35D.js → chunk-VA5WKN3Z.js} +7 -6
- package/bundle/{chunk-W6FAL35D.js.map → chunk-VA5WKN3Z.js.map} +1 -1
- package/bundle/{chunk-X6TERNVJ.js → chunk-WX7GHGFX.js} +10 -9
- package/bundle/{chunk-X6TERNVJ.js.map → chunk-WX7GHGFX.js.map} +1 -1
- package/bundle/{chunk-PNEDC45Y.js → chunk-XETTJVEU.js} +4 -3
- package/bundle/{chunk-PNEDC45Y.js.map → chunk-XETTJVEU.js.map} +1 -1
- package/bundle/{chunk-PLCY3GFH.js → chunk-XLLSPBBT.js} +5 -4
- package/bundle/{chunk-PLCY3GFH.js.map → chunk-XLLSPBBT.js.map} +1 -1
- package/bundle/{chunk-ZXPXCDA6.js → chunk-XOCP5BMO.js} +6 -5
- package/bundle/{chunk-ZXPXCDA6.js.map → chunk-XOCP5BMO.js.map} +1 -1
- package/bundle/chunk-ZEY6YZAB.js +138 -0
- package/bundle/chunk-ZEY6YZAB.js.map +7 -0
- package/bundle/{chunk-MW6WDLU7.js → chunk-ZZR3JZHR.js} +10 -9
- package/bundle/{chunk-MW6WDLU7.js.map → chunk-ZZR3JZHR.js.map} +1 -1
- package/bundle/commands-AIL4XOIZ.js +33 -0
- package/bundle/commands-K77NVSXZ.js +32 -0
- package/bundle/commands-V6RSVC4Y.js +32 -0
- package/bundle/completion-buffer-S3LXDZG2.js +14 -0
- package/bundle/config-C6VHRJQ7.js +20 -0
- package/bundle/{config-show-ERTATR6E.js → config-show-ZTXX27FW.js} +4 -3
- package/bundle/{config-show-ERTATR6E.js.map → config-show-ZTXX27FW.js.map} +1 -1
- package/bundle/{context-HCEGZNDC.js → context-OCS7HLJP.js} +5 -4
- package/bundle/{context-HCEGZNDC.js.map → context-OCS7HLJP.js.map} +1 -1
- package/bundle/daemon-NPKYZ3CJ.js +292 -0
- package/bundle/daemon-NPKYZ3CJ.js.map +7 -0
- package/bundle/delegation-tools-PF7RD2RW.js +28 -0
- package/bundle/{deploy-lib-import-32ZFKHWP.js → deploy-lib-import-ODLDL2DB.js} +5 -4
- package/bundle/digital-signature-PNY4TR2W.js +14 -0
- package/bundle/{direct-api-transport-YR7SXXNN.js → direct-api-transport-EADHM67Z.js} +21 -20
- package/bundle/{direct-api-transport-YR7SXXNN.js.map → direct-api-transport-EADHM67Z.js.map} +1 -1
- package/bundle/direct-api-transport-SLJ2Z6NX.js +861 -0
- package/bundle/direct-api-transport-SLJ2Z6NX.js.map +7 -0
- package/bundle/{discord-adapter-YYWVMPPU.js → discord-adapter-FBJOJSTW.js} +25 -24
- package/bundle/{discord-adapter-YYWVMPPU.js.map → discord-adapter-FBJOJSTW.js.map} +1 -1
- package/bundle/discord-adapter-IJISVHUE.js +585 -0
- package/bundle/discord-adapter-IJISVHUE.js.map +7 -0
- package/bundle/discord-adapter-UYOCKRDF.js +586 -0
- package/bundle/discord-adapter-UYOCKRDF.js.map +7 -0
- package/bundle/{dist-MTMKARCP.js → dist-J3T4XVKX.js} +4 -3
- package/bundle/{dist-MTMKARCP.js.map → dist-J3T4XVKX.js.map} +1 -1
- package/bundle/{dns-wakeup-27M7D2MR.js → dns-wakeup-RYOCQ6GR.js} +6 -5
- package/bundle/{dns-wakeup-27M7D2MR.js.map → dns-wakeup-RYOCQ6GR.js.map} +1 -1
- package/bundle/{doctor-QNUSDY73.js → doctor-R54GZPKL.js} +10 -9
- package/bundle/{doctor-QNUSDY73.js.map → doctor-R54GZPKL.js.map} +1 -1
- package/bundle/{ensure-invariants-NMXNS476.js → ensure-invariants-K2ZUZ6NR.js} +7 -6
- package/bundle/{ensure-invariants-NMXNS476.js.map → ensure-invariants-K2ZUZ6NR.js.map} +1 -1
- package/bundle/ensure-invariants-KUXIW73S.js +50 -0
- package/bundle/ensure-invariants-KUXIW73S.js.map +7 -0
- package/bundle/env-schema-DGD6QWPA.js +20 -0
- package/bundle/{esm-DDP6NCZG.js → esm-PFOJARXA.js} +5 -4
- package/bundle/{esm-DDP6NCZG.js.map → esm-PFOJARXA.js.map} +1 -1
- package/bundle/{fallback-policy-L4QV2PEJ.js → fallback-policy-SR6ED5I3.js} +4 -3
- package/bundle/{fallback-policy-L4QV2PEJ.js.map → fallback-policy-SR6ED5I3.js.map} +1 -1
- package/bundle/{health-check-SPA7NT6N.js → health-check-RJ2SUJYL.js} +4 -3
- package/bundle/{health-check-SPA7NT6N.js.map → health-check-RJ2SUJYL.js.map} +1 -1
- package/bundle/hook-system-POI5VRIX.js +18 -0
- package/bundle/hotskills-6ECHLXTJ.js +13 -0
- package/bundle/install-24XR5FO5.js +13 -0
- package/bundle/install-AJ7VW76P.js +13 -0
- package/bundle/{install-log-IAPHYKD4.js → install-log-Q6RUHKWC.js} +4 -3
- package/bundle/{install-log-IAPHYKD4.js.map → install-log-Q6RUHKWC.js.map} +1 -1
- package/bundle/{install-manifest-SPQRUNXL.js → install-manifest-MCJCAYSR.js} +9 -7
- package/bundle/install-manifest-MCJCAYSR.js.map +7 -0
- package/bundle/install-manifest-ZETY4AFS.js +104 -0
- package/bundle/install-manifest-ZETY4AFS.js.map +7 -0
- package/bundle/{install-validate-PVLZXYLQ.js → install-validate-H74LUCE2.js} +4 -3
- package/bundle/{install-validate-PVLZXYLQ.js.map → install-validate-H74LUCE2.js.map} +1 -1
- package/bundle/{irc-adapter-OI5UZSQF.js → irc-adapter-RKRUSZXB.js} +7 -6
- package/bundle/{irc-adapter-OI5UZSQF.js.map → irc-adapter-RKRUSZXB.js.map} +1 -1
- package/bundle/{irc-config-55YO6EGB.js → irc-config-6VY67UPQ.js} +8 -7
- package/bundle/{irc-config-55YO6EGB.js.map → irc-config-6VY67UPQ.js.map} +1 -1
- package/bundle/{logs-ZNYXX5PA.js → logs-EK4HYRKR.js} +4 -3
- package/bundle/{logs-ZNYXX5PA.js.map → logs-EK4HYRKR.js.map} +1 -1
- package/bundle/{media-utils-XNNDTYFI.js → media-utils-QBY5WBF3.js} +8 -7
- package/bundle/{media-utils-XNNDTYFI.js.map → media-utils-QBY5WBF3.js.map} +1 -1
- package/bundle/message-pipeline-ANSMPK5O.js +34 -0
- package/bundle/message-pipeline-HXZMRGXZ.js +34 -0
- package/bundle/message-pipeline-XUUTGPFH.js +35 -0
- package/bundle/meta.json +1828 -1650
- package/bundle/model-health-registry-7ECZFCW4.js +12 -0
- package/bundle/model-health-registry-LDC76RPP.js +12 -0
- package/bundle/notification-OJ4YE4VG.js +14 -0
- package/bundle/{openrouter-credits-EDY7ETAU.js → openrouter-credits-L45SYKT3.js} +7 -6
- package/bundle/{openrouter-credits-EDY7ETAU.js.map → openrouter-credits-L45SYKT3.js.map} +1 -1
- package/bundle/{passwd-RRFV4CC5.js → passwd-QSHZJ2CG.js} +4 -3
- package/bundle/{passwd-RRFV4CC5.js.map → passwd-QSHZJ2CG.js.map} +1 -1
- package/bundle/paths-ZJYIDND2.js +18 -0
- package/bundle/{peer-client-52XYMNI7.js → peer-client-T44VI7NB.js} +13 -12
- package/bundle/{peer-client-52XYMNI7.js.map → peer-client-T44VI7NB.js.map} +1 -1
- package/bundle/peer-config-D5A4454H.js +17 -0
- package/bundle/{peer-sessions-EAXTNQ36.js → peer-sessions-MY2YVXHC.js} +4 -3
- package/bundle/{peer-sessions-EAXTNQ36.js.map → peer-sessions-MY2YVXHC.js.map} +1 -1
- package/bundle/{pending-callback-RIMQZ7FJ.js → pending-callback-6KLBSHLX.js} +4 -3
- package/bundle/{pending-callback-RIMQZ7FJ.js.map → pending-callback-6KLBSHLX.js.map} +1 -1
- package/bundle/phase-transport-43NP5XBK.js +23 -0
- package/bundle/phase-transport-GNUZI6EW.js +23 -0
- package/bundle/phase-transport-Q7K6V3VZ.js +23 -0
- package/bundle/phase-transport-SLJXIAY5.js +23 -0
- package/bundle/{responses-adapter-AAQTY3K4.js → responses-adapter-DAV2JUL7.js} +4 -3
- package/bundle/{responses-adapter-AAQTY3K4.js.map → responses-adapter-DAV2JUL7.js.map} +1 -1
- package/bundle/{restore-ZE3SEPSS.js → restore-ROJF22R2.js} +5 -4
- package/bundle/{restore-ZE3SEPSS.js.map → restore-ROJF22R2.js.map} +1 -1
- package/bundle/{self-healer-utils-DMUUXC47.js → self-healer-utils-7NFH22VJ.js} +7 -6
- package/bundle/{self-healer-utils-DMUUXC47.js.map → self-healer-utils-7NFH22VJ.js.map} +1 -1
- package/bundle/skill-stats-IPVKMWN3.js +23 -0
- package/bundle/sleep-4NVWZHVN.js +20 -0
- package/bundle/soul-bundle-7EYTEKFE.js +15 -0
- package/bundle/soul-loader-7FN7WDHM.js +18 -0
- package/bundle/soul-loader-K237NP4T.js +17 -0
- package/bundle/soul-loader-K237NP4T.js.map +7 -0
- package/bundle/soul-loader-UVJ6HZM3.js +17 -0
- package/bundle/soul-loader-UVJ6HZM3.js.map +7 -0
- package/bundle/src-Z3WR7SRT.js +9 -0
- package/bundle/src-Z3WR7SRT.js.map +7 -0
- package/bundle/{sse-parser-anthropic-P7CE2MH2.js → sse-parser-anthropic-H42TTLBD.js} +7 -6
- package/bundle/{sse-parser-anthropic-P7CE2MH2.js.map → sse-parser-anthropic-H42TTLBD.js.map} +1 -1
- package/bundle/{sse-parser-responses-EQQA5FWN.js → sse-parser-responses-WG2LY2ML.js} +7 -6
- package/bundle/{sse-parser-responses-EQQA5FWN.js.map → sse-parser-responses-WG2LY2ML.js.map} +1 -1
- package/bundle/{ssrf-guard-FZCBYIVW.js → ssrf-guard-E2KBBC5E.js} +7 -6
- package/bundle/{ssrf-guard-FZCBYIVW.js.map → ssrf-guard-E2KBBC5E.js.map} +1 -1
- package/bundle/{start-FH3GRMJ4.js → start-4IWBKLWO.js} +4 -3
- package/bundle/{start-FH3GRMJ4.js.map → start-4IWBKLWO.js.map} +1 -1
- package/bundle/{stream-single-WSG4D53C.js → stream-single-RFJNUTL6.js} +4 -3
- package/bundle/{stream-single-WSG4D53C.js.map → stream-single-RFJNUTL6.js.map} +1 -1
- package/bundle/stt-CF3CPFDC.js +15 -0
- package/bundle/stt-CF3CPFDC.js.map +7 -0
- package/bundle/subagent-runtime-P7GCFBM3.js +13 -0
- package/bundle/subagent-runtime-P7GCFBM3.js.map +7 -0
- package/bundle/subagent-runtime-USNPO4WF.js +13 -0
- package/bundle/subagent-runtime-USNPO4WF.js.map +7 -0
- package/bundle/subagent-runtime-XS2ZXYOZ.js +13 -0
- package/bundle/subagent-runtime-XS2ZXYOZ.js.map +7 -0
- package/bundle/{system-message-T5R3EYYN.js → system-message-TALP6GP2.js} +6 -5
- package/bundle/{system-message-T5R3EYYN.js.map → system-message-TALP6GP2.js.map} +1 -1
- package/bundle/{system-status-KQ6KHFJ6.js → system-status-2CR5OUDY.js} +10 -9
- package/bundle/{system-status-KQ6KHFJ6.js.map → system-status-2CR5OUDY.js.map} +1 -1
- package/bundle/task-store-KIBFZL5A.js +23 -0
- package/bundle/task-store-KIBFZL5A.js.map +7 -0
- package/bundle/{telegram-adapter-2V3XUMT5.js → telegram-adapter-ISQRW7PN.js} +34 -33
- package/bundle/{telegram-adapter-2V3XUMT5.js.map → telegram-adapter-ISQRW7PN.js.map} +1 -1
- package/bundle/telegram-adapter-QCD7AG5D.js +1062 -0
- package/bundle/telegram-adapter-QCD7AG5D.js.map +7 -0
- package/bundle/telegram-adapter-Y3PVA25S.js +1061 -0
- package/bundle/telegram-adapter-Y3PVA25S.js.map +7 -0
- package/bundle/telegram-adapter-YAXSK2RT.js +1062 -0
- package/bundle/telegram-adapter-YAXSK2RT.js.map +7 -0
- package/bundle/tool-registry-DFCCGZCB.js +39 -0
- package/bundle/tool-registry-DFCCGZCB.js.map +7 -0
- package/bundle/tool-sandbox-OZMXJZLQ.js +21 -0
- package/bundle/tool-sandbox-OZMXJZLQ.js.map +7 -0
- package/bundle/{transport-config-YLXU33RO.js → transport-config-ANPS2RYT.js} +11 -10
- package/bundle/transport-config-ANPS2RYT.js.map +7 -0
- package/bundle/update-check-O5MS6B3L.js +13 -0
- package/bundle/update-check-O5MS6B3L.js.map +7 -0
- package/bundle/usage-tracker-S4Z2G2K5.js +18 -0
- package/bundle/usage-tracker-S4Z2G2K5.js.map +7 -0
- package/bundle/user-registry-GTAJIW6E.js +17 -0
- package/bundle/user-registry-GTAJIW6E.js.map +7 -0
- package/config/.env +2 -0
- package/config/auto-fix.json +14 -0
- package/config/irc.json.example +30 -0
- package/config/models.json.example +229 -0
- package/config/peers.json.example +12 -0
- package/config/schemas/irc.schema.json +42 -0
- package/config/schemas/models.schema.json +17 -0
- package/config/schemas/peers.schema.json +35 -0
- package/config/schemas/transport.schema.json +35 -0
- package/config/schemas/users.schema.json +22 -0
- package/config/transport.default.json +30 -0
- package/config/transport.json.example +102 -0
- package/config/users.json.example +11 -0
- package/install-manifest.json +148 -0
- package/package.json +4 -2
- package/scripts/abtars-daemon.service +1 -0
- package/scripts/watchdog.sh +1 -1
- package/bundle/_registry.generated-M4WY2MMI.js +0 -35
- package/bundle/agent-registry-LT4JNQH6.js +0 -18
- package/bundle/browse-delivery-JXBY36GK.js +0 -17
- package/bundle/browser-ELNDVPLC.js +0 -18
- package/bundle/capability-CIL3G4FI.js +0 -17
- package/bundle/chunk-5R2ANXQ7.js +0 -510
- package/bundle/chunk-5R2ANXQ7.js.map +0 -7
- package/bundle/chunk-6UCRKRWR.js.map +0 -7
- package/bundle/chunk-M6VBAPNT.js +0 -16
- package/bundle/chunk-OP7BTAWY.js +0 -29
- package/bundle/chunk-UCQ2WC3B.js.map +0 -7
- package/bundle/chunk-XREWVCUO.js.map +0 -7
- package/bundle/chunk-Y6XAEX2Q.js.map +0 -7
- package/bundle/commands-BHVUOU3V.js +0 -31
- package/bundle/completion-buffer-P253ONKF.js +0 -13
- package/bundle/config-RGSDAPZN.js +0 -19
- package/bundle/delegation-tools-GYTS2D6A.js +0 -27
- package/bundle/digital-signature-OFCGSHWO.js +0 -13
- package/bundle/env-schema-2KBHBDGN.js +0 -19
- package/bundle/hook-system-6Q5YTR53.js +0 -17
- package/bundle/hotskills-K7BM4YLB.js +0 -12
- package/bundle/install-6HRZVKUM.js +0 -15
- package/bundle/install-manifest-SPQRUNXL.js.map +0 -7
- package/bundle/message-pipeline-LLH5SYMO.js +0 -33
- package/bundle/model-health-registry-35LQNVQR.js +0 -11
- package/bundle/notification-Y5S5MMLV.js +0 -13
- package/bundle/paths-G33RZWZ7.js +0 -17
- package/bundle/peer-config-VK6EDLN5.js +0 -16
- package/bundle/phase-transport-KYERDL2O.js +0 -22
- package/bundle/skill-stats-LLEXEXLR.js +0 -22
- package/bundle/sleep-OYIUOVQD.js +0 -19
- package/bundle/soul-loader-54WCVNLJ.js +0 -16
- package/bundle/src-JL4PVO23.js +0 -8
- package/bundle/stt-2UH3RITX.js +0 -14
- package/bundle/subagent-runtime-LE2ZXH3G.js +0 -12
- package/bundle/task-store-K7CQDEPI.js +0 -22
- package/bundle/tool-registry-MU3OX4UI.js +0 -38
- package/bundle/tool-sandbox-VYOK4ZOA.js +0 -20
- package/bundle/update-QCW5LXRN.js +0 -13
- package/bundle/update-check-27KZSAP6.js +0 -12
- package/bundle/usage-tracker-OVVEVMOY.js +0 -17
- package/bundle/user-registry-D4SD73UV.js +0 -16
- /package/bundle/{agent-registry-LT4JNQH6.js.map → agent-registry-5M77ZOMV.js.map} +0 -0
- /package/bundle/{bridge-lock-transport-4AC2G5G6.js.map → agent-registry-VJMNIQ5W.js.map} +0 -0
- /package/bundle/{browse-delivery-JXBY36GK.js.map → bridge-lock-transport-HO545SBK.js.map} +0 -0
- /package/bundle/{browser-ELNDVPLC.js.map → browse-delivery-64GQIUHG.js.map} +0 -0
- /package/bundle/{capability-CIL3G4FI.js.map → browser-EXR5OQGK.js.map} +0 -0
- /package/bundle/{chunk-NWDBD4PA.js.map → capability-HIE7UGFU.js.map} +0 -0
- /package/bundle/{commands-BHVUOU3V.js.map → chunk-7K2YZTLD.js.map} +0 -0
- /package/bundle/{completion-buffer-P253ONKF.js.map → commands-AIL4XOIZ.js.map} +0 -0
- /package/bundle/{config-RGSDAPZN.js.map → commands-K77NVSXZ.js.map} +0 -0
- /package/bundle/{delegation-tools-GYTS2D6A.js.map → commands-V6RSVC4Y.js.map} +0 -0
- /package/bundle/{deploy-lib-import-32ZFKHWP.js.map → completion-buffer-S3LXDZG2.js.map} +0 -0
- /package/bundle/{digital-signature-OFCGSHWO.js.map → config-C6VHRJQ7.js.map} +0 -0
- /package/bundle/{env-schema-2KBHBDGN.js.map → delegation-tools-PF7RD2RW.js.map} +0 -0
- /package/bundle/{hook-system-6Q5YTR53.js.map → deploy-lib-import-ODLDL2DB.js.map} +0 -0
- /package/bundle/{hotskills-K7BM4YLB.js.map → digital-signature-PNY4TR2W.js.map} +0 -0
- /package/bundle/{install-6HRZVKUM.js.map → env-schema-DGD6QWPA.js.map} +0 -0
- /package/bundle/{message-pipeline-LLH5SYMO.js.map → hook-system-POI5VRIX.js.map} +0 -0
- /package/bundle/{model-health-registry-35LQNVQR.js.map → hotskills-6ECHLXTJ.js.map} +0 -0
- /package/bundle/{notification-Y5S5MMLV.js.map → install-24XR5FO5.js.map} +0 -0
- /package/bundle/{paths-G33RZWZ7.js.map → install-AJ7VW76P.js.map} +0 -0
- /package/bundle/{peer-config-VK6EDLN5.js.map → message-pipeline-ANSMPK5O.js.map} +0 -0
- /package/bundle/{phase-transport-KYERDL2O.js.map → message-pipeline-HXZMRGXZ.js.map} +0 -0
- /package/bundle/{skill-stats-LLEXEXLR.js.map → message-pipeline-XUUTGPFH.js.map} +0 -0
- /package/bundle/{sleep-OYIUOVQD.js.map → model-health-registry-7ECZFCW4.js.map} +0 -0
- /package/bundle/{soul-loader-54WCVNLJ.js.map → model-health-registry-LDC76RPP.js.map} +0 -0
- /package/bundle/{src-JL4PVO23.js.map → notification-OJ4YE4VG.js.map} +0 -0
- /package/bundle/{stt-2UH3RITX.js.map → paths-ZJYIDND2.js.map} +0 -0
- /package/bundle/{subagent-runtime-LE2ZXH3G.js.map → peer-config-D5A4454H.js.map} +0 -0
- /package/bundle/{task-store-K7CQDEPI.js.map → phase-transport-43NP5XBK.js.map} +0 -0
- /package/bundle/{tool-registry-MU3OX4UI.js.map → phase-transport-GNUZI6EW.js.map} +0 -0
- /package/bundle/{tool-sandbox-VYOK4ZOA.js.map → phase-transport-Q7K6V3VZ.js.map} +0 -0
- /package/bundle/{transport-config-YLXU33RO.js.map → phase-transport-SLJXIAY5.js.map} +0 -0
- /package/bundle/{update-QCW5LXRN.js.map → skill-stats-IPVKMWN3.js.map} +0 -0
- /package/bundle/{update-check-27KZSAP6.js.map → sleep-4NVWZHVN.js.map} +0 -0
- /package/bundle/{usage-tracker-OVVEVMOY.js.map → soul-bundle-7EYTEKFE.js.map} +0 -0
- /package/bundle/{user-registry-D4SD73UV.js.map → soul-loader-7FN7WDHM.js.map} +0 -0
package/bundle/abtars.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
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);
|
|
2
3
|
import {
|
|
3
4
|
checkCron,
|
|
4
5
|
clearPendingReminders,
|
|
@@ -6,7 +7,7 @@ import {
|
|
|
6
7
|
readPendingReminders,
|
|
7
8
|
recordRun as recordRun2,
|
|
8
9
|
require_main
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PQ62LZNA.js";
|
|
10
11
|
import {
|
|
11
12
|
SessionManager,
|
|
12
13
|
SessionRegistry,
|
|
@@ -15,7 +16,7 @@ import {
|
|
|
15
16
|
sanitizeOutbound,
|
|
16
17
|
setIdleCompactReset,
|
|
17
18
|
startSession
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DY3R7LDW.js";
|
|
19
20
|
import {
|
|
20
21
|
require_extension,
|
|
21
22
|
require_permessage_deflate,
|
|
@@ -25,52 +26,53 @@ import {
|
|
|
25
26
|
require_subprotocol,
|
|
26
27
|
require_websocket,
|
|
27
28
|
require_websocket_server
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NIRYBWUW.js";
|
|
29
30
|
import {
|
|
30
31
|
phaseTransport,
|
|
31
32
|
resetAllCtxStarts,
|
|
32
33
|
updateCtxStart
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-U34CSHFS.js";
|
|
35
|
+
import "./chunk-3MO2MDXJ.js";
|
|
36
|
+
import "./chunk-HVKJN3AG.js";
|
|
37
|
+
import "./chunk-WX7GHGFX.js";
|
|
37
38
|
import {
|
|
38
39
|
SubagentRuntime
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DMPR5MYT.js";
|
|
40
41
|
import {
|
|
41
42
|
createCapabilityRegistry
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-H2RZ4NEJ.js";
|
|
43
44
|
import {
|
|
44
45
|
sendNotification,
|
|
45
46
|
sendToMainChat
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-KED3G7HS.js";
|
|
48
|
+
import "./chunk-RWUINZUQ.js";
|
|
49
|
+
import "./chunk-P56PLAIC.js";
|
|
48
50
|
import {
|
|
49
51
|
loadAndValidateConfig
|
|
50
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PF5UQ64X.js";
|
|
51
53
|
import {
|
|
52
54
|
loadUsers
|
|
53
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-J5YIMCLT.js";
|
|
54
56
|
import {
|
|
55
57
|
init_peer_jwt,
|
|
56
58
|
peer_jwt_exports
|
|
57
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CELR236Q.js";
|
|
58
60
|
import {
|
|
59
61
|
setPeerActivityCallback
|
|
60
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-JU3UBWLN.js";
|
|
61
63
|
import {
|
|
62
64
|
abmind,
|
|
63
65
|
loadAbmind,
|
|
64
66
|
resetAbmindCache
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-JAJ3DUQ2.js";
|
|
68
|
+
import "./chunk-G6IXMYIO.js";
|
|
67
69
|
import {
|
|
68
70
|
loadTransport,
|
|
69
71
|
resolveAgent
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2F6XKG7Y.js";
|
|
71
73
|
import {
|
|
72
74
|
readEnvWithDefault
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BYDUMHXT.js";
|
|
74
76
|
import {
|
|
75
77
|
appendRestartTimestamp,
|
|
76
78
|
initBridgeLock,
|
|
@@ -82,38 +84,38 @@ import {
|
|
|
82
84
|
updateLastHeartbeat,
|
|
83
85
|
writeRestartReason,
|
|
84
86
|
writeSleepStatus
|
|
85
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-UDZIZB5F.js";
|
|
86
88
|
import {
|
|
87
89
|
buildPolicy
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-JRG4EFMP.js";
|
|
91
|
+
import "./chunk-ELRAH7VL.js";
|
|
92
|
+
import "./chunk-L7YHV5DL.js";
|
|
93
|
+
import "./chunk-MV6CJFWR.js";
|
|
92
94
|
import {
|
|
93
95
|
init_peer_config,
|
|
94
96
|
peer_config_exports
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
97
|
+
} from "./chunk-VA5WKN3Z.js";
|
|
98
|
+
import "./chunk-LYEAHE5V.js";
|
|
99
|
+
import "./chunk-TBLYGCPQ.js";
|
|
98
100
|
import {
|
|
99
101
|
readEntries,
|
|
100
102
|
readEntry,
|
|
101
103
|
recordRun,
|
|
102
104
|
writeEntry
|
|
103
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-XLLSPBBT.js";
|
|
104
106
|
import {
|
|
105
107
|
localISO
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-MZWMYN4O.js";
|
|
107
109
|
import {
|
|
108
110
|
init_log_and_swallow,
|
|
109
111
|
logAndSwallow
|
|
110
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-EX2SRTUE.js";
|
|
111
113
|
import {
|
|
112
114
|
_resetEnv,
|
|
113
115
|
getEnv,
|
|
114
116
|
initEnv,
|
|
115
117
|
init_env_schema
|
|
116
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-AQVOAQQI.js";
|
|
117
119
|
import {
|
|
118
120
|
getLogFile,
|
|
119
121
|
init_logger,
|
|
@@ -123,15 +125,15 @@ import {
|
|
|
123
125
|
logInfo,
|
|
124
126
|
logWarn,
|
|
125
127
|
setLogLevel
|
|
126
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-2BY6I4P5.js";
|
|
127
129
|
import {
|
|
128
130
|
abtarsHome,
|
|
129
131
|
init_paths
|
|
130
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-MJ6PHMOK.js";
|
|
131
133
|
import {
|
|
132
134
|
__toCommonJS,
|
|
133
135
|
__toESM
|
|
134
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-7K2YZTLD.js";
|
|
135
137
|
|
|
136
138
|
// src/boot/env.ts
|
|
137
139
|
var import_dotenv = __toESM(require_main(), 1);
|
|
@@ -396,7 +398,7 @@ var ServiceRegistry = class {
|
|
|
396
398
|
if (state.lastError?.includes("EADDRINUSE")) {
|
|
397
399
|
const portMatch = state.lastError.match(/:(\d+)/);
|
|
398
400
|
if (portMatch) {
|
|
399
|
-
const { healPort } = await import("./self-healer-utils-
|
|
401
|
+
const { healPort } = await import("./self-healer-utils-7NFH22VJ.js");
|
|
400
402
|
healPort(parseInt(portMatch[1], 10));
|
|
401
403
|
}
|
|
402
404
|
}
|
|
@@ -574,7 +576,7 @@ async function phaseConfig(ctx) {
|
|
|
574
576
|
ctx.memoryConfig = memoryConfig;
|
|
575
577
|
ctx.bridgeLockPath = join2(abtarsHome(), "bridge.lock");
|
|
576
578
|
ctx.sleepAuditDir = join2(ctx.memoryConfig.memoryDir, "sleep");
|
|
577
|
-
const { initUsageTracker } = await import("./usage-tracker-
|
|
579
|
+
const { initUsageTracker } = await import("./usage-tracker-S4Z2G2K5.js");
|
|
578
580
|
initUsageTracker(abtarsHome());
|
|
579
581
|
ctx.sttConfig = ctx.config.voice.sttEnabled ? { provider: "groq", apiKey: ctx.config.voice.groqApiKey, model: ctx.config.voice.sttModel } : null;
|
|
580
582
|
ctx.ttsConfig = ctx.config.voice.ttsEnabled ? { voice: ctx.config.voice.ttsVoice } : null;
|
|
@@ -592,7 +594,7 @@ async function phaseConfig(ctx) {
|
|
|
592
594
|
} catch (err) {
|
|
593
595
|
logAndSwallow("phase_config", "op", err);
|
|
594
596
|
}
|
|
595
|
-
const { loadHookConfig } = await import("./hook-system-
|
|
597
|
+
const { loadHookConfig } = await import("./hook-system-POI5VRIX.js");
|
|
596
598
|
loadHookConfig();
|
|
597
599
|
return "ran";
|
|
598
600
|
}
|
|
@@ -722,12 +724,11 @@ function loadStaleState() {
|
|
|
722
724
|
function recordRunToFile(entryId, exitCode) {
|
|
723
725
|
recordRun(entryId, exitCode);
|
|
724
726
|
}
|
|
725
|
-
function writeResultFile(
|
|
727
|
+
function writeResultFile(entryId, content) {
|
|
726
728
|
try {
|
|
727
|
-
const
|
|
728
|
-
const dir = join3(abtarsHome(), "workspace", slug);
|
|
729
|
+
const dir = join3(abtarsHome(), "workspace", entryId);
|
|
729
730
|
mkdirSync(dir, { recursive: true });
|
|
730
|
-
const file = join3(dir, `${
|
|
731
|
+
const file = join3(dir, `${entryId}-${localDate()}.md`);
|
|
731
732
|
writeFileSync3(file, content, "utf-8");
|
|
732
733
|
return file;
|
|
733
734
|
} catch (err) {
|
|
@@ -937,8 +938,12 @@ var CronQueue = class {
|
|
|
937
938
|
if (!paused) this.tryInjectFailure(entry, `${status}
|
|
938
939
|
${(output || "(no output)").slice(0, 500)}`);
|
|
939
940
|
}
|
|
940
|
-
if (!paused)
|
|
941
|
+
if (!paused) {
|
|
942
|
+
if (code !== 0 || output.trim()) {
|
|
943
|
+
onComplete?.(entry.chatId, entry.message, `${status}
|
|
941
944
|
${(output || "(no output)").slice(0, 500)}`);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
942
947
|
this.clearCurrent();
|
|
943
948
|
this.processNext();
|
|
944
949
|
});
|
|
@@ -975,7 +980,10 @@ ${(output || "(no output)").slice(0, 500)}`);
|
|
|
975
980
|
}
|
|
976
981
|
logInfo(TAG3, `\u25B6 Agent: "${entry.message.slice(0, 60)}"`);
|
|
977
982
|
this.setCurrent(entry, 0, "agent");
|
|
978
|
-
const
|
|
983
|
+
const workspace = join3(abtarsHome(), "workspace", entry.id);
|
|
984
|
+
mkdirSync(workspace, { recursive: true });
|
|
985
|
+
process.env["WORKSPACE"] = workspace;
|
|
986
|
+
const { SubagentRuntime: SubagentRuntime2 } = await import("./subagent-runtime-P7GCFBM3.js");
|
|
979
987
|
const runtime = new SubagentRuntime2();
|
|
980
988
|
this.timeout = setTimeout(() => {
|
|
981
989
|
logWarn(TAG3, `\u23F1\uFE0F Agent "${entry.id}" timed out (30min) \u2014 shutting down runtime`);
|
|
@@ -1005,7 +1013,7 @@ ${dod.details}`);
|
|
|
1005
1013
|
} else {
|
|
1006
1014
|
logInfo(TAG3, `\u25A0 Agent completed: "${entry.message.slice(0, 60)}"`);
|
|
1007
1015
|
}
|
|
1008
|
-
const resultPath = writeResultFile(entry.
|
|
1016
|
+
const resultPath = writeResultFile(entry.id, cleaned);
|
|
1009
1017
|
if (resultPath) logInfo(TAG3, `\u25A0 Result: ${resultPath}`);
|
|
1010
1018
|
recordRunToFile(entry.id, exitCode);
|
|
1011
1019
|
if (exitCode === 0) recordRun2(entry, 0);
|
|
@@ -1124,7 +1132,7 @@ Result: ${result}${pending}
|
|
|
1124
1132
|
Diagnose the root cause. If you can fix it programmatically (config change, script fix, token refresh), do it. If the fix requires human action (manual browser login, external service down), state clearly: "Requires human intervention: <reason>" \u2014 do NOT create a skill or suggest adding error handling (you ARE the error handling). Be concise.`;
|
|
1125
1133
|
void (async () => {
|
|
1126
1134
|
try {
|
|
1127
|
-
const { SubagentRuntime: SubagentRuntime2 } = await import("./subagent-runtime-
|
|
1135
|
+
const { SubagentRuntime: SubagentRuntime2 } = await import("./subagent-runtime-P7GCFBM3.js");
|
|
1128
1136
|
const runtime = new SubagentRuntime2();
|
|
1129
1137
|
await runtime.complete("coding", msg, { sessionType: "S" });
|
|
1130
1138
|
await runtime.shutdown();
|
|
@@ -1159,7 +1167,7 @@ Resume with: /task resume <id>`;
|
|
|
1159
1167
|
});
|
|
1160
1168
|
}
|
|
1161
1169
|
}
|
|
1162
|
-
import("./system-message-
|
|
1170
|
+
import("./system-message-TALP6GP2.js").then(({ sendSystemMessage }) => {
|
|
1163
1171
|
const summary = result.length > 500 ? result.slice(0, 500) + "\u2026" : result;
|
|
1164
1172
|
const status = result.length > 4e3 ? "truncated" : "complete";
|
|
1165
1173
|
sendSystemMessage(`[SYSTEM] [TASK RESULT] Task "${message}" \u2014 ${status}.
|
|
@@ -1167,7 +1175,7 @@ Output: ${summary}`).catch((err) => logWarn("main", `Task result injection faile
|
|
|
1167
1175
|
}).catch(() => {
|
|
1168
1176
|
});
|
|
1169
1177
|
};
|
|
1170
|
-
const { setEnqueueCron, setSecretGetDb } = await import("./tool-registry-
|
|
1178
|
+
const { setEnqueueCron, setSecretGetDb } = await import("./tool-registry-DFCCGZCB.js");
|
|
1171
1179
|
setEnqueueCron((id, manual) => {
|
|
1172
1180
|
try {
|
|
1173
1181
|
const entry = readEntry(id);
|
|
@@ -1212,7 +1220,7 @@ Output: ${summary}`).catch((err) => logWarn("main", `Task result injection faile
|
|
|
1212
1220
|
selfHealerTask: null,
|
|
1213
1221
|
hailMary: ctx.hailMary,
|
|
1214
1222
|
rebuildTransport: async () => {
|
|
1215
|
-
const { rebuildTransport } = await import("./phase-transport-
|
|
1223
|
+
const { rebuildTransport } = await import("./phase-transport-43NP5XBK.js");
|
|
1216
1224
|
await rebuildTransport(ctx);
|
|
1217
1225
|
},
|
|
1218
1226
|
phaseHealth: ctx.phaseHealth,
|
|
@@ -1262,7 +1270,7 @@ async function phasePlatforms(ctx) {
|
|
|
1262
1270
|
registry.register("telegram", {
|
|
1263
1271
|
configured: Boolean(config.telegram.botToken && config.telegram.allowedUserIds.size > 0),
|
|
1264
1272
|
async create() {
|
|
1265
|
-
const { TelegramAdapter } = await import("./telegram-adapter-
|
|
1273
|
+
const { TelegramAdapter } = await import("./telegram-adapter-QCD7AG5D.js");
|
|
1266
1274
|
const adapter = new TelegramAdapter(
|
|
1267
1275
|
{ botToken: config.telegram.botToken, allowedUserIds: config.telegram.allowedUserIds, pollTimeoutS: config.telegram.pollTimeoutS },
|
|
1268
1276
|
{ pipeline: pipelineDeps, conversationBuffer, transport, memory, sessionManager: ctx.sessionManager }
|
|
@@ -1287,7 +1295,7 @@ async function phasePlatforms(ctx) {
|
|
|
1287
1295
|
logInfo("main", "\u{1F4E1} Telegram polling started");
|
|
1288
1296
|
const mainChatId = config.mainChatId;
|
|
1289
1297
|
if (mainChatId && ctx.telegramAdapter) {
|
|
1290
|
-
const { setSendDocument } = await import("./tool-registry-
|
|
1298
|
+
const { setSendDocument } = await import("./tool-registry-DFCCGZCB.js");
|
|
1291
1299
|
setSendDocument((path, caption) => ctx.telegramAdapter.sendDocument(String(mainChatId), path, caption));
|
|
1292
1300
|
}
|
|
1293
1301
|
} else if (result.retryingInBackground) {
|
|
@@ -1301,7 +1309,7 @@ async function phasePlatforms(ctx) {
|
|
|
1301
1309
|
registry.register("discord", {
|
|
1302
1310
|
configured: Boolean(config.discord.enabled && config.discord.botToken),
|
|
1303
1311
|
async create() {
|
|
1304
|
-
const { DiscordAdapter } = await import("./discord-adapter-
|
|
1312
|
+
const { DiscordAdapter } = await import("./discord-adapter-UYOCKRDF.js");
|
|
1305
1313
|
const adapter = new DiscordAdapter(
|
|
1306
1314
|
{
|
|
1307
1315
|
botToken: config.discord.botToken,
|
|
@@ -1341,9 +1349,9 @@ async function phasePlatforms(ctx) {
|
|
|
1341
1349
|
registry.register("irc", {
|
|
1342
1350
|
configured: platforms.irc,
|
|
1343
1351
|
async create() {
|
|
1344
|
-
const { loadIrcConfig } = await import("./irc-config-
|
|
1345
|
-
const { IrcAdapter } = await import("./irc-adapter-
|
|
1346
|
-
const { handleInboundMessage } = await import("./message-pipeline-
|
|
1352
|
+
const { loadIrcConfig } = await import("./irc-config-6VY67UPQ.js");
|
|
1353
|
+
const { IrcAdapter } = await import("./irc-adapter-RKRUSZXB.js");
|
|
1354
|
+
const { handleInboundMessage } = await import("./message-pipeline-XUUTGPFH.js");
|
|
1347
1355
|
const ircConfig = loadIrcConfig();
|
|
1348
1356
|
if (!ircConfig) throw new Error("irc.json missing or empty");
|
|
1349
1357
|
const adapter = new IrcAdapter(ircConfig, {
|
|
@@ -1365,7 +1373,7 @@ async function phasePlatforms(ctx) {
|
|
|
1365
1373
|
const result = await registry.start("irc", { backgroundRetry: true });
|
|
1366
1374
|
if (result.ok) {
|
|
1367
1375
|
logInfo("main", "\u{1F4E1} IRC started");
|
|
1368
|
-
const { setIrcSend } = await import("./tool-registry-
|
|
1376
|
+
const { setIrcSend } = await import("./tool-registry-DFCCGZCB.js");
|
|
1369
1377
|
const ircAdapter = platformAdapters.get("irc");
|
|
1370
1378
|
if (ircAdapter) setIrcSend((channel, message) => {
|
|
1371
1379
|
ircAdapter.sendMessage(channel, message);
|
|
@@ -1388,19 +1396,19 @@ async function phaseCapabilities(ctx) {
|
|
|
1388
1396
|
logWarn("boot", `${phaseCapabilities.name}: skipping \u2014 transport not available`);
|
|
1389
1397
|
return "skipped";
|
|
1390
1398
|
}
|
|
1391
|
-
const { createCapabilityApi } = await import("./capability-
|
|
1392
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
1399
|
+
const { createCapabilityApi } = await import("./capability-HIE7UGFU.js");
|
|
1400
|
+
const { getEnv: getEnv2 } = await import("./env-schema-DGD6QWPA.js");
|
|
1393
1401
|
const disabled = new Set(getEnv2().disabledCapabilities.split(",").map((s) => s.trim()).filter(Boolean));
|
|
1394
1402
|
let loaded = [];
|
|
1395
1403
|
let staticCaps;
|
|
1396
1404
|
try {
|
|
1397
|
-
({ capabilities: staticCaps } = await import("./_registry.generated-
|
|
1405
|
+
({ capabilities: staticCaps } = await import("./_registry.generated-KQODGKTQ.js"));
|
|
1398
1406
|
} catch (err) {
|
|
1399
1407
|
logError("capabilities", `Registry import failed: ${err instanceof Error ? err.message : String(err)}. Loading individually.`);
|
|
1400
1408
|
staticCaps = [];
|
|
1401
1409
|
const individualCaps = [
|
|
1402
|
-
{ name: "hotskills", load: () => import("./hotskills-
|
|
1403
|
-
{ name: "browser", load: () => import("./browser-
|
|
1410
|
+
{ name: "hotskills", load: () => import("./hotskills-6ECHLXTJ.js") },
|
|
1411
|
+
{ name: "browser", load: () => import("./browser-EXR5OQGK.js") }
|
|
1404
1412
|
];
|
|
1405
1413
|
for (const { name, load } of individualCaps) {
|
|
1406
1414
|
if (disabled.has(name)) continue;
|
|
@@ -1645,12 +1653,11 @@ function classifyResume() {
|
|
|
1645
1653
|
}
|
|
1646
1654
|
function classifyMacOS() {
|
|
1647
1655
|
try {
|
|
1648
|
-
const out = execSync(
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
);
|
|
1652
|
-
if (
|
|
1653
|
-
if (out.includes("Wake")) return "full";
|
|
1656
|
+
const out = execSync("pmset -g log 2>/dev/null", { timeout: 3e3, encoding: "utf-8" });
|
|
1657
|
+
const lines = out.split("\n").filter((l) => /\bDarkWake\b|\bWake\b/.test(l) && !l.includes("Notification"));
|
|
1658
|
+
const last = lines.at(-1) ?? "";
|
|
1659
|
+
if (last.includes("DarkWake")) return "dark";
|
|
1660
|
+
if (last.includes("Wake")) return "full";
|
|
1654
1661
|
} catch (err) {
|
|
1655
1662
|
logAndSwallow("platform_detect", "op", err);
|
|
1656
1663
|
}
|
|
@@ -1794,7 +1801,7 @@ function createSelfHealerTask(getTelegramAdapter, allowedUserIds) {
|
|
|
1794
1801
|
autoFixRunning = false;
|
|
1795
1802
|
}, 5 * 60 * 1e3);
|
|
1796
1803
|
try {
|
|
1797
|
-
const { SubagentRuntime: SubagentRuntime2 } = await import("./subagent-runtime-
|
|
1804
|
+
const { SubagentRuntime: SubagentRuntime2 } = await import("./subagent-runtime-P7GCFBM3.js");
|
|
1798
1805
|
const runtime = new SubagentRuntime2();
|
|
1799
1806
|
const result = await runtime.complete("coding", rule.instruction);
|
|
1800
1807
|
await runtime.shutdown();
|
|
@@ -1978,10 +1985,10 @@ function createUpdateCheckTask(notify) {
|
|
|
1978
1985
|
name: "update-check",
|
|
1979
1986
|
async execute() {
|
|
1980
1987
|
if (process.env["UPDATES_CHECK_ENABLED"] === "false") return;
|
|
1981
|
-
const { checkForUpdate } = await import("./update-check-
|
|
1988
|
+
const { checkForUpdate } = await import("./update-check-O5MS6B3L.js");
|
|
1982
1989
|
const { readFileSync: readFileSync7 } = await import("node:fs");
|
|
1983
1990
|
const { join: join11 } = await import("node:path");
|
|
1984
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
1991
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-ZJYIDND2.js");
|
|
1985
1992
|
let version = "0.0.0";
|
|
1986
1993
|
try {
|
|
1987
1994
|
const m = JSON.parse(readFileSync7(join11(abtarsHome2(), "manifest.json"), "utf-8"));
|
|
@@ -2000,7 +2007,7 @@ function createSkillStatsFlushTask() {
|
|
|
2000
2007
|
return {
|
|
2001
2008
|
name: "skill-stats-flush",
|
|
2002
2009
|
execute: async () => {
|
|
2003
|
-
const { flush } = await import("./skill-stats-
|
|
2010
|
+
const { flush } = await import("./skill-stats-IPVKMWN3.js");
|
|
2004
2011
|
flush();
|
|
2005
2012
|
}
|
|
2006
2013
|
};
|
|
@@ -2015,7 +2022,7 @@ function createSkillTrashPruneTask() {
|
|
|
2015
2022
|
if (counter % 72 !== 0) return;
|
|
2016
2023
|
const { existsSync: existsSync7, readdirSync: readdirSync2, rmSync, statSync: statSync3 } = await import("node:fs");
|
|
2017
2024
|
const { join: join11 } = await import("node:path");
|
|
2018
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
2025
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-ZJYIDND2.js");
|
|
2019
2026
|
const trashPath = join11(abtarsHome2(), "skills", ".trash");
|
|
2020
2027
|
if (!existsSync7(trashPath)) return;
|
|
2021
2028
|
const now = Date.now();
|
|
@@ -2091,7 +2098,7 @@ function createModelHealthTask(ctx) {
|
|
|
2091
2098
|
const execute = async () => {
|
|
2092
2099
|
if (done) return;
|
|
2093
2100
|
done = true;
|
|
2094
|
-
const { loadTransport: loadTransport2, resolveAgent: resolveAgent2, consumeRepairs } = await import("./transport-config-
|
|
2101
|
+
const { loadTransport: loadTransport2, resolveAgent: resolveAgent2, consumeRepairs } = await import("./transport-config-ANPS2RYT.js");
|
|
2095
2102
|
const tc = loadTransport2();
|
|
2096
2103
|
if (!tc) return;
|
|
2097
2104
|
const repairs = consumeRepairs();
|
|
@@ -2151,7 +2158,7 @@ function createModelHealthTask(ctx) {
|
|
|
2151
2158
|
}
|
|
2152
2159
|
}
|
|
2153
2160
|
if (warnings.length > 0) {
|
|
2154
|
-
const { sendNotification: sendNotification2 } = await import("./notification-
|
|
2161
|
+
const { sendNotification: sendNotification2 } = await import("./notification-OJ4YE4VG.js");
|
|
2155
2162
|
sendNotification2(ctx, `\u{1F3E5} Model health check:
|
|
2156
2163
|
${warnings.join("\n")}
|
|
2157
2164
|
Subagents will fall back to main model.`);
|
|
@@ -2170,7 +2177,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2170
2177
|
return "skipped";
|
|
2171
2178
|
}
|
|
2172
2179
|
const cronCallback = createCronCallback(ctx);
|
|
2173
|
-
const { init: initSkillStats } = await import("./skill-stats-
|
|
2180
|
+
const { init: initSkillStats } = await import("./skill-stats-IPVKMWN3.js");
|
|
2174
2181
|
initSkillStats();
|
|
2175
2182
|
updateBridgeLockField("startedAt", ctx.startedAt);
|
|
2176
2183
|
const hbIntervalMs = Math.max(60, parseInt(readEnvWithDefault("HEARTBEAT_INTERVAL_SEC", "60", "heartbeat tick interval"), 10)) * 1e3;
|
|
@@ -2242,7 +2249,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2242
2249
|
isSleepActive: ctx.isSleepActive
|
|
2243
2250
|
}));
|
|
2244
2251
|
}
|
|
2245
|
-
const { initSystemMessage, sendSystemMessage } = await import("./system-message-
|
|
2252
|
+
const { initSystemMessage, sendSystemMessage } = await import("./system-message-TALP6GP2.js");
|
|
2246
2253
|
const masterUser = loadUsers().users.find((u) => u.role === "master");
|
|
2247
2254
|
const masterUserId = masterUser?.userId ?? "master";
|
|
2248
2255
|
initSystemMessage(async (prompt) => {
|
|
@@ -2250,7 +2257,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2250
2257
|
const activeId = ctx.sessionManager.getActiveSessionId(masterUserId, "telegram");
|
|
2251
2258
|
const response = await transport.sendPrompt(activeId, `[SYSTEM] ${prompt}`, void 0, masterUserId);
|
|
2252
2259
|
if (response) {
|
|
2253
|
-
const { sendNotification: sendNotification2 } = await import("./notification-
|
|
2260
|
+
const { sendNotification: sendNotification2 } = await import("./notification-OJ4YE4VG.js");
|
|
2254
2261
|
sendNotification2(ctx, response);
|
|
2255
2262
|
}
|
|
2256
2263
|
} catch (err) {
|
|
@@ -2278,7 +2285,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2278
2285
|
heartbeat.registerTask(createSkillStatsFlushTask());
|
|
2279
2286
|
heartbeat.registerTask(createSkillTrashPruneTask());
|
|
2280
2287
|
heartbeat.registerTask(createUpdateCheckTask((msg) => {
|
|
2281
|
-
import("./notification-
|
|
2288
|
+
import("./notification-OJ4YE4VG.js").then(({ sendNotification: sendNotification2 }) => sendNotification2(ctx, msg)).catch((err) => logAndSwallow(TAG7, "sendNotification update-check", err));
|
|
2282
2289
|
}));
|
|
2283
2290
|
if (transport.healthCheck) {
|
|
2284
2291
|
heartbeat.registerTask({ name: "transport-health", execute: () => transport.healthCheck() });
|
|
@@ -2300,7 +2307,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2300
2307
|
}
|
|
2301
2308
|
ctx.selfHealerTask = selfHealerTask;
|
|
2302
2309
|
pipelineDeps.selfHealerTask = selfHealerTask;
|
|
2303
|
-
const { registerCommand } = await import("./commands-
|
|
2310
|
+
const { registerCommand } = await import("./commands-AIL4XOIZ.js");
|
|
2304
2311
|
for (const [name, handler2] of capabilities.commands) {
|
|
2305
2312
|
registerCommand(name, handler2);
|
|
2306
2313
|
}
|
|
@@ -2312,7 +2319,7 @@ async function phaseHeartbeat(ctx) {
|
|
|
2312
2319
|
queueMicrotask(() => {
|
|
2313
2320
|
runModelHealth().catch((err) => logAndSwallow(TAG7, "runModelHealth boot", err));
|
|
2314
2321
|
});
|
|
2315
|
-
const { checkBrowseTasks } = await import("./browse-delivery-
|
|
2322
|
+
const { checkBrowseTasks } = await import("./browse-delivery-64GQIUHG.js");
|
|
2316
2323
|
checkBrowseTasks();
|
|
2317
2324
|
heartbeat.start();
|
|
2318
2325
|
memory?.setHeartbeat(heartbeat);
|
|
@@ -2330,11 +2337,11 @@ async function phaseSleep(ctx) {
|
|
|
2330
2337
|
logWarn("boot", `${phaseSleep.name}: skipping \u2014 heartbeat not available`);
|
|
2331
2338
|
return "skipped";
|
|
2332
2339
|
}
|
|
2333
|
-
const { createSleepHandle } = await import("./sleep-
|
|
2334
|
-
const { killWakeInhibit } = await import("./commands-
|
|
2340
|
+
const { createSleepHandle } = await import("./sleep-4NVWZHVN.js");
|
|
2341
|
+
const { killWakeInhibit } = await import("./commands-AIL4XOIZ.js");
|
|
2335
2342
|
const SLEEP_HOUR = parseInt(readEnvWithDefault("BED_TIME", "2", "bedtime hour").split(":")[0] ?? "2", 10);
|
|
2336
2343
|
let subagent = null;
|
|
2337
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2344
|
+
const { getEnv: getEnv2 } = await import("./env-schema-DGD6QWPA.js");
|
|
2338
2345
|
const runtime = {
|
|
2339
2346
|
async complete(prompt) {
|
|
2340
2347
|
if (!subagent) subagent = new SubagentRuntime();
|
|
@@ -2908,7 +2915,7 @@ var DashboardServer = class {
|
|
|
2908
2915
|
if (method === "GET" && pathname === "/api/cron") {
|
|
2909
2916
|
if (!this.deps.authGate.guard(req, res)) return;
|
|
2910
2917
|
try {
|
|
2911
|
-
const { readEntries: readEntries2 } = await import("./task-store-
|
|
2918
|
+
const { readEntries: readEntries2 } = await import("./task-store-KIBFZL5A.js");
|
|
2912
2919
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
2913
2920
|
res.end(JSON.stringify({ ok: true, entries: readEntries2() }));
|
|
2914
2921
|
} catch (err) {
|
|
@@ -3670,7 +3677,7 @@ var AgentApiServer = class {
|
|
|
3670
3677
|
res.writeHead(429, { "Content-Type": "application/json" }).end(JSON.stringify(openaiError("Peer hop limit reached", "loop_detected", "hop_exceeded")));
|
|
3671
3678
|
return;
|
|
3672
3679
|
}
|
|
3673
|
-
const { checkRateLimit } = await import("./agent-api-rate-limit-
|
|
3680
|
+
const { checkRateLimit } = await import("./agent-api-rate-limit-7R5TX2F2.js");
|
|
3674
3681
|
const limit = checkRateLimit(caller);
|
|
3675
3682
|
if (!limit.allowed) {
|
|
3676
3683
|
const retryAfter = Math.ceil((limit.retryAfterMs ?? 6e4) / 1e3);
|
|
@@ -3678,7 +3685,7 @@ var AgentApiServer = class {
|
|
|
3678
3685
|
logWarn(TAG12, `Rate limited ${caller} \u2014 retry in ${retryAfter}s`);
|
|
3679
3686
|
return;
|
|
3680
3687
|
}
|
|
3681
|
-
const { setCurrentPeerHops } = await import("./peer-client-
|
|
3688
|
+
const { setCurrentPeerHops } = await import("./peer-client-T44VI7NB.js");
|
|
3682
3689
|
setCurrentPeerHops(hopValue);
|
|
3683
3690
|
let body;
|
|
3684
3691
|
try {
|
|
@@ -3693,8 +3700,8 @@ var AgentApiServer = class {
|
|
|
3693
3700
|
const reqMessages = body.messages;
|
|
3694
3701
|
const lastMsg = reqMessages?.[reqMessages.length - 1];
|
|
3695
3702
|
if (lastMsg?.content) {
|
|
3696
|
-
const { verifyMessage } = await import("./digital-signature-
|
|
3697
|
-
const { loadPeerConfig: loadPeerConfig2 } = await import("./peer-config-
|
|
3703
|
+
const { verifyMessage } = await import("./digital-signature-PNY4TR2W.js");
|
|
3704
|
+
const { loadPeerConfig: loadPeerConfig2 } = await import("./peer-config-D5A4454H.js");
|
|
3698
3705
|
const peerConfig2 = loadPeerConfig2();
|
|
3699
3706
|
const peerEntry2 = peerConfig2.peers[caller];
|
|
3700
3707
|
const hasSigTag = /\[sig:\d+:[A-Za-z0-9+/=]+\]$/.test(lastMsg.content);
|
|
@@ -3724,7 +3731,7 @@ var AgentApiServer = class {
|
|
|
3724
3731
|
return;
|
|
3725
3732
|
}
|
|
3726
3733
|
if (lastMsg?.content?.startsWith("callback")) {
|
|
3727
|
-
const { hasPending, popPendingPrompt } = await import("./pending-callback-
|
|
3734
|
+
const { hasPending, popPendingPrompt } = await import("./pending-callback-6KLBSHLX.js");
|
|
3728
3735
|
if (hasPending(caller)) {
|
|
3729
3736
|
const pendingPrompt = popPendingPrompt(caller);
|
|
3730
3737
|
logInfo(TAG12, `Callback from ${caller} \u2014 returning pending prompt (${pendingPrompt?.length ?? 0} chars)`);
|
|
@@ -3734,7 +3741,7 @@ var AgentApiServer = class {
|
|
|
3734
3741
|
}
|
|
3735
3742
|
}
|
|
3736
3743
|
if (lastMsg?.content?.startsWith("[CB-RESPONSE]")) {
|
|
3737
|
-
const { resolvePending } = await import("./pending-callback-
|
|
3744
|
+
const { resolvePending } = await import("./pending-callback-6KLBSHLX.js");
|
|
3738
3745
|
const answer = lastMsg.content.slice("[CB-RESPONSE]".length).trim();
|
|
3739
3746
|
if (resolvePending(caller, answer)) {
|
|
3740
3747
|
logInfo(TAG12, `CB-RESPONSE from ${caller} \u2014 resolved pending (${answer.length} chars)`);
|
|
@@ -3753,7 +3760,7 @@ var AgentApiServer = class {
|
|
|
3753
3760
|
return;
|
|
3754
3761
|
}
|
|
3755
3762
|
}
|
|
3756
|
-
const { loadPeerConfig } = await import("./peer-config-
|
|
3763
|
+
const { loadPeerConfig } = await import("./peer-config-D5A4454H.js");
|
|
3757
3764
|
const peerConfig = loadPeerConfig();
|
|
3758
3765
|
const peerEntry = peerConfig.peers[caller];
|
|
3759
3766
|
const policy = buildPolicy("peer", {
|
|
@@ -3860,9 +3867,9 @@ async function phaseAgentApi(ctx) {
|
|
|
3860
3867
|
} else {
|
|
3861
3868
|
logError("main", `Agent API failed to start: ${result.error}`);
|
|
3862
3869
|
}
|
|
3863
|
-
const { loadPeerConfig } = await import("./peer-config-
|
|
3864
|
-
const { startDnsWakeup } = await import("./dns-wakeup-
|
|
3865
|
-
const { callPeer } = await import("./peer-client-
|
|
3870
|
+
const { loadPeerConfig } = await import("./peer-config-D5A4454H.js");
|
|
3871
|
+
const { startDnsWakeup } = await import("./dns-wakeup-RYOCQ6GR.js");
|
|
3872
|
+
const { callPeer } = await import("./peer-client-T44VI7NB.js");
|
|
3866
3873
|
const peerConfig = loadPeerConfig();
|
|
3867
3874
|
const udpPort = peerConfig.self.udpPort ?? 5353;
|
|
3868
3875
|
if (Object.keys(peerConfig.peers).length > 0) {
|
|
@@ -3956,7 +3963,7 @@ var Bridge = class {
|
|
|
3956
3963
|
execFileSync("mcporter", ["daemon", "stop"], { stdio: "pipe" });
|
|
3957
3964
|
});
|
|
3958
3965
|
}
|
|
3959
|
-
const { flushUsage } = await import("./usage-tracker-
|
|
3966
|
+
const { flushUsage } = await import("./usage-tracker-S4Z2G2K5.js");
|
|
3960
3967
|
flushUsage();
|
|
3961
3968
|
clearTimeout(forceTimer);
|
|
3962
3969
|
this._resolve?.(this._exitCode);
|
|
@@ -4031,7 +4038,7 @@ async function startBridge() {
|
|
|
4031
4038
|
logError("boot", `\u2717 ${phase.name} failed \u2014 continuing without it`, err);
|
|
4032
4039
|
}
|
|
4033
4040
|
}
|
|
4034
|
-
const { hasHooks, fire } = await import("./hook-system-
|
|
4041
|
+
const { hasHooks, fire } = await import("./hook-system-POI5VRIX.js");
|
|
4035
4042
|
if (hasHooks("BridgeStart")) {
|
|
4036
4043
|
await fire("BridgeStart", { event: "BridgeStart", timestamp: (/* @__PURE__ */ new Date()).toISOString(), sessionKey: "", platform: "", userId: "" });
|
|
4037
4044
|
}
|