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
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
import {
|
|
4
|
+
getMasterUserId,
|
|
5
|
+
init_master_user
|
|
6
|
+
} from "./chunk-RCWQ34QR.js";
|
|
7
|
+
import {
|
|
8
|
+
init_user_registry,
|
|
9
|
+
loadUsers
|
|
10
|
+
} from "./chunk-7LORCJCQ.js";
|
|
3
11
|
import {
|
|
4
12
|
init_spin_types,
|
|
5
13
|
parseSessionType,
|
|
@@ -7,7 +15,7 @@ import {
|
|
|
7
15
|
sessionType,
|
|
8
16
|
typeAgent,
|
|
9
17
|
typeLabel
|
|
10
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-52PQM4EZ.js";
|
|
11
19
|
import {
|
|
12
20
|
init_kanban_board,
|
|
13
21
|
isUnblocked,
|
|
@@ -18,20 +26,12 @@ import {
|
|
|
18
26
|
kanbanList,
|
|
19
27
|
kanbanRetryOrFail,
|
|
20
28
|
kanbanRunning
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
getMasterUserId,
|
|
24
|
-
init_master_user
|
|
25
|
-
} from "./chunk-TY26WMQY.js";
|
|
26
|
-
import {
|
|
27
|
-
init_user_registry,
|
|
28
|
-
loadUsers
|
|
29
|
-
} from "./chunk-43DKPXTP.js";
|
|
29
|
+
} from "./chunk-RO3TAYBR.js";
|
|
30
30
|
import {
|
|
31
31
|
init_logger,
|
|
32
32
|
logInfo,
|
|
33
33
|
logWarn
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6S3G6GPO.js";
|
|
35
35
|
import {
|
|
36
36
|
__esm,
|
|
37
37
|
__export,
|
|
@@ -368,7 +368,7 @@ __export(spin_exports, {
|
|
|
368
368
|
});
|
|
369
369
|
async function fireCallback(peerName, taskId, status, result, error, artifacts, tokensUsed) {
|
|
370
370
|
try {
|
|
371
|
-
const { getPeerTransport } = await import("./peer-transport-
|
|
371
|
+
const { getPeerTransport } = await import("./peer-transport-BK5VHI2M.js");
|
|
372
372
|
const transport = getPeerTransport();
|
|
373
373
|
const payload = { action: "callback", task_id: taskId, status, result_summary: result, error, tokens_used: tokensUsed ?? 0 };
|
|
374
374
|
if (artifacts?.length) payload.artifacts = artifacts;
|
|
@@ -845,7 +845,7 @@ var init_spin = __esm({
|
|
|
845
845
|
async pollRemoteCards() {
|
|
846
846
|
const remoteCards = kanbanList("running", "status").filter((c) => c.type === "remote");
|
|
847
847
|
if (remoteCards.length === 0) return;
|
|
848
|
-
const { getPeerTransport } = await import("./peer-transport-
|
|
848
|
+
const { getPeerTransport } = await import("./peer-transport-BK5VHI2M.js");
|
|
849
849
|
const transport = getPeerTransport();
|
|
850
850
|
const REMOTE_MAX_AGE_MS = 15 * 60 * 1e3;
|
|
851
851
|
for (const card of remoteCards) {
|
|
@@ -897,7 +897,7 @@ var init_spin = __esm({
|
|
|
897
897
|
}
|
|
898
898
|
}, 6e4);
|
|
899
899
|
try {
|
|
900
|
-
const { buildSoulBundle } = await import("./soul-bundle-
|
|
900
|
+
const { buildSoulBundle } = await import("./soul-bundle-RQ2YQMJW.js");
|
|
901
901
|
const bundle = buildSoulBundle(request.type);
|
|
902
902
|
let fullPrompt = bundle ? `${bundle}
|
|
903
903
|
|
|
@@ -905,7 +905,7 @@ var init_spin = __esm({
|
|
|
905
905
|
|
|
906
906
|
${request.goal}` : request.goal;
|
|
907
907
|
if (request.type === "W" || request.type === "T") {
|
|
908
|
-
const { channelUnread } = await import("./kanban-channel-
|
|
908
|
+
const { channelUnread } = await import("./kanban-channel-JMBYWGWD.js");
|
|
909
909
|
const workerName = `Worker-${String(cardId).padStart(2, "0")}`;
|
|
910
910
|
const parentCard = request.parentCardId ?? cardId;
|
|
911
911
|
const msgs = channelUnread(parentCard, workerName);
|
|
@@ -931,8 +931,8 @@ ${fullPrompt}`;
|
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
async executeOrc(request, cardId, timeoutMs) {
|
|
934
|
-
const { updateBridgeLockField } = await import("./bridge-lock-transport-
|
|
935
|
-
const { setActiveOrcCard } = await import("./orc-tools-
|
|
934
|
+
const { updateBridgeLockField } = await import("./bridge-lock-transport-BJAMHMXW.js");
|
|
935
|
+
const { setActiveOrcCard } = await import("./orc-tools-GME3DKIN.js");
|
|
936
936
|
updateBridgeLockField("orc_active", cardId);
|
|
937
937
|
setActiveOrcCard(cardId);
|
|
938
938
|
const orc = await this.getOrCreateOrc();
|
|
@@ -950,7 +950,7 @@ ${fullPrompt}`;
|
|
|
950
950
|
logWarn(TAG, `\u23F1\uFE0F O card:${cardId} timed out`);
|
|
951
951
|
}, timeoutMs);
|
|
952
952
|
try {
|
|
953
|
-
const { buildSoulBundle } = await import("./soul-bundle-
|
|
953
|
+
const { buildSoulBundle } = await import("./soul-bundle-RQ2YQMJW.js");
|
|
954
954
|
const bundle = buildSoulBundle("O");
|
|
955
955
|
const { localDateTime } = await import("./local-time-HT7A7OGW.js");
|
|
956
956
|
const context = `[CONTEXT \u2014 do not respond to this section]
|
|
@@ -964,10 +964,10 @@ ${fullPrompt}`;
|
|
|
964
964
|
---
|
|
965
965
|
|
|
966
966
|
${request.goal}` : request.goal);
|
|
967
|
-
const { drainOrcNotifications } = await import("./spin-notifications-
|
|
967
|
+
const { drainOrcNotifications } = await import("./spin-notifications-LD46B4K5.js");
|
|
968
968
|
const notifications = drainOrcNotifications(cardId);
|
|
969
969
|
if (notifications.length) fullPrompt = notifications.join("\n") + "\n\n" + fullPrompt;
|
|
970
|
-
const { channelUnread } = await import("./kanban-channel-
|
|
970
|
+
const { channelUnread } = await import("./kanban-channel-JMBYWGWD.js");
|
|
971
971
|
const orcMsgs = channelUnread(cardId, "Orc");
|
|
972
972
|
if (orcMsgs.length > 0) {
|
|
973
973
|
const lines = orcMsgs.map((m) => `[${m.from_agent}\u2192${m.to_agent}]${m.directive ? " \u26A1" : ""} ${m.message}`);
|
|
@@ -1005,4 +1005,4 @@ export {
|
|
|
1005
1005
|
spin_exports,
|
|
1006
1006
|
init_spin
|
|
1007
1007
|
};
|
|
1008
|
-
//# sourceMappingURL=chunk-
|
|
1008
|
+
//# sourceMappingURL=chunk-FSGICOCX.js.map
|
|
@@ -4,29 +4,17 @@ import {
|
|
|
4
4
|
init_logger,
|
|
5
5
|
logInfo,
|
|
6
6
|
logWarn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6S3G6GPO.js";
|
|
8
8
|
import {
|
|
9
|
+
__esm,
|
|
9
10
|
__require
|
|
10
11
|
} from "./chunk-7K2YZTLD.js";
|
|
11
12
|
|
|
12
13
|
// src/utils/lazy-require.ts
|
|
13
|
-
init_logger();
|
|
14
14
|
import { existsSync, mkdirSync } from "node:fs";
|
|
15
15
|
import { join } from "node:path";
|
|
16
16
|
import { homedir } from "node:os";
|
|
17
|
-
|
|
18
|
-
var OPTIONAL_DEPS = {
|
|
19
|
-
browser: { packages: ["cloakbrowser"], label: "CloakBrowser (stealth Chromium)" },
|
|
20
|
-
twitter: { packages: ["rettiwt-api"], label: "Twitter/X integration" },
|
|
21
|
-
pdf: { packages: ["pdf-parse"], label: "PDF reading" },
|
|
22
|
-
youtube: { packages: ["youtube-transcript"], label: "YouTube transcripts" },
|
|
23
|
-
image: { packages: ["jimp"], label: "Image processing" }
|
|
24
|
-
};
|
|
25
|
-
var SYSTEM_DEPS = {
|
|
26
|
-
bwrap: { bin: "bwrap", label: "Seatbelt sandbox (Linux)", installHint: "apt install bubblewrap", platform: "linux" },
|
|
27
|
-
lightpanda: { bin: "lightpanda", label: "Web-fetch level 3", installHint: "see https://lightpanda.io" },
|
|
28
|
-
ollama: { bin: "ollama", label: "Local embeddings", installHint: "curl -fsSL https://ollama.ai/install.sh | sh" }
|
|
29
|
-
};
|
|
17
|
+
import { createRequire } from "node:module";
|
|
30
18
|
function libDir() {
|
|
31
19
|
const d = join(homedir(), ".local", "lib");
|
|
32
20
|
mkdirSync(d, { recursive: true });
|
|
@@ -65,12 +53,40 @@ async function lazyRequire(pkg, label) {
|
|
|
65
53
|
throw new Error(`Optional dependency "${pkg}" not available. Install with: abtars deps install ${label ?? pkg}`);
|
|
66
54
|
}
|
|
67
55
|
}
|
|
56
|
+
function resolveNativeDep(pkg) {
|
|
57
|
+
const sharedPath = join(homedir(), ".local", "lib", "node_modules", pkg);
|
|
58
|
+
if (existsSync(sharedPath)) return _require(sharedPath);
|
|
59
|
+
return _require(pkg);
|
|
60
|
+
}
|
|
61
|
+
var TAG, _require, OPTIONAL_DEPS, SYSTEM_DEPS;
|
|
62
|
+
var init_lazy_require = __esm({
|
|
63
|
+
"src/utils/lazy-require.ts"() {
|
|
64
|
+
init_logger();
|
|
65
|
+
TAG = "deps";
|
|
66
|
+
_require = createRequire(import.meta.url);
|
|
67
|
+
OPTIONAL_DEPS = {
|
|
68
|
+
native: { packages: ["better-sqlite3", "sqlite-vec"], label: "SQLite native deps (kanban + memory)" },
|
|
69
|
+
browser: { packages: ["cloakbrowser"], label: "CloakBrowser (stealth Chromium)" },
|
|
70
|
+
twitter: { packages: ["rettiwt-api"], label: "Twitter/X integration" },
|
|
71
|
+
pdf: { packages: ["pdf-parse"], label: "PDF reading" },
|
|
72
|
+
youtube: { packages: ["youtube-transcript"], label: "YouTube transcripts" },
|
|
73
|
+
image: { packages: ["jimp"], label: "Image processing" }
|
|
74
|
+
};
|
|
75
|
+
SYSTEM_DEPS = {
|
|
76
|
+
bwrap: { bin: "bwrap", label: "Seatbelt sandbox (Linux)", installHint: "apt install bubblewrap", platform: "linux" },
|
|
77
|
+
lightpanda: { bin: "lightpanda", label: "Web-fetch level 3", installHint: "see https://lightpanda.io" },
|
|
78
|
+
ollama: { bin: "ollama", label: "Local embeddings", installHint: "curl -fsSL https://ollama.ai/install.sh | sh" }
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
});
|
|
68
82
|
|
|
69
83
|
export {
|
|
70
84
|
OPTIONAL_DEPS,
|
|
71
85
|
SYSTEM_DEPS,
|
|
72
86
|
isInstalled,
|
|
73
87
|
installPackages,
|
|
74
|
-
lazyRequire
|
|
88
|
+
lazyRequire,
|
|
89
|
+
resolveNativeDep,
|
|
90
|
+
init_lazy_require
|
|
75
91
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-GFAJSPMD.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/utils/lazy-require.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * lazy-require.ts \u2014 Install optional deps on first use.\n * Installs into ~/.local/lib/node_modules/. Falls back gracefully.\n */\nimport { existsSync, mkdirSync } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { homedir } from \"node:os\";\nimport { createRequire } from \"node:module\";\nimport { logInfo, logWarn } from \"../components/logger.js\";\n\nconst TAG = \"deps\";\n\nconst _require = createRequire(import.meta.url);\n\nexport interface OptionalDep {\n readonly packages: readonly string[];\n readonly label: string;\n readonly postInstall?: string;\n}\n\nexport const OPTIONAL_DEPS: Record<string, OptionalDep> = {\n native: { packages: [\"better-sqlite3\", \"sqlite-vec\"], label: \"SQLite native deps (kanban + memory)\" },\n browser: { packages: [\"cloakbrowser\"], label: \"CloakBrowser (stealth Chromium)\" },\n twitter: { packages: [\"rettiwt-api\"], label: \"Twitter/X integration\" },\n pdf: { packages: [\"pdf-parse\"], label: \"PDF reading\" },\n youtube: { packages: [\"youtube-transcript\"], label: \"YouTube transcripts\" },\n image: { packages: [\"jimp\"], label: \"Image processing\" },\n};\n\nexport interface SystemDep {\n readonly bin: string;\n readonly label: string;\n readonly installHint: string;\n readonly platform?: \"linux\" | \"darwin\";\n}\n\nexport const SYSTEM_DEPS: Record<string, SystemDep> = {\n bwrap: { bin: \"bwrap\", label: \"Seatbelt sandbox (Linux)\", installHint: \"apt install bubblewrap\", platform: \"linux\" },\n lightpanda: { bin: \"lightpanda\", label: \"Web-fetch level 3\", installHint: \"see https://lightpanda.io\" },\n ollama: { bin: \"ollama\", label: \"Local embeddings\", installHint: \"curl -fsSL https://ollama.ai/install.sh | sh\" },\n};\n\nfunction libDir(): string {\n const d = join(homedir(), \".local\", \"lib\");\n mkdirSync(d, { recursive: true });\n return d;\n}\n\nfunction libNodeModules(): string {\n return join(libDir(), \"node_modules\");\n}\n\n/** Check if a package is installed in ~/.abtars-releases/deps/ */\nexport function isInstalled(pkg: string): boolean {\n return existsSync(join(libNodeModules(), pkg));\n}\n\n/** Install packages into ~/.abtars-releases/deps/ */\nexport function installPackages(packages: readonly string[]): void {\n const { execSync } = require(\"node:child_process\");\n const dir = libDir();\n execSync(`npm install --prefix \"${dir}\" ${packages.join(\" \")} --no-audit --no-fund`, { stdio: \"pipe\" });\n}\n\n/**\n * Lazy import \u2014 tries normal import, falls back to ~/.local/lib/node_modules/, auto-installs if missing.\n */\nexport async function lazyRequire<T = any>(pkg: string, label?: string): Promise<T> {\n // Try normal resolution first (globally installed or in bundle)\n try { return await import(pkg); } catch { /* not found normally */ }\n\n // Try from ~/.local/lib/node_modules/\n const libNm = libNodeModules();\n const pkgPath = join(libNm, pkg);\n if (existsSync(pkgPath)) {\n try { return await import(pkgPath); } catch { /* broken install */ }\n }\n\n // Auto-install\n logInfo(TAG, `Installing ${label ?? pkg}...`);\n try {\n installPackages([pkg]);\n return await import(join(libNm, pkg));\n } catch (err) {\n logWarn(TAG, `Failed to install ${pkg}: ${err instanceof Error ? err.message : String(err)}`);\n throw new Error(`Optional dependency \"${pkg}\" not available. Install with: abtars deps install ${label ?? pkg}`);\n }\n}\n\n/**\n * Resolve a native dep from ~/.local/lib/node_modules/ first, then normal resolution.\n * Uses createRequire for ESM compatibility.\n */\nexport function resolveNativeDep(pkg: string): any {\n const sharedPath = join(homedir(), \".local\", \"lib\", \"node_modules\", pkg);\n if (existsSync(sharedPath)) return _require(sharedPath);\n return _require(pkg);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAIA,SAAS,YAAY,iBAAiB;AACtC,SAAS,YAAY;AACrB,SAAS,eAAe;AACxB,SAAS,qBAAqB;AAmC9B,SAAS,SAAiB;AACxB,QAAM,IAAI,KAAK,QAAQ,GAAG,UAAU,KAAK;AACzC,YAAU,GAAG,EAAE,WAAW,KAAK,CAAC;AAChC,SAAO;AACT;AAEA,SAAS,iBAAyB;AAChC,SAAO,KAAK,OAAO,GAAG,cAAc;AACtC;AAGO,SAAS,YAAY,KAAsB;AAChD,SAAO,WAAW,KAAK,eAAe,GAAG,GAAG,CAAC;AAC/C;AAGO,SAAS,gBAAgB,UAAmC;AACjE,QAAM,EAAE,SAAS,IAAI,UAAQ,oBAAoB;AACjD,QAAM,MAAM,OAAO;AACnB,WAAS,yBAAyB,GAAG,KAAK,SAAS,KAAK,GAAG,CAAC,yBAAyB,EAAE,OAAO,OAAO,CAAC;AACxG;AAKA,eAAsB,YAAqB,KAAa,OAA4B;AAElF,MAAI;AAAE,WAAO,MAAM,OAAO;AAAA,EAAM,QAAQ;AAAA,EAA2B;AAGnE,QAAM,QAAQ,eAAe;AAC7B,QAAM,UAAU,KAAK,OAAO,GAAG;AAC/B,MAAI,WAAW,OAAO,GAAG;AACvB,QAAI;AAAE,aAAO,MAAM,OAAO;AAAA,IAAU,QAAQ;AAAA,IAAuB;AAAA,EACrE;AAGA,UAAQ,KAAK,cAAc,SAAS,GAAG,KAAK;AAC5C,MAAI;AACF,oBAAgB,CAAC,GAAG,CAAC;AACrB,WAAO,MAAM,OAAO,KAAK,OAAO,GAAG;AAAA,EACrC,SAAS,KAAK;AACZ,YAAQ,KAAK,qBAAqB,GAAG,KAAK,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG,CAAC,EAAE;AAC5F,UAAM,IAAI,MAAM,wBAAwB,GAAG,sDAAsD,SAAS,GAAG,EAAE;AAAA,EACjH;AACF;AAMO,SAAS,iBAAiB,KAAkB;AACjD,QAAM,aAAa,KAAK,QAAQ,GAAG,UAAU,OAAO,gBAAgB,GAAG;AACvE,MAAI,WAAW,UAAU,EAAG,QAAO,SAAS,UAAU;AACtD,SAAO,SAAS,GAAG;AACrB;AAjGA,IAUM,KAEA,UAQO,eAgBA;AApCb;AAAA;AAQA;AAEA,IAAM,MAAM;AAEZ,IAAM,WAAW,cAAc,YAAY,GAAG;AAQvC,IAAM,gBAA6C;AAAA,MACxD,QAAS,EAAE,UAAU,CAAC,kBAAkB,YAAY,GAAG,OAAO,uCAAuC;AAAA,MACrG,SAAS,EAAE,UAAU,CAAC,cAAc,GAAG,OAAO,kCAAkC;AAAA,MAChF,SAAS,EAAE,UAAU,CAAC,aAAa,GAAG,OAAO,wBAAwB;AAAA,MACrE,KAAS,EAAE,UAAU,CAAC,WAAW,GAAG,OAAO,cAAc;AAAA,MACzD,SAAS,EAAE,UAAU,CAAC,oBAAoB,GAAG,OAAO,sBAAsB;AAAA,MAC1E,OAAS,EAAE,UAAU,CAAC,MAAM,GAAG,OAAO,mBAAmB;AAAA,IAC3D;AASO,IAAM,cAAyC;AAAA,MACpD,OAAY,EAAE,KAAK,SAAc,OAAO,4BAA4B,aAAa,0BAA0B,UAAU,QAAQ;AAAA,MAC7H,YAAY,EAAE,KAAK,cAAc,OAAO,qBAA4B,aAAa,4BAA4B;AAAA,MAC7G,QAAY,EAAE,KAAK,UAAc,OAAO,oBAA4B,aAAa,+CAA+C;AAAA,IAClI;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import {
|
|
4
4
|
init_peer_config,
|
|
5
5
|
loadPeerConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X7DLKIQM.js";
|
|
7
7
|
import {
|
|
8
8
|
init_peer_jwt,
|
|
9
9
|
signJwt
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O4YBJS2K.js";
|
|
11
11
|
import {
|
|
12
12
|
__esm
|
|
13
13
|
} from "./chunk-7K2YZTLD.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
tlsOptions,
|
|
63
63
|
init_peer_auth
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-GHRLO2UL.js.map
|