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
|
@@ -1,48 +1,49 @@
|
|
|
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
|
require_ws
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NIRYBWUW.js";
|
|
5
6
|
import {
|
|
6
7
|
transcribeAudio
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3MO2MDXJ.js";
|
|
8
9
|
import {
|
|
9
10
|
ModelNotFoundError
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WX7GHGFX.js";
|
|
11
12
|
import {
|
|
12
13
|
loadMinimalSoul,
|
|
13
14
|
loadSoulBundle
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RWUINZUQ.js";
|
|
15
16
|
import {
|
|
16
17
|
loadUsers
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J5YIMCLT.js";
|
|
18
19
|
import {
|
|
19
20
|
abmind
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JAJ3DUQ2.js";
|
|
21
22
|
import {
|
|
22
23
|
fire,
|
|
23
24
|
hasHooks
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G6IXMYIO.js";
|
|
25
26
|
import {
|
|
26
27
|
readAndClearRestartReason,
|
|
27
28
|
readBridgeLockField,
|
|
28
29
|
updateBridgeLockField,
|
|
29
30
|
writeForceSleep,
|
|
30
31
|
writeSleepStatus
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UDZIZB5F.js";
|
|
32
33
|
import {
|
|
33
34
|
readEntries
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XLLSPBBT.js";
|
|
35
36
|
import {
|
|
36
37
|
localTime
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MZWMYN4O.js";
|
|
38
39
|
import {
|
|
39
40
|
init_log_and_swallow,
|
|
40
41
|
logAndSwallow
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EX2SRTUE.js";
|
|
42
43
|
import {
|
|
43
44
|
getEnv,
|
|
44
45
|
init_env_schema
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-AQVOAQQI.js";
|
|
46
47
|
import {
|
|
47
48
|
init_logger,
|
|
48
49
|
logDebug,
|
|
@@ -50,16 +51,16 @@ import {
|
|
|
50
51
|
logInfo,
|
|
51
52
|
logTrace,
|
|
52
53
|
logWarn
|
|
53
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2BY6I4P5.js";
|
|
54
55
|
import {
|
|
55
56
|
abtarsHome,
|
|
56
57
|
init_paths
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MJ6PHMOK.js";
|
|
58
59
|
import {
|
|
59
60
|
__commonJS,
|
|
60
61
|
__require,
|
|
61
62
|
__toESM
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7K2YZTLD.js";
|
|
63
64
|
|
|
64
65
|
// node_modules/@andresaya/edge-tts/dist/config/constants.js
|
|
65
66
|
var require_constants = __commonJS({
|
|
@@ -1594,7 +1595,7 @@ async function handleInboundMessage(msg, adapter, deps) {
|
|
|
1594
1595
|
return;
|
|
1595
1596
|
}
|
|
1596
1597
|
let prompt = builtPrompt;
|
|
1597
|
-
const { drainCompletions } = await import("./completion-buffer-
|
|
1598
|
+
const { drainCompletions } = await import("./completion-buffer-S3LXDZG2.js");
|
|
1598
1599
|
const completions = drainCompletions(activeSessionId);
|
|
1599
1600
|
if (completions.length > 0) {
|
|
1600
1601
|
const notes = completions.map((c) => {
|
|
@@ -1613,7 +1614,7 @@ ${prompt}`;
|
|
|
1613
1614
|
const agentSession = activeSession.agentSession;
|
|
1614
1615
|
logDebug(TAG4, `Route: session=${activeSessionId} type=${activeSession.type} agentSession=${agentSession ? "yes" : "no"}`);
|
|
1615
1616
|
if ("sandboxPolicy" in transport) {
|
|
1616
|
-
const { buildPolicy } = await import("./tool-sandbox-
|
|
1617
|
+
const { buildPolicy } = await import("./tool-sandbox-OZMXJZLQ.js");
|
|
1617
1618
|
transport.sandboxPolicy = buildPolicy("owner");
|
|
1618
1619
|
}
|
|
1619
1620
|
if ("isPaused" in transport) {
|
|
@@ -1911,7 +1912,7 @@ function registerCommand(name, handler) {
|
|
|
1911
1912
|
registerExact(name, handler);
|
|
1912
1913
|
}
|
|
1913
1914
|
async function handleCommand(text, ctx) {
|
|
1914
|
-
const isMaster = !ctx.userId || ctx.userId === "master" || (await import("./user-registry-
|
|
1915
|
+
const isMaster = !ctx.userId || ctx.userId === "master" || (await import("./user-registry-GTAJIW6E.js")).loadUsers().byUserId.get(ctx.userId)?.role === "master";
|
|
1915
1916
|
if (!isMaster) {
|
|
1916
1917
|
const cmd = text.split(/\s/)[0];
|
|
1917
1918
|
if (cmd.startsWith("/") && !NON_MASTER_COMMANDS.has(cmd)) {
|
|
@@ -1940,7 +1941,7 @@ Type /help for available commands.`);
|
|
|
1940
1941
|
return false;
|
|
1941
1942
|
}
|
|
1942
1943
|
async function triggerNewSession(ctx, reason = "new-session") {
|
|
1943
|
-
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-
|
|
1944
|
+
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-POI5VRIX.js");
|
|
1944
1945
|
if (hasHooks2("SessionEnd")) {
|
|
1945
1946
|
await fireHook("SessionEnd", { event: "SessionEnd", timestamp: (/* @__PURE__ */ new Date()).toISOString(), sessionKey: ctx.sessionKey, platform: ctx.platform, userId: ctx.userId, reason }).catch((err) => logAndSwallow(TAG5, "fireHook session", err));
|
|
1946
1947
|
}
|
|
@@ -1959,12 +1960,12 @@ async function triggerNewSession(ctx, reason = "new-session") {
|
|
|
1959
1960
|
}
|
|
1960
1961
|
}
|
|
1961
1962
|
async function triggerResetSession(ctx) {
|
|
1962
|
-
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-
|
|
1963
|
+
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-POI5VRIX.js");
|
|
1963
1964
|
if (hasHooks2("SessionEnd")) {
|
|
1964
1965
|
await fireHook("SessionEnd", { event: "SessionEnd", timestamp: (/* @__PURE__ */ new Date()).toISOString(), sessionKey: ctx.sessionKey, platform: ctx.platform, userId: ctx.userId, reason: "reset-transport" }).catch((err) => logAndSwallow(TAG5, "fireHook session", err));
|
|
1965
1966
|
}
|
|
1966
1967
|
await ctx.idleSave.save(ctx.sessionKey, ctx.chatId);
|
|
1967
|
-
const { clearTransportCache } = await import("./transport-config-
|
|
1968
|
+
const { clearTransportCache } = await import("./transport-config-ANPS2RYT.js");
|
|
1968
1969
|
clearTransportCache();
|
|
1969
1970
|
if (ctx.rebuildTransport) await ctx.rebuildTransport();
|
|
1970
1971
|
await resetAndPrepare({
|
|
@@ -2003,7 +2004,7 @@ var TAG6 = "cmd";
|
|
|
2003
2004
|
async function handleNewReset(text, ctx) {
|
|
2004
2005
|
const isResetDefault = text.trim().toLowerCase() === "/reset default";
|
|
2005
2006
|
if (isResetDefault) {
|
|
2006
|
-
const { resetToDefaults } = await import("./transport-config-
|
|
2007
|
+
const { resetToDefaults } = await import("./transport-config-ANPS2RYT.js");
|
|
2007
2008
|
resetToDefaults();
|
|
2008
2009
|
} else {
|
|
2009
2010
|
try {
|
|
@@ -2041,7 +2042,7 @@ async function handleEmergencyAlias(_text, ctx) {
|
|
|
2041
2042
|
return handleModels("/model emergency", ctx);
|
|
2042
2043
|
}
|
|
2043
2044
|
async function handleModels(text, ctx) {
|
|
2044
|
-
const { loadTransport, resolveAgent, getModelsForProvider, writeTransportConfig } = await import("./transport-config-
|
|
2045
|
+
const { loadTransport, resolveAgent, getModelsForProvider, writeTransportConfig } = await import("./transport-config-ANPS2RYT.js");
|
|
2045
2046
|
const tc = loadTransport();
|
|
2046
2047
|
const prof = tc ? resolveAgent("professor", tc) : null;
|
|
2047
2048
|
const currentModel = ("currentModel" in ctx.transport ? ctx.transport.currentModel : void 0) ?? prof?.model ?? "unknown";
|
|
@@ -2059,8 +2060,8 @@ async function handleModels(text, ctx) {
|
|
|
2059
2060
|
if (tc) {
|
|
2060
2061
|
const hmProvider = tc.hailMary ? tc.providers[tc.hailMary.provider] : void 0;
|
|
2061
2062
|
if (hmProvider) {
|
|
2062
|
-
const { validateProviderReady, formatValidationError } = await import("./transport-config-
|
|
2063
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2063
|
+
const { validateProviderReady, formatValidationError } = await import("./transport-config-ANPS2RYT.js");
|
|
2064
|
+
const { getEnv: getEnv2 } = await import("./env-schema-DGD6QWPA.js");
|
|
2064
2065
|
const result = validateProviderReady(tc.hailMary.provider, hmProvider, getEnv2());
|
|
2065
2066
|
if (!result.ok) {
|
|
2066
2067
|
await ctx.reply(formatValidationError(tc.hailMary.provider, result));
|
|
@@ -2073,7 +2074,7 @@ async function handleModels(text, ctx) {
|
|
|
2073
2074
|
return true;
|
|
2074
2075
|
}
|
|
2075
2076
|
if (arg === "restore") {
|
|
2076
|
-
const { restorePrevious } = await import("./transport-config-
|
|
2077
|
+
const { restorePrevious } = await import("./transport-config-ANPS2RYT.js");
|
|
2077
2078
|
const result = restorePrevious();
|
|
2078
2079
|
if (!result.ok) {
|
|
2079
2080
|
await ctx.reply(`\u274C ${result.error}`);
|
|
@@ -2085,7 +2086,7 @@ async function handleModels(text, ctx) {
|
|
|
2085
2086
|
return true;
|
|
2086
2087
|
}
|
|
2087
2088
|
if (arg === "default") {
|
|
2088
|
-
const { resetToDefaults } = await import("./transport-config-
|
|
2089
|
+
const { resetToDefaults } = await import("./transport-config-ANPS2RYT.js");
|
|
2089
2090
|
if (!resetToDefaults()) {
|
|
2090
2091
|
await ctx.reply("\u274C Factory config not found \u2014 run abtars install to restore.");
|
|
2091
2092
|
return true;
|
|
@@ -2111,7 +2112,7 @@ async function handleModels(text, ctx) {
|
|
|
2111
2112
|
return true;
|
|
2112
2113
|
}
|
|
2113
2114
|
const endpoint = prof.provider.endpoint ?? "http://localhost:11434/v1";
|
|
2114
|
-
const apiKey = prof.provider.apiKeyEnv ? (await import("./env-schema-
|
|
2115
|
+
const apiKey = prof.provider.apiKeyEnv ? (await import("./env-schema-DGD6QWPA.js")).getEnv().getApiKey(prof.provider.apiKeyEnv) : void 0;
|
|
2115
2116
|
const models = /* @__PURE__ */ new Set();
|
|
2116
2117
|
for (const [, agent] of Object.entries(tc.agents)) {
|
|
2117
2118
|
if (agent.provider === prof.providerName) models.add(agent.model);
|
|
@@ -2122,7 +2123,7 @@ async function handleModels(text, ctx) {
|
|
|
2122
2123
|
if (tc.hailMary?.provider === prof.providerName) models.add(tc.hailMary.model);
|
|
2123
2124
|
await ctx.reply(`\u{1FA7A} Checking ${models.size} models on ${prof.providerName}...`);
|
|
2124
2125
|
const results = [];
|
|
2125
|
-
const { loadModels } = await import("./transport-config-
|
|
2126
|
+
const { loadModels } = await import("./transport-config-ANPS2RYT.js");
|
|
2126
2127
|
const catalog = loadModels();
|
|
2127
2128
|
for (const model of models) {
|
|
2128
2129
|
try {
|
|
@@ -2160,7 +2161,7 @@ async function handleModels(text, ctx) {
|
|
|
2160
2161
|
}
|
|
2161
2162
|
const { writeFileSync: writeFileSync2 } = await import("node:fs");
|
|
2162
2163
|
const { join: join5 } = await import("node:path");
|
|
2163
|
-
const { configDir } = await import("./transport-config-
|
|
2164
|
+
const { configDir } = await import("./transport-config-ANPS2RYT.js");
|
|
2164
2165
|
writeFileSync2(join5(configDir(), "models.json"), JSON.stringify(catalog, null, 2) + "\n");
|
|
2165
2166
|
await ctx.reply(`\u{1FA7A} Model Health:
|
|
2166
2167
|
${results.join("\n")}`);
|
|
@@ -2183,8 +2184,8 @@ ${results.join("\n")}`);
|
|
|
2183
2184
|
return true;
|
|
2184
2185
|
}
|
|
2185
2186
|
{
|
|
2186
|
-
const { validateProviderReady, formatValidationError } = await import("./transport-config-
|
|
2187
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2187
|
+
const { validateProviderReady, formatValidationError } = await import("./transport-config-ANPS2RYT.js");
|
|
2188
|
+
const { getEnv: getEnv2 } = await import("./env-schema-DGD6QWPA.js");
|
|
2188
2189
|
const result = validateProviderReady(prof.providerName, prof.provider, getEnv2());
|
|
2189
2190
|
if (!result.ok) {
|
|
2190
2191
|
await ctx.reply(formatValidationError(prof.providerName, result));
|
|
@@ -2192,7 +2193,7 @@ ${results.join("\n")}`);
|
|
|
2192
2193
|
}
|
|
2193
2194
|
}
|
|
2194
2195
|
tc.agents["professor"].model = newModel;
|
|
2195
|
-
const { cleanDemotedModels } = await import("./transport-config-
|
|
2196
|
+
const { cleanDemotedModels } = await import("./transport-config-ANPS2RYT.js");
|
|
2196
2197
|
cleanDemotedModels(tc, newModel);
|
|
2197
2198
|
writeTransportConfig(tc, `professor model \u2192 ${newModel}`);
|
|
2198
2199
|
if ("setModel" in ctx.transport) {
|
|
@@ -2203,7 +2204,7 @@ ${results.join("\n")}`);
|
|
|
2203
2204
|
}
|
|
2204
2205
|
if (arg === "list" || arg.startsWith("list ")) {
|
|
2205
2206
|
const providerArg = arg.slice(5).trim();
|
|
2206
|
-
const { getAvailableProviders, getModelsForProvider: getModels } = await import("./transport-config-
|
|
2207
|
+
const { getAvailableProviders, getModelsForProvider: getModels } = await import("./transport-config-ANPS2RYT.js");
|
|
2207
2208
|
if (!tc) {
|
|
2208
2209
|
await ctx.reply("\u274C transport.json not loaded");
|
|
2209
2210
|
return true;
|
|
@@ -2261,8 +2262,8 @@ Use /model quick <name> to switch.`);
|
|
|
2261
2262
|
await ctx.reply(`\u274C Provider "${providerName}" not found. Available: ${Object.keys(tc.providers).join(", ")}`);
|
|
2262
2263
|
return true;
|
|
2263
2264
|
}
|
|
2264
|
-
const { validateProviderReady, formatValidationError, loadProviderDefaults } = await import("./transport-config-
|
|
2265
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2265
|
+
const { validateProviderReady, formatValidationError, loadProviderDefaults } = await import("./transport-config-ANPS2RYT.js");
|
|
2266
|
+
const { getEnv: getEnv2 } = await import("./env-schema-DGD6QWPA.js");
|
|
2266
2267
|
const validation = validateProviderReady(providerName, provider2, getEnv2());
|
|
2267
2268
|
if (!validation.ok) {
|
|
2268
2269
|
await ctx.reply(formatValidationError(providerName, validation));
|
|
@@ -2350,7 +2351,7 @@ ${raw || "(no output)"}`);
|
|
|
2350
2351
|
}
|
|
2351
2352
|
return true;
|
|
2352
2353
|
}
|
|
2353
|
-
const { getDoctorReport, renderDoctorText } = await import("./doctor-
|
|
2354
|
+
const { getDoctorReport, renderDoctorText } = await import("./doctor-R54GZPKL.js");
|
|
2354
2355
|
const force = arg === "force";
|
|
2355
2356
|
const svcStates = ctx.registry?.getStates() ?? {};
|
|
2356
2357
|
const report = await getDoctorReport({
|
|
@@ -2365,7 +2366,7 @@ ${raw || "(no output)"}`);
|
|
|
2365
2366
|
}
|
|
2366
2367
|
async function handleStatus(_text, ctx) {
|
|
2367
2368
|
if (ctx.phaseHealth && ctx.registry) {
|
|
2368
|
-
const { getSystemStatus, renderStatusText } = await import("./system-status-
|
|
2369
|
+
const { getSystemStatus, renderStatusText } = await import("./system-status-2CR5OUDY.js");
|
|
2369
2370
|
const status = await getSystemStatus({
|
|
2370
2371
|
phaseHealth: ctx.phaseHealth,
|
|
2371
2372
|
registry: ctx.registry,
|
|
@@ -2376,7 +2377,7 @@ async function handleStatus(_text, ctx) {
|
|
|
2376
2377
|
});
|
|
2377
2378
|
let text = renderStatusText(status);
|
|
2378
2379
|
if (_text.trim().toLowerCase() === "full") {
|
|
2379
|
-
const { envDump } = await import("./env-schema-
|
|
2380
|
+
const { envDump } = await import("./env-schema-DGD6QWPA.js");
|
|
2380
2381
|
const dump = envDump();
|
|
2381
2382
|
const envLines = Object.entries(dump).slice(0, 30).map(([k, v]) => ` ${k}: ${v}`);
|
|
2382
2383
|
text += "\n\n\u{1F4CB} Config (top 30):\n" + envLines.join("\n");
|
|
@@ -2497,7 +2498,7 @@ async function buildStatusLines(ctx) {
|
|
|
2497
2498
|
if ("currentModel" in ctx.transport) {
|
|
2498
2499
|
model = ctx.transport.currentModel;
|
|
2499
2500
|
} else {
|
|
2500
|
-
const { loadTransport, resolveAgent } = await import("./transport-config-
|
|
2501
|
+
const { loadTransport, resolveAgent } = await import("./transport-config-ANPS2RYT.js");
|
|
2501
2502
|
const tc2 = loadTransport();
|
|
2502
2503
|
const prof2 = tc2 ? resolveAgent("professor", tc2) : null;
|
|
2503
2504
|
model = prof2?.model ?? "unknown";
|
|
@@ -2506,7 +2507,7 @@ async function buildStatusLines(ctx) {
|
|
|
2506
2507
|
const uptime = formatUptime(Date.now() - ctx.startedAt);
|
|
2507
2508
|
const ctxPct = ctx.transport.contextPercent >= 0 ? `${ctx.transport.contextPercent}%` : "n/a";
|
|
2508
2509
|
const cronInfo = ctx.memory?.getCronInfo();
|
|
2509
|
-
const { loadTransport: lt, resolveAgent: ra } = await import("./transport-config-
|
|
2510
|
+
const { loadTransport: lt, resolveAgent: ra } = await import("./transport-config-ANPS2RYT.js");
|
|
2510
2511
|
const tc = lt();
|
|
2511
2512
|
const prof = tc ? ra("professor", tc) : null;
|
|
2512
2513
|
const provider = prof?.providerName ?? "unknown";
|
|
@@ -2567,8 +2568,8 @@ function formatUptime(ms) {
|
|
|
2567
2568
|
return h > 0 ? `${h}h ${m}m` : `${m}m`;
|
|
2568
2569
|
}
|
|
2569
2570
|
async function handleUsage(_text, ctx) {
|
|
2570
|
-
const { readUsage, resetUsage } = await import("./usage-tracker-
|
|
2571
|
-
const { loadModels } = await import("./transport-config-
|
|
2571
|
+
const { readUsage, resetUsage } = await import("./usage-tracker-S4Z2G2K5.js");
|
|
2572
|
+
const { loadModels } = await import("./transport-config-ANPS2RYT.js");
|
|
2572
2573
|
const arg = _text.replace("/usage", "").trim();
|
|
2573
2574
|
if (arg === "reset") {
|
|
2574
2575
|
resetUsage();
|
|
@@ -2619,7 +2620,7 @@ async function handleUsage(_text, ctx) {
|
|
|
2619
2620
|
`;
|
|
2620
2621
|
}
|
|
2621
2622
|
}
|
|
2622
|
-
const { fetchOpenRouterCredits } = await import("./openrouter-credits-
|
|
2623
|
+
const { fetchOpenRouterCredits } = await import("./openrouter-credits-L45SYKT3.js");
|
|
2623
2624
|
const credits = await fetchOpenRouterCredits();
|
|
2624
2625
|
if (credits) {
|
|
2625
2626
|
msg += `
|
|
@@ -2629,7 +2630,7 @@ async function handleUsage(_text, ctx) {
|
|
|
2629
2630
|
return true;
|
|
2630
2631
|
}
|
|
2631
2632
|
async function handleOpenRouter(_text, ctx) {
|
|
2632
|
-
const { fetchOpenRouterCredits } = await import("./openrouter-credits-
|
|
2633
|
+
const { fetchOpenRouterCredits } = await import("./openrouter-credits-L45SYKT3.js");
|
|
2633
2634
|
const credits = await fetchOpenRouterCredits();
|
|
2634
2635
|
if (!credits) {
|
|
2635
2636
|
await ctx.reply("\u274C OpenRouter API key not set or request failed.");
|
|
@@ -2645,7 +2646,7 @@ Remaining: $${credits.remaining.toFixed(2)}`
|
|
|
2645
2646
|
return true;
|
|
2646
2647
|
}
|
|
2647
2648
|
async function handleWhoami(_text, ctx) {
|
|
2648
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
2649
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-GTAJIW6E.js");
|
|
2649
2650
|
const reg = loadUsers2();
|
|
2650
2651
|
const CLASS_NAMES = ["UNCLASSIFIED", "RESTRICTED", "CONFIDENTIAL", "SECRET"];
|
|
2651
2652
|
const user = ctx.userId ? reg.byUserId.get(ctx.userId) : void 0;
|
|
@@ -2971,7 +2972,7 @@ async function handleTasksList(_text, ctx) {
|
|
|
2971
2972
|
const now = (/* @__PURE__ */ new Date()).toLocaleString("en-GB", { timeZone: tz, dateStyle: "medium", timeStyle: "medium" });
|
|
2972
2973
|
let listing;
|
|
2973
2974
|
try {
|
|
2974
|
-
const { readEntries: readEntries2 } = await import("./task-store-
|
|
2975
|
+
const { readEntries: readEntries2 } = await import("./task-store-KIBFZL5A.js");
|
|
2975
2976
|
const entries = readEntries2();
|
|
2976
2977
|
const active = entries.filter((e) => !e.fired);
|
|
2977
2978
|
active.sort((a, b) => {
|
|
@@ -3093,14 +3094,14 @@ import { readdirSync as readdirSync3 } from "node:fs";
|
|
|
3093
3094
|
import { join as join4 } from "node:path";
|
|
3094
3095
|
var TAG11 = "cmd_admin";
|
|
3095
3096
|
async function handleUsers(text, ctx) {
|
|
3096
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
3097
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-GTAJIW6E.js");
|
|
3097
3098
|
const parts = text.trim().split(/\s+/);
|
|
3098
3099
|
const sub = parts[1];
|
|
3099
3100
|
if (sub === "approve" && parts[2]) {
|
|
3100
3101
|
const platformId = parts[2];
|
|
3101
3102
|
const { writeFileSync: writeFileSync2, readFileSync: readFileSync3 } = await import("node:fs");
|
|
3102
3103
|
const { join: join5 } = await import("node:path");
|
|
3103
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
3104
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-ZJYIDND2.js");
|
|
3104
3105
|
const configPath = join5(abtarsHome2(), "config", "users.json");
|
|
3105
3106
|
try {
|
|
3106
3107
|
const raw = JSON.parse(readFileSync3(configPath, "utf-8"));
|
|
@@ -3122,7 +3123,7 @@ async function handleUsers(text, ctx) {
|
|
|
3122
3123
|
const targetUserId = parts[2];
|
|
3123
3124
|
const { writeFileSync: writeFileSync2, readFileSync: readFileSync3 } = await import("node:fs");
|
|
3124
3125
|
const { join: join5 } = await import("node:path");
|
|
3125
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
3126
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-ZJYIDND2.js");
|
|
3126
3127
|
const configPath = join5(abtarsHome2(), "config", "users.json");
|
|
3127
3128
|
try {
|
|
3128
3129
|
const raw = JSON.parse(readFileSync3(configPath, "utf-8"));
|
|
@@ -3170,7 +3171,7 @@ ${sections.join("\n\n")}` : "\u{1F4DA} No skills found.");
|
|
|
3170
3171
|
return true;
|
|
3171
3172
|
}
|
|
3172
3173
|
async function handleHooks(_text, ctx) {
|
|
3173
|
-
const { getHookSummary } = await import("./hook-system-
|
|
3174
|
+
const { getHookSummary } = await import("./hook-system-POI5VRIX.js");
|
|
3174
3175
|
const summary = getHookSummary();
|
|
3175
3176
|
const lines = ["\u{1FA9D} Hooks:"];
|
|
3176
3177
|
for (const { event, hooks } of summary) {
|
|
@@ -3186,7 +3187,7 @@ async function handleHooks(_text, ctx) {
|
|
|
3186
3187
|
async function handleMcp(_text, ctx) {
|
|
3187
3188
|
const arg = _text.replace(/^\/mcp\s*/i, "").trim().toLowerCase();
|
|
3188
3189
|
if (arg === "start") {
|
|
3189
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
3190
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-GTAJIW6E.js");
|
|
3190
3191
|
const registry = loadUsers2();
|
|
3191
3192
|
const user = registry.byUserId.get(ctx.userId);
|
|
3192
3193
|
if (user?.role !== "master") {
|
|
@@ -3703,4 +3704,4 @@ export {
|
|
|
3703
3704
|
handleInboundMessage,
|
|
3704
3705
|
startSession
|
|
3705
3706
|
};
|
|
3706
|
-
//# sourceMappingURL=chunk-
|
|
3707
|
+
//# sourceMappingURL=chunk-DY3R7LDW.js.map
|