abtars 0.3.3 → 0.3.4-alpha.1
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-7DRCE4V6.js → _registry.generated-ZJBAZMXN.js} +16 -15
- package/bundle/{_registry.generated-7DRCE4V6.js.map → _registry.generated-ZJBAZMXN.js.map} +1 -1
- package/bundle/abtars-browser.js +6 -5
- package/bundle/abtars-browser.js.map +1 -1
- package/bundle/abtars-cli.js +47 -39
- package/bundle/abtars-cli.js.map +2 -2
- package/bundle/abtars-restart.js +7 -7
- package/bundle/abtars-rss.js +2 -1
- package/bundle/abtars-rss.js.map +2 -2
- package/bundle/abtars-task.js +6 -5
- package/bundle/abtars-task.js.map +1 -1
- package/bundle/abtars-todo.js +2 -1
- package/bundle/abtars-todo.js.map +1 -1
- package/bundle/abtars.js +299 -209
- package/bundle/abtars.js.map +4 -4
- package/bundle/{acp-raw-client-AZJCEB6S.js → acp-raw-client-YTBGFN4S.js} +4 -3
- package/bundle/{acp-raw-client-AZJCEB6S.js.map → acp-raw-client-YTBGFN4S.js.map} +1 -1
- package/bundle/{action-gate-QYJL57IX.js → action-gate-YISTP773.js} +4 -3
- package/bundle/{action-gate-QYJL57IX.js.map → action-gate-YISTP773.js.map} +1 -1
- package/bundle/{agent-api-adapter-PYMNQXHE.js → agent-api-adapter-E4HWVJ32.js} +5 -4
- package/bundle/{agent-api-adapter-PYMNQXHE.js.map → agent-api-adapter-E4HWVJ32.js.map} +1 -1
- package/bundle/{agent-api-rate-limit-4GEZ4YN5.js → agent-api-rate-limit-VENFGOAD.js} +6 -5
- package/bundle/{agent-registry-563P4EUJ.js → agent-registry-DL7UT272.js} +9 -8
- package/bundle/bootstrap-V5MROD3X.js +62 -0
- package/bundle/bootstrap-V5MROD3X.js.map +7 -0
- package/bundle/{bridge-lock-transport-LXCF2IVN.js → bridge-lock-transport-BJAMHMXW.js} +6 -5
- package/bundle/{browser-2VZOGOGX.js → browser-PT54UWSW.js} +8 -7
- package/bundle/{budget-PPA7WY3D.js → budget-QNK6IIT6.js} +5 -4
- package/bundle/{budget-PPA7WY3D.js.map → budget-QNK6IIT6.js.map} +1 -1
- package/bundle/{capability-WXEA2WFK.js → capability-EKPGHQIO.js} +7 -6
- package/bundle/{chunk-C3EYYJN3.js → chunk-2BXXQG7P.js} +16 -4
- package/bundle/chunk-2BXXQG7P.js.map +7 -0
- package/bundle/{chunk-4PIVWXUJ.js → chunk-2ZD7VQRW.js} +2 -2
- package/bundle/{chunk-OY2HAK33.js → chunk-36ZEYDKZ.js} +1 -1
- package/bundle/chunk-36ZEYDKZ.js.map +7 -0
- package/bundle/{chunk-3QW2K53E.js → chunk-4IGLXZCC.js} +11 -19
- package/bundle/chunk-4IGLXZCC.js.map +7 -0
- package/bundle/{chunk-T7TAWGBX.js → chunk-52PQM4EZ.js} +2 -2
- package/bundle/{chunk-2RGR3LSV.js → chunk-5P5HF7IJ.js} +2 -2
- package/bundle/{chunk-LE23VPN3.js → chunk-63A7ZRIH.js} +4 -4
- package/bundle/{chunk-LE23VPN3.js.map → chunk-63A7ZRIH.js.map} +1 -1
- package/bundle/chunk-6IB3GVXK.js +77 -0
- package/bundle/chunk-6IB3GVXK.js.map +7 -0
- package/bundle/{chunk-OOKNHOCB.js → chunk-6S3G6GPO.js} +2 -2
- package/bundle/{chunk-E7MV7WFT.js → chunk-6VTHSN4V.js} +6 -6
- package/bundle/{chunk-NGZVJ52F.js → chunk-76YN7O3U.js} +7 -7
- package/bundle/{chunk-43DKPXTP.js → chunk-7LORCJCQ.js} +4 -4
- package/bundle/{chunk-HDOFJVFS.js → chunk-7OI46MH7.js} +3 -3
- package/bundle/{chunk-H2K23MOF.js → chunk-7XXISOHU.js} +21 -5
- package/bundle/chunk-7XXISOHU.js.map +7 -0
- package/bundle/{chunk-CB6S3ZRF.js → chunk-AFFW2LRY.js} +3 -3
- package/bundle/{chunk-TCI6FZTP.js → chunk-AHJDG6OM.js} +9 -9
- package/bundle/{chunk-NP72ZB7P.js → chunk-AMUJEP6L.js} +45 -45
- package/bundle/{chunk-NP72ZB7P.js.map → chunk-AMUJEP6L.js.map} +2 -2
- package/bundle/{chunk-BU7LTI2W.js → chunk-AWCO3DQ3.js} +6 -7
- package/bundle/chunk-AWCO3DQ3.js.map +7 -0
- package/bundle/{chunk-YME7NRGP.js → chunk-B2TIRDZC.js} +2 -2
- package/bundle/{chunk-SSCGWDIC.js → chunk-BWJ37KMW.js} +2 -2
- package/bundle/{chunk-ULO2PX3T.js → chunk-CCZ43JB7.js} +3 -3
- package/bundle/{chunk-FVUL44T4.js → chunk-CNENVY37.js} +2 -2
- package/bundle/{chunk-J5NOL4DB.js → chunk-DJOSXXM2.js} +2 -2
- package/bundle/{chunk-7RAGSHSH.js → chunk-DMDX35YT.js} +12 -10
- package/bundle/chunk-DMDX35YT.js.map +7 -0
- package/bundle/{chunk-DNDYD5SL.js → chunk-E7DZYCSF.js} +3 -3
- package/bundle/{chunk-M6Q3IQ4H.js → chunk-FF2F7ENH.js} +250 -118
- package/bundle/chunk-FF2F7ENH.js.map +7 -0
- package/bundle/{chunk-GCFIK6OB.js → chunk-FSGICOCX.js} +21 -21
- package/bundle/{chunk-IXKQ4JMX.js → chunk-GFAJSPMD.js} +33 -17
- package/bundle/chunk-GFAJSPMD.js.map +7 -0
- package/bundle/{chunk-FJF42RZY.js → chunk-GHRLO2UL.js} +3 -3
- package/bundle/{chunk-3LQOJVTB.js → chunk-HFOCNYEO.js} +1842 -1220
- package/bundle/{chunk-3LQOJVTB.js.map → chunk-HFOCNYEO.js.map} +4 -4
- package/bundle/{chunk-7WHXTCVD.js → chunk-HWFN7JGU.js} +2 -2
- package/bundle/{chunk-KBPVJGD7.js → chunk-IXGDDDAB.js} +3 -3
- package/bundle/chunk-JHLKEUHE.js +37 -0
- package/bundle/chunk-JHLKEUHE.js.map +7 -0
- package/bundle/{chunk-YEOZN5IE.js → chunk-JRGEEGZF.js} +2 -2
- package/bundle/{chunk-56D3Y44D.js → chunk-KLG4SCF7.js} +10 -10
- package/bundle/{chunk-ASYX43OU.js → chunk-LB43Q7G6.js} +26 -26
- package/bundle/{chunk-TVSPVZTX.js → chunk-LN5MNDSA.js} +3 -3
- package/bundle/{chunk-RJX45XIC.js → chunk-LPF2HELD.js} +9 -4
- package/bundle/chunk-LPF2HELD.js.map +7 -0
- package/bundle/{chunk-72T2Q7IG.js → chunk-MJACYH7A.js} +270 -282
- package/bundle/chunk-MJACYH7A.js.map +7 -0
- package/bundle/{chunk-SESM4GBM.js → chunk-MPQ2PJQX.js} +52 -25
- package/bundle/chunk-MPQ2PJQX.js.map +7 -0
- package/bundle/{chunk-FIAVVKGN.js → chunk-MTE32OQH.js} +3 -3
- package/bundle/{chunk-MV5KOWOR.js → chunk-N3Q3TASM.js} +7 -7
- package/bundle/{chunk-IQKADER4.js → chunk-O4YBJS2K.js} +2 -2
- package/bundle/{chunk-VJATH7AN.js → chunk-OOUCUCUW.js} +9 -8
- package/bundle/chunk-OOUCUCUW.js.map +7 -0
- package/bundle/{chunk-5V4VHKEA.js → chunk-OT6HLPEA.js} +3 -3
- package/bundle/{chunk-V6CV3QPH.js → chunk-OWPQIBAO.js} +2 -2
- package/bundle/{chunk-EDZGF6BC.js → chunk-QJPDBJDP.js} +11 -4
- package/bundle/chunk-QJPDBJDP.js.map +7 -0
- package/bundle/{chunk-N5VROZ7A.js → chunk-QMP2KC4W.js} +5 -5
- package/bundle/{chunk-4HNCOQSK.js → chunk-QOGZ7BFL.js} +7 -7
- package/bundle/{chunk-2LKQV2ND.js → chunk-R23FHZRY.js} +3 -3
- package/bundle/{chunk-SXNY6HC4.js → chunk-R4GYWVCR.js} +6 -6
- package/bundle/chunk-R4GYWVCR.js.map +7 -0
- package/bundle/{chunk-S7ZIGIR5.js → chunk-R76K6L6H.js} +27 -27
- package/bundle/{chunk-S7ZIGIR5.js.map → chunk-R76K6L6H.js.map} +1 -1
- package/bundle/{chunk-TY26WMQY.js → chunk-RCWQ34QR.js} +2 -2
- package/bundle/{chunk-MQJG7OJX.js → chunk-RJ2OUNFU.js} +38 -36
- package/bundle/chunk-RJ2OUNFU.js.map +7 -0
- package/bundle/{chunk-S6HEHCCG.js → chunk-RO3TAYBR.js} +83 -46
- package/bundle/chunk-RO3TAYBR.js.map +7 -0
- package/bundle/{chunk-ZOCEBV62.js → chunk-UU3RLJSD.js} +3 -3
- package/bundle/{chunk-P5O6QZDC.js → chunk-V7Y2LFO4.js} +10 -6
- package/bundle/chunk-V7Y2LFO4.js.map +7 -0
- package/bundle/{chunk-WP7FZHMI.js → chunk-W2PSVV2T.js} +2 -2
- package/bundle/{chunk-V2QIAXWZ.js → chunk-WEGFRA6G.js} +3 -3
- package/bundle/{chunk-ZY6DH2S4.js → chunk-WTIGZO3N.js} +80 -70
- package/bundle/chunk-WTIGZO3N.js.map +7 -0
- package/bundle/{chunk-O4GKI3Q3.js → chunk-X7DLKIQM.js} +4 -4
- package/bundle/{chunk-BNBC4T45.js → chunk-XZ4ZBDM5.js} +3 -3
- package/bundle/{chunk-24V4A6RP.js → chunk-YI2KSYB4.js} +4 -4
- package/bundle/{chunk-37EX63K4.js → chunk-YWHJJHJ2.js} +6998 -3621
- package/bundle/chunk-YWHJJHJ2.js.map +7 -0
- package/bundle/{chunk-IK4R3RBZ.js → chunk-YZCOA4DC.js} +3 -3
- package/bundle/{chunk-2FZJDMAF.js → chunk-ZGNSCJWH.js} +10 -10
- package/bundle/{chunk-W726UGI6.js → chunk-ZKMKAO75.js} +3 -3
- package/bundle/{chunk-WGWM4IZM.js → chunk-ZT5ZBGWS.js} +4 -4
- package/bundle/{chunk-WGWM4IZM.js.map → chunk-ZT5ZBGWS.js.map} +1 -1
- package/bundle/{commands-XXFU2ZF7.js → commands-2JQ5YTJX.js} +20 -20
- package/bundle/{config-EWDZ234X.js → config-ZEWIM5Z2.js} +8 -7
- package/bundle/{config-show-6J33O4TE.js → config-show-WBJPQPRD.js} +5 -5
- package/bundle/{context-OCS7HLJP.js → context-V75QNXB5.js} +5 -2
- package/bundle/{context-OCS7HLJP.js.map → context-V75QNXB5.js.map} +1 -1
- package/bundle/{daemon-LTDAXNA2.js → daemon-W7VQOSZC.js} +7 -7
- package/bundle/{delegation-tools-YDTWQMZD.js → delegation-tools-VGTRFQBF.js} +13 -11
- package/bundle/{registry-client-VN2MM2HI.js → deploy-5AGIULM2.js} +10 -6
- package/bundle/{deploy-lib-import-RGZJ3CGC.js → deploy-lib-import-ZBDYORN4.js} +5 -3
- package/bundle/{deps-PHSLIA77.js → deps-VB3S3RLF.js} +21 -19
- package/bundle/deps-VB3S3RLF.js.map +7 -0
- package/bundle/{direct-api-transport-OAKYQBJR.js → direct-api-transport-YSROTC35.js} +30 -28
- package/bundle/direct-api-transport-YSROTC35.js.map +7 -0
- package/bundle/{discord-adapter-WUNYPTDE.js → discord-adapter-LKBSIFLV.js} +26 -26
- package/bundle/{dist-7HEHHQI2.js → dist-KMK7TZGN.js} +376 -348
- package/bundle/dist-KMK7TZGN.js.map +7 -0
- package/bundle/{dns-wakeup-F55ALHXJ.js → dns-wakeup-KIURCCFJ.js} +4 -3
- package/bundle/{dns-wakeup-F55ALHXJ.js.map → dns-wakeup-KIURCCFJ.js.map} +1 -1
- package/bundle/{doctor-probes-3SLIUGKS.js → doctor-probes-46UKIROK.js} +4 -3
- package/bundle/{env-schema-MSDP2YBO.js → env-schema-YGHCKX5B.js} +5 -4
- package/bundle/{gossip-CS3G3447.js → gossip-VSEY2HSE.js} +7 -6
- package/bundle/{guardrails-24XK2COI.js → guardrails-U7M6H2GE.js} +6 -5
- package/bundle/{health-check-FRUNRVNQ.js → health-check-ASRLUJE5.js} +6 -2
- package/bundle/health-check-ASRLUJE5.js.map +7 -0
- package/bundle/{heartbeat-system-G4IFQXT6.js → heartbeat-system-MUXLT4E6.js} +7 -6
- package/bundle/{heartbeat-tier3-3ZO3EVXP.js → heartbeat-tier3-636ZMM4E.js} +45 -44
- package/bundle/heartbeat-tier3-636ZMM4E.js.map +7 -0
- package/bundle/{hook-system-X6INNJGV.js → hook-system-Z4XD6IM5.js} +5 -4
- package/bundle/{hotskills-6FQYTJIO.js → hotskills-AOUWVTQB.js} +7 -6
- package/bundle/{install-ZAHTZ5M5.js → install-3GGZUN22.js} +23 -20
- package/bundle/install-3GGZUN22.js.map +7 -0
- package/bundle/{install-manifest-QX7KVDCA.js → install-manifest-624KOB4S.js} +4 -3
- package/bundle/{install-manifest-QX7KVDCA.js.map → install-manifest-624KOB4S.js.map} +1 -1
- package/bundle/{irc-adapter-IEJQKKJF.js → irc-adapter-SA7GLJGR.js} +5 -4
- package/bundle/{irc-adapter-IEJQKKJF.js.map → irc-adapter-SA7GLJGR.js.map} +1 -1
- package/bundle/{irc-config-TTWNYFLH.js → irc-config-PG4X2I4M.js} +6 -5
- package/bundle/{irc-config-TTWNYFLH.js.map → irc-config-PG4X2I4M.js.map} +1 -1
- package/bundle/{kanban-board-J6RO3ZU7.js → kanban-board-4AI5Z6B5.js} +7 -5
- package/bundle/{kanban-channel-5EIXBFSA.js → kanban-channel-JMBYWGWD.js} +8 -6
- package/bundle/{lazy-require-V6EFUATC.js → lazy-require-GURNBC3C.js} +11 -6
- package/bundle/{logger-Y3VILPRH.js → logger-UQJPZMYV.js} +4 -3
- package/bundle/{logs-YS3GDURO.js → logs-2WTDLMB5.js} +5 -5
- package/bundle/{main-chat-YLZDNQPO.js → main-chat-EID5Y6H2.js} +6 -5
- package/bundle/{master-user-Z4M7KCJE.js → master-user-TKA7M2GL.js} +7 -6
- package/bundle/{media-utils-P6RZ2K3U.js → media-utils-X3UN342B.js} +44 -43
- package/bundle/{media-utils-P6RZ2K3U.js.map → media-utils-X3UN342B.js.map} +2 -2
- package/bundle/{message-pipeline-MHEBDJLH.js → message-pipeline-TAWXNEVS.js} +20 -20
- package/bundle/meta.json +9264 -8575
- package/bundle/{migrate-layout-RJJQLVGR.js → migrate-layout-KEAIIN26.js} +8 -4
- package/bundle/migrate-layout-KEAIIN26.js.map +7 -0
- package/bundle/{nerve-VZNMFDGY.js → nerve-TC34H4EL.js} +5 -4
- package/bundle/{notification-VV2OR6NW.js → notification-JQNVGICN.js} +8 -7
- package/bundle/{openrouter-credits-LXC7P4G6.js → openrouter-credits-5Q3EYWE5.js} +5 -4
- package/bundle/{openrouter-credits-LXC7P4G6.js.map → openrouter-credits-5Q3EYWE5.js.map} +1 -1
- package/bundle/{orc-KC4USP55.js → orc-74Z62W7B.js} +4 -4
- package/bundle/{orc-tools-CHRSXSAS.js → orc-tools-GME3DKIN.js} +5 -4
- package/bundle/{paths-EDK6KWHG.js → paths-BAUNPLNJ.js} +6 -2
- package/bundle/{paths-RZF6WDMG.js → paths-MZC2KU2C.js} +3 -2
- package/bundle/{peer-auth-SRONOLNG.js → peer-auth-VRO3JYL5.js} +9 -8
- package/bundle/{peer-client-VOF77T6C.js → peer-client-WLK5GZQS.js} +9 -8
- package/bundle/{peer-client-VOF77T6C.js.map → peer-client-WLK5GZQS.js.map} +1 -1
- package/bundle/{peer-config-FRWLEYQ5.js → peer-config-24WILLCJ.js} +6 -5
- package/bundle/{peer-jwt-XY3XRIA2.js → peer-jwt-ZR6RF3XM.js} +6 -5
- package/bundle/{peer-transport-UBBXTDRP.js → peer-transport-BK5VHI2M.js} +8 -7
- package/bundle/{phase-transport-4NQHZX75.js → phase-transport-7QJM7J6V.js} +18 -16
- package/bundle/{reconcile-2EUXJ6W5.js → reconcile-7N7OE2GU.js} +5 -4
- package/bundle/{reconciler-FFQGV4DO.js → reconciler-7LOOUK43.js} +13 -11
- package/bundle/{reconciler-FFQGV4DO.js.map → reconciler-7LOOUK43.js.map} +1 -1
- package/bundle/{restore-NFDE2RG6.js → restore-MENZ3I3K.js} +13 -9
- package/bundle/{restore-NFDE2RG6.js.map → restore-MENZ3I3K.js.map} +3 -3
- package/bundle/{rollback-MVZ53XS4.js → rollback-JOHY6KWW.js} +5 -5
- package/bundle/{chunk-SKY6656M.js → sandbox-runtime-T7RF4WJD.js} +11 -28
- package/bundle/{chunk-SKY6656M.js.map → sandbox-runtime-T7RF4WJD.js.map} +1 -1
- package/bundle/{self-healer-utils-KD6LV63S.js → self-healer-utils-OR2N6RLD.js} +5 -4
- package/bundle/{self-healer-utils-KD6LV63S.js.map → self-healer-utils-OR2N6RLD.js.map} +1 -1
- package/bundle/{sha-tracker-2DB4R2TW.js → sha-tracker-BXOLWZJL.js} +5 -4
- package/bundle/{skill-session-BPDVA6ZG.js → skill-session-H6EQ4NGN.js} +5 -4
- package/bundle/{skill-session-BPDVA6ZG.js.map → skill-session-H6EQ4NGN.js.map} +1 -1
- package/bundle/{skill-stats-TPD2NROA.js → skill-stats-7O777ZSZ.js} +6 -5
- package/bundle/{skill-watcher-D7QYYYON.js → skill-watcher-ZGLTDPG5.js} +6 -5
- package/bundle/{sleep-GH6DLBJJ.js → sleep-3LFZH727.js} +10 -9
- package/bundle/{soul-bundle-GXLMDBCC.js → soul-bundle-RQ2YQMJW.js} +10 -9
- package/bundle/{spin-4DBYHS3E.js → spin-76K4R6FK.js} +12 -10
- package/bundle/{spin-notifications-IKYJPER5.js → spin-notifications-LD46B4K5.js} +7 -5
- package/bundle/{spin-notifications-IKYJPER5.js.map → spin-notifications-LD46B4K5.js.map} +1 -1
- package/bundle/{spin-types-PLJH3SIK.js → spin-types-MOKTZXGB.js} +5 -4
- package/bundle/{src-SUFZ27S5.js → src-6BTCMOD3.js} +4 -4
- package/bundle/{sse-parser-anthropic-U7ILHOY5.js → sse-parser-anthropic-NV2CGBIT.js} +5 -4
- package/bundle/{sse-parser-anthropic-U7ILHOY5.js.map → sse-parser-anthropic-NV2CGBIT.js.map} +1 -1
- package/bundle/{sse-parser-responses-OI73R3AH.js → sse-parser-responses-FC3PFHQ5.js} +5 -4
- package/bundle/{sse-parser-responses-OI73R3AH.js.map → sse-parser-responses-FC3PFHQ5.js.map} +1 -1
- package/bundle/{ssrf-guard-6GP4QYVA.js → ssrf-guard-E2YPLW6G.js} +5 -4
- package/bundle/{ssrf-guard-6GP4QYVA.js.map → ssrf-guard-E2YPLW6G.js.map} +1 -1
- package/bundle/{start-JT2BPMSW.js → start-HPO5LYJP.js} +5 -5
- package/bundle/start-HPO5LYJP.js.map +7 -0
- package/bundle/{stt-KD3AABKG.js → stt-UE7EOYD7.js} +6 -5
- package/bundle/{subagent-runtime-LVECAUPV.js → subagent-runtime-4X3UHF4H.js} +6 -5
- package/bundle/system-status-PLPWV4RF.js +346 -0
- package/bundle/system-status-PLPWV4RF.js.map +7 -0
- package/bundle/{task-store-2XRDM3AW.js → task-store-RAFMDQ7N.js} +6 -5
- package/bundle/{telegram-adapter-UJ3RYYV6.js → telegram-adapter-PPXKTGOP.js} +35 -35
- package/bundle/{tool-registry-YU6WBXPA.js → tool-registry-NKIPNJZ5.js} +25 -23
- package/bundle/{tool-sandbox-RNNPDR5M.js → tool-sandbox-DQCP3UTU.js} +6 -5
- package/bundle/{transport-config-OK3MZPJK.js → transport-config-SF6GBV47.js} +9 -8
- package/bundle/{update-ENNPRW7Y.js → update-QOOGMFSJ.js} +6 -6
- package/bundle/{update-check-SJB6GV3A.js → update-check-LPZG3K5P.js} +3 -2
- package/bundle/{update-check-SJB6GV3A.js.map → update-check-LPZG3K5P.js.map} +1 -1
- package/bundle/{usage-tracker-HRSGC7QC.js → usage-tracker-TBDM4KE6.js} +2 -2
- package/bundle/{user-registry-6PUJJ5J2.js → user-registry-OYJVAHDD.js} +6 -5
- package/bundle/{wrapper-WLHLG4MI.js → wrapper-W66YICNZ.js} +3 -3
- package/bundle/{ws-peer-client-WHW3RJTD.js → ws-peer-client-G5QHOF6K.js} +15 -14
- package/bundle/{ws-peer-client-WHW3RJTD.js.map → ws-peer-client-G5QHOF6K.js.map} +2 -2
- package/package.json +3 -7
- package/scripts/emergency-deploy.sh +11 -8
- package/scripts/emergency-update.sh +156 -23
- package/templates/config/.env +1 -1
- package/templates/config/models.json +13 -0
- package/bundle/chunk-37EX63K4.js.map +0 -7
- package/bundle/chunk-3QW2K53E.js.map +0 -7
- package/bundle/chunk-72T2Q7IG.js.map +0 -7
- package/bundle/chunk-7RAGSHSH.js.map +0 -7
- package/bundle/chunk-BU7LTI2W.js.map +0 -7
- package/bundle/chunk-C3EYYJN3.js.map +0 -7
- package/bundle/chunk-CAOIIVFP.js +0 -110
- package/bundle/chunk-CAOIIVFP.js.map +0 -7
- package/bundle/chunk-EDZGF6BC.js.map +0 -7
- package/bundle/chunk-H2K23MOF.js.map +0 -7
- package/bundle/chunk-HAZHNBBY.js +0 -156
- package/bundle/chunk-HAZHNBBY.js.map +0 -7
- package/bundle/chunk-IXKQ4JMX.js.map +0 -7
- package/bundle/chunk-JAJ3DUQ2.js +0 -30
- package/bundle/chunk-JAJ3DUQ2.js.map +0 -7
- package/bundle/chunk-KMFR5AVY.js +0 -45
- package/bundle/chunk-KMFR5AVY.js.map +0 -7
- package/bundle/chunk-M6Q3IQ4H.js.map +0 -7
- package/bundle/chunk-MQJG7OJX.js.map +0 -7
- package/bundle/chunk-OY2HAK33.js.map +0 -7
- package/bundle/chunk-P5O6QZDC.js.map +0 -7
- package/bundle/chunk-RJX45XIC.js.map +0 -7
- package/bundle/chunk-S6HEHCCG.js.map +0 -7
- package/bundle/chunk-SESM4GBM.js.map +0 -7
- package/bundle/chunk-SXNY6HC4.js.map +0 -7
- package/bundle/chunk-VJATH7AN.js.map +0 -7
- package/bundle/chunk-ZY6DH2S4.js.map +0 -7
- package/bundle/deps-PHSLIA77.js.map +0 -7
- package/bundle/direct-api-transport-OAKYQBJR.js.map +0 -7
- package/bundle/dist-7HEHHQI2.js.map +0 -7
- package/bundle/health-check-FRUNRVNQ.js.map +0 -7
- package/bundle/heartbeat-tier3-3ZO3EVXP.js.map +0 -7
- package/bundle/install-ZAHTZ5M5.js.map +0 -7
- package/bundle/migrate-layout-RJJQLVGR.js.map +0 -7
- package/bundle/phase-config-V4XETN5F.js +0 -18
- package/bundle/sandbox-runtime-WHACQLLN.js +0 -22
- package/bundle/start-JT2BPMSW.js.map +0 -7
- package/bundle/system-status-XXJWTVJN.js +0 -243
- package/bundle/system-status-XXJWTVJN.js.map +0 -7
- package/bundle/user-registry-6PUJJ5J2.js.map +0 -7
- package/bundle/wrapper-WLHLG4MI.js.map +0 -7
- /package/bundle/{agent-api-rate-limit-4GEZ4YN5.js.map → agent-api-rate-limit-VENFGOAD.js.map} +0 -0
- /package/bundle/{agent-registry-563P4EUJ.js.map → agent-registry-DL7UT272.js.map} +0 -0
- /package/bundle/{bridge-lock-transport-LXCF2IVN.js.map → bridge-lock-transport-BJAMHMXW.js.map} +0 -0
- /package/bundle/{browser-2VZOGOGX.js.map → browser-PT54UWSW.js.map} +0 -0
- /package/bundle/{capability-WXEA2WFK.js.map → capability-EKPGHQIO.js.map} +0 -0
- /package/bundle/{chunk-4PIVWXUJ.js.map → chunk-2ZD7VQRW.js.map} +0 -0
- /package/bundle/{chunk-T7TAWGBX.js.map → chunk-52PQM4EZ.js.map} +0 -0
- /package/bundle/{chunk-2RGR3LSV.js.map → chunk-5P5HF7IJ.js.map} +0 -0
- /package/bundle/{chunk-OOKNHOCB.js.map → chunk-6S3G6GPO.js.map} +0 -0
- /package/bundle/{chunk-E7MV7WFT.js.map → chunk-6VTHSN4V.js.map} +0 -0
- /package/bundle/{chunk-NGZVJ52F.js.map → chunk-76YN7O3U.js.map} +0 -0
- /package/bundle/{chunk-43DKPXTP.js.map → chunk-7LORCJCQ.js.map} +0 -0
- /package/bundle/{chunk-HDOFJVFS.js.map → chunk-7OI46MH7.js.map} +0 -0
- /package/bundle/{chunk-CB6S3ZRF.js.map → chunk-AFFW2LRY.js.map} +0 -0
- /package/bundle/{chunk-TCI6FZTP.js.map → chunk-AHJDG6OM.js.map} +0 -0
- /package/bundle/{chunk-YME7NRGP.js.map → chunk-B2TIRDZC.js.map} +0 -0
- /package/bundle/{chunk-SSCGWDIC.js.map → chunk-BWJ37KMW.js.map} +0 -0
- /package/bundle/{chunk-ULO2PX3T.js.map → chunk-CCZ43JB7.js.map} +0 -0
- /package/bundle/{chunk-FVUL44T4.js.map → chunk-CNENVY37.js.map} +0 -0
- /package/bundle/{chunk-J5NOL4DB.js.map → chunk-DJOSXXM2.js.map} +0 -0
- /package/bundle/{chunk-DNDYD5SL.js.map → chunk-E7DZYCSF.js.map} +0 -0
- /package/bundle/{chunk-GCFIK6OB.js.map → chunk-FSGICOCX.js.map} +0 -0
- /package/bundle/{chunk-FJF42RZY.js.map → chunk-GHRLO2UL.js.map} +0 -0
- /package/bundle/{chunk-7WHXTCVD.js.map → chunk-HWFN7JGU.js.map} +0 -0
- /package/bundle/{chunk-KBPVJGD7.js.map → chunk-IXGDDDAB.js.map} +0 -0
- /package/bundle/{chunk-YEOZN5IE.js.map → chunk-JRGEEGZF.js.map} +0 -0
- /package/bundle/{chunk-56D3Y44D.js.map → chunk-KLG4SCF7.js.map} +0 -0
- /package/bundle/{chunk-ASYX43OU.js.map → chunk-LB43Q7G6.js.map} +0 -0
- /package/bundle/{chunk-TVSPVZTX.js.map → chunk-LN5MNDSA.js.map} +0 -0
- /package/bundle/{chunk-FIAVVKGN.js.map → chunk-MTE32OQH.js.map} +0 -0
- /package/bundle/{chunk-MV5KOWOR.js.map → chunk-N3Q3TASM.js.map} +0 -0
- /package/bundle/{chunk-IQKADER4.js.map → chunk-O4YBJS2K.js.map} +0 -0
- /package/bundle/{chunk-5V4VHKEA.js.map → chunk-OT6HLPEA.js.map} +0 -0
- /package/bundle/{chunk-V6CV3QPH.js.map → chunk-OWPQIBAO.js.map} +0 -0
- /package/bundle/{chunk-N5VROZ7A.js.map → chunk-QMP2KC4W.js.map} +0 -0
- /package/bundle/{chunk-4HNCOQSK.js.map → chunk-QOGZ7BFL.js.map} +0 -0
- /package/bundle/{chunk-2LKQV2ND.js.map → chunk-R23FHZRY.js.map} +0 -0
- /package/bundle/{chunk-TY26WMQY.js.map → chunk-RCWQ34QR.js.map} +0 -0
- /package/bundle/{chunk-ZOCEBV62.js.map → chunk-UU3RLJSD.js.map} +0 -0
- /package/bundle/{chunk-WP7FZHMI.js.map → chunk-W2PSVV2T.js.map} +0 -0
- /package/bundle/{chunk-V2QIAXWZ.js.map → chunk-WEGFRA6G.js.map} +0 -0
- /package/bundle/{chunk-O4GKI3Q3.js.map → chunk-X7DLKIQM.js.map} +0 -0
- /package/bundle/{chunk-BNBC4T45.js.map → chunk-XZ4ZBDM5.js.map} +0 -0
- /package/bundle/{chunk-24V4A6RP.js.map → chunk-YI2KSYB4.js.map} +0 -0
- /package/bundle/{chunk-IK4R3RBZ.js.map → chunk-YZCOA4DC.js.map} +0 -0
- /package/bundle/{chunk-2FZJDMAF.js.map → chunk-ZGNSCJWH.js.map} +0 -0
- /package/bundle/{chunk-W726UGI6.js.map → chunk-ZKMKAO75.js.map} +0 -0
- /package/bundle/{commands-XXFU2ZF7.js.map → commands-2JQ5YTJX.js.map} +0 -0
- /package/bundle/{config-EWDZ234X.js.map → config-ZEWIM5Z2.js.map} +0 -0
- /package/bundle/{config-show-6J33O4TE.js.map → config-show-WBJPQPRD.js.map} +0 -0
- /package/bundle/{daemon-LTDAXNA2.js.map → daemon-W7VQOSZC.js.map} +0 -0
- /package/bundle/{delegation-tools-YDTWQMZD.js.map → delegation-tools-VGTRFQBF.js.map} +0 -0
- /package/bundle/{deploy-lib-import-RGZJ3CGC.js.map → deploy-5AGIULM2.js.map} +0 -0
- /package/bundle/{doctor-probes-3SLIUGKS.js.map → deploy-lib-import-ZBDYORN4.js.map} +0 -0
- /package/bundle/{discord-adapter-WUNYPTDE.js.map → discord-adapter-LKBSIFLV.js.map} +0 -0
- /package/bundle/{env-schema-MSDP2YBO.js.map → doctor-probes-46UKIROK.js.map} +0 -0
- /package/bundle/{gossip-CS3G3447.js.map → env-schema-YGHCKX5B.js.map} +0 -0
- /package/bundle/{guardrails-24XK2COI.js.map → gossip-VSEY2HSE.js.map} +0 -0
- /package/bundle/{heartbeat-system-G4IFQXT6.js.map → guardrails-U7M6H2GE.js.map} +0 -0
- /package/bundle/{hook-system-X6INNJGV.js.map → heartbeat-system-MUXLT4E6.js.map} +0 -0
- /package/bundle/{hotskills-6FQYTJIO.js.map → hook-system-Z4XD6IM5.js.map} +0 -0
- /package/bundle/{kanban-board-J6RO3ZU7.js.map → hotskills-AOUWVTQB.js.map} +0 -0
- /package/bundle/{kanban-channel-5EIXBFSA.js.map → kanban-board-4AI5Z6B5.js.map} +0 -0
- /package/bundle/{lazy-require-V6EFUATC.js.map → kanban-channel-JMBYWGWD.js.map} +0 -0
- /package/bundle/{logger-Y3VILPRH.js.map → lazy-require-GURNBC3C.js.map} +0 -0
- /package/bundle/{main-chat-YLZDNQPO.js.map → logger-UQJPZMYV.js.map} +0 -0
- /package/bundle/{logs-YS3GDURO.js.map → logs-2WTDLMB5.js.map} +0 -0
- /package/bundle/{master-user-Z4M7KCJE.js.map → main-chat-EID5Y6H2.js.map} +0 -0
- /package/bundle/{message-pipeline-MHEBDJLH.js.map → master-user-TKA7M2GL.js.map} +0 -0
- /package/bundle/{nerve-VZNMFDGY.js.map → message-pipeline-TAWXNEVS.js.map} +0 -0
- /package/bundle/{notification-VV2OR6NW.js.map → nerve-TC34H4EL.js.map} +0 -0
- /package/bundle/{orc-tools-CHRSXSAS.js.map → notification-JQNVGICN.js.map} +0 -0
- /package/bundle/{orc-KC4USP55.js.map → orc-74Z62W7B.js.map} +0 -0
- /package/bundle/{paths-EDK6KWHG.js.map → orc-tools-GME3DKIN.js.map} +0 -0
- /package/bundle/{paths-RZF6WDMG.js.map → paths-BAUNPLNJ.js.map} +0 -0
- /package/bundle/{peer-auth-SRONOLNG.js.map → paths-MZC2KU2C.js.map} +0 -0
- /package/bundle/{peer-config-FRWLEYQ5.js.map → peer-auth-VRO3JYL5.js.map} +0 -0
- /package/bundle/{peer-jwt-XY3XRIA2.js.map → peer-config-24WILLCJ.js.map} +0 -0
- /package/bundle/{peer-transport-UBBXTDRP.js.map → peer-jwt-ZR6RF3XM.js.map} +0 -0
- /package/bundle/{phase-config-V4XETN5F.js.map → peer-transport-BK5VHI2M.js.map} +0 -0
- /package/bundle/{phase-transport-4NQHZX75.js.map → phase-transport-7QJM7J6V.js.map} +0 -0
- /package/bundle/{reconcile-2EUXJ6W5.js.map → reconcile-7N7OE2GU.js.map} +0 -0
- /package/bundle/{registry-client-VN2MM2HI.js.map → rollback-JOHY6KWW.js.map} +0 -0
- /package/bundle/{rollback-MVZ53XS4.js.map → sha-tracker-BXOLWZJL.js.map} +0 -0
- /package/bundle/{sandbox-runtime-WHACQLLN.js.map → skill-stats-7O777ZSZ.js.map} +0 -0
- /package/bundle/{sha-tracker-2DB4R2TW.js.map → skill-watcher-ZGLTDPG5.js.map} +0 -0
- /package/bundle/{skill-stats-TPD2NROA.js.map → sleep-3LFZH727.js.map} +0 -0
- /package/bundle/{skill-watcher-D7QYYYON.js.map → soul-bundle-RQ2YQMJW.js.map} +0 -0
- /package/bundle/{sleep-GH6DLBJJ.js.map → spin-76K4R6FK.js.map} +0 -0
- /package/bundle/{soul-bundle-GXLMDBCC.js.map → spin-types-MOKTZXGB.js.map} +0 -0
- /package/bundle/{spin-4DBYHS3E.js.map → src-6BTCMOD3.js.map} +0 -0
- /package/bundle/{spin-types-PLJH3SIK.js.map → stt-UE7EOYD7.js.map} +0 -0
- /package/bundle/{src-SUFZ27S5.js.map → subagent-runtime-4X3UHF4H.js.map} +0 -0
- /package/bundle/{stt-KD3AABKG.js.map → task-store-RAFMDQ7N.js.map} +0 -0
- /package/bundle/{telegram-adapter-UJ3RYYV6.js.map → telegram-adapter-PPXKTGOP.js.map} +0 -0
- /package/bundle/{subagent-runtime-LVECAUPV.js.map → tool-registry-NKIPNJZ5.js.map} +0 -0
- /package/bundle/{task-store-2XRDM3AW.js.map → tool-sandbox-DQCP3UTU.js.map} +0 -0
- /package/bundle/{tool-registry-YU6WBXPA.js.map → transport-config-SF6GBV47.js.map} +0 -0
- /package/bundle/{tool-sandbox-RNNPDR5M.js.map → update-QOOGMFSJ.js.map} +0 -0
- /package/bundle/{transport-config-OK3MZPJK.js.map → usage-tracker-TBDM4KE6.js.map} +0 -0
- /package/bundle/{update-ENNPRW7Y.js.map → user-registry-OYJVAHDD.js.map} +0 -0
- /package/bundle/{usage-tracker-HRSGC7QC.js.map → wrapper-W66YICNZ.js.map} +0 -0
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import {
|
|
4
4
|
SkillWatcher,
|
|
5
5
|
init_skill_watcher
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MTE32OQH.js";
|
|
7
7
|
import {
|
|
8
8
|
abtarsHome,
|
|
9
9
|
init_paths
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7XXISOHU.js";
|
|
11
11
|
import {
|
|
12
12
|
__esm,
|
|
13
13
|
__export
|
|
@@ -56,4 +56,4 @@ export {
|
|
|
56
56
|
hotskills_exports,
|
|
57
57
|
init_hotskills
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-YZCOA4DC.js.map
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import {
|
|
4
4
|
init_log_and_swallow,
|
|
5
5
|
logAndSwallow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W2PSVV2T.js";
|
|
7
7
|
import {
|
|
8
8
|
init_logger,
|
|
9
9
|
logInfo,
|
|
10
10
|
logWarn
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6S3G6GPO.js";
|
|
12
12
|
|
|
13
13
|
// src/components/subagent-runtime.ts
|
|
14
14
|
init_log_and_swallow();
|
|
@@ -57,7 +57,7 @@ var SubagentRuntime = class {
|
|
|
57
57
|
}
|
|
58
58
|
/** Send a prompt to a named agent and get the response. */
|
|
59
59
|
async complete(agent, prompt, opts) {
|
|
60
|
-
const { checkBudget, sendBudgetNotification } = await import("./budget-
|
|
60
|
+
const { checkBudget, sendBudgetNotification } = await import("./budget-QNK6IIT6.js");
|
|
61
61
|
const budgetCheck = checkBudget(agent);
|
|
62
62
|
if (!budgetCheck.allowed) {
|
|
63
63
|
const reason = budgetCheck.remaining.tokens <= 0 ? "token" : "call";
|
|
@@ -69,7 +69,7 @@ var SubagentRuntime = class {
|
|
|
69
69
|
const cached = this.cache.get(agent);
|
|
70
70
|
if (cached && sessionStrategy === "fresh") {
|
|
71
71
|
await cached.transport.resetSession?.(cached.sessionKey);
|
|
72
|
-
(await import("./tool-registry-
|
|
72
|
+
(await import("./tool-registry-NKIPNJZ5.js")).resetStoreCounter();
|
|
73
73
|
}
|
|
74
74
|
const { transport, model, sessionKey } = cached ?? await this.createAgent(agent, opts?.sessionType);
|
|
75
75
|
if (opts?.timeoutMs && transport.setTimeoutOverride) {
|
|
@@ -173,26 +173,26 @@ var SubagentRuntime = class {
|
|
|
173
173
|
const resolvedType = sessionType || typeMap[agent];
|
|
174
174
|
const sandboxTypes = /* @__PURE__ */ new Set(["B", "C", "W"]);
|
|
175
175
|
if (this._sandboxEnabled && resolvedType && sandboxTypes.has(resolvedType)) {
|
|
176
|
-
const { logInfo: logInfo2 } = await import("./logger-
|
|
176
|
+
const { logInfo: logInfo2 } = await import("./logger-UQJPZMYV.js");
|
|
177
177
|
logInfo2("subagent", `Sandbox spawn: ${agent} (type=${resolvedType}) \u2192 Docker container`);
|
|
178
178
|
}
|
|
179
|
-
const { createSubagentTransport } = await import("./agent-registry-
|
|
179
|
+
const { createSubagentTransport } = await import("./agent-registry-DL7UT272.js");
|
|
180
180
|
const role = AGENT_TO_ROLE[agent];
|
|
181
181
|
const mainModel = this._mainTransport && "currentModel" in this._mainTransport ? this._mainTransport.currentModel : void 0;
|
|
182
182
|
const { transport, model } = await createSubagentTransport(role, this._registry ?? void 0, mainModel);
|
|
183
183
|
if (transport.agent?.pid) {
|
|
184
|
-
import("./bridge-lock-transport-
|
|
184
|
+
import("./bridge-lock-transport-BJAMHMXW.js").then(({ trackAcpPid }) => trackAcpPid(transport.agent.pid)).catch(() => {
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
if (resolvedType && "setSystemPrompt" in transport && typeof transport.setSystemPrompt === "function") {
|
|
188
|
-
const { buildSoulBundle } = await import("./soul-bundle-
|
|
188
|
+
const { buildSoulBundle } = await import("./soul-bundle-RQ2YQMJW.js");
|
|
189
189
|
const bundle = buildSoulBundle(resolvedType);
|
|
190
190
|
if (bundle) transport.setSystemPrompt(bundle);
|
|
191
191
|
}
|
|
192
192
|
const sessionKey = `system:${cacheKey ?? agent}`;
|
|
193
193
|
const entry = { transport, model, sessionKey };
|
|
194
194
|
this.cache.set(cacheKey ?? agent, entry);
|
|
195
|
-
(await import("./tool-registry-
|
|
195
|
+
(await import("./tool-registry-NKIPNJZ5.js")).resetStoreCounter();
|
|
196
196
|
return entry;
|
|
197
197
|
}
|
|
198
198
|
};
|
|
@@ -207,4 +207,4 @@ var AGENT_TO_ROLE = {
|
|
|
207
207
|
export {
|
|
208
208
|
SubagentRuntime
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-ZGNSCJWH.js.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
init_log_and_swallow,
|
|
9
9
|
logAndSwallow
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W2PSVV2T.js";
|
|
11
11
|
import {
|
|
12
12
|
abtarsHome,
|
|
13
13
|
init_paths
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7XXISOHU.js";
|
|
15
15
|
import {
|
|
16
16
|
__esm
|
|
17
17
|
} from "./chunk-7K2YZTLD.js";
|
|
@@ -175,4 +175,4 @@ export {
|
|
|
175
175
|
updateLastHeartbeat,
|
|
176
176
|
init_bridge_lock_transport
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-ZKMKAO75.js.map
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
require_subprotocol,
|
|
10
10
|
require_websocket,
|
|
11
11
|
require_websocket_server
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R76K6L6H.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm,
|
|
15
15
|
__toESM
|
|
16
16
|
} from "./chunk-7K2YZTLD.js";
|
|
17
17
|
|
|
18
|
-
// node_modules
|
|
18
|
+
// node_modules/ws/wrapper.mjs
|
|
19
19
|
var import_stream, import_extension, import_permessage_deflate, import_receiver, import_sender, import_subprotocol, import_websocket, import_websocket_server, wrapper_default;
|
|
20
20
|
var init_wrapper = __esm({
|
|
21
|
-
"node_modules
|
|
21
|
+
"node_modules/ws/wrapper.mjs"() {
|
|
22
22
|
import_stream = __toESM(require_stream(), 1);
|
|
23
23
|
import_extension = __toESM(require_extension(), 1);
|
|
24
24
|
import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
@@ -43,4 +43,4 @@ export {
|
|
|
43
43
|
wrapper_default,
|
|
44
44
|
init_wrapper
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-ZT5ZBGWS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../node_modules
|
|
3
|
+
"sources": ["../node_modules/ws/wrapper.mjs"],
|
|
4
4
|
"sourcesContent": ["import createWebSocketStream from './lib/stream.js';\nimport extension from './lib/extension.js';\nimport PerMessageDeflate from './lib/permessage-deflate.js';\nimport Receiver from './lib/receiver.js';\nimport Sender from './lib/sender.js';\nimport subprotocol from './lib/subprotocol.js';\nimport WebSocket from './lib/websocket.js';\nimport WebSocketServer from './lib/websocket-server.js';\n\nexport {\n createWebSocketStream,\n extension,\n PerMessageDeflate,\n Receiver,\n Sender,\n subprotocol,\n WebSocket,\n WebSocketServer\n};\n\nexport default WebSocket;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA,mBACA,kBACA,2BACA,iBACA,eACA,oBACA,kBACA,yBAaO;AApBP;AAAA;AAAA,oBAAkC;AAClC,uBAAsB;AACtB,gCAA8B;AAC9B,sBAAqB;AACrB,oBAAmB;AACnB,yBAAwB;AACxB,uBAAsB;AACtB,8BAA4B;AAa5B,IAAO,kBAAQ,iBAAAA;AAAA;AAAA;",
|
|
6
6
|
"names": ["WebSocket"]
|
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
registerCommand,
|
|
7
7
|
triggerNewSession,
|
|
8
8
|
triggerResetSession
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-HAZHNBBY.js";
|
|
9
|
+
} from "./chunk-FF2F7ENH.js";
|
|
10
|
+
import "./chunk-63A7ZRIH.js";
|
|
11
|
+
import "./chunk-UU3RLJSD.js";
|
|
12
|
+
import "./chunk-YWHJJHJ2.js";
|
|
13
|
+
import "./chunk-6IB3GVXK.js";
|
|
14
|
+
import "./chunk-HWFN7JGU.js";
|
|
16
15
|
import "./chunk-YWZPKBO6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-KLG4SCF7.js";
|
|
17
|
+
import "./chunk-7LORCJCQ.js";
|
|
18
|
+
import "./chunk-52PQM4EZ.js";
|
|
19
|
+
import "./chunk-X7DLKIQM.js";
|
|
20
|
+
import "./chunk-2ZD7VQRW.js";
|
|
21
|
+
import "./chunk-R76K6L6H.js";
|
|
22
|
+
import "./chunk-ZKMKAO75.js";
|
|
23
|
+
import "./chunk-7OI46MH7.js";
|
|
25
24
|
import "./chunk-N5KN3LGD.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-BWJ37KMW.js";
|
|
26
|
+
import "./chunk-W2PSVV2T.js";
|
|
27
|
+
import "./chunk-6S3G6GPO.js";
|
|
28
|
+
import "./chunk-7XXISOHU.js";
|
|
29
|
+
import "./chunk-2BXXQG7P.js";
|
|
30
30
|
import "./chunk-7K2YZTLD.js";
|
|
31
31
|
export {
|
|
32
32
|
handleCommand,
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
triggerNewSession,
|
|
36
36
|
triggerResetSession
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=commands-
|
|
38
|
+
//# sourceMappingURL=commands-2JQ5YTJX.js.map
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
import {
|
|
4
4
|
isValidSnowflake,
|
|
5
5
|
loadAndValidateConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-N3Q3TASM.js";
|
|
7
|
+
import "./chunk-OWPQIBAO.js";
|
|
8
|
+
import "./chunk-7LORCJCQ.js";
|
|
9
|
+
import "./chunk-BWJ37KMW.js";
|
|
10
|
+
import "./chunk-6S3G6GPO.js";
|
|
11
11
|
import {
|
|
12
12
|
abtarsHome
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7XXISOHU.js";
|
|
14
|
+
import "./chunk-2BXXQG7P.js";
|
|
14
15
|
import "./chunk-7K2YZTLD.js";
|
|
15
16
|
export {
|
|
16
17
|
abtarsHome,
|
|
17
18
|
isValidSnowflake,
|
|
18
19
|
loadAndValidateConfig
|
|
19
20
|
};
|
|
20
|
-
//# sourceMappingURL=config-
|
|
21
|
+
//# sourceMappingURL=config-ZEWIM5Z2.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
printBanner
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-C3EYYJN3.js";
|
|
5
|
+
} from "./chunk-LN5MNDSA.js";
|
|
6
|
+
import "./chunk-QJPDBJDP.js";
|
|
8
7
|
import {
|
|
9
8
|
abtarsHome,
|
|
10
9
|
init_paths
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7XXISOHU.js";
|
|
11
|
+
import "./chunk-2BXXQG7P.js";
|
|
12
12
|
import "./chunk-7K2YZTLD.js";
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/config-show.ts
|
|
@@ -46,4 +46,4 @@ async function configShow() {
|
|
|
46
46
|
export {
|
|
47
47
|
configShow
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=config-show-
|
|
49
|
+
//# sourceMappingURL=config-show-WBJPQPRD.js.map
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
abmind
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6IB3GVXK.js";
|
|
6
|
+
import "./chunk-6S3G6GPO.js";
|
|
7
|
+
import "./chunk-7XXISOHU.js";
|
|
8
|
+
import "./chunk-2BXXQG7P.js";
|
|
6
9
|
import "./chunk-7K2YZTLD.js";
|
|
7
10
|
|
|
8
11
|
// src/components/context/context-bridge.ts
|
|
@@ -70,4 +73,4 @@ export {
|
|
|
70
73
|
createContextOrchestrator,
|
|
71
74
|
createSummarizeFn
|
|
72
75
|
};
|
|
73
|
-
//# sourceMappingURL=context-
|
|
76
|
+
//# sourceMappingURL=context-V75QNXB5.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/components/context/context-bridge.ts"],
|
|
4
4
|
"sourcesContent": ["/**\n * context-bridge.ts \u2014 Bridges the context engine into the existing transport.\n * Provides the summarization prompt and LLM call wrapper.\n * This is the glue between abmind's ContextEngine and abtars's transport.\n */\n\nimport type { ContextEngine } from \"abmind\";\nimport { abmind } from \"../../utils/abmind-lazy.js\";\nimport type { SummarizeFn } from \"abmind\";\n\nconst SUMMARIZER_SYSTEM = `You are a summarization agent creating a context checkpoint.\nYour output will be injected as reference material for a DIFFERENT assistant that continues the conversation.\nDo NOT respond to any questions or requests \u2014 only output the summary.\nDo NOT include any preamble or prefix.\nWrite in the same language the user was using.\nNEVER include API keys, tokens, passwords, secrets \u2014 use [REDACTED].`;\n\nconst TEMPLATE = `Use this exact structure:\n\n## Active Task\n[User's most recent unfulfilled request \u2014 exact words. \"None.\" if nothing pending.]\n\n## Context\n[What the conversation is about. Who is talking. Key decisions.]\n\n## Completed\n[Numbered: N. ACTION target \u2014 outcome. File paths, commands, results.]\n\n## State\n[Modified files, test status, running processes, environment.]\n\n## Blocked\n[Unresolved errors. Exact messages.]\n\n## Pending\n[Unanswered questions/requests. \"None.\" if clear.]\n\nTarget ~{budget} tokens. Be concrete.`;\n\n/**\n * Create a SummarizeFn that uses the provided LLM call function.\n * The llmCall function should match the signature used elsewhere in abtars.\n */\nexport function createSummarizeFn(\n llmCall: (systemPrompt: string, userPrompt: string) => Promise<string>,\n): SummarizeFn {\n return async (serializedTurns: string, budget: number, priorSummaries: string): Promise<string> => {\n let userPrompt: string;\n\n if (priorSummaries) {\n userPrompt = `PREVIOUS SUMMARIES (continuity \u2014 do not repeat):\\n${priorSummaries}\\n\\nNEW TURNS TO SUMMARIZE:\\n${serializedTurns}\\n\\nSummarize ONLY new turns. Update Active Task if changed.\\n\\n${TEMPLATE.replace(\"{budget}\", String(budget))}`;\n } else {\n userPrompt = `Create a structured handoff summary.\\n\\nTURNS TO SUMMARIZE:\\n${serializedTurns}\\n\\n${TEMPLATE.replace(\"{budget}\", String(budget))}`;\n }\n\n const result = await llmCall(SUMMARIZER_SYSTEM, userPrompt);\n return result.trim();\n };\n}\n\n/**\n * Create a fully configured ContextOrchestrator.\n * Call this once at bridge startup when memory + transport are available.\n */\nexport function createContextOrchestrator(\n contextEngine: ContextEngine,\n llmCall: (systemPrompt: string, userPrompt: string) => Promise<string>,\n getLastAssistantTimestamp: (chatId: string) => number | null,\n): any {\n const CO = abmind()!.ContextOrchestrator;\n return new CO({\n contextEngine,\n summarize: createSummarizeFn(llmCall),\n getLastAssistantTimestamp,\n });\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;AAUA,IAAM,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAO1B,IAAM,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BV,SAAS,kBACd,SACa;AACb,SAAO,OAAO,iBAAyB,QAAgB,mBAA4C;AACjG,QAAI;AAEJ,QAAI,gBAAgB;AAClB,mBAAa;AAAA,EAAqD,cAAc;AAAA;AAAA;AAAA,EAAgC,eAAe;AAAA;AAAA;AAAA;AAAA,EAAmE,SAAS,QAAQ,YAAY,OAAO,MAAM,CAAC,CAAC;AAAA,IAChP,OAAO;AACL,mBAAa;AAAA;AAAA;AAAA,EAAgE,eAAe;AAAA;AAAA,EAAO,SAAS,QAAQ,YAAY,OAAO,MAAM,CAAC,CAAC;AAAA,IACjJ;AAEA,UAAM,SAAS,MAAM,QAAQ,mBAAmB,UAAU;AAC1D,WAAO,OAAO,KAAK;AAAA,EACrB;AACF;AAMO,SAAS,0BACd,eACA,SACA,2BACK;AACL,QAAM,KAAK,OAAO,EAAG;AACrB,SAAO,IAAI,GAAG;AAAA,IACZ;AAAA,IACA,WAAW,kBAAkB,OAAO;AAAA,IACpC;AAAA,EACF,CAAC;AACH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
printBanner
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-C3EYYJN3.js";
|
|
5
|
+
} from "./chunk-LN5MNDSA.js";
|
|
6
|
+
import "./chunk-QJPDBJDP.js";
|
|
8
7
|
import {
|
|
9
8
|
init_log_and_swallow,
|
|
10
9
|
logAndSwallow
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-W2PSVV2T.js";
|
|
11
|
+
import "./chunk-6S3G6GPO.js";
|
|
13
12
|
import {
|
|
14
13
|
abtarsHome,
|
|
15
14
|
init_paths
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7XXISOHU.js";
|
|
16
|
+
import "./chunk-2BXXQG7P.js";
|
|
17
17
|
import "./chunk-7K2YZTLD.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/daemon.ts
|
|
@@ -296,4 +296,4 @@ Usage: abtars daemon [install|uninstall|start|stop|restart|status]
|
|
|
296
296
|
export {
|
|
297
297
|
daemon
|
|
298
298
|
};
|
|
299
|
-
//# sourceMappingURL=daemon-
|
|
299
|
+
//# sourceMappingURL=daemon-W7VQOSZC.js.map
|
|
@@ -9,17 +9,19 @@ import {
|
|
|
9
9
|
setDelegationDeps,
|
|
10
10
|
spawnSessionTool,
|
|
11
11
|
terminateSessionTool
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QMP2KC4W.js";
|
|
13
|
+
import "./chunk-FSGICOCX.js";
|
|
14
14
|
import "./chunk-MV6CJFWR.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RCWQ34QR.js";
|
|
16
|
+
import "./chunk-7LORCJCQ.js";
|
|
17
|
+
import "./chunk-52PQM4EZ.js";
|
|
18
|
+
import "./chunk-RO3TAYBR.js";
|
|
19
|
+
import "./chunk-GFAJSPMD.js";
|
|
20
|
+
import "./chunk-B2TIRDZC.js";
|
|
21
|
+
import "./chunk-BWJ37KMW.js";
|
|
22
|
+
import "./chunk-6S3G6GPO.js";
|
|
23
|
+
import "./chunk-7XXISOHU.js";
|
|
24
|
+
import "./chunk-2BXXQG7P.js";
|
|
23
25
|
import "./chunk-7K2YZTLD.js";
|
|
24
26
|
export {
|
|
25
27
|
checkSessionTool,
|
|
@@ -31,4 +33,4 @@ export {
|
|
|
31
33
|
spawnSessionTool,
|
|
32
34
|
terminateSessionTool
|
|
33
35
|
};
|
|
34
|
-
//# sourceMappingURL=delegation-tools-
|
|
36
|
+
//# sourceMappingURL=delegation-tools-VGTRFQBF.js.map
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
deploy,
|
|
5
|
+
deployActivationCli,
|
|
6
|
+
syncSrcRepos
|
|
7
|
+
} from "./chunk-MJACYH7A.js";
|
|
8
|
+
import "./chunk-QJPDBJDP.js";
|
|
9
|
+
import "./chunk-2BXXQG7P.js";
|
|
7
10
|
import "./chunk-7K2YZTLD.js";
|
|
8
11
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
deploy,
|
|
13
|
+
deployActivationCli,
|
|
14
|
+
syncSrcRepos
|
|
11
15
|
};
|
|
12
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=deploy-5AGIULM2.js.map
|
|
@@ -19,13 +19,14 @@ import {
|
|
|
19
19
|
safeCopyTree,
|
|
20
20
|
writeManifest,
|
|
21
21
|
writeSentinel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QJPDBJDP.js";
|
|
23
23
|
import {
|
|
24
24
|
packagePaths,
|
|
25
25
|
resolveAbmindHome,
|
|
26
26
|
resolveAbtarsHome,
|
|
27
|
+
resolveReleasesDir,
|
|
27
28
|
resolveUserBinDir
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2BXXQG7P.js";
|
|
29
30
|
import "./chunk-7K2YZTLD.js";
|
|
30
31
|
export {
|
|
31
32
|
LockHeldError,
|
|
@@ -46,9 +47,10 @@ export {
|
|
|
46
47
|
removePath,
|
|
47
48
|
resolveAbmindHome,
|
|
48
49
|
resolveAbtarsHome,
|
|
50
|
+
resolveReleasesDir,
|
|
49
51
|
resolveUserBinDir,
|
|
50
52
|
safeCopyTree,
|
|
51
53
|
writeManifest,
|
|
52
54
|
writeSentinel
|
|
53
55
|
};
|
|
54
|
-
//# sourceMappingURL=deploy-lib-import-
|
|
56
|
+
//# sourceMappingURL=deploy-lib-import-ZBDYORN4.js.map
|
|
@@ -3,25 +3,31 @@
|
|
|
3
3
|
import {
|
|
4
4
|
OPTIONAL_DEPS,
|
|
5
5
|
SYSTEM_DEPS,
|
|
6
|
+
init_lazy_require,
|
|
6
7
|
installPackages,
|
|
7
8
|
isInstalled
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GFAJSPMD.js";
|
|
9
10
|
import {
|
|
10
11
|
printBanner
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import
|
|
12
|
+
} from "./chunk-LN5MNDSA.js";
|
|
13
|
+
import "./chunk-QJPDBJDP.js";
|
|
14
|
+
import "./chunk-6S3G6GPO.js";
|
|
15
|
+
import "./chunk-7XXISOHU.js";
|
|
16
|
+
import {
|
|
17
|
+
init_paths,
|
|
18
|
+
resolveReleasesDir
|
|
19
|
+
} from "./chunk-2BXXQG7P.js";
|
|
16
20
|
import "./chunk-7K2YZTLD.js";
|
|
17
21
|
|
|
18
22
|
// src/cli/commands/deps.ts
|
|
23
|
+
init_lazy_require();
|
|
24
|
+
init_paths();
|
|
19
25
|
import { spawnSync } from "node:child_process";
|
|
20
26
|
import { join } from "node:path";
|
|
21
27
|
import { existsSync, rmSync } from "node:fs";
|
|
22
28
|
import { homedir } from "node:os";
|
|
23
|
-
function
|
|
24
|
-
return join(homedir(), ".local", "lib", "node_modules");
|
|
29
|
+
function resolveNmDir() {
|
|
30
|
+
return process.env["ABTARS_NM"] ?? join(homedir(), ".local", "lib", "node_modules");
|
|
25
31
|
}
|
|
26
32
|
function list() {
|
|
27
33
|
process.stdout.write("External binaries:\n\n");
|
|
@@ -41,18 +47,14 @@ function list() {
|
|
|
41
47
|
`);
|
|
42
48
|
}
|
|
43
49
|
process.stdout.write(`
|
|
44
|
-
Install: abtars deps install
|
|
50
|
+
Install: abtars deps install [name|all] (default: native)
|
|
45
51
|
Update: abtars deps update [name|all] (skip if present)
|
|
46
52
|
Remove: abtars deps remove <name>
|
|
47
53
|
`);
|
|
48
54
|
return 0;
|
|
49
55
|
}
|
|
50
56
|
function install(names) {
|
|
51
|
-
|
|
52
|
-
process.stderr.write("Usage: abtars deps install <name|all>\nRun 'abtars deps list' to see available.\n");
|
|
53
|
-
return 1;
|
|
54
|
-
}
|
|
55
|
-
const targets = names.includes("all") ? Object.keys(OPTIONAL_DEPS) : names;
|
|
57
|
+
const targets = names.length === 0 ? ["native"] : names.includes("all") ? Object.keys(OPTIONAL_DEPS) : names;
|
|
56
58
|
for (const name of targets) {
|
|
57
59
|
const dep = OPTIONAL_DEPS[name];
|
|
58
60
|
if (!dep) {
|
|
@@ -60,7 +62,7 @@ function install(names) {
|
|
|
60
62
|
`);
|
|
61
63
|
return 1;
|
|
62
64
|
}
|
|
63
|
-
const nm =
|
|
65
|
+
const nm = resolveNmDir();
|
|
64
66
|
for (const pkg of dep.packages) {
|
|
65
67
|
const p = join(nm, pkg);
|
|
66
68
|
if (existsSync(p)) rmSync(p, { recursive: true, force: true });
|
|
@@ -72,7 +74,7 @@ function install(names) {
|
|
|
72
74
|
if (dep.postInstall) {
|
|
73
75
|
process.stdout.write(` post-install: ${dep.postInstall}
|
|
74
76
|
`);
|
|
75
|
-
spawnSync("npx", ["--prefix", join(
|
|
77
|
+
spawnSync("npx", ["--prefix", join(resolveReleasesDir(), "deps"), ...dep.postInstall.split(" ")], { stdio: "inherit" });
|
|
76
78
|
}
|
|
77
79
|
process.stdout.write(`\u2713 ${name} installed
|
|
78
80
|
`);
|
|
@@ -105,7 +107,7 @@ function update(names) {
|
|
|
105
107
|
if (dep.postInstall) {
|
|
106
108
|
process.stdout.write(` post-install: ${dep.postInstall}
|
|
107
109
|
`);
|
|
108
|
-
spawnSync("npx", ["--prefix", join(
|
|
110
|
+
spawnSync("npx", ["--prefix", join(resolveReleasesDir(), "deps"), ...dep.postInstall.split(" ")], { stdio: "inherit" });
|
|
109
111
|
}
|
|
110
112
|
process.stdout.write(`\u2713 ${name} installed
|
|
111
113
|
`);
|
|
@@ -123,7 +125,7 @@ function remove(names) {
|
|
|
123
125
|
process.stderr.write("Usage: abtars deps remove <name>\n");
|
|
124
126
|
return 1;
|
|
125
127
|
}
|
|
126
|
-
const nm =
|
|
128
|
+
const nm = resolveNmDir();
|
|
127
129
|
for (const name of names) {
|
|
128
130
|
const dep = OPTIONAL_DEPS[name];
|
|
129
131
|
if (!dep) {
|
|
@@ -162,4 +164,4 @@ Usage: abtars deps [list|install|update|remove]
|
|
|
162
164
|
export {
|
|
163
165
|
deps
|
|
164
166
|
};
|
|
165
|
-
//# sourceMappingURL=deps-
|
|
167
|
+
//# sourceMappingURL=deps-VB3S3RLF.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/cli/commands/deps.ts"],
|
|
4
|
+
"sourcesContent": ["import { printBanner } from './banner.js';\n/**\n * `abtars deps` \u2014 manage optional dependencies.\n *\n * install = always fresh install (rm + npm install). Default for setup.\n * update = skip if already installed (version-aware in future via manifest).\n */\nimport { OPTIONAL_DEPS, SYSTEM_DEPS, isInstalled, installPackages } from \"../../utils/lazy-require.js\";\nimport { spawnSync } from \"node:child_process\";\nimport { join } from \"node:path\";\nimport { existsSync, rmSync } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { resolveReleasesDir } from \"../deploy-lib/paths.js\";\n\nfunction resolveNmDir(): string {\n return process.env['ABTARS_NM'] ?? join(homedir(), '.local', 'lib', 'node_modules');\n}\n\nfunction list(): number {\n process.stdout.write(\"External binaries:\\n\\n\");\n for (const [name, dep] of Object.entries(SYSTEM_DEPS)) {\n if (dep.platform && dep.platform !== (process.platform === \"darwin\" ? \"darwin\" : \"linux\")) continue;\n const installed = spawnSync(\"which\", [dep.bin], { stdio: \"pipe\" }).status === 0;\n const icon = installed ? \"\u2713\" : \"\u25CB\";\n const hint = installed ? \"\" : ` \u2192 ${dep.installHint}`;\n process.stdout.write(` ${icon} ${name.padEnd(12)} ${dep.label}${hint}\\n`);\n }\n\n process.stdout.write(\"\\nNpm packages (auto-installable):\\n\\n\");\n for (const [name, dep] of Object.entries(OPTIONAL_DEPS)) {\n const installed = dep.packages.every(p => isInstalled(p));\n const icon = installed ? \"\u2713\" : \"\u25CB\";\n process.stdout.write(` ${icon} ${name.padEnd(12)} ${dep.label} (${dep.packages.join(\", \")})\\n`);\n }\n\n process.stdout.write(`\\nInstall: abtars deps install [name|all] (default: native)\\nUpdate: abtars deps update [name|all] (skip if present)\\nRemove: abtars deps remove <name>\\n`);\n return 0;\n}\n\nfunction install(names: string[]): number {\n const targets = names.length === 0 ? [\"native\"] : names.includes(\"all\")\n ? Object.keys(OPTIONAL_DEPS)\n : names;\n for (const name of targets) {\n const dep = OPTIONAL_DEPS[name];\n if (!dep) {\n process.stderr.write(`Unknown dep: ${name}. Run 'abtars deps list'.\\n`);\n return 1;\n }\n // Always remove + reinstall\n const nm = resolveNmDir();\n for (const pkg of dep.packages) {\n const p = join(nm, pkg);\n if (existsSync(p)) rmSync(p, { recursive: true, force: true });\n }\n process.stdout.write(`\u2192 Installing ${dep.label} (${dep.packages.join(\", \")})...\\n`);\n try {\n installPackages(dep.packages);\n if (dep.postInstall) {\n process.stdout.write(` post-install: ${dep.postInstall}\\n`);\n spawnSync(\"npx\", [\"--prefix\", join(resolveReleasesDir(), \"deps\"), ...dep.postInstall.split(\" \")], { stdio: \"inherit\" });\n }\n process.stdout.write(`\u2713 ${name} installed\\n`);\n } catch (err) {\n process.stderr.write(`x ${name} failed: ${err instanceof Error ? err.message : String(err)}\\n`);\n return 1;\n }\n }\n return 0;\n}\n\nfunction update(names: string[]): number {\n const targets = names.length === 0 || names.includes(\"all\") ? Object.keys(OPTIONAL_DEPS) : names;\n let skipped = 0;\n for (const name of targets) {\n const dep = OPTIONAL_DEPS[name];\n if (!dep) {\n process.stderr.write(`Unknown dep: ${name}. Run 'abtars deps list'.\\n`);\n return 1;\n }\n if (dep.packages.every(p => isInstalled(p))) {\n skipped++;\n continue;\n }\n process.stdout.write(`\u2192 Installing ${dep.label} (${dep.packages.join(\", \")})...\\n`);\n try {\n installPackages(dep.packages);\n if (dep.postInstall) {\n process.stdout.write(` post-install: ${dep.postInstall}\\n`);\n spawnSync(\"npx\", [\"--prefix\", join(resolveReleasesDir(), \"deps\"), ...dep.postInstall.split(\" \")], { stdio: \"inherit\" });\n }\n process.stdout.write(`\u2713 ${name} installed\\n`);\n } catch (err) {\n process.stderr.write(`x ${name} failed: ${err instanceof Error ? err.message : String(err)}\\n`);\n return 1;\n }\n }\n if (skipped === targets.length) process.stdout.write(\"All deps up to date.\\n\");\n return 0;\n}\n\nfunction remove(names: string[]): number {\n if (names.length === 0) {\n process.stderr.write(\"Usage: abtars deps remove <name>\\n\");\n return 1;\n }\n const nm = resolveNmDir();\n for (const name of names) {\n const dep = OPTIONAL_DEPS[name];\n if (!dep) {\n process.stderr.write(`Unknown dep: ${name}\\n`);\n return 1;\n }\n for (const pkg of dep.packages) {\n const p = join(nm, pkg);\n if (existsSync(p)) rmSync(p, { recursive: true });\n }\n process.stdout.write(`\u2713 ${name} removed\\n`);\n }\n return 0;\n}\n\nexport async function deps(args: string[]): Promise<number> {\n await printBanner(\"deps\");\n const sub = args[0] ?? \"list\";\n switch (sub) {\n case \"list\": return list();\n case \"install\": return install(args.slice(1));\n case \"update\": return update(args.slice(1));\n case \"remove\": return remove(args.slice(1));\n default:\n process.stderr.write(`Unknown: abtars deps ${sub}\\nUsage: abtars deps [list|install|update|remove]\\n`);\n return 1;\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|