abtars 0.3.4-alpha.1 → 0.3.4-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{_registry.generated-ZJBAZMXN.js → _registry.generated-RC6PEH6Z.js} +14 -14
- package/bundle/abtars-browser.js +6 -6
- package/bundle/abtars-cli.js +48 -29
- package/bundle/abtars-cli.js.map +3 -3
- package/bundle/abtars-restart.js +7 -7
- package/bundle/abtars-rss.js +2 -2
- package/bundle/abtars-task.js +5 -5
- package/bundle/abtars-todo.js +2 -2
- package/bundle/abtars.js +106 -101
- package/bundle/abtars.js.map +2 -2
- package/bundle/{acp-raw-client-YTBGFN4S.js → acp-raw-client-E6FM45NC.js} +4 -4
- package/bundle/{action-gate-YISTP773.js → action-gate-G2V47NHW.js} +4 -4
- package/bundle/{agent-api-adapter-E4HWVJ32.js → agent-api-adapter-PTJYZKQK.js} +5 -5
- package/bundle/{agent-api-rate-limit-VENFGOAD.js → agent-api-rate-limit-WCFXJMGY.js} +6 -6
- package/bundle/{agent-registry-DL7UT272.js → agent-registry-GU7ABOK5.js} +9 -9
- package/bundle/{bootstrap-V5MROD3X.js → bootstrap-POWWTU6I.js} +5 -4
- package/bundle/bootstrap-POWWTU6I.js.map +7 -0
- package/bundle/{bridge-lock-transport-BJAMHMXW.js → bridge-lock-transport-4ZH7QTJP.js} +6 -6
- package/bundle/{browser-PT54UWSW.js → browser-EJNS35NT.js} +8 -8
- package/bundle/{budget-QNK6IIT6.js → budget-45QOBDWA.js} +5 -5
- package/bundle/{capability-EKPGHQIO.js → capability-JFWX3IQF.js} +7 -7
- package/bundle/{chunk-AFFW2LRY.js → chunk-2FAZIA37.js} +3 -3
- package/bundle/{chunk-OOUCUCUW.js → chunk-2KC5G3EA.js} +6 -6
- package/bundle/{chunk-ZGNSCJWH.js → chunk-3CACHBDI.js} +10 -10
- package/bundle/{chunk-X7DLKIQM.js → chunk-4S554KLW.js} +4 -4
- package/bundle/{chunk-4IGLXZCC.js → chunk-5GCLBUBS.js} +10 -10
- package/bundle/{chunk-LPF2HELD.js → chunk-5HDSQFT6.js} +2 -2
- package/bundle/{chunk-QJPDBJDP.js → chunk-5NY2YULC.js} +2 -2
- package/bundle/{chunk-BWJ37KMW.js → chunk-65VCEC32.js} +2 -2
- package/bundle/{chunk-WEGFRA6G.js → chunk-7BSQ5UQO.js} +3 -3
- package/bundle/{chunk-6VTHSN4V.js → chunk-7Z3HBPRY.js} +6 -6
- package/bundle/{chunk-RCWQ34QR.js → chunk-AFREM7FX.js} +2 -2
- package/bundle/{chunk-FSGICOCX.js → chunk-AO32N2VB.js} +87 -15
- package/bundle/chunk-AO32N2VB.js.map +7 -0
- package/bundle/{chunk-QMP2KC4W.js → chunk-B6ZN6COK.js} +5 -5
- package/bundle/{chunk-FF2F7ENH.js → chunk-BFDBGESM.js} +94 -89
- package/bundle/{chunk-FF2F7ENH.js.map → chunk-BFDBGESM.js.map} +2 -2
- package/bundle/{chunk-JRGEEGZF.js → chunk-DYBW4XXL.js} +2 -2
- package/bundle/{chunk-KLG4SCF7.js → chunk-EFJVUJBE.js} +7 -7
- package/bundle/{chunk-RO3TAYBR.js → chunk-EQSG2CRM.js} +5 -5
- package/bundle/{chunk-MTE32OQH.js → chunk-EUZDKV3C.js} +3 -3
- package/bundle/{chunk-R23FHZRY.js → chunk-FRKW6LWB.js} +3 -3
- package/bundle/{chunk-7XXISOHU.js → chunk-GALQBVKO.js} +2 -2
- package/bundle/{chunk-E7DZYCSF.js → chunk-GP4XUKI5.js} +3 -3
- package/bundle/{chunk-R4GYWVCR.js → chunk-GPZNXY2U.js} +6 -6
- package/bundle/{chunk-ZKMKAO75.js → chunk-GRVWZO4C.js} +3 -3
- package/bundle/{chunk-GFAJSPMD.js → chunk-GVM5YU5I.js} +2 -2
- package/bundle/{chunk-6S3G6GPO.js → chunk-GWILHZPT.js} +2 -2
- package/bundle/{chunk-AMUJEP6L.js → chunk-HMKVL7AX.js} +47 -41
- package/bundle/chunk-HMKVL7AX.js.map +7 -0
- package/bundle/{chunk-XZ4ZBDM5.js → chunk-HT2BPTZY.js} +3 -3
- package/bundle/{chunk-AWCO3DQ3.js → chunk-HZDLFLRP.js} +4 -4
- package/bundle/{chunk-CNENVY37.js → chunk-IJT4KWXT.js} +2 -2
- package/bundle/{chunk-YZCOA4DC.js → chunk-JNIHEDKF.js} +3 -3
- package/bundle/{chunk-DJOSXXM2.js → chunk-JQDJPUHM.js} +16 -6
- package/bundle/chunk-JQDJPUHM.js.map +7 -0
- package/bundle/{chunk-MPQ2PJQX.js → chunk-KTYGKPYM.js} +7 -7
- package/bundle/{chunk-JHLKEUHE.js → chunk-LME23AA2.js} +4 -4
- package/bundle/{chunk-2ZD7VQRW.js → chunk-LUNA6PM5.js} +2 -2
- package/bundle/{chunk-YWHJJHJ2.js → chunk-LUW62WGO.js} +11 -11
- package/bundle/{chunk-N3Q3TASM.js → chunk-NDCRWEEJ.js} +7 -7
- package/bundle/{chunk-HWFN7JGU.js → chunk-NRUSRJXR.js} +8 -3
- package/bundle/chunk-NRUSRJXR.js.map +7 -0
- package/bundle/{chunk-2BXXQG7P.js → chunk-O7KQG6ME.js} +2 -2
- package/bundle/{chunk-2BXXQG7P.js.map → chunk-O7KQG6ME.js.map} +2 -2
- package/bundle/{chunk-UU3RLJSD.js → chunk-OKAQICWY.js} +3 -3
- package/bundle/{chunk-AHJDG6OM.js → chunk-OLAURO5G.js} +7 -7
- package/bundle/{chunk-B2TIRDZC.js → chunk-OXTSWQCX.js} +2 -2
- package/bundle/{chunk-7OI46MH7.js → chunk-PEDX56EL.js} +3 -3
- package/bundle/{chunk-DMDX35YT.js → chunk-PROPYS3P.js} +5 -5
- package/bundle/{chunk-LB43Q7G6.js → chunk-Q32H6VPU.js} +26 -26
- package/bundle/{chunk-V7Y2LFO4.js → chunk-QROWBWLL.js} +3 -3
- package/bundle/{chunk-RJ2OUNFU.js → chunk-RIHQ37U5.js} +25 -25
- package/bundle/{chunk-O4YBJS2K.js → chunk-RWRRGE4U.js} +2 -2
- package/bundle/{chunk-MJACYH7A.js → chunk-S5GD5EJ5.js} +9 -8
- package/bundle/chunk-S5GD5EJ5.js.map +7 -0
- package/bundle/{chunk-CCZ43JB7.js → chunk-TEFZ4JA4.js} +3 -3
- package/bundle/{chunk-5P5HF7IJ.js → chunk-TMUYFERL.js} +2 -2
- package/bundle/{chunk-IXGDDDAB.js → chunk-URQPDCK5.js} +3 -3
- package/bundle/{chunk-6IB3GVXK.js → chunk-UUIHL65U.js} +2 -2
- package/bundle/{chunk-GHRLO2UL.js → chunk-VUIX5AGB.js} +3 -3
- package/bundle/{chunk-OT6HLPEA.js → chunk-WBTJ2E62.js} +5 -4
- package/bundle/chunk-WBTJ2E62.js.map +7 -0
- package/bundle/{chunk-QOGZ7BFL.js → chunk-WYHGNI56.js} +7 -7
- package/bundle/{chunk-YI2KSYB4.js → chunk-XX6BGTPO.js} +4 -4
- package/bundle/{chunk-52PQM4EZ.js → chunk-Y76VUJSF.js} +2 -2
- package/bundle/{chunk-LN5MNDSA.js → chunk-YDY6QVWJ.js} +3 -3
- package/bundle/{chunk-OWPQIBAO.js → chunk-YRSMGJFP.js} +2 -2
- package/bundle/{chunk-W2PSVV2T.js → chunk-YSKCQH6E.js} +2 -2
- package/bundle/{chunk-76YN7O3U.js → chunk-ZKJOFASV.js} +7 -7
- package/bundle/{chunk-7LORCJCQ.js → chunk-ZV4IWKDJ.js} +4 -4
- package/bundle/{commands-2JQ5YTJX.js → commands-EWA4HNCM.js} +18 -18
- package/bundle/{config-ZEWIM5Z2.js → config-M3P5IOAI.js} +8 -8
- package/bundle/{config-show-WBJPQPRD.js → config-show-3DHPP26D.js} +5 -5
- package/bundle/{context-V75QNXB5.js → context-5P7IYYU2.js} +5 -5
- package/bundle/{daemon-W7VQOSZC.js → daemon-TB23FFWY.js} +7 -7
- package/bundle/{delegation-tools-VGTRFQBF.js → delegation-tools-P2SCNL23.js} +14 -13
- package/bundle/{deploy-5AGIULM2.js → deploy-YYUCGGP3.js} +4 -4
- package/bundle/{deploy-lib-import-ZBDYORN4.js → deploy-lib-import-T3UP4G6G.js} +3 -3
- package/bundle/{deps-VB3S3RLF.js → deps-WVK553KF.js} +7 -7
- package/bundle/{direct-api-transport-YSROTC35.js → direct-api-transport-WQ6HA5OX.js} +29 -29
- package/bundle/{discord-adapter-LKBSIFLV.js → discord-adapter-4TTETYDI.js} +22 -22
- package/bundle/{dns-wakeup-KIURCCFJ.js → dns-wakeup-IDOJIXBX.js} +4 -4
- package/bundle/{doctor-probes-46UKIROK.js → doctor-probes-VDWFJKUB.js} +4 -4
- package/bundle/{env-schema-YGHCKX5B.js → env-schema-4JXQUOH4.js} +5 -5
- package/bundle/{gossip-VSEY2HSE.js → gossip-3C3BSNPN.js} +7 -7
- package/bundle/{guardrails-U7M6H2GE.js → guardrails-DL7ZSWVN.js} +6 -6
- package/bundle/{health-check-ASRLUJE5.js → health-check-YKWFD2LZ.js} +2 -7
- package/bundle/health-check-YKWFD2LZ.js.map +7 -0
- package/bundle/{heartbeat-system-MUXLT4E6.js → heartbeat-system-TDDIOVTC.js} +7 -7
- package/bundle/{heartbeat-tier3-636ZMM4E.js → heartbeat-tier3-55T2HUNE.js} +37 -37
- package/bundle/{hook-system-Z4XD6IM5.js → hook-system-M3POLUIB.js} +5 -5
- package/bundle/{hotskills-AOUWVTQB.js → hotskills-FWX4QI7V.js} +7 -7
- package/bundle/{install-3GGZUN22.js → install-4MXBYIUG.js} +9 -9
- package/bundle/{install-manifest-624KOB4S.js → install-manifest-5PPWMD2W.js} +4 -4
- package/bundle/{irc-adapter-SA7GLJGR.js → irc-adapter-PTTZD32W.js} +5 -5
- package/bundle/{irc-config-PG4X2I4M.js → irc-config-CP7ZMUOX.js} +6 -6
- package/bundle/{kanban-board-4AI5Z6B5.js → kanban-board-M326B2XJ.js} +7 -7
- package/bundle/{kanban-channel-JMBYWGWD.js → kanban-channel-IJ52OMNA.js} +8 -8
- package/bundle/{lazy-require-GURNBC3C.js → lazy-require-KCRVT4SI.js} +5 -5
- package/bundle/{logger-UQJPZMYV.js → logger-OWCSNYCA.js} +4 -4
- package/bundle/{logs-2WTDLMB5.js → logs-FXS4SCEM.js} +5 -5
- package/bundle/{main-chat-EID5Y6H2.js → main-chat-ZNUZCTNS.js} +6 -6
- package/bundle/{master-user-TKA7M2GL.js → master-user-HSKM4ZFN.js} +7 -7
- package/bundle/{media-utils-X3UN342B.js → media-utils-3ZYOD7SK.js} +5 -5
- package/bundle/{message-pipeline-TAWXNEVS.js → message-pipeline-KSONH4MT.js} +18 -18
- package/bundle/meta.json +1601 -1545
- package/bundle/{migrate-layout-KEAIIN26.js → migrate-layout-IJIEJY3A.js} +2 -2
- package/bundle/{nerve-TC34H4EL.js → nerve-IGSXBKZZ.js} +5 -5
- package/bundle/{notification-JQNVGICN.js → notification-BFSIEECG.js} +8 -8
- package/bundle/{openrouter-credits-5Q3EYWE5.js → openrouter-credits-NTVZDRYM.js} +5 -5
- package/bundle/{orc-74Z62W7B.js → orc-EIGVTHAV.js} +4 -4
- package/bundle/{orc-tools-GME3DKIN.js → orc-tools-A3G7WCSJ.js} +5 -5
- package/bundle/{paths-BAUNPLNJ.js → paths-3ZVW3NFL.js} +2 -2
- package/bundle/{paths-MZC2KU2C.js → paths-X4LRYUI6.js} +3 -3
- package/bundle/{peer-auth-VRO3JYL5.js → peer-auth-QC4EF2PM.js} +9 -9
- package/bundle/{peer-client-WLK5GZQS.js → peer-client-RGEU5HOK.js} +9 -9
- package/bundle/{peer-config-24WILLCJ.js → peer-config-TN55LFDC.js} +6 -6
- package/bundle/{peer-jwt-ZR6RF3XM.js → peer-jwt-NCCPXJRX.js} +6 -6
- package/bundle/{peer-transport-BK5VHI2M.js → peer-transport-I6JPLFZ2.js} +8 -8
- package/bundle/{phase-transport-7QJM7J6V.js → phase-transport-2BRWACDF.js} +18 -18
- package/bundle/public/css/dashboard.css +542 -0
- package/bundle/public/index.html +180 -0
- package/bundle/public/js/app.js +437 -0
- package/bundle/public/memory-universe.js +384 -0
- package/bundle/{reconcile-7N7OE2GU.js → reconcile-CTFCLQRN.js} +5 -5
- package/bundle/{reconciler-7LOOUK43.js → reconciler-FHESO6OC.js} +14 -13
- package/bundle/{reconciler-7LOOUK43.js.map → reconciler-FHESO6OC.js.map} +1 -1
- package/bundle/{restore-MENZ3I3K.js → restore-IFHPI7I7.js} +7 -7
- package/bundle/{rollback-JOHY6KWW.js → rollback-ANRI3T5Z.js} +5 -5
- package/bundle/{sandbox-runtime-T7RF4WJD.js → sandbox-runtime-QROWHDCS.js} +4 -4
- package/bundle/{self-healer-utils-OR2N6RLD.js → self-healer-utils-IFAYOQO2.js} +5 -5
- package/bundle/{sha-tracker-BXOLWZJL.js → sha-tracker-ZWBP6CIJ.js} +5 -5
- package/bundle/{skill-session-H6EQ4NGN.js → skill-session-AXBDQSLQ.js} +5 -5
- package/bundle/{skill-stats-7O777ZSZ.js → skill-stats-JORH5DGM.js} +6 -6
- package/bundle/{skill-watcher-ZGLTDPG5.js → skill-watcher-E4MGLKLS.js} +6 -6
- package/bundle/{sleep-3LFZH727.js → sleep-SRCSXY6T.js} +10 -10
- package/bundle/{soul-bundle-RQ2YQMJW.js → soul-bundle-VWAVHCZ6.js} +10 -10
- package/bundle/{spin-76K4R6FK.js → spin-IMW2MZOH.js} +13 -12
- package/bundle/{spin-notifications-LD46B4K5.js → spin-notifications-SE2HVZI7.js} +7 -7
- package/bundle/{spin-types-MOKTZXGB.js → spin-types-BLPYAETA.js} +5 -5
- package/bundle/{sse-parser-anthropic-NV2CGBIT.js → sse-parser-anthropic-A6R4Z2TB.js} +5 -5
- package/bundle/{sse-parser-responses-FC3PFHQ5.js → sse-parser-responses-HSZY3QGJ.js} +5 -5
- package/bundle/{ssrf-guard-E2YPLW6G.js → ssrf-guard-O6SHIK6Q.js} +5 -5
- package/bundle/{start-HPO5LYJP.js → start-7QZIWO3S.js} +5 -5
- package/bundle/{stt-UE7EOYD7.js → stt-LGVPXMVR.js} +6 -6
- package/bundle/{subagent-runtime-4X3UHF4H.js → subagent-runtime-3UJB4HUB.js} +6 -6
- package/bundle/{system-status-PLPWV4RF.js → system-status-ATGKRRQI.js} +29 -26
- package/bundle/system-status-ATGKRRQI.js.map +7 -0
- package/bundle/{task-store-RAFMDQ7N.js → task-store-W5BFIAIH.js} +6 -6
- package/bundle/{telegram-adapter-PPXKTGOP.js → telegram-adapter-7G773NII.js} +33 -33
- package/bundle/{tool-registry-NKIPNJZ5.js → tool-registry-J6TE3I2T.js} +25 -25
- package/bundle/{tool-sandbox-DQCP3UTU.js → tool-sandbox-4UC6GAKA.js} +6 -6
- package/bundle/{transport-config-SF6GBV47.js → transport-config-KBF5W2DP.js} +9 -9
- package/bundle/{update-QOOGMFSJ.js → update-424ZZQQ6.js} +6 -6
- package/bundle/{update-check-LPZG3K5P.js → update-check-7UWKBJOP.js} +3 -3
- package/bundle/{usage-tracker-TBDM4KE6.js → usage-tracker-NXD364VX.js} +2 -2
- package/bundle/{user-registry-OYJVAHDD.js → user-registry-35BW4XKM.js} +6 -6
- package/bundle/{ws-peer-client-G5QHOF6K.js → ws-peer-client-AIXCXF7V.js} +9 -9
- package/package.json +2 -2
- package/bundle/bootstrap-V5MROD3X.js.map +0 -7
- package/bundle/chunk-AMUJEP6L.js.map +0 -7
- package/bundle/chunk-DJOSXXM2.js.map +0 -7
- package/bundle/chunk-FSGICOCX.js.map +0 -7
- package/bundle/chunk-HWFN7JGU.js.map +0 -7
- package/bundle/chunk-MJACYH7A.js.map +0 -7
- package/bundle/chunk-OT6HLPEA.js.map +0 -7
- package/bundle/health-check-ASRLUJE5.js.map +0 -7
- package/bundle/system-status-PLPWV4RF.js.map +0 -7
- /package/bundle/{_registry.generated-ZJBAZMXN.js.map → _registry.generated-RC6PEH6Z.js.map} +0 -0
- /package/bundle/{acp-raw-client-YTBGFN4S.js.map → acp-raw-client-E6FM45NC.js.map} +0 -0
- /package/bundle/{action-gate-YISTP773.js.map → action-gate-G2V47NHW.js.map} +0 -0
- /package/bundle/{agent-api-adapter-E4HWVJ32.js.map → agent-api-adapter-PTJYZKQK.js.map} +0 -0
- /package/bundle/{agent-api-rate-limit-VENFGOAD.js.map → agent-api-rate-limit-WCFXJMGY.js.map} +0 -0
- /package/bundle/{agent-registry-DL7UT272.js.map → agent-registry-GU7ABOK5.js.map} +0 -0
- /package/bundle/{bridge-lock-transport-BJAMHMXW.js.map → bridge-lock-transport-4ZH7QTJP.js.map} +0 -0
- /package/bundle/{browser-PT54UWSW.js.map → browser-EJNS35NT.js.map} +0 -0
- /package/bundle/{budget-QNK6IIT6.js.map → budget-45QOBDWA.js.map} +0 -0
- /package/bundle/{capability-EKPGHQIO.js.map → capability-JFWX3IQF.js.map} +0 -0
- /package/bundle/{chunk-AFFW2LRY.js.map → chunk-2FAZIA37.js.map} +0 -0
- /package/bundle/{chunk-OOUCUCUW.js.map → chunk-2KC5G3EA.js.map} +0 -0
- /package/bundle/{chunk-ZGNSCJWH.js.map → chunk-3CACHBDI.js.map} +0 -0
- /package/bundle/{chunk-X7DLKIQM.js.map → chunk-4S554KLW.js.map} +0 -0
- /package/bundle/{chunk-4IGLXZCC.js.map → chunk-5GCLBUBS.js.map} +0 -0
- /package/bundle/{chunk-LPF2HELD.js.map → chunk-5HDSQFT6.js.map} +0 -0
- /package/bundle/{chunk-QJPDBJDP.js.map → chunk-5NY2YULC.js.map} +0 -0
- /package/bundle/{chunk-BWJ37KMW.js.map → chunk-65VCEC32.js.map} +0 -0
- /package/bundle/{chunk-WEGFRA6G.js.map → chunk-7BSQ5UQO.js.map} +0 -0
- /package/bundle/{chunk-6VTHSN4V.js.map → chunk-7Z3HBPRY.js.map} +0 -0
- /package/bundle/{chunk-RCWQ34QR.js.map → chunk-AFREM7FX.js.map} +0 -0
- /package/bundle/{chunk-QMP2KC4W.js.map → chunk-B6ZN6COK.js.map} +0 -0
- /package/bundle/{chunk-JRGEEGZF.js.map → chunk-DYBW4XXL.js.map} +0 -0
- /package/bundle/{chunk-KLG4SCF7.js.map → chunk-EFJVUJBE.js.map} +0 -0
- /package/bundle/{chunk-RO3TAYBR.js.map → chunk-EQSG2CRM.js.map} +0 -0
- /package/bundle/{chunk-MTE32OQH.js.map → chunk-EUZDKV3C.js.map} +0 -0
- /package/bundle/{chunk-R23FHZRY.js.map → chunk-FRKW6LWB.js.map} +0 -0
- /package/bundle/{chunk-7XXISOHU.js.map → chunk-GALQBVKO.js.map} +0 -0
- /package/bundle/{chunk-E7DZYCSF.js.map → chunk-GP4XUKI5.js.map} +0 -0
- /package/bundle/{chunk-R4GYWVCR.js.map → chunk-GPZNXY2U.js.map} +0 -0
- /package/bundle/{chunk-ZKMKAO75.js.map → chunk-GRVWZO4C.js.map} +0 -0
- /package/bundle/{chunk-GFAJSPMD.js.map → chunk-GVM5YU5I.js.map} +0 -0
- /package/bundle/{chunk-6S3G6GPO.js.map → chunk-GWILHZPT.js.map} +0 -0
- /package/bundle/{chunk-XZ4ZBDM5.js.map → chunk-HT2BPTZY.js.map} +0 -0
- /package/bundle/{chunk-AWCO3DQ3.js.map → chunk-HZDLFLRP.js.map} +0 -0
- /package/bundle/{chunk-CNENVY37.js.map → chunk-IJT4KWXT.js.map} +0 -0
- /package/bundle/{chunk-YZCOA4DC.js.map → chunk-JNIHEDKF.js.map} +0 -0
- /package/bundle/{chunk-MPQ2PJQX.js.map → chunk-KTYGKPYM.js.map} +0 -0
- /package/bundle/{chunk-JHLKEUHE.js.map → chunk-LME23AA2.js.map} +0 -0
- /package/bundle/{chunk-2ZD7VQRW.js.map → chunk-LUNA6PM5.js.map} +0 -0
- /package/bundle/{chunk-YWHJJHJ2.js.map → chunk-LUW62WGO.js.map} +0 -0
- /package/bundle/{chunk-N3Q3TASM.js.map → chunk-NDCRWEEJ.js.map} +0 -0
- /package/bundle/{chunk-UU3RLJSD.js.map → chunk-OKAQICWY.js.map} +0 -0
- /package/bundle/{chunk-AHJDG6OM.js.map → chunk-OLAURO5G.js.map} +0 -0
- /package/bundle/{chunk-B2TIRDZC.js.map → chunk-OXTSWQCX.js.map} +0 -0
- /package/bundle/{chunk-7OI46MH7.js.map → chunk-PEDX56EL.js.map} +0 -0
- /package/bundle/{chunk-DMDX35YT.js.map → chunk-PROPYS3P.js.map} +0 -0
- /package/bundle/{chunk-LB43Q7G6.js.map → chunk-Q32H6VPU.js.map} +0 -0
- /package/bundle/{chunk-V7Y2LFO4.js.map → chunk-QROWBWLL.js.map} +0 -0
- /package/bundle/{chunk-RJ2OUNFU.js.map → chunk-RIHQ37U5.js.map} +0 -0
- /package/bundle/{chunk-O4YBJS2K.js.map → chunk-RWRRGE4U.js.map} +0 -0
- /package/bundle/{chunk-CCZ43JB7.js.map → chunk-TEFZ4JA4.js.map} +0 -0
- /package/bundle/{chunk-5P5HF7IJ.js.map → chunk-TMUYFERL.js.map} +0 -0
- /package/bundle/{chunk-IXGDDDAB.js.map → chunk-URQPDCK5.js.map} +0 -0
- /package/bundle/{chunk-6IB3GVXK.js.map → chunk-UUIHL65U.js.map} +0 -0
- /package/bundle/{chunk-GHRLO2UL.js.map → chunk-VUIX5AGB.js.map} +0 -0
- /package/bundle/{chunk-QOGZ7BFL.js.map → chunk-WYHGNI56.js.map} +0 -0
- /package/bundle/{chunk-YI2KSYB4.js.map → chunk-XX6BGTPO.js.map} +0 -0
- /package/bundle/{chunk-52PQM4EZ.js.map → chunk-Y76VUJSF.js.map} +0 -0
- /package/bundle/{chunk-LN5MNDSA.js.map → chunk-YDY6QVWJ.js.map} +0 -0
- /package/bundle/{chunk-OWPQIBAO.js.map → chunk-YRSMGJFP.js.map} +0 -0
- /package/bundle/{chunk-W2PSVV2T.js.map → chunk-YSKCQH6E.js.map} +0 -0
- /package/bundle/{chunk-76YN7O3U.js.map → chunk-ZKJOFASV.js.map} +0 -0
- /package/bundle/{chunk-7LORCJCQ.js.map → chunk-ZV4IWKDJ.js.map} +0 -0
- /package/bundle/{commands-2JQ5YTJX.js.map → commands-EWA4HNCM.js.map} +0 -0
- /package/bundle/{config-ZEWIM5Z2.js.map → config-M3P5IOAI.js.map} +0 -0
- /package/bundle/{config-show-WBJPQPRD.js.map → config-show-3DHPP26D.js.map} +0 -0
- /package/bundle/{context-V75QNXB5.js.map → context-5P7IYYU2.js.map} +0 -0
- /package/bundle/{daemon-W7VQOSZC.js.map → daemon-TB23FFWY.js.map} +0 -0
- /package/bundle/{delegation-tools-VGTRFQBF.js.map → delegation-tools-P2SCNL23.js.map} +0 -0
- /package/bundle/{deploy-5AGIULM2.js.map → deploy-YYUCGGP3.js.map} +0 -0
- /package/bundle/{deploy-lib-import-ZBDYORN4.js.map → deploy-lib-import-T3UP4G6G.js.map} +0 -0
- /package/bundle/{deps-VB3S3RLF.js.map → deps-WVK553KF.js.map} +0 -0
- /package/bundle/{direct-api-transport-YSROTC35.js.map → direct-api-transport-WQ6HA5OX.js.map} +0 -0
- /package/bundle/{discord-adapter-LKBSIFLV.js.map → discord-adapter-4TTETYDI.js.map} +0 -0
- /package/bundle/{dns-wakeup-KIURCCFJ.js.map → dns-wakeup-IDOJIXBX.js.map} +0 -0
- /package/bundle/{doctor-probes-46UKIROK.js.map → doctor-probes-VDWFJKUB.js.map} +0 -0
- /package/bundle/{env-schema-YGHCKX5B.js.map → env-schema-4JXQUOH4.js.map} +0 -0
- /package/bundle/{gossip-VSEY2HSE.js.map → gossip-3C3BSNPN.js.map} +0 -0
- /package/bundle/{guardrails-U7M6H2GE.js.map → guardrails-DL7ZSWVN.js.map} +0 -0
- /package/bundle/{heartbeat-system-MUXLT4E6.js.map → heartbeat-system-TDDIOVTC.js.map} +0 -0
- /package/bundle/{heartbeat-tier3-636ZMM4E.js.map → heartbeat-tier3-55T2HUNE.js.map} +0 -0
- /package/bundle/{hook-system-Z4XD6IM5.js.map → hook-system-M3POLUIB.js.map} +0 -0
- /package/bundle/{hotskills-AOUWVTQB.js.map → hotskills-FWX4QI7V.js.map} +0 -0
- /package/bundle/{install-3GGZUN22.js.map → install-4MXBYIUG.js.map} +0 -0
- /package/bundle/{install-manifest-624KOB4S.js.map → install-manifest-5PPWMD2W.js.map} +0 -0
- /package/bundle/{irc-adapter-SA7GLJGR.js.map → irc-adapter-PTTZD32W.js.map} +0 -0
- /package/bundle/{irc-config-PG4X2I4M.js.map → irc-config-CP7ZMUOX.js.map} +0 -0
- /package/bundle/{kanban-board-4AI5Z6B5.js.map → kanban-board-M326B2XJ.js.map} +0 -0
- /package/bundle/{kanban-channel-JMBYWGWD.js.map → kanban-channel-IJ52OMNA.js.map} +0 -0
- /package/bundle/{lazy-require-GURNBC3C.js.map → lazy-require-KCRVT4SI.js.map} +0 -0
- /package/bundle/{logger-UQJPZMYV.js.map → logger-OWCSNYCA.js.map} +0 -0
- /package/bundle/{logs-2WTDLMB5.js.map → logs-FXS4SCEM.js.map} +0 -0
- /package/bundle/{main-chat-EID5Y6H2.js.map → main-chat-ZNUZCTNS.js.map} +0 -0
- /package/bundle/{master-user-TKA7M2GL.js.map → master-user-HSKM4ZFN.js.map} +0 -0
- /package/bundle/{media-utils-X3UN342B.js.map → media-utils-3ZYOD7SK.js.map} +0 -0
- /package/bundle/{message-pipeline-TAWXNEVS.js.map → message-pipeline-KSONH4MT.js.map} +0 -0
- /package/bundle/{migrate-layout-KEAIIN26.js.map → migrate-layout-IJIEJY3A.js.map} +0 -0
- /package/bundle/{nerve-TC34H4EL.js.map → nerve-IGSXBKZZ.js.map} +0 -0
- /package/bundle/{notification-JQNVGICN.js.map → notification-BFSIEECG.js.map} +0 -0
- /package/bundle/{openrouter-credits-5Q3EYWE5.js.map → openrouter-credits-NTVZDRYM.js.map} +0 -0
- /package/bundle/{orc-74Z62W7B.js.map → orc-EIGVTHAV.js.map} +0 -0
- /package/bundle/{orc-tools-GME3DKIN.js.map → orc-tools-A3G7WCSJ.js.map} +0 -0
- /package/bundle/{paths-BAUNPLNJ.js.map → paths-3ZVW3NFL.js.map} +0 -0
- /package/bundle/{paths-MZC2KU2C.js.map → paths-X4LRYUI6.js.map} +0 -0
- /package/bundle/{peer-auth-VRO3JYL5.js.map → peer-auth-QC4EF2PM.js.map} +0 -0
- /package/bundle/{peer-client-WLK5GZQS.js.map → peer-client-RGEU5HOK.js.map} +0 -0
- /package/bundle/{peer-config-24WILLCJ.js.map → peer-config-TN55LFDC.js.map} +0 -0
- /package/bundle/{peer-jwt-ZR6RF3XM.js.map → peer-jwt-NCCPXJRX.js.map} +0 -0
- /package/bundle/{peer-transport-BK5VHI2M.js.map → peer-transport-I6JPLFZ2.js.map} +0 -0
- /package/bundle/{phase-transport-7QJM7J6V.js.map → phase-transport-2BRWACDF.js.map} +0 -0
- /package/bundle/{reconcile-7N7OE2GU.js.map → reconcile-CTFCLQRN.js.map} +0 -0
- /package/bundle/{restore-MENZ3I3K.js.map → restore-IFHPI7I7.js.map} +0 -0
- /package/bundle/{rollback-JOHY6KWW.js.map → rollback-ANRI3T5Z.js.map} +0 -0
- /package/bundle/{sandbox-runtime-T7RF4WJD.js.map → sandbox-runtime-QROWHDCS.js.map} +0 -0
- /package/bundle/{self-healer-utils-OR2N6RLD.js.map → self-healer-utils-IFAYOQO2.js.map} +0 -0
- /package/bundle/{sha-tracker-BXOLWZJL.js.map → sha-tracker-ZWBP6CIJ.js.map} +0 -0
- /package/bundle/{skill-session-H6EQ4NGN.js.map → skill-session-AXBDQSLQ.js.map} +0 -0
- /package/bundle/{skill-stats-7O777ZSZ.js.map → skill-stats-JORH5DGM.js.map} +0 -0
- /package/bundle/{skill-watcher-ZGLTDPG5.js.map → skill-watcher-E4MGLKLS.js.map} +0 -0
- /package/bundle/{sleep-3LFZH727.js.map → sleep-SRCSXY6T.js.map} +0 -0
- /package/bundle/{soul-bundle-RQ2YQMJW.js.map → soul-bundle-VWAVHCZ6.js.map} +0 -0
- /package/bundle/{spin-76K4R6FK.js.map → spin-IMW2MZOH.js.map} +0 -0
- /package/bundle/{spin-notifications-LD46B4K5.js.map → spin-notifications-SE2HVZI7.js.map} +0 -0
- /package/bundle/{spin-types-MOKTZXGB.js.map → spin-types-BLPYAETA.js.map} +0 -0
- /package/bundle/{sse-parser-anthropic-NV2CGBIT.js.map → sse-parser-anthropic-A6R4Z2TB.js.map} +0 -0
- /package/bundle/{sse-parser-responses-FC3PFHQ5.js.map → sse-parser-responses-HSZY3QGJ.js.map} +0 -0
- /package/bundle/{ssrf-guard-E2YPLW6G.js.map → ssrf-guard-O6SHIK6Q.js.map} +0 -0
- /package/bundle/{start-HPO5LYJP.js.map → start-7QZIWO3S.js.map} +0 -0
- /package/bundle/{stt-UE7EOYD7.js.map → stt-LGVPXMVR.js.map} +0 -0
- /package/bundle/{subagent-runtime-4X3UHF4H.js.map → subagent-runtime-3UJB4HUB.js.map} +0 -0
- /package/bundle/{task-store-RAFMDQ7N.js.map → task-store-W5BFIAIH.js.map} +0 -0
- /package/bundle/{telegram-adapter-PPXKTGOP.js.map → telegram-adapter-7G773NII.js.map} +0 -0
- /package/bundle/{tool-registry-NKIPNJZ5.js.map → tool-registry-J6TE3I2T.js.map} +0 -0
- /package/bundle/{tool-sandbox-DQCP3UTU.js.map → tool-sandbox-4UC6GAKA.js.map} +0 -0
- /package/bundle/{transport-config-SF6GBV47.js.map → transport-config-KBF5W2DP.js.map} +0 -0
- /package/bundle/{update-QOOGMFSJ.js.map → update-424ZZQQ6.js.map} +0 -0
- /package/bundle/{update-check-LPZG3K5P.js.map → update-check-7UWKBJOP.js.map} +0 -0
- /package/bundle/{usage-tracker-TBDM4KE6.js.map → usage-tracker-NXD364VX.js.map} +0 -0
- /package/bundle/{user-registry-OYJVAHDD.js.map → user-registry-35BW4XKM.js.map} +0 -0
- /package/bundle/{ws-peer-client-G5QHOF6K.js.map → ws-peer-client-AIXCXF7V.js.map} +0 -0
|
@@ -5,34 +5,34 @@ import {
|
|
|
5
5
|
} from "./chunk-63A7ZRIH.js";
|
|
6
6
|
import {
|
|
7
7
|
transcribeAudio
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OKAQICWY.js";
|
|
9
9
|
import {
|
|
10
10
|
ModelNotFoundError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LUW62WGO.js";
|
|
12
12
|
import {
|
|
13
13
|
abmind
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UUIHL65U.js";
|
|
15
15
|
import {
|
|
16
16
|
fire,
|
|
17
17
|
hasHooks
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NRUSRJXR.js";
|
|
19
19
|
import {
|
|
20
20
|
sanitizeOutbound
|
|
21
21
|
} from "./chunk-YWZPKBO6.js";
|
|
22
22
|
import {
|
|
23
23
|
buildSoulBundle,
|
|
24
24
|
init_soul_bundle
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EFJVUJBE.js";
|
|
26
26
|
import {
|
|
27
27
|
init_user_registry,
|
|
28
28
|
loadUsers
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZV4IWKDJ.js";
|
|
30
30
|
import {
|
|
31
31
|
init_spin_types,
|
|
32
32
|
parseSessionType,
|
|
33
33
|
sessionType,
|
|
34
34
|
typeLabel
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Y76VUJSF.js";
|
|
36
36
|
import {
|
|
37
37
|
init_bridge_lock_transport,
|
|
38
38
|
readAndClearRestartReason,
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
updateBridgeLockField,
|
|
41
41
|
writeForceSleep,
|
|
42
42
|
writeSleepStatus
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GRVWZO4C.js";
|
|
44
44
|
import {
|
|
45
45
|
readEntries
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-PEDX56EL.js";
|
|
47
47
|
import {
|
|
48
48
|
init_local_time,
|
|
49
49
|
localTime
|
|
@@ -51,11 +51,11 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
getEnv,
|
|
53
53
|
init_env_schema
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-65VCEC32.js";
|
|
55
55
|
import {
|
|
56
56
|
init_log_and_swallow,
|
|
57
57
|
logAndSwallow
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YSKCQH6E.js";
|
|
59
59
|
import {
|
|
60
60
|
init_logger,
|
|
61
61
|
logDebug,
|
|
@@ -63,11 +63,11 @@ import {
|
|
|
63
63
|
logInfo,
|
|
64
64
|
logTrace,
|
|
65
65
|
logWarn
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GWILHZPT.js";
|
|
67
67
|
import {
|
|
68
68
|
abtarsHome,
|
|
69
69
|
init_paths
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-GALQBVKO.js";
|
|
71
71
|
import {
|
|
72
72
|
__commonJS,
|
|
73
73
|
__require,
|
|
@@ -822,7 +822,7 @@ var commandMiddleware = async (ctx, next) => {
|
|
|
822
822
|
updateCtxStart,
|
|
823
823
|
conversationBuffer
|
|
824
824
|
} = deps;
|
|
825
|
-
const { spin } = await import("./spin-
|
|
825
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
826
826
|
const registry = loadUsers();
|
|
827
827
|
const resolvedUserId = msg.userId;
|
|
828
828
|
const user = registry.byUserId.get(resolvedUserId);
|
|
@@ -916,7 +916,7 @@ var busyGuardMiddleware = async (ctx, next) => {
|
|
|
916
916
|
const { msg, adapter, deps } = ctx;
|
|
917
917
|
const userId = msg.userId;
|
|
918
918
|
const activeId = deps.sessionManager.getActiveSessionId(userId, msg.platform);
|
|
919
|
-
const { spin } = await import("./spin-
|
|
919
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
920
920
|
const entry = spin.getSessionById(activeId);
|
|
921
921
|
if (!entry) {
|
|
922
922
|
await next();
|
|
@@ -1048,7 +1048,7 @@ async function buildPrompt(msg, text, deps, registry) {
|
|
|
1048
1048
|
const userId = msg.userId;
|
|
1049
1049
|
const sessionKey = deps.sessionManager.getActiveSessionId(userId, msg.platform);
|
|
1050
1050
|
const bufKey = `${msg.platform}:${channelId}`;
|
|
1051
|
-
const { spin } = await import("./spin-
|
|
1051
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
1052
1052
|
const pSession = spin.getSessionById(sessionKey);
|
|
1053
1053
|
let prompt = `[${localTime()}] ${text}`;
|
|
1054
1054
|
let imageContent;
|
|
@@ -1396,7 +1396,7 @@ function setIdleCompactReset(fn) {
|
|
|
1396
1396
|
async function resetAndPrepare(opts) {
|
|
1397
1397
|
await opts.transport.resetSession(opts.sessionKey);
|
|
1398
1398
|
if (opts.conversationBuffer && opts.bufKey) opts.conversationBuffer.clear(opts.bufKey);
|
|
1399
|
-
const { spin } = await import("./spin-
|
|
1399
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
1400
1400
|
const pSession = spin.getSessionById(opts.sessionKey);
|
|
1401
1401
|
if (pSession) {
|
|
1402
1402
|
pSession.seen = false;
|
|
@@ -1426,8 +1426,8 @@ async function handleInboundMessage(msg, adapter, deps) {
|
|
|
1426
1426
|
return;
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
|
-
const { spin } = await import("./spin-
|
|
1430
|
-
const { sessionType: sessionType2 } = await import("./spin-types-
|
|
1429
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
1430
|
+
const { sessionType: sessionType2 } = await import("./spin-types-BLPYAETA.js");
|
|
1431
1431
|
const switchedSession = spin.getActiveSession(msg.userId, msg.platform);
|
|
1432
1432
|
const switchedToLive = switchedSession?.transport && sessionType2(switchedSession) !== "A" && switchedSession.status === "ready";
|
|
1433
1433
|
if (switchedToLive) {
|
|
@@ -1519,7 +1519,7 @@ ${prompt}`;
|
|
|
1519
1519
|
const sessionTransport = activeSession.transport ?? transport;
|
|
1520
1520
|
logDebug(TAG3, `Route: session=${activeSessionId} type=${sessionType2(activeSession)} transport=${activeSession.transport ? "session" : "main"}`);
|
|
1521
1521
|
if ("sandboxPolicy" in sessionTransport) {
|
|
1522
|
-
const { buildPolicy } = await import("./tool-sandbox-
|
|
1522
|
+
const { buildPolicy } = await import("./tool-sandbox-4UC6GAKA.js");
|
|
1523
1523
|
sessionTransport.sandboxPolicy = buildPolicy("owner");
|
|
1524
1524
|
}
|
|
1525
1525
|
if ("isPaused" in sessionTransport) {
|
|
@@ -1862,7 +1862,7 @@ function registerCommand(name, handler) {
|
|
|
1862
1862
|
registerExact(name, handler);
|
|
1863
1863
|
}
|
|
1864
1864
|
async function handleCommand(text, ctx) {
|
|
1865
|
-
const isMaster = !ctx.userId || ctx.userId === "master" || (await import("./user-registry-
|
|
1865
|
+
const isMaster = !ctx.userId || ctx.userId === "master" || (await import("./user-registry-35BW4XKM.js")).loadUsers().byUserId.get(ctx.userId)?.role === "master";
|
|
1866
1866
|
if (!isMaster) {
|
|
1867
1867
|
const cmd = text.split(/\s/)[0];
|
|
1868
1868
|
if (cmd.startsWith("/") && !NON_MASTER_COMMANDS.has(cmd)) {
|
|
@@ -1896,7 +1896,7 @@ Type /help for available commands.`);
|
|
|
1896
1896
|
return false;
|
|
1897
1897
|
}
|
|
1898
1898
|
async function triggerNewSession(ctx, reason = "new-session") {
|
|
1899
|
-
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-
|
|
1899
|
+
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-M3POLUIB.js");
|
|
1900
1900
|
if (hasHooks2("SessionEnd")) {
|
|
1901
1901
|
await fireHook("SessionEnd", { event: "SessionEnd", timestamp: (/* @__PURE__ */ new Date()).toISOString(), sessionKey: ctx.sessionKey, platform: ctx.platform, userId: ctx.userId, reason }).catch((err) => logAndSwallow(TAG4, "fireHook session", err));
|
|
1902
1902
|
}
|
|
@@ -1914,12 +1914,12 @@ async function triggerNewSession(ctx, reason = "new-session") {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
async function triggerResetSession(ctx) {
|
|
1917
|
-
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-
|
|
1917
|
+
const { hasHooks: hasHooks2, fire: fireHook } = await import("./hook-system-M3POLUIB.js");
|
|
1918
1918
|
if (hasHooks2("SessionEnd")) {
|
|
1919
1919
|
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(TAG4, "fireHook session", err));
|
|
1920
1920
|
}
|
|
1921
1921
|
await ctx.idleSave.save(ctx.sessionKey, ctx.chatId);
|
|
1922
|
-
const { clearTransportCache } = await import("./transport-config-
|
|
1922
|
+
const { clearTransportCache } = await import("./transport-config-KBF5W2DP.js");
|
|
1923
1923
|
clearTransportCache();
|
|
1924
1924
|
if (ctx.rebuildTransport) await ctx.rebuildTransport();
|
|
1925
1925
|
await resetAndPrepare({
|
|
@@ -1983,7 +1983,7 @@ var TAG5 = "cmd";
|
|
|
1983
1983
|
async function handleNewReset(text, ctx) {
|
|
1984
1984
|
const isResetDefault = text.trim().toLowerCase() === "/reset default";
|
|
1985
1985
|
if (isResetDefault) {
|
|
1986
|
-
const { resetToDefaults } = await import("./transport-config-
|
|
1986
|
+
const { resetToDefaults } = await import("./transport-config-KBF5W2DP.js");
|
|
1987
1987
|
resetToDefaults();
|
|
1988
1988
|
} else {
|
|
1989
1989
|
try {
|
|
@@ -2023,7 +2023,7 @@ async function handleEmergencyAlias(_text, ctx) {
|
|
|
2023
2023
|
return handleModels("/model emergency", ctx);
|
|
2024
2024
|
}
|
|
2025
2025
|
async function handleModels(text, ctx) {
|
|
2026
|
-
const { loadTransport, resolveAgent, getModelsForProvider, writeTransportConfig } = await import("./transport-config-
|
|
2026
|
+
const { loadTransport, resolveAgent, getModelsForProvider, writeTransportConfig } = await import("./transport-config-KBF5W2DP.js");
|
|
2027
2027
|
const tc = loadTransport();
|
|
2028
2028
|
const prof = tc ? resolveAgent("professor", tc) : null;
|
|
2029
2029
|
const currentModel = ("currentModel" in ctx.transport ? ctx.transport.currentModel : void 0) ?? prof?.model ?? "unknown";
|
|
@@ -2041,8 +2041,8 @@ async function handleModels(text, ctx) {
|
|
|
2041
2041
|
if (tc) {
|
|
2042
2042
|
const hmProvider = tc.hailMary ? tc.providers[tc.hailMary.provider] : void 0;
|
|
2043
2043
|
if (hmProvider) {
|
|
2044
|
-
const { validateProviderReady, formatValidationError } = await import("./transport-config-
|
|
2045
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2044
|
+
const { validateProviderReady, formatValidationError } = await import("./transport-config-KBF5W2DP.js");
|
|
2045
|
+
const { getEnv: getEnv2 } = await import("./env-schema-4JXQUOH4.js");
|
|
2046
2046
|
const result = validateProviderReady(tc.hailMary.provider, hmProvider, getEnv2());
|
|
2047
2047
|
if (!result.ok) {
|
|
2048
2048
|
await ctx.reply(formatValidationError(tc.hailMary.provider, result));
|
|
@@ -2055,7 +2055,7 @@ async function handleModels(text, ctx) {
|
|
|
2055
2055
|
return true;
|
|
2056
2056
|
}
|
|
2057
2057
|
if (arg === "restore") {
|
|
2058
|
-
const { restorePrevious } = await import("./transport-config-
|
|
2058
|
+
const { restorePrevious } = await import("./transport-config-KBF5W2DP.js");
|
|
2059
2059
|
const result = restorePrevious();
|
|
2060
2060
|
if (!result.ok) {
|
|
2061
2061
|
await ctx.reply(`\u274C ${result.error}`);
|
|
@@ -2067,7 +2067,7 @@ async function handleModels(text, ctx) {
|
|
|
2067
2067
|
return true;
|
|
2068
2068
|
}
|
|
2069
2069
|
if (arg === "default") {
|
|
2070
|
-
const { resetToDefaults } = await import("./transport-config-
|
|
2070
|
+
const { resetToDefaults } = await import("./transport-config-KBF5W2DP.js");
|
|
2071
2071
|
if (!resetToDefaults()) {
|
|
2072
2072
|
await ctx.reply("\u274C Factory config not found \u2014 run abtars install to restore.");
|
|
2073
2073
|
return true;
|
|
@@ -2093,7 +2093,7 @@ async function handleModels(text, ctx) {
|
|
|
2093
2093
|
return true;
|
|
2094
2094
|
}
|
|
2095
2095
|
const endpoint = prof.provider.endpoint ?? "http://localhost:11434/v1";
|
|
2096
|
-
const apiKey = prof.provider.apiKeyEnv ? (await import("./env-schema-
|
|
2096
|
+
const apiKey = prof.provider.apiKeyEnv ? (await import("./env-schema-4JXQUOH4.js")).getEnv().getApiKey(prof.provider.apiKeyEnv) : void 0;
|
|
2097
2097
|
const models = /* @__PURE__ */ new Set();
|
|
2098
2098
|
for (const [, agent] of Object.entries(tc.agents)) {
|
|
2099
2099
|
if (agent.provider === prof.providerName) models.add(agent.model);
|
|
@@ -2104,7 +2104,7 @@ async function handleModels(text, ctx) {
|
|
|
2104
2104
|
if (tc.hailMary?.provider === prof.providerName) models.add(tc.hailMary.model);
|
|
2105
2105
|
await ctx.reply(`\u{1FA7A} Checking ${models.size} models on ${prof.providerName}...`);
|
|
2106
2106
|
const results = [];
|
|
2107
|
-
const { loadModels } = await import("./transport-config-
|
|
2107
|
+
const { loadModels } = await import("./transport-config-KBF5W2DP.js");
|
|
2108
2108
|
const catalog = loadModels();
|
|
2109
2109
|
for (const model of models) {
|
|
2110
2110
|
try {
|
|
@@ -2142,7 +2142,7 @@ async function handleModels(text, ctx) {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
const { writeFileSync: writeFileSync2 } = await import("node:fs");
|
|
2144
2144
|
const { join: join4 } = await import("node:path");
|
|
2145
|
-
const { configDir } = await import("./transport-config-
|
|
2145
|
+
const { configDir } = await import("./transport-config-KBF5W2DP.js");
|
|
2146
2146
|
writeFileSync2(join4(configDir(), "models.json"), JSON.stringify(catalog, null, 2) + "\n");
|
|
2147
2147
|
await ctx.reply(`\u{1FA7A} Model Health:
|
|
2148
2148
|
${results.join("\n")}`);
|
|
@@ -2165,8 +2165,8 @@ ${results.join("\n")}`);
|
|
|
2165
2165
|
return true;
|
|
2166
2166
|
}
|
|
2167
2167
|
{
|
|
2168
|
-
const { validateProviderReady, formatValidationError } = await import("./transport-config-
|
|
2169
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2168
|
+
const { validateProviderReady, formatValidationError } = await import("./transport-config-KBF5W2DP.js");
|
|
2169
|
+
const { getEnv: getEnv2 } = await import("./env-schema-4JXQUOH4.js");
|
|
2170
2170
|
const result = validateProviderReady(prof.providerName, prof.provider, getEnv2());
|
|
2171
2171
|
if (!result.ok) {
|
|
2172
2172
|
await ctx.reply(formatValidationError(prof.providerName, result));
|
|
@@ -2174,7 +2174,7 @@ ${results.join("\n")}`);
|
|
|
2174
2174
|
}
|
|
2175
2175
|
}
|
|
2176
2176
|
tc.agents["professor"].model = newModel;
|
|
2177
|
-
const { cleanDemotedModels } = await import("./transport-config-
|
|
2177
|
+
const { cleanDemotedModels } = await import("./transport-config-KBF5W2DP.js");
|
|
2178
2178
|
cleanDemotedModels(tc, newModel);
|
|
2179
2179
|
writeTransportConfig(tc, `professor model \u2192 ${newModel}`);
|
|
2180
2180
|
if ("setModel" in ctx.transport) {
|
|
@@ -2185,7 +2185,7 @@ ${results.join("\n")}`);
|
|
|
2185
2185
|
}
|
|
2186
2186
|
if (arg === "list" || arg.startsWith("list ")) {
|
|
2187
2187
|
const providerArg = arg.slice(5).trim();
|
|
2188
|
-
const { getAvailableProviders, getModelsForProvider: getModels } = await import("./transport-config-
|
|
2188
|
+
const { getAvailableProviders, getModelsForProvider: getModels } = await import("./transport-config-KBF5W2DP.js");
|
|
2189
2189
|
if (!tc) {
|
|
2190
2190
|
await ctx.reply("\u274C transport.json not loaded");
|
|
2191
2191
|
return true;
|
|
@@ -2243,8 +2243,8 @@ Use /model quick <name> to switch.`);
|
|
|
2243
2243
|
await ctx.reply(`\u274C Provider "${providerName}" not found. Available: ${Object.keys(tc.providers).join(", ")}`);
|
|
2244
2244
|
return true;
|
|
2245
2245
|
}
|
|
2246
|
-
const { validateProviderReady, formatValidationError, loadProviderDefaults } = await import("./transport-config-
|
|
2247
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2246
|
+
const { validateProviderReady, formatValidationError, loadProviderDefaults } = await import("./transport-config-KBF5W2DP.js");
|
|
2247
|
+
const { getEnv: getEnv2 } = await import("./env-schema-4JXQUOH4.js");
|
|
2248
2248
|
const validation = validateProviderReady(providerName, provider2, getEnv2());
|
|
2249
2249
|
if (!validation.ok) {
|
|
2250
2250
|
await ctx.reply(formatValidationError(providerName, validation));
|
|
@@ -2342,7 +2342,7 @@ async function handleDoctor(_text, ctx) {
|
|
|
2342
2342
|
const arg = _text.replace(/^\/(doctor|health)\s*/i, "").trim().toLowerCase();
|
|
2343
2343
|
if (arg === "fix" || arg === "fix-full") {
|
|
2344
2344
|
try {
|
|
2345
|
-
const { runFixes, runAllProbes: runAllProbes2, renderHuman: renderHuman2 } = await import("./doctor-probes-
|
|
2345
|
+
const { runFixes, runAllProbes: runAllProbes2, renderHuman: renderHuman2 } = await import("./doctor-probes-VDWFJKUB.js");
|
|
2346
2346
|
const fixes = await runFixes();
|
|
2347
2347
|
const fixLines = fixes.map((f) => ` ${f.success ? "+" : "x"} ${f.action}`).join("\n");
|
|
2348
2348
|
const output2 = await runAllProbes2();
|
|
@@ -2356,14 +2356,14 @@ ${renderHuman2(output2)}`);
|
|
|
2356
2356
|
return true;
|
|
2357
2357
|
}
|
|
2358
2358
|
await ctx.reply("\u{1FA7A} Running diagnostics...");
|
|
2359
|
-
const { runAllProbes, renderHuman } = await import("./doctor-probes-
|
|
2359
|
+
const { runAllProbes, renderHuman } = await import("./doctor-probes-VDWFJKUB.js");
|
|
2360
2360
|
const output = await runAllProbes();
|
|
2361
2361
|
await ctx.reply(renderHuman(output));
|
|
2362
2362
|
return true;
|
|
2363
2363
|
}
|
|
2364
2364
|
async function handleStatus(_text, ctx) {
|
|
2365
2365
|
if (ctx.phaseHealth && ctx.registry) {
|
|
2366
|
-
const { getSystemStatus, renderStatusText } = await import("./system-status-
|
|
2366
|
+
const { getSystemStatus, renderStatusText } = await import("./system-status-ATGKRRQI.js");
|
|
2367
2367
|
const status = await getSystemStatus({
|
|
2368
2368
|
phaseHealth: ctx.phaseHealth,
|
|
2369
2369
|
registry: ctx.registry,
|
|
@@ -2374,7 +2374,7 @@ async function handleStatus(_text, ctx) {
|
|
|
2374
2374
|
});
|
|
2375
2375
|
let text = renderStatusText(status);
|
|
2376
2376
|
if (_text.trim().toLowerCase() === "full") {
|
|
2377
|
-
const { envDump } = await import("./env-schema-
|
|
2377
|
+
const { envDump } = await import("./env-schema-4JXQUOH4.js");
|
|
2378
2378
|
const dump = envDump();
|
|
2379
2379
|
const envLines = Object.entries(dump).slice(0, 30).map(([k, v]) => ` ${k}: ${v}`);
|
|
2380
2380
|
text += "\n\n\u{1F4CB} Config (top 30):\n" + envLines.join("\n");
|
|
@@ -2396,7 +2396,7 @@ async function handleWait(text, ctx) {
|
|
|
2396
2396
|
}
|
|
2397
2397
|
async function handleStop(_text, ctx) {
|
|
2398
2398
|
await ctx.transport.sendInterrupt();
|
|
2399
|
-
const { spin } = await import("./spin-
|
|
2399
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
2400
2400
|
const s = spin.getSessionById(ctx.sessionKey);
|
|
2401
2401
|
if (s) s.busy = false;
|
|
2402
2402
|
await ctx.reply("\u{1F6D1} Ctrl+C sent.");
|
|
@@ -2419,7 +2419,7 @@ async function handleRestart(_text, ctx) {
|
|
|
2419
2419
|
return true;
|
|
2420
2420
|
}
|
|
2421
2421
|
async function handleHeartbeat(_text, ctx) {
|
|
2422
|
-
const { getHeartbeatInstance } = await import("./heartbeat-system-
|
|
2422
|
+
const { getHeartbeatInstance } = await import("./heartbeat-system-TDDIOVTC.js");
|
|
2423
2423
|
const hb = getHeartbeatInstance();
|
|
2424
2424
|
if (!hb) {
|
|
2425
2425
|
await ctx.reply("\u{1F493} Heartbeat not available.");
|
|
@@ -2465,13 +2465,13 @@ async function handleHealing(text, ctx) {
|
|
|
2465
2465
|
return true;
|
|
2466
2466
|
}
|
|
2467
2467
|
if (cmd === "reset") {
|
|
2468
|
-
const { resetAutofixState } = await import("./sha-tracker-
|
|
2468
|
+
const { resetAutofixState } = await import("./sha-tracker-ZWBP6CIJ.js");
|
|
2469
2469
|
resetAutofixState();
|
|
2470
2470
|
await ctx.reply("\u{1FA7A} Autofix state reset \u2014 all suppressed faults re-enabled.");
|
|
2471
2471
|
return true;
|
|
2472
2472
|
}
|
|
2473
2473
|
if (cmd === "list") {
|
|
2474
|
-
const { loadFixes } = await import("./sha-tracker-
|
|
2474
|
+
const { loadFixes } = await import("./sha-tracker-ZWBP6CIJ.js");
|
|
2475
2475
|
const { readFileSync: readFileSync3 } = await import("node:fs");
|
|
2476
2476
|
const { join: join4 } = await import("node:path");
|
|
2477
2477
|
const fixes = loadFixes();
|
|
@@ -2501,7 +2501,7 @@ ${lines.join("\n")}`);
|
|
|
2501
2501
|
await ctx.reply("Usage: /healing approve <pattern>");
|
|
2502
2502
|
return true;
|
|
2503
2503
|
}
|
|
2504
|
-
const { approveFix } = await import("./sha-tracker-
|
|
2504
|
+
const { approveFix } = await import("./sha-tracker-ZWBP6CIJ.js");
|
|
2505
2505
|
const ok = approveFix(pattern);
|
|
2506
2506
|
await ctx.reply(ok ? `\u2713 Approved: "${pattern}"` : `\u274C Pattern not found in self-rules.`);
|
|
2507
2507
|
return true;
|
|
@@ -2512,7 +2512,7 @@ ${lines.join("\n")}`);
|
|
|
2512
2512
|
await ctx.reply("Usage: /healing disable <pattern>");
|
|
2513
2513
|
return true;
|
|
2514
2514
|
}
|
|
2515
|
-
const { disableFix } = await import("./sha-tracker-
|
|
2515
|
+
const { disableFix } = await import("./sha-tracker-ZWBP6CIJ.js");
|
|
2516
2516
|
const ok = disableFix(pattern);
|
|
2517
2517
|
await ctx.reply(ok ? `\u2713 Disabled: "${pattern}"` : `\u274C Pattern not found in self-rules.`);
|
|
2518
2518
|
return true;
|
|
@@ -2527,7 +2527,7 @@ async function handleFull(_text, ctx) {
|
|
|
2527
2527
|
await ctx.reply("\u{1F4FA} Full mode is only available on Telegram.");
|
|
2528
2528
|
return true;
|
|
2529
2529
|
}
|
|
2530
|
-
const { spin } = await import("./spin-
|
|
2530
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
2531
2531
|
const s = spin.getSessionById(ctx.sessionKey);
|
|
2532
2532
|
if (s) s.fullMode = true;
|
|
2533
2533
|
await ctx.reply("\u{1F4FA} Full mode \u2014 sending raw output, TTS disabled.");
|
|
@@ -2538,7 +2538,7 @@ async function handleShort(_text, ctx) {
|
|
|
2538
2538
|
await ctx.reply("\u2702\uFE0F Short mode is only available on Telegram.");
|
|
2539
2539
|
return true;
|
|
2540
2540
|
}
|
|
2541
|
-
const { spin } = await import("./spin-
|
|
2541
|
+
const { spin } = await import("./spin-IMW2MZOH.js");
|
|
2542
2542
|
const s = spin.getSessionById(ctx.sessionKey);
|
|
2543
2543
|
if (s) s.fullMode = false;
|
|
2544
2544
|
await ctx.reply("\u2702\uFE0F Short mode \u2014 clean responses, TTS enabled.");
|
|
@@ -2564,7 +2564,7 @@ async function buildStatusLines(ctx) {
|
|
|
2564
2564
|
if ("currentModel" in ctx.transport) {
|
|
2565
2565
|
model = ctx.transport.currentModel;
|
|
2566
2566
|
} else {
|
|
2567
|
-
const { loadTransport, resolveAgent } = await import("./transport-config-
|
|
2567
|
+
const { loadTransport, resolveAgent } = await import("./transport-config-KBF5W2DP.js");
|
|
2568
2568
|
const tc2 = loadTransport();
|
|
2569
2569
|
const prof2 = tc2 ? resolveAgent("professor", tc2) : null;
|
|
2570
2570
|
model = prof2?.model ?? "unknown";
|
|
@@ -2572,9 +2572,9 @@ async function buildStatusLines(ctx) {
|
|
|
2572
2572
|
const transportStatus = ctx.transport.isReady ? "\u2713 Connected" : "\u274C Disconnected";
|
|
2573
2573
|
const uptime = formatUptime(Date.now() - ctx.startedAt);
|
|
2574
2574
|
const ctxPct = ctx.transport.contextPercent >= 0 ? `${ctx.transport.contextPercent}%` : "n/a";
|
|
2575
|
-
const { getHeartbeatInstance } = await import("./heartbeat-system-
|
|
2575
|
+
const { getHeartbeatInstance } = await import("./heartbeat-system-TDDIOVTC.js");
|
|
2576
2576
|
const hb = getHeartbeatInstance();
|
|
2577
|
-
const { loadTransport: lt, resolveAgent: ra } = await import("./transport-config-
|
|
2577
|
+
const { loadTransport: lt, resolveAgent: ra } = await import("./transport-config-KBF5W2DP.js");
|
|
2578
2578
|
const tc = lt();
|
|
2579
2579
|
const prof = tc ? ra("professor", tc) : null;
|
|
2580
2580
|
const provider = prof?.providerName ?? "unknown";
|
|
@@ -2598,10 +2598,15 @@ async function buildStatusLines(ctx) {
|
|
|
2598
2598
|
lines.push(`\u{1F50C} Capabilities: ${ctx.loadedCapabilities.join(", ")}`);
|
|
2599
2599
|
}
|
|
2600
2600
|
try {
|
|
2601
|
-
const { readdirSync: readdirSync3 } = await import("node:fs");
|
|
2602
|
-
const
|
|
2603
|
-
const
|
|
2604
|
-
|
|
2601
|
+
const { readdirSync: readdirSync3, existsSync } = await import("node:fs");
|
|
2602
|
+
const { abmindHome } = await import("./paths-X4LRYUI6.js");
|
|
2603
|
+
const sleepDir = join2(abmindHome(), "memory", "sleep");
|
|
2604
|
+
if (!existsSync(sleepDir)) {
|
|
2605
|
+
lines.push("\u{1F634} Last sleep: (never)");
|
|
2606
|
+
} else {
|
|
2607
|
+
const files = readdirSync3(sleepDir).filter((f) => f.startsWith("sleep_")).sort();
|
|
2608
|
+
lines.push(`\u{1F634} Last sleep: ${files.length > 0 ? files[files.length - 1] : "(never)"}`);
|
|
2609
|
+
}
|
|
2605
2610
|
} catch {
|
|
2606
2611
|
lines.push("\u{1F634} Last sleep: (unknown)");
|
|
2607
2612
|
}
|
|
@@ -2642,8 +2647,8 @@ function formatUptime(ms) {
|
|
|
2642
2647
|
return h > 0 ? `${h}h ${m}m` : `${m}m`;
|
|
2643
2648
|
}
|
|
2644
2649
|
async function handleUsage(_text, ctx) {
|
|
2645
|
-
const { readUsage, resetUsage } = await import("./usage-tracker-
|
|
2646
|
-
const { loadModels } = await import("./transport-config-
|
|
2650
|
+
const { readUsage, resetUsage } = await import("./usage-tracker-NXD364VX.js");
|
|
2651
|
+
const { loadModels } = await import("./transport-config-KBF5W2DP.js");
|
|
2647
2652
|
const arg = _text.replace("/usage", "").trim();
|
|
2648
2653
|
if (arg === "reset") {
|
|
2649
2654
|
resetUsage();
|
|
@@ -2694,13 +2699,13 @@ async function handleUsage(_text, ctx) {
|
|
|
2694
2699
|
`;
|
|
2695
2700
|
}
|
|
2696
2701
|
}
|
|
2697
|
-
const { fetchOpenRouterCredits } = await import("./openrouter-credits-
|
|
2702
|
+
const { fetchOpenRouterCredits } = await import("./openrouter-credits-NTVZDRYM.js");
|
|
2698
2703
|
const credits = await fetchOpenRouterCredits();
|
|
2699
2704
|
if (credits) {
|
|
2700
2705
|
msg += `
|
|
2701
2706
|
\u{1F4B3} OpenRouter: $${credits.remaining.toFixed(2)} remaining ($${credits.purchased.toFixed(2)} purchased, $${credits.used.toFixed(2)} used)`;
|
|
2702
2707
|
}
|
|
2703
|
-
const { getBudgetStatus } = await import("./budget-
|
|
2708
|
+
const { getBudgetStatus } = await import("./budget-45QOBDWA.js");
|
|
2704
2709
|
const budgetItems = getBudgetStatus();
|
|
2705
2710
|
if (budgetItems.length > 0) {
|
|
2706
2711
|
msg += `
|
|
@@ -2717,7 +2722,7 @@ async function handleUsage(_text, ctx) {
|
|
|
2717
2722
|
return true;
|
|
2718
2723
|
}
|
|
2719
2724
|
async function handleOpenRouter(_text, ctx) {
|
|
2720
|
-
const { fetchOpenRouterCredits } = await import("./openrouter-credits-
|
|
2725
|
+
const { fetchOpenRouterCredits } = await import("./openrouter-credits-NTVZDRYM.js");
|
|
2721
2726
|
const credits = await fetchOpenRouterCredits();
|
|
2722
2727
|
if (!credits) {
|
|
2723
2728
|
await ctx.reply("\u274C OpenRouter API key not set or request failed.");
|
|
@@ -2733,7 +2738,7 @@ Remaining: $${credits.remaining.toFixed(2)}`
|
|
|
2733
2738
|
return true;
|
|
2734
2739
|
}
|
|
2735
2740
|
async function handleWhoami(_text, ctx) {
|
|
2736
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
2741
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-35BW4XKM.js");
|
|
2737
2742
|
const reg = loadUsers2();
|
|
2738
2743
|
const CLASS_NAMES = ["UNCLASSIFIED", "RESTRICTED", "CONFIDENTIAL", "SECRET"];
|
|
2739
2744
|
const user = ctx.userId ? reg.byUserId.get(ctx.userId) : void 0;
|
|
@@ -2750,10 +2755,10 @@ chatId: ${ctx.chatId}`);
|
|
|
2750
2755
|
}
|
|
2751
2756
|
async function handleSoftware(_text, ctx) {
|
|
2752
2757
|
const { existsSync } = await import("node:fs");
|
|
2753
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
2758
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-X4LRYUI6.js");
|
|
2754
2759
|
const home = abtarsHome2();
|
|
2755
2760
|
const arg = _text.replace(/^\/(software|update)\s*/i, "").trim();
|
|
2756
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
2761
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-35BW4XKM.js");
|
|
2757
2762
|
const user = loadUsers2().byUserId.get(ctx.userId);
|
|
2758
2763
|
const isMaster = user?.role === "master";
|
|
2759
2764
|
if (arg.startsWith("rollback")) {
|
|
@@ -2773,7 +2778,7 @@ async function handleSoftware(_text, ctx) {
|
|
|
2773
2778
|
}
|
|
2774
2779
|
await ctx.reply(`\u26A0\uFE0F Rolling back to slot ${asSlot}...`);
|
|
2775
2780
|
try {
|
|
2776
|
-
const { rollback } = await import("./rollback-
|
|
2781
|
+
const { rollback } = await import("./rollback-ANRI3T5Z.js");
|
|
2777
2782
|
const code = await rollback({ to: asSlot });
|
|
2778
2783
|
if (code !== 0) {
|
|
2779
2784
|
await ctx.reply(`\u274C Rollback failed (exit ${code}).`);
|
|
@@ -2916,7 +2921,7 @@ ${stderr.slice(-300)}`).catch(() => {
|
|
|
2916
2921
|
}
|
|
2917
2922
|
const lines = ["\u{1F527} Software"];
|
|
2918
2923
|
try {
|
|
2919
|
-
const { getDeployedVersion } = await import("./paths-
|
|
2924
|
+
const { getDeployedVersion } = await import("./paths-X4LRYUI6.js");
|
|
2920
2925
|
const ver = getDeployedVersion();
|
|
2921
2926
|
const manifest = existsSync(join2(home, "manifest.json")) ? JSON.parse(readFileSync(join2(home, "manifest.json"), "utf-8")) : null;
|
|
2922
2927
|
const deployed = manifest?.activatedAt ? new Date(manifest.activatedAt).toLocaleString() : "unknown";
|
|
@@ -2933,12 +2938,12 @@ ${stderr.slice(-300)}`).catch(() => {
|
|
|
2933
2938
|
lines.push(" abtars: unknown");
|
|
2934
2939
|
}
|
|
2935
2940
|
lines.push("");
|
|
2936
|
-
const { getEnv: getEnv2 } = await import("./env-schema-
|
|
2941
|
+
const { getEnv: getEnv2 } = await import("./env-schema-4JXQUOH4.js");
|
|
2937
2942
|
const memoryProvider = getEnv2().memory;
|
|
2938
2943
|
if (memoryProvider === "abmind" || memoryProvider === "auto") {
|
|
2939
2944
|
const abmindBundlePkg = join2(home, "app", "bundle", "node_modules", "abmind", "package.json");
|
|
2940
2945
|
const abmindAppPkg = join2(home, "app", "node_modules", "abmind", "package.json");
|
|
2941
|
-
const { abmindHome: resolveAbmind } = await import("./paths-
|
|
2946
|
+
const { abmindHome: resolveAbmind } = await import("./paths-X4LRYUI6.js");
|
|
2942
2947
|
const abmHome = resolveAbmind();
|
|
2943
2948
|
const abmindManifest = join2(abmHome, "manifest.json");
|
|
2944
2949
|
const abmindPkgPath = existsSync(abmindBundlePkg) ? abmindBundlePkg : existsSync(abmindAppPkg) ? abmindAppPkg : null;
|
|
@@ -3396,7 +3401,7 @@ async function handleTasksList(_text, ctx) {
|
|
|
3396
3401
|
const now = (/* @__PURE__ */ new Date()).toLocaleString("en-GB", { timeZone: tz, dateStyle: "medium", timeStyle: "medium" });
|
|
3397
3402
|
let listing;
|
|
3398
3403
|
try {
|
|
3399
|
-
const { readEntries: readEntries2 } = await import("./task-store-
|
|
3404
|
+
const { readEntries: readEntries2 } = await import("./task-store-W5BFIAIH.js");
|
|
3400
3405
|
const entries = readEntries2();
|
|
3401
3406
|
const active = entries.filter((e) => !e.fired);
|
|
3402
3407
|
active.sort((a, b) => {
|
|
@@ -3461,7 +3466,7 @@ async function handleTasksTrigger(text, ctx) {
|
|
|
3461
3466
|
return true;
|
|
3462
3467
|
}
|
|
3463
3468
|
let id = raw;
|
|
3464
|
-
const { readEntry, readEntries: readEntries2 } = await import("./task-store-
|
|
3469
|
+
const { readEntry, readEntries: readEntries2 } = await import("./task-store-W5BFIAIH.js");
|
|
3465
3470
|
if (!readEntry(id)) {
|
|
3466
3471
|
const normalized = raw.toLowerCase().replace(/\s+/g, "-");
|
|
3467
3472
|
if (readEntry(normalized)) {
|
|
@@ -3534,7 +3539,7 @@ async function handleTaskPause(text, ctx) {
|
|
|
3534
3539
|
}
|
|
3535
3540
|
async function handleKanban(text, ctx) {
|
|
3536
3541
|
try {
|
|
3537
|
-
const { kanbanList } = await import("./kanban-board-
|
|
3542
|
+
const { kanbanList } = await import("./kanban-board-M326B2XJ.js");
|
|
3538
3543
|
const arg = text.replace(/^\/kanban\s*/, "").trim();
|
|
3539
3544
|
const ALLOWED_FILTERS = /* @__PURE__ */ new Set(["status", "source", "priority", "labels", "type"]);
|
|
3540
3545
|
let filterVal;
|
|
@@ -3584,9 +3589,9 @@ async function handleKanban(text, ctx) {
|
|
|
3584
3589
|
}
|
|
3585
3590
|
async function handleChannel(text, ctx) {
|
|
3586
3591
|
const args = text.replace(/^\/channel\s*/i, "").trim();
|
|
3587
|
-
const { channelRead, channelPost } = await import("./kanban-channel-
|
|
3592
|
+
const { channelRead, channelPost } = await import("./kanban-channel-IJ52OMNA.js");
|
|
3588
3593
|
if (!args) {
|
|
3589
|
-
const { kanbanList } = await import("./kanban-board-
|
|
3594
|
+
const { kanbanList } = await import("./kanban-board-M326B2XJ.js");
|
|
3590
3595
|
const active = kanbanList("running");
|
|
3591
3596
|
if (active.length === 0) {
|
|
3592
3597
|
await ctx.reply("No active channels.");
|
|
@@ -3632,7 +3637,7 @@ ${lines.join("\n")}`);
|
|
|
3632
3637
|
async function handleTodo(_text, ctx) {
|
|
3633
3638
|
const { existsSync, readFileSync: readFileSync3 } = await import("node:fs");
|
|
3634
3639
|
const { join: join4 } = await import("node:path");
|
|
3635
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
3640
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-X4LRYUI6.js");
|
|
3636
3641
|
const todoPath = join4(abtarsHome2(), "workspace", "todo", "todo.md");
|
|
3637
3642
|
if (!existsSync(todoPath)) {
|
|
3638
3643
|
await ctx.reply("Todo list is empty.");
|
|
@@ -3651,14 +3656,14 @@ async function handleTodo(_text, ctx) {
|
|
|
3651
3656
|
init_log_and_swallow();
|
|
3652
3657
|
var TAG10 = "cmd_admin";
|
|
3653
3658
|
async function handleUsers(text, ctx) {
|
|
3654
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
3659
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-35BW4XKM.js");
|
|
3655
3660
|
const parts = text.trim().split(/\s+/);
|
|
3656
3661
|
const sub = parts[1];
|
|
3657
3662
|
if (sub === "approve" && parts[2]) {
|
|
3658
3663
|
const platformId = parts[2];
|
|
3659
3664
|
const { writeFileSync: writeFileSync2, readFileSync: readFileSync3 } = await import("node:fs");
|
|
3660
3665
|
const { join: join4 } = await import("node:path");
|
|
3661
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
3666
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-X4LRYUI6.js");
|
|
3662
3667
|
const configPath = join4(abtarsHome2(), "config", "users.json");
|
|
3663
3668
|
try {
|
|
3664
3669
|
const raw = JSON.parse(readFileSync3(configPath, "utf-8"));
|
|
@@ -3680,7 +3685,7 @@ async function handleUsers(text, ctx) {
|
|
|
3680
3685
|
const targetUserId = parts[2];
|
|
3681
3686
|
const { writeFileSync: writeFileSync2, readFileSync: readFileSync3 } = await import("node:fs");
|
|
3682
3687
|
const { join: join4 } = await import("node:path");
|
|
3683
|
-
const { abtarsHome: abtarsHome2 } = await import("./paths-
|
|
3688
|
+
const { abtarsHome: abtarsHome2 } = await import("./paths-X4LRYUI6.js");
|
|
3684
3689
|
const configPath = join4(abtarsHome2(), "config", "users.json");
|
|
3685
3690
|
try {
|
|
3686
3691
|
const raw = JSON.parse(readFileSync3(configPath, "utf-8"));
|
|
@@ -3712,19 +3717,19 @@ async function handleSkills(text, ctx) {
|
|
|
3712
3717
|
await ctx.reply("Usage: /skill run <name>");
|
|
3713
3718
|
return true;
|
|
3714
3719
|
}
|
|
3715
|
-
const { launchSkill } = await import("./skill-session-
|
|
3720
|
+
const { launchSkill } = await import("./skill-session-AXBDQSLQ.js");
|
|
3716
3721
|
const err = await launchSkill(skillName, ctx.userId, String(ctx.chatId));
|
|
3717
3722
|
await ctx.reply(err ?? `* Skill "${skillName}" started.`);
|
|
3718
3723
|
return true;
|
|
3719
3724
|
}
|
|
3720
3725
|
if (args === "stop") {
|
|
3721
|
-
const { endSkillSession } = await import("./skill-session-
|
|
3726
|
+
const { endSkillSession } = await import("./skill-session-AXBDQSLQ.js");
|
|
3722
3727
|
const ended = await endSkillSession(String(ctx.chatId));
|
|
3723
3728
|
await ctx.reply(ended ? "* Skill session ended." : "No active skill session.");
|
|
3724
3729
|
return true;
|
|
3725
3730
|
}
|
|
3726
3731
|
if (args === "list") {
|
|
3727
|
-
const { listRunnableSkills } = await import("./skill-session-
|
|
3732
|
+
const { listRunnableSkills } = await import("./skill-session-AXBDQSLQ.js");
|
|
3728
3733
|
const skills2 = listRunnableSkills();
|
|
3729
3734
|
if (skills2.length === 0) {
|
|
3730
3735
|
await ctx.reply("No runnable skills (no skill.json found).");
|
|
@@ -3738,12 +3743,12 @@ Use: /skill run <name>`);
|
|
|
3738
3743
|
return true;
|
|
3739
3744
|
}
|
|
3740
3745
|
if (text.includes("reload")) {
|
|
3741
|
-
const { reloadCatalog } = await import("./hotskills-
|
|
3746
|
+
const { reloadCatalog } = await import("./hotskills-FWX4QI7V.js");
|
|
3742
3747
|
const count = reloadCatalog();
|
|
3743
3748
|
await ctx.reply(`Reloaded \u2014 ${count} skills available.`);
|
|
3744
3749
|
return true;
|
|
3745
3750
|
}
|
|
3746
|
-
const { getSkillCache } = await import("./hotskills-
|
|
3751
|
+
const { getSkillCache } = await import("./hotskills-FWX4QI7V.js");
|
|
3747
3752
|
const skills = getSkillCache();
|
|
3748
3753
|
if (skills.length === 0) {
|
|
3749
3754
|
await ctx.reply("\u{1F4DA} No skills loaded.");
|
|
@@ -3770,7 +3775,7 @@ ${sections.join("\n\n")}`);
|
|
|
3770
3775
|
return true;
|
|
3771
3776
|
}
|
|
3772
3777
|
async function handleHooks(_text, ctx) {
|
|
3773
|
-
const { getHookSummary } = await import("./hook-system-
|
|
3778
|
+
const { getHookSummary } = await import("./hook-system-M3POLUIB.js");
|
|
3774
3779
|
const summary = getHookSummary();
|
|
3775
3780
|
const lines = ["\u{1FA9D} Hooks:"];
|
|
3776
3781
|
for (const { event, hooks } of summary) {
|
|
@@ -3786,7 +3791,7 @@ async function handleHooks(_text, ctx) {
|
|
|
3786
3791
|
async function handleMcp(_text, ctx) {
|
|
3787
3792
|
const arg = _text.replace(/^\/mcp\s*/i, "").trim().toLowerCase();
|
|
3788
3793
|
if (arg === "start") {
|
|
3789
|
-
const { loadUsers: loadUsers2 } = await import("./user-registry-
|
|
3794
|
+
const { loadUsers: loadUsers2 } = await import("./user-registry-35BW4XKM.js");
|
|
3790
3795
|
const registry = loadUsers2();
|
|
3791
3796
|
const user = registry.byUserId.get(ctx.userId);
|
|
3792
3797
|
if (user?.role !== "master") {
|
|
@@ -3894,7 +3899,7 @@ ${cmds.join("\n")}`);
|
|
|
3894
3899
|
return true;
|
|
3895
3900
|
}
|
|
3896
3901
|
async function handlePeers(_text, ctx) {
|
|
3897
|
-
const { getPeerTable } = await import("./gossip-
|
|
3902
|
+
const { getPeerTable } = await import("./gossip-3C3BSNPN.js");
|
|
3898
3903
|
const peers = getPeerTable(true);
|
|
3899
3904
|
if (peers.length === 0) {
|
|
3900
3905
|
await ctx.reply("No peers configured or gossip not started.");
|
|
@@ -3923,7 +3928,7 @@ var TAG11 = "cmd:session";
|
|
|
3923
3928
|
async function handleSession(text, ctx) {
|
|
3924
3929
|
const args = text.replace(/^\/session\s*/i, "").trim();
|
|
3925
3930
|
if (!args) {
|
|
3926
|
-
const { getMasterUserId } = await import("./master-user-
|
|
3931
|
+
const { getMasterUserId } = await import("./master-user-HSKM4ZFN.js");
|
|
3927
3932
|
const isMaster = ctx.userId === getMasterUserId();
|
|
3928
3933
|
await ctx.reply(ctx.sessionManager.formatList(ctx.userId, ctx.platform, isMaster));
|
|
3929
3934
|
return true;
|
|
@@ -4106,4 +4111,4 @@ export {
|
|
|
4106
4111
|
resetAndPrepare,
|
|
4107
4112
|
handleInboundMessage
|
|
4108
4113
|
};
|
|
4109
|
-
//# sourceMappingURL=chunk-
|
|
4114
|
+
//# sourceMappingURL=chunk-BFDBGESM.js.map
|