0sec-cli 0.23.0 → 0.24.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/0.js +66 -67
- package/README.md +37 -11
- package/chunks/{adapt-loop-V3JFWOKC.js → adapt-loop-L77BWMNE.js} +4 -4
- package/chunks/{artifact-scraper-NYKUF2M5.js → artifact-scraper-BV67RAP5.js} +2 -2
- package/chunks/{assumption-mining-ZX3YVWEH.js → assumption-mining-RPVR77A3.js} +18 -18
- package/chunks/{backend-connections-H52NIVH2.js → backend-connections-ACIXNYZN.js} +3 -3
- package/chunks/{chunk-MQJVU2GZ.js → chunk-2NBZZFRG.js} +79 -9
- package/chunks/{chunk-A2ADXAC5.js → chunk-2XGBEH53.js} +1288 -2313
- package/chunks/{chunk-3E54JYS4.js → chunk-3LPBJMHB.js} +1 -1
- package/chunks/{chunk-XORZUR2H.js → chunk-3WUPCZGF.js} +1 -1
- package/chunks/{chunk-65H3MRBF.js → chunk-4ROZFLSR.js} +1 -1
- package/chunks/chunk-56UTQKXO.js +56 -0
- package/chunks/{chunk-YYS2H33A.js → chunk-5ETI27Q3.js} +2 -2
- package/chunks/{chunk-3ZNI7F42.js → chunk-5NFIY2SJ.js} +3 -3
- package/chunks/{chunk-A5QO7N3S.js → chunk-5PFRE522.js} +1 -1
- package/chunks/{chunk-EH2WTNY7.js → chunk-5WAHHZBF.js} +1424 -859
- package/chunks/{chunk-WIYNYNL2.js → chunk-6XMFCVJS.js} +1 -1
- package/chunks/chunk-7UHAXEOV.js +289 -0
- package/chunks/{chunk-CP6HANBE.js → chunk-BD7WULFS.js} +4 -3
- package/chunks/{chunk-T7ZEVY5G.js → chunk-BMDG6T7D.js} +815 -41
- package/chunks/{chunk-QMICC5O2.js → chunk-BOBIAHKA.js} +2 -2
- package/chunks/{chunk-VDOWARMJ.js → chunk-BPU6M42R.js} +15 -1
- package/chunks/{chunk-UELXHK2Y.js → chunk-CGBDEST2.js} +16 -5
- package/chunks/{remote-workflow-runtime-RGQ5ECMN.js → chunk-CJRZSWII.js} +39 -8
- package/chunks/chunk-F2P25DJY.js +5421 -0
- package/chunks/{chunk-TO35Y326.js → chunk-GTED3FSZ.js} +5 -2
- package/chunks/{chunk-LT7BFGXA.js → chunk-GV5WXDHY.js} +10 -10
- package/chunks/{chunk-LTEE2JWK.js → chunk-GXXX7AGH.js} +251 -8
- package/chunks/chunk-GZA7RGK7.js +5198 -0
- package/chunks/{chunk-KHPOSLCF.js → chunk-H5QURBBK.js} +174 -710
- package/chunks/chunk-I43YYHDU.js +566 -0
- package/chunks/{chunk-62ENS6XO.js → chunk-IIBNQTOK.js} +3 -2
- package/chunks/{chunk-BF5FIK7H.js → chunk-IJ6UPW3H.js} +108 -24
- package/chunks/{chunk-TPUJZ74W.js → chunk-ILRMLA6J.js} +2 -2
- package/chunks/{chunk-I3OCJ2OA.js → chunk-JWSOUKFF.js} +5 -3
- package/chunks/{chunk-UZUELPFW.js → chunk-K74DRDC5.js} +1 -1
- package/chunks/chunk-LMP2T4G2.js +700 -0
- package/chunks/{chunk-K55B4OH4.js → chunk-NBV4I237.js} +1 -1
- package/chunks/chunk-OOMBOLAF.js +295 -0
- package/chunks/{chunk-YAEJAZYW.js → chunk-PJU24AKR.js} +2 -2
- package/chunks/{chunk-NI6QYQSK.js → chunk-PVJUPIQG.js} +6 -6
- package/chunks/{chunk-WYNZFNMF.js → chunk-Q7JKIKKF.js} +289 -10
- package/chunks/{chunk-ITES7BCY.js → chunk-QNRYOJEB.js} +3 -111
- package/chunks/{chunk-PIR6BNE7.js → chunk-R2XBH476.js} +2 -2
- package/chunks/{chunk-O6Z4XPOM.js → chunk-RURJYCWY.js} +1 -1
- package/chunks/chunk-RVJVM5L4.js +164 -0
- package/chunks/{chunk-NX4H6L4M.js → chunk-S2GITRD5.js} +2 -2
- package/chunks/{chunk-W5VNCB57.js → chunk-SU4IHQQI.js} +1 -1
- package/chunks/{chunk-V2BWXPZP.js → chunk-SZDD77KX.js} +6 -6
- package/chunks/{chunk-EJH2TNVH.js → chunk-TVS6WVSK.js} +3 -3
- package/chunks/{chunk-LVGZGG63.js → chunk-UJE4WOQS.js} +1 -1
- package/chunks/chunk-VU7V2SDW.js +284 -0
- package/chunks/chunk-W624J7NF.js +117 -0
- package/chunks/{chunk-OLSKXTQZ.js → chunk-WUPN3D37.js} +22 -248
- package/chunks/{chunk-HFDSIHTE.js → chunk-X2IPO5JO.js} +202 -30
- package/chunks/{chunk-JEYIWMGL.js → chunk-X2ZMSRTP.js} +1 -1
- package/chunks/{chunk-F344NYUN.js → chunk-XA2IBHPB.js} +1 -1
- package/chunks/{chunk-Y4HJRUFE.js → chunk-YERUDEXT.js} +876 -817
- package/chunks/{chunk-AAA4PRWK.js → chunk-YKWARO3T.js} +2 -2
- package/chunks/{chunk-P7KDN5PK.js → chunk-YSQWZ67M.js} +14 -14
- package/chunks/{chunk-4HGGNBKK.js → chunk-ZM6ANQZJ.js} +2593 -1563
- package/chunks/{codex-models-Y457ND6Q.js → codex-models-6XVNFRXZ.js} +7 -7
- package/chunks/{commands-PBDAOZKA.js → commands-FRPOFIO4.js} +1603 -6945
- package/chunks/dashboard-5HDSNBAU.js +76 -0
- package/chunks/{db-TPSI552V.js → db-BXJNWUYJ.js} +3 -3
- package/chunks/{deep-review-DKED6EN5.js → deep-review-GSJEBLCG.js} +34 -33
- package/chunks/{disclose-LDNKAVRH.js → disclose-OU6Z6GVT.js} +4 -2
- package/chunks/{dist-RLPNLRZD.js → dist-7KSYDDSG.js} +33 -1
- package/chunks/{dist-7Q5A6TQM.js → dist-RKLQIXDT.js} +18 -2
- package/chunks/{dist-4LGRIBOC.js → dist-TQMHMSBZ.js} +99 -64
- package/chunks/eval-runner-A2DIGVP7.js +31 -0
- package/chunks/{exploit-agent-RMFYNG7H.js → exploit-agent-Y2P4GFIY.js} +1 -1
- package/chunks/{exploit-autoclimb-2A2PQI4E.js → exploit-autoclimb-YRZ3TMS2.js} +1 -1
- package/chunks/{exploit-climb-DEJ232QN.js → exploit-climb-4LEY4SDW.js} +2 -2
- package/chunks/{fix-JGBW7XUN.js → fix-RQSIG75B.js} +7 -7
- package/chunks/{harness-CBOLMUHB.js → harness-3NVC3DDY.js} +3 -3
- package/chunks/{hunt-scan-MIRMABY4.js → hunt-scan-W246VWJC.js} +16 -16
- package/chunks/{kernel-primitive-NAPDMJC7.js → kernel-primitive-T47V3RD3.js} +2 -2
- package/chunks/{kernel-vm-runner-PR5OSDQ2.js → kernel-vm-runner-AEL5E3SV.js} +2 -2
- package/chunks/local-engine-ZCW4YC6E.js +21 -0
- package/chunks/managed-operation-6R2QPPW5.js +60 -0
- package/chunks/{memsafety-scan-RPS446CD.js → memsafety-scan-L2Z7E7TE.js} +2 -2
- package/chunks/{native-loop-CGOJMNHV.js → native-loop-26X2CHBV.js} +14 -13
- package/chunks/orchestrate-OBS37FWQ.js +63 -0
- package/chunks/{prepare-YVNENPNL.js → prepare-C3KGMBXT.js} +5 -5
- package/chunks/provider-model-discovery-QGUGL3XW.js +277 -0
- package/chunks/remote-workflow-runtime-DB52SINR.js +12 -0
- package/chunks/{run-VH4OIDKF.js → run-MU3MFL2Z.js} +902 -322
- package/chunks/{runtime-4TAJFVF7.js → runtime-AUBLQUOH.js} +2 -2
- package/chunks/{runtime-HWL6HG7A.js → runtime-U66JNSAY.js} +7 -7
- package/chunks/{scan-stream-HJAZJONE.js → scan-stream-34F3LTPV.js} +3 -2
- package/chunks/{scope-Q5PIX2IS.js → scope-HSTG63TQ.js} +2 -2
- package/chunks/service-plugins-5B23PWXC.js +64 -0
- package/chunks/{session-store-2FEIZGSV.js → session-store-MKAAP3WL.js} +2 -2
- package/chunks/{variant-candidates-TX5V6XOT.js → variant-candidates-LG767HWH.js} +7 -7
- package/chunks/{web-recon-prepass-6HOUGF7Q.js → web-recon-prepass-NJP6J3E4.js} +5 -5
- package/chunks/workflow-runtime-AR627I26.js +178 -0
- package/dashboard/assets/{abnfDiagram-VCTEODGH-BuvumFYR.js → abnfDiagram-VCTEODGH-Cq149Jpk.js} +1 -1
- package/dashboard/assets/{arc-DZzWDuCG.js → arc-CpP-3TRW.js} +1 -1
- package/dashboard/assets/architecture-7GRP2DOG-z5EHYkyH.js +1 -0
- package/dashboard/assets/{architectureDiagram-5GKGNRK7-Bw5el_EL.js → architectureDiagram-5GKGNRK7-ewtXpjR_.js} +1 -1
- package/dashboard/assets/{blockDiagram-I7D4REHJ-BjVLEApp.js → blockDiagram-I7D4REHJ-CZYkRRDi.js} +1 -1
- package/dashboard/assets/{c4Diagram-7LVT6UL2-B9nNzx2J.js → c4Diagram-7LVT6UL2-CV7Iu3_Z.js} +1 -1
- package/dashboard/assets/channel-CuYjfiC5.js +1 -0
- package/dashboard/assets/{chunk-4HAMMTFA-y72Q95nW.js → chunk-4HAMMTFA-PKCyW4m-.js} +1 -1
- package/dashboard/assets/{chunk-75Z2AOVW-BOhrOGMO.js → chunk-75Z2AOVW-C5MlFTc_.js} +1 -1
- package/dashboard/assets/{chunk-DU6HZSFF-B0EhAaNb.js → chunk-DU6HZSFF-3M37ulcO.js} +2 -2
- package/dashboard/assets/{chunk-F27PBJKO-BR-hiDvM.js → chunk-F27PBJKO-DTAok0qM.js} +1 -1
- package/dashboard/assets/{chunk-GMAD6QVW-H15vJYXg.js → chunk-GMAD6QVW-CPsr2F33.js} +1 -1
- package/dashboard/assets/{chunk-GVQU2GXP-BRndps0o.js → chunk-GVQU2GXP-C2AXGf9A.js} +1 -1
- package/dashboard/assets/{chunk-IMKFNOWR-CIzC_OWx.js → chunk-IMKFNOWR-DMG6yD_O.js} +1 -1
- package/dashboard/assets/{chunk-L3NEJ4N5-NR4P1Vko.js → chunk-L3NEJ4N5-BSvwdbXx.js} +1 -1
- package/dashboard/assets/{chunk-OSK3NFVY-DtjTDf8S.js → chunk-OSK3NFVY-CfB8V7FU.js} +1 -1
- package/dashboard/assets/{chunk-P2QGCYS3-CYT11Qjx.js → chunk-P2QGCYS3-CvmZvq6n.js} +1 -1
- package/dashboard/assets/{chunk-POPQ4Y6H-Duj2Ygwu.js → chunk-POPQ4Y6H-D_TvwDxL.js} +1 -1
- package/dashboard/assets/{chunk-PWAF6VOD-z4p5Tf_y.js → chunk-PWAF6VOD-Da5GnuOY.js} +1 -1
- package/dashboard/assets/{chunk-SHT3W25Y-DYeLYLS3.js → chunk-SHT3W25Y-CcsMJpR-.js} +1 -1
- package/dashboard/assets/{chunk-SVP7TREG-BKowxCVI.js → chunk-SVP7TREG-COojjieJ.js} +1 -1
- package/dashboard/assets/{chunk-TICWLB2K-GDAwEFlH.js → chunk-TICWLB2K-nBAmJwx6.js} +1 -1
- package/dashboard/assets/{chunk-XXDRQBXY-DRD79Mjx.js → chunk-XXDRQBXY-r5HyhWDv.js} +1 -1
- package/dashboard/assets/classDiagram-ZZMXUADV-DCuOrWUV.js +1 -0
- package/dashboard/assets/classDiagram-v2-VYDZK3BY-DCuOrWUV.js +1 -0
- package/dashboard/assets/{common-vnzd7UOF.js → common-C6snVPsk.js} +1 -1
- package/dashboard/assets/{cose-bilkent-JH36ORCC-GqCLsRyf.js → cose-bilkent-JH36ORCC-BLGcaZHk.js} +1 -1
- package/dashboard/assets/{cynefin-OW5HDTMX-CJN9YwWN.js → cynefin-OW5HDTMX-DbZMK00I.js} +1 -1
- package/dashboard/assets/{cynefinDiagram-5FMLGOSQ-DVJHCYQY.js → cynefinDiagram-5FMLGOSQ-xodkuQtW.js} +1 -1
- package/dashboard/assets/{dagre-GXQ25YYZ-BMCrrJJR.js → dagre-GXQ25YYZ-CRk9qfSG.js} +1 -1
- package/dashboard/assets/{diagram-S7CK7UJ4-CLYDdOEm.js → diagram-S7CK7UJ4-DNoTMlCO.js} +1 -1
- package/dashboard/assets/{diagram-UQ7AKVKN-CnPuAZK7.js → diagram-UQ7AKVKN-COccuyew.js} +1 -1
- package/dashboard/assets/{diagram-VSXAHHWV-Cr2I2DnG.js → diagram-VSXAHHWV-g6D1tWRb.js} +1 -1
- package/dashboard/assets/{diagram-VX7I27RA-_mGW1wpp.js → diagram-VX7I27RA-DhO4eVIC.js} +1 -1
- package/dashboard/assets/{diagram-Z3DM3KII-igybB0l9.js → diagram-Z3DM3KII-DeOQFexd.js} +1 -1
- package/dashboard/assets/{dist-Bb7_-x5y.js → dist-BQYeOQg3.js} +1 -1
- package/dashboard/assets/{ebnfDiagram-PWID7BFC-CVCICf2R.js → ebnfDiagram-PWID7BFC-MtkX2feM.js} +1 -1
- package/dashboard/assets/{erDiagram-RLTQ6QDP-CRjnfgxj.js → erDiagram-RLTQ6QDP-DIWSsoYZ.js} +1 -1
- package/dashboard/assets/eventmodeling-NTZA5JFV-D_3ez4Gv.js +1 -0
- package/dashboard/assets/flowDiagram-HODETNUW-D2boyYEd.js +1 -0
- package/dashboard/assets/{ganttDiagram-EL5Y4UJY-DppD7sD7.js → ganttDiagram-EL5Y4UJY-DKggkJe0.js} +1 -1
- package/dashboard/assets/{gitGraph-4MIJSDKK-Tw0vNnQc.js → gitGraph-4MIJSDKK-DFOQYwXc.js} +1 -1
- package/dashboard/assets/{gitGraphDiagram-WWUBYQGX-Cpf96-z3.js → gitGraphDiagram-WWUBYQGX-r_iR8Qzo.js} +1 -1
- package/dashboard/assets/{info-A6RAGUB7-DLyt9arx.js → info-A6RAGUB7-DeednLoB.js} +1 -1
- package/dashboard/assets/{infoDiagram-27XIBGKW-B6_piSNS.js → infoDiagram-27XIBGKW-ClQk7UyQ.js} +1 -1
- package/dashboard/assets/{ishikawaDiagram-5VMMS53U-DvMO0B0X.js → ishikawaDiagram-5VMMS53U-tR7Vziog.js} +1 -1
- package/dashboard/assets/{journeyDiagram-3NMN7TZE-f7ZK98b6.js → journeyDiagram-3NMN7TZE-Cpb9IqKL.js} +1 -1
- package/dashboard/assets/{kanban-definition-UXKFOSKX-Dso0nAxL.js → kanban-definition-UXKFOSKX-BzUuKbA9.js} +1 -1
- package/dashboard/assets/katex-BdBmVSus.js +257 -0
- package/dashboard/assets/{line-VcKaFG0G.js → line-BHY_tSHu.js} +1 -1
- package/dashboard/assets/{linear-D7YnpiWh.js → linear-naZZ1pHk.js} +1 -1
- package/dashboard/assets/{mermaid-parser.core-DriL2hrV.js → mermaid-parser.core-CPvd4cEx.js} +3 -3
- package/dashboard/assets/{mermaid.core-DJWYDh_P.js → mermaid.core-D_QsUPU8.js} +4 -4
- package/dashboard/assets/{mindmap-definition-YA3MSWOX-DZsoIeac.js → mindmap-definition-YA3MSWOX-CtfLTPPJ.js} +1 -1
- package/dashboard/assets/operations-BwCzhVnT.js +130 -0
- package/dashboard/assets/operations-QjKT0Hwi.css +1 -0
- package/dashboard/assets/{packet-AYTQ26CC-BQBIXKxk.js → packet-AYTQ26CC-DDQbkT9I.js} +1 -1
- package/dashboard/assets/{pegDiagram-XKGWAZYB-B0-lslgW.js → pegDiagram-XKGWAZYB-C1Dclbzj.js} +1 -1
- package/dashboard/assets/{pie-WAS4IAKB-DoY6dwQs.js → pie-WAS4IAKB-LpU4ULAs.js} +1 -1
- package/dashboard/assets/{pieDiagram-E7YTZNPT-ElmdRjp5.js → pieDiagram-E7YTZNPT-Cd7XwYo5.js} +1 -1
- package/dashboard/assets/{quadrantDiagram-AXDQQJYC-Ci1h98Q2.js → quadrantDiagram-AXDQQJYC-CaS-GQ4X.js} +1 -1
- package/dashboard/assets/{radar-RG4KPBEZ-DHod2WgB.js → radar-RG4KPBEZ-CcxW3NJm.js} +1 -1
- package/dashboard/assets/{railroad-74A4TZTK-90JxB4xV.js → railroad-74A4TZTK-9P5Rl8fP.js} +1 -1
- package/dashboard/assets/railroad-abnf-HS5TGJTU-CSfpwjna.js +1 -0
- package/dashboard/assets/railroad-ebnf-LZEXJU2U-D6R5qzr-.js +1 -0
- package/dashboard/assets/railroad-peg-WCYAUIDC-DKEX7ITG.js +1 -0
- package/dashboard/assets/{railroadDiagram-O6MQD6OU-k3190A6L.js → railroadDiagram-O6MQD6OU-BeesTrqn.js} +1 -1
- package/dashboard/assets/{requirementDiagram-BXWQKSXE-C3-eR7I5.js → requirementDiagram-BXWQKSXE-IjyK0DhW.js} +1 -1
- package/dashboard/assets/{sankeyDiagram-P5KCCOFB-Bc86pi8w.js → sankeyDiagram-P5KCCOFB-DmIluQqo.js} +1 -1
- package/dashboard/assets/{sequenceDiagram-WJ2MYXX4-Bv_MvEmz.js → sequenceDiagram-WJ2MYXX4-CUp8ZjTc.js} +1 -1
- package/dashboard/assets/{src-D7Dqq5yP.js → src-r61wDjcA.js} +1 -1
- package/dashboard/assets/{stateDiagram-D77RDMKH-Bq_GVmeW.js → stateDiagram-D77RDMKH-Dy9TQb8P.js} +1 -1
- package/dashboard/assets/stateDiagram-v2-MP3YSRHH-CQb0ZtPr.js +1 -0
- package/dashboard/assets/{swimlanes-42K2YHIH-q0iK-e0P.js → swimlanes-42K2YHIH-CZuDV7V5.js} +1 -1
- package/dashboard/assets/swimlanesDiagram-VR7AAH4N-BxgWMq8X.js +8 -0
- package/dashboard/assets/{timeline-definition-24CTP7MA-CNfF07hM.js → timeline-definition-24CTP7MA-BGdXW-iY.js} +1 -1
- package/dashboard/assets/{treeView-Q6P3EWNA-m629ePnS.js → treeView-Q6P3EWNA-DlRrayjM.js} +1 -1
- package/dashboard/assets/{treemap-WGGIJYW6-D9Cb2ETv.js → treemap-WGGIJYW6-C6UqLKfI.js} +1 -1
- package/dashboard/assets/{vennDiagram-4TSXK5OY-v4dKF-FE.js → vennDiagram-4TSXK5OY-DzKWHJsl.js} +1 -1
- package/dashboard/assets/{wardley-WFR3VGLG-DkwH_nRe.js → wardley-WFR3VGLG-thmyHKb0.js} +1 -1
- package/dashboard/assets/{wardleyDiagram-VM6X3IG4-3ImohVu4.js → wardleyDiagram-VM6X3IG4-DGsjYmNJ.js} +1 -1
- package/dashboard/assets/{xychartDiagram-S5SC5T6Z-QJu3dm7K.js → xychartDiagram-S5SC5T6Z-C7_T_tWt.js} +1 -1
- package/dashboard/index.html +3 -3
- package/package.json +3 -2
- package/worker-assets/demo-target/README.md +15 -0
- package/worker-assets/demo-target/include/decoder.h +27 -0
- package/worker-assets/demo-target/patched-decoder.c +40 -0
- package/worker-assets/demo-target/src/decoder.c +50 -0
- package/worker-assets/demo-target/witness-65537x1.bin +0 -0
- package/chunks/chunk-3P3XXSIJ.js +0 -463
- package/chunks/chunk-EWXOG6D3.js +0 -1695
- package/chunks/chunk-FXR3BT2G.js +0 -226
- package/chunks/chunk-R35KKJA4.js +0 -90
- package/chunks/eval-runner-RZKDOQ2G.js +0 -30
- package/chunks/managed-operation-YNQQEA5V.js +0 -59
- package/chunks/orchestrate-5NK34H3W.js +0 -62
- package/chunks/service-plugins-QYFITODK.js +0 -63
- package/chunks/workflow-runtime-ZEEBJFQG.js +0 -64
- package/dashboard/assets/architecture-7GRP2DOG-DK9bv1Md.js +0 -1
- package/dashboard/assets/channel-Ck17eKdX.js +0 -1
- package/dashboard/assets/classDiagram-ZZMXUADV-BaeZA6LE.js +0 -1
- package/dashboard/assets/classDiagram-v2-VYDZK3BY-BaeZA6LE.js +0 -1
- package/dashboard/assets/eventmodeling-NTZA5JFV-po5oDydv.js +0 -1
- package/dashboard/assets/flowDiagram-HODETNUW-TSV9s7q4.js +0 -1
- package/dashboard/assets/katex-CXMH3UgJ.js +0 -257
- package/dashboard/assets/operations-BIaUSnYv.js +0 -121
- package/dashboard/assets/operations-BeCdkT4S.css +0 -1
- package/dashboard/assets/railroad-abnf-HS5TGJTU-BkXGl114.js +0 -1
- package/dashboard/assets/railroad-ebnf-LZEXJU2U-QVAERn2C.js +0 -1
- package/dashboard/assets/railroad-peg-WCYAUIDC-B1-PM01z.js +0 -1
- package/dashboard/assets/stateDiagram-v2-MP3YSRHH-z1XRaftz.js +0 -1
- package/dashboard/assets/swimlanesDiagram-VR7AAH4N-C9L6XBQj.js +0 -8
- package/dashboard/assets/zero-connect-BGDY0PMZ.webp +0 -0
- package/dashboard/assets/zero-curious-DovTLOs8.webp +0 -0
- package/dashboard/assets/zero-peek-Dzm3MT3X.png +0 -0
- package/dashboard/assets/zero-planning-CBeHDrG_.webp +0 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
presentationEventBus
|
|
6
|
+
} from "./chunk-56UTQKXO.js";
|
|
7
|
+
import {
|
|
8
|
+
createPresentationEvent
|
|
9
|
+
} from "./chunk-GXXX7AGH.js";
|
|
10
|
+
|
|
11
|
+
// packages/cli/src/presentation/process-output.ts
|
|
12
|
+
import { format } from "node:util";
|
|
13
|
+
var streamBridgeSuppressionDepth = 0;
|
|
14
|
+
var activeStreamBridge = null;
|
|
15
|
+
function currentPresentationTimestamp() {
|
|
16
|
+
return (/* @__PURE__ */ new Date()).toISOString();
|
|
17
|
+
}
|
|
18
|
+
function createProcessPresentationOutput(options = {}) {
|
|
19
|
+
const stdout = options.stdout ?? { write: process.stdout.write.bind(process.stdout) };
|
|
20
|
+
const stderr = options.stderr ?? { write: process.stderr.write.bind(process.stderr) };
|
|
21
|
+
const source = options.source ?? "cli";
|
|
22
|
+
const now = options.now ?? currentPresentationTimestamp;
|
|
23
|
+
let sequence = 0;
|
|
24
|
+
const write = (channel, target, text, eventType) => {
|
|
25
|
+
const event = createPresentationEvent({
|
|
26
|
+
source,
|
|
27
|
+
sequence: ++sequence,
|
|
28
|
+
at: now(),
|
|
29
|
+
eventType,
|
|
30
|
+
payload: { channel, text }
|
|
31
|
+
});
|
|
32
|
+
streamBridgeSuppressionDepth += 1;
|
|
33
|
+
try {
|
|
34
|
+
target.write(text);
|
|
35
|
+
} finally {
|
|
36
|
+
streamBridgeSuppressionDepth -= 1;
|
|
37
|
+
}
|
|
38
|
+
options.onEvent?.(event);
|
|
39
|
+
return event;
|
|
40
|
+
};
|
|
41
|
+
return {
|
|
42
|
+
stdout(text, eventType = "output.stdout") {
|
|
43
|
+
return write("stdout", stdout, text, eventType);
|
|
44
|
+
},
|
|
45
|
+
stderr(text, eventType = "output.stderr") {
|
|
46
|
+
return write("stderr", stderr, text, eventType);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function createConsolePresentationOutput(options = {}) {
|
|
51
|
+
const source = options.source ?? "cli";
|
|
52
|
+
const now = options.now ?? currentPresentationTimestamp;
|
|
53
|
+
let sequence = 0;
|
|
54
|
+
const emit = (channel, text, eventType) => {
|
|
55
|
+
const event = createPresentationEvent({
|
|
56
|
+
source,
|
|
57
|
+
sequence: ++sequence,
|
|
58
|
+
at: now(),
|
|
59
|
+
eventType,
|
|
60
|
+
payload: { channel, text }
|
|
61
|
+
});
|
|
62
|
+
streamBridgeSuppressionDepth += 1;
|
|
63
|
+
try {
|
|
64
|
+
if (channel === "stdout") {
|
|
65
|
+
(options.log ?? console.log)(text);
|
|
66
|
+
} else {
|
|
67
|
+
(options.error ?? console.error)(text);
|
|
68
|
+
}
|
|
69
|
+
} finally {
|
|
70
|
+
streamBridgeSuppressionDepth -= 1;
|
|
71
|
+
}
|
|
72
|
+
options.onEvent?.(event);
|
|
73
|
+
return event;
|
|
74
|
+
};
|
|
75
|
+
return {
|
|
76
|
+
stdout(text, eventType = "output.stdout") {
|
|
77
|
+
return emit("stdout", text, eventType);
|
|
78
|
+
},
|
|
79
|
+
stderr(text, eventType = "output.stderr") {
|
|
80
|
+
return emit("stderr", text, eventType);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
var consolePresentationOutput = createConsolePresentationOutput({
|
|
85
|
+
onEvent(event) {
|
|
86
|
+
presentationEventBus.emit(event);
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
function installConsolePresentationBridge(options = {}) {
|
|
90
|
+
const target = options.target ?? console;
|
|
91
|
+
const originals = {
|
|
92
|
+
log: target.log,
|
|
93
|
+
info: target.info,
|
|
94
|
+
warn: target.warn,
|
|
95
|
+
error: target.error
|
|
96
|
+
};
|
|
97
|
+
const source = options.source ?? "cli";
|
|
98
|
+
const now = options.now ?? currentPresentationTimestamp;
|
|
99
|
+
let sequence = 0;
|
|
100
|
+
const emit = (method, channel, args, eventType) => {
|
|
101
|
+
const text = format(...args);
|
|
102
|
+
if (streamBridgeSuppressionDepth > 0) {
|
|
103
|
+
originals[method].call(target, text);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const event = createPresentationEvent({
|
|
107
|
+
source,
|
|
108
|
+
sequence: ++sequence,
|
|
109
|
+
at: now(),
|
|
110
|
+
eventType,
|
|
111
|
+
payload: { channel, text }
|
|
112
|
+
});
|
|
113
|
+
streamBridgeSuppressionDepth += 1;
|
|
114
|
+
try {
|
|
115
|
+
originals[method].call(target, text);
|
|
116
|
+
} finally {
|
|
117
|
+
streamBridgeSuppressionDepth -= 1;
|
|
118
|
+
}
|
|
119
|
+
presentationEventBus.emit(event);
|
|
120
|
+
options.onEvent?.(event);
|
|
121
|
+
};
|
|
122
|
+
const bridgedLog = (...args) => emit("log", "stdout", args, "output.console.log");
|
|
123
|
+
const bridgedInfo = (...args) => emit("info", "stdout", args, "output.console.info");
|
|
124
|
+
const bridgedWarn = (...args) => emit("warn", "stderr", args, "output.console.warn");
|
|
125
|
+
const bridgedError = (...args) => emit("error", "stderr", args, "output.console.error");
|
|
126
|
+
target.log = bridgedLog;
|
|
127
|
+
target.info = bridgedInfo;
|
|
128
|
+
target.warn = bridgedWarn;
|
|
129
|
+
target.error = bridgedError;
|
|
130
|
+
return {
|
|
131
|
+
restore() {
|
|
132
|
+
if (target.log === bridgedLog) target.log = originals.log;
|
|
133
|
+
if (target.info === bridgedInfo) target.info = originals.info;
|
|
134
|
+
if (target.warn === bridgedWarn) target.warn = originals.warn;
|
|
135
|
+
if (target.error === bridgedError) target.error = originals.error;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function installProcessPresentationStreamBridge(options = {}) {
|
|
140
|
+
if (activeStreamBridge) return activeStreamBridge;
|
|
141
|
+
const source = options.source ?? "cli";
|
|
142
|
+
const now = options.now ?? currentPresentationTimestamp;
|
|
143
|
+
let sequence = 0;
|
|
144
|
+
let suspended = false;
|
|
145
|
+
const streams = [];
|
|
146
|
+
const emit = (channel, chunk, encoding) => {
|
|
147
|
+
const text = typeof chunk === "string" ? chunk : chunk instanceof Uint8Array ? Buffer.from(chunk).toString(typeof encoding === "string" ? encoding : "utf8") : String(chunk ?? "");
|
|
148
|
+
if (channel === "stdout" && text.startsWith("ZERO_EVENT_")) return;
|
|
149
|
+
const event = createPresentationEvent({
|
|
150
|
+
source,
|
|
151
|
+
sequence: ++sequence,
|
|
152
|
+
at: now(),
|
|
153
|
+
eventType: channel === "stdout" ? "output.stream.stdout" : "output.stream.stderr",
|
|
154
|
+
payload: { channel, text }
|
|
155
|
+
});
|
|
156
|
+
presentationEventBus.emit(event);
|
|
157
|
+
options.onEvent?.(event);
|
|
158
|
+
};
|
|
159
|
+
for (const [channel, stream] of [
|
|
160
|
+
["stdout", options.stdout ?? process.stdout],
|
|
161
|
+
["stderr", options.stderr ?? process.stderr]
|
|
162
|
+
]) {
|
|
163
|
+
const original = stream.write;
|
|
164
|
+
const patched = ((chunk, encoding, callback) => {
|
|
165
|
+
const result = original.call(stream, chunk, encoding, callback);
|
|
166
|
+
if (!suspended && streamBridgeSuppressionDepth === 0) emit(channel, chunk, encoding);
|
|
167
|
+
return result;
|
|
168
|
+
});
|
|
169
|
+
streams.push({ channel, stream, original, patched });
|
|
170
|
+
}
|
|
171
|
+
const bridge = {
|
|
172
|
+
suspend() {
|
|
173
|
+
if (suspended) return;
|
|
174
|
+
suspended = true;
|
|
175
|
+
for (const item of streams) {
|
|
176
|
+
if (item.stream.write === item.patched) item.stream.write = item.original;
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
resume() {
|
|
180
|
+
if (!suspended) return;
|
|
181
|
+
suspended = false;
|
|
182
|
+
for (const item of streams) {
|
|
183
|
+
if (item.stream.write === item.original) item.stream.write = item.patched;
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
restore() {
|
|
187
|
+
for (const item of streams) {
|
|
188
|
+
if (item.stream.write === item.patched) item.stream.write = item.original;
|
|
189
|
+
}
|
|
190
|
+
if (activeStreamBridge === bridge) activeStreamBridge = null;
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
for (const item of streams) item.stream.write = item.patched;
|
|
194
|
+
activeStreamBridge = bridge;
|
|
195
|
+
return bridge;
|
|
196
|
+
}
|
|
197
|
+
function suspendProcessPresentationStreamBridge() {
|
|
198
|
+
activeStreamBridge?.suspend();
|
|
199
|
+
}
|
|
200
|
+
function resumeProcessPresentationStreamBridge() {
|
|
201
|
+
activeStreamBridge?.resume();
|
|
202
|
+
}
|
|
203
|
+
var processPresentationOutput = createProcessPresentationOutput({
|
|
204
|
+
onEvent(event) {
|
|
205
|
+
presentationEventBus.emit(event);
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
function writePresentationLine(text, eventType = "output.stdout") {
|
|
209
|
+
return processPresentationOutput.stdout(`${text}
|
|
210
|
+
`, eventType);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// packages/cli/src/tui/animations.ts
|
|
214
|
+
var UI_ANIMATION_INTERVAL_MS = 70;
|
|
215
|
+
function clamp(x, lo, hi) {
|
|
216
|
+
if (!Number.isFinite(x)) return lo;
|
|
217
|
+
return x < lo ? lo : x > hi ? hi : x;
|
|
218
|
+
}
|
|
219
|
+
function clamp01(x) {
|
|
220
|
+
return clamp(x, 0, 1);
|
|
221
|
+
}
|
|
222
|
+
function smoothstep(t) {
|
|
223
|
+
const x = clamp01(t);
|
|
224
|
+
return x * x * (3 - 2 * x);
|
|
225
|
+
}
|
|
226
|
+
function safeFrame(frame) {
|
|
227
|
+
if (!Number.isFinite(frame)) return 0;
|
|
228
|
+
const t = Math.trunc(frame);
|
|
229
|
+
return t < 0 ? 0 : t;
|
|
230
|
+
}
|
|
231
|
+
var SPINNER_PERIOD = 8;
|
|
232
|
+
var TOAST_ENTER_FRAMES = 6;
|
|
233
|
+
var TOAST_HOLD_FRAMES = 28;
|
|
234
|
+
var TOAST_EXIT_FRAMES = 6;
|
|
235
|
+
var TOAST_TOTAL_FRAMES = TOAST_ENTER_FRAMES + TOAST_HOLD_FRAMES + TOAST_EXIT_FRAMES;
|
|
236
|
+
var SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827"];
|
|
237
|
+
function spinnerFrame(frame, opts = {}) {
|
|
238
|
+
if (opts.reduceMotion) return 0;
|
|
239
|
+
return safeFrame(frame) % SPINNER_PERIOD;
|
|
240
|
+
}
|
|
241
|
+
function spinnerGlyph(frame, opts = {}) {
|
|
242
|
+
return SPINNER_FRAMES[spinnerFrame(frame, opts)] ?? SPINNER_FRAMES[0];
|
|
243
|
+
}
|
|
244
|
+
var SHIMMER_TEXT_TAIL = 5;
|
|
245
|
+
var SHIMMER_TEXT_INTERVAL_MS = 80;
|
|
246
|
+
var SHIMMER_TEXT_REST_GAP = 6;
|
|
247
|
+
function shimmerTail(opts) {
|
|
248
|
+
const t = opts?.tail;
|
|
249
|
+
if (t === void 0 || !Number.isFinite(t)) return SHIMMER_TEXT_TAIL;
|
|
250
|
+
return Math.max(1, Math.trunc(t));
|
|
251
|
+
}
|
|
252
|
+
function shimmerRestGap(opts) {
|
|
253
|
+
const g = opts?.restGap;
|
|
254
|
+
if (g === void 0 || !Number.isFinite(g)) return SHIMMER_TEXT_REST_GAP;
|
|
255
|
+
return Math.max(0, Math.trunc(g));
|
|
256
|
+
}
|
|
257
|
+
function shimmerLength(length) {
|
|
258
|
+
if (!Number.isFinite(length)) return 0;
|
|
259
|
+
const n = Math.trunc(length);
|
|
260
|
+
return n < 0 ? 0 : n;
|
|
261
|
+
}
|
|
262
|
+
function shimmerText(length, frame, opts) {
|
|
263
|
+
const len = shimmerLength(length);
|
|
264
|
+
if (len <= 0) return [];
|
|
265
|
+
const out = new Array(len).fill(0);
|
|
266
|
+
if (opts?.reduceMotion) return out;
|
|
267
|
+
const tail = shimmerTail(opts);
|
|
268
|
+
const rest = shimmerRestGap(opts);
|
|
269
|
+
const period = len + 2 * tail + rest;
|
|
270
|
+
const sweep = len + 2 * tail;
|
|
271
|
+
const idx = (safeFrame(frame) % period + period) % period;
|
|
272
|
+
if (idx >= sweep) return out;
|
|
273
|
+
const head = idx - tail;
|
|
274
|
+
for (let offset = -tail; offset <= tail; offset += 1) {
|
|
275
|
+
const col = head + offset;
|
|
276
|
+
if (col < 0 || col >= len) continue;
|
|
277
|
+
const intensity = 1 - smoothstep(Math.abs(offset) / tail);
|
|
278
|
+
if (intensity > out[col]) out[col] = intensity;
|
|
279
|
+
}
|
|
280
|
+
return out;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export {
|
|
284
|
+
consolePresentationOutput,
|
|
285
|
+
installConsolePresentationBridge,
|
|
286
|
+
installProcessPresentationStreamBridge,
|
|
287
|
+
suspendProcessPresentationStreamBridge,
|
|
288
|
+
resumeProcessPresentationStreamBridge,
|
|
289
|
+
processPresentationOutput,
|
|
290
|
+
writePresentationLine,
|
|
291
|
+
UI_ANIMATION_INTERVAL_MS,
|
|
292
|
+
spinnerGlyph,
|
|
293
|
+
SHIMMER_TEXT_INTERVAL_MS,
|
|
294
|
+
shimmerText
|
|
295
|
+
};
|
|
@@ -3,10 +3,10 @@ import { createRequire as __0CreateRequire } from "node:module";
|
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
bufferToString
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4ROZFLSR.js";
|
|
7
7
|
import {
|
|
8
8
|
scanExecutionTimeout
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BD7WULFS.js";
|
|
10
10
|
|
|
11
11
|
// packages/core/dist/prepare.js
|
|
12
12
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
3
|
const require = __0CreateRequire(import.meta.url);
|
|
4
|
-
import {
|
|
5
|
-
redactAuthHeaders
|
|
6
|
-
} from "./chunk-UELXHK2Y.js";
|
|
7
4
|
import {
|
|
8
5
|
eventBus
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5PFRE522.js";
|
|
7
|
+
import {
|
|
8
|
+
redactAuthHeaders
|
|
9
|
+
} from "./chunk-CGBDEST2.js";
|
|
10
10
|
import {
|
|
11
11
|
ScopePolicy
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QNRYOJEB.js";
|
|
13
13
|
import {
|
|
14
14
|
allowlistedChildEnv,
|
|
15
15
|
sanitizedEnv
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
VERSION,
|
|
19
19
|
cloudStateDir,
|
|
20
20
|
homeStateDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GXXX7AGH.js";
|
|
22
22
|
import {
|
|
23
23
|
external_exports
|
|
24
24
|
} from "./chunk-VIT5ALXF.js";
|