@claudiolabs/claudin 1.0.6 → 1.0.8
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/dist/chunks/AgentTool-1.0.8-eje3a59q.mjs +1 -0
- package/dist/chunks/App-1.0.8-d2xvppcs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.8-46gxh8v1.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.8-14hqa3x1.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.8-wbj2exgg.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.8-qw286z98.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.8-d7f3p2f2.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.8-pz9144b6.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.8-kekremjy.mjs +7 -0
- package/dist/chunks/Doctor-1.0.8-y6yd83ya.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.8-sde0qmj8.mjs +6 -0
- package/dist/chunks/Grove-1.0.8-vaqh13j1.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.8-pyx0hrdr.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.8-9xkjpkdq.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.8-sg0zxdxs.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.8-sa3w4fkf.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.8-j2grnf78.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.8-rhr4npaj.mjs +1 -0
- package/dist/chunks/REPL-1.0.8-r0frprp1.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.8-y8q8w4g5.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.8-6r0afvcw.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.8-8k0msa15.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.8-3y1gzb63.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.8-sr835vjm.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.8-j4ewgs24.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.8-g3jtn9j5.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.8-6fmeeyg3.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.8-07gr4v39.mjs +1 -0
- package/dist/chunks/add-dir-1.0.8-zp69mch9.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.8-0tz8xbhq.mjs +1 -0
- package/dist/chunks/agents-1.0.8-7b7qbe1b.mjs +3 -0
- package/dist/chunks/agents-1.0.8-hcpq0qtv.mjs +110 -0
- package/dist/chunks/api-1.0.8-99jqr2rt.mjs +1 -0
- package/dist/chunks/asciicast-1.0.8-hdy3b2tb.mjs +1 -0
- package/dist/chunks/assistant-1.0.8-wf6vgaxz.mjs +1 -0
- package/dist/chunks/auth-1.0.8-by49xah8.mjs +1 -0
- package/dist/chunks/auth-1.0.8-jhga5hc5.mjs +1 -0
- package/dist/chunks/autoMode-1.0.8-9hknbsrn.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.8-n0axyces.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.8-tthnkm6t.mjs +1 -0
- package/dist/chunks/branch-1.0.8-v0vyzjd1.mjs +4 -0
- package/dist/chunks/bridge-1.0.8-9em7eyw2.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.8-rc3gw5mw.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.8-mmzmxjzj.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.8-kys2mqca.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.8-ky397f5d.mjs +1 -0
- package/dist/chunks/btw-1.0.8-ppch37et.mjs +1 -0
- package/dist/chunks/buddy-1.0.8-3j0jmxqv.mjs +3 -0
- package/dist/chunks/cacache-1.0.8-npx6886e.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.8-q0q9v06f.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.8-8g3sbes5.mjs +4 -0
- package/dist/chunks/caches-1.0.8-c44ykbdq.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.8-3718a4er.mjs +1 -0
- package/dist/chunks/claudemd-1.0.8-mrm97672.mjs +1 -0
- package/dist/chunks/clear-1.0.8-60s1dmkm.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.8-s7tt8cvq.mjs +1 -0
- package/dist/chunks/cli-1.0.8-0g25h6r5.mjs +3 -0
- package/dist/chunks/cli-1.0.8-0j3a18cb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-0w29g9sk.mjs +4 -0
- package/dist/chunks/cli-1.0.8-1r6dnkqd.mjs +45 -0
- package/dist/chunks/cli-1.0.8-1ss6x3zt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-1tmgp7jd.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2tqdqypv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2tz4jekt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2vmb9a3w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2yyas23w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-330tdbma.mjs +2 -0
- package/dist/chunks/cli-1.0.8-34678988.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3cz8c904.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3j90qb52.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3tw1xf7y.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3vh4nftm.mjs +7 -0
- package/dist/chunks/cli-1.0.8-3w4np76x.mjs +2 -0
- package/dist/chunks/cli-1.0.8-45e9fjb4.mjs +21 -0
- package/dist/chunks/cli-1.0.8-4a1exx1w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-4vzmdadp.mjs +2 -0
- package/dist/chunks/cli-1.0.8-4wgaqcjn.mjs +42 -0
- package/dist/chunks/cli-1.0.8-53cy4zte.mjs +34 -0
- package/dist/chunks/cli-1.0.8-592dqckn.mjs +12 -0
- package/dist/chunks/cli-1.0.8-5awx1w8e.mjs +25 -0
- package/dist/chunks/cli-1.0.8-5dyqgt8m.mjs +15 -0
- package/dist/chunks/cli-1.0.8-5gn5a7p3.mjs +2 -0
- package/dist/chunks/cli-1.0.8-5mzwqxg2.mjs +5 -0
- package/dist/chunks/cli-1.0.8-5r4z4nzj.mjs +9 -0
- package/dist/chunks/cli-1.0.8-5wfqemy1.mjs +17 -0
- package/dist/chunks/cli-1.0.8-5wwge1jc.mjs +3 -0
- package/dist/chunks/cli-1.0.8-628ypgq9.mjs +4 -0
- package/dist/chunks/cli-1.0.8-63tfdt8q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-693zfwne.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6fz5dc6p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6hge9cq0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6q1p5cvf.mjs +2 -0
- package/dist/chunks/cli-1.0.8-74y9exyb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-74zbkhyt.mjs +67 -0
- package/dist/chunks/cli-1.0.8-75t3aews.mjs +2 -0
- package/dist/chunks/cli-1.0.8-75ta9404.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7b6c3csb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7khq3d03.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7p8001bq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7tm0v9g4.mjs +2 -0
- package/dist/chunks/cli-1.0.8-845srnq2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8aa4g8k7.mjs +9 -0
- package/dist/chunks/cli-1.0.8-8bymhd85.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8d0pym8n.mjs +4 -0
- package/dist/chunks/cli-1.0.8-8eace15k.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8f8079r1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8g4cyspe.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9az1bj5r.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9cg23m77.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9d98s5n7.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9e91trv9.mjs +4 -0
- package/dist/chunks/cli-1.0.8-9fsgsfsr.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9kjmxaz9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9ten5rvg.mjs +3 -0
- package/dist/chunks/cli-1.0.8-9y02shjc.mjs +6 -0
- package/dist/chunks/cli-1.0.8-a227an7n.mjs +4 -0
- package/dist/chunks/cli-1.0.8-a5h5dhvb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-a95nzf63.mjs +3 -0
- package/dist/chunks/cli-1.0.8-aac9erft.mjs +18 -0
- package/dist/chunks/cli-1.0.8-abdc5b5p.mjs +12 -0
- package/dist/chunks/cli-1.0.8-acrtv429.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ah0px9dq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-apm2cwth.mjs +2 -0
- package/dist/chunks/cli-1.0.8-b1a558ty.mjs +2 -0
- package/dist/chunks/cli-1.0.8-b3rgrfhx.mjs +2 -0
- package/dist/chunks/cli-1.0.8-bce7mfng.mjs +2 -0
- package/dist/chunks/cli-1.0.8-bf89pdxw.mjs +3 -0
- package/dist/chunks/cli-1.0.8-by017547.mjs +2 -0
- package/dist/chunks/cli-1.0.8-c1m2f995.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ch5nmk6z.mjs +6 -0
- package/dist/chunks/cli-1.0.8-ckzwfn2p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-cvanywgv.mjs +4 -0
- package/dist/chunks/cli-1.0.8-czw324tt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-djnb6kg8.mjs +2 -0
- package/dist/chunks/cli-1.0.8-dnyn56hh.mjs +2 -0
- package/dist/chunks/cli-1.0.8-dtv7cx85.mjs +2 -0
- package/dist/chunks/cli-1.0.8-e1je8bbg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-e1rqh3t5.mjs +6 -0
- package/dist/chunks/cli-1.0.8-e226v5zv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ebmqnhat.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ecej8h97.mjs +2 -0
- package/dist/chunks/cli-1.0.8-eqnts1fr.mjs +8 -0
- package/dist/chunks/cli-1.0.8-erf5fgz4.mjs +133 -0
- package/dist/chunks/cli-1.0.8-erzw5831.mjs +133 -0
- package/dist/chunks/cli-1.0.8-evcjjrhq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ewrnp0r9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ezvghx0v.mjs +2 -0
- package/dist/chunks/cli-1.0.8-f149d1z0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-f46gq37z.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fch83jc9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fmf0f85n.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fnnr43c2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fnwydrx1.mjs +3 -0
- package/dist/chunks/cli-1.0.8-frbc2pan.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fs06q8cs.mjs +2 -0
- package/dist/chunks/cli-1.0.8-g2934g2e.mjs +2 -0
- package/dist/chunks/cli-1.0.8-g8tpbbvt.mjs +3 -0
- package/dist/chunks/cli-1.0.8-g9h4ay1q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-gmf61bcb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-gsr9wqaw.mjs +39 -0
- package/dist/chunks/cli-1.0.8-gv80trp6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-h44d6jh3.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hbgss955.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hgreyqck.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hkkcv1tv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-htq95mje.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hy7rca6f.mjs +3 -0
- package/dist/chunks/cli-1.0.8-jy0q2dkm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-jy7hzejg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-k7vkjf05.mjs +2 -0
- package/dist/chunks/cli-1.0.8-k90vtehz.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ke76gxzw.mjs +199 -0
- package/dist/chunks/cli-1.0.8-kfv9esqs.mjs +3 -0
- package/dist/chunks/cli-1.0.8-kh51d8mn.mjs +2 -0
- package/dist/chunks/cli-1.0.8-kxhxnt9t.mjs +2 -0
- package/dist/chunks/cli-1.0.8-kzrdbzd1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-kzyrncv0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m2w20tkx.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m6fhqq8r.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m9cg4s2e.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mbhxente.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mhhby5pn.mjs +6 -0
- package/dist/chunks/cli-1.0.8-mn87n778.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mrepsey6.mjs +12 -0
- package/dist/chunks/cli-1.0.8-n2thtekm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-n4rd5y17.mjs +2 -0
- package/dist/chunks/cli-1.0.8-nmrvp3xa.mjs +2 -0
- package/dist/chunks/cli-1.0.8-nyq2vcvp.mjs +18 -0
- package/dist/chunks/cli-1.0.8-p4egaq4j.mjs +5 -0
- package/dist/chunks/cli-1.0.8-p8h84zc9.mjs +3 -0
- package/dist/chunks/cli-1.0.8-pbxke3zm.mjs +24 -0
- package/dist/chunks/cli-1.0.8-pemd6sje.mjs +2 -0
- package/dist/chunks/cli-1.0.8-pzesgrb2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-q2myd223.mjs +2 -0
- package/dist/chunks/cli-1.0.8-q6x8n8kc.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qbrw3wf3.mjs +3 -0
- package/dist/chunks/cli-1.0.8-qcf0zmve.mjs +50 -0
- package/dist/chunks/cli-1.0.8-qhcghw02.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qjcxwb3c.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qss5sph3.mjs +59 -0
- package/dist/chunks/cli-1.0.8-qzqze1a1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-r3ecr05v.mjs +2 -0
- package/dist/chunks/cli-1.0.8-r4zbpasa.mjs +24 -0
- package/dist/chunks/cli-1.0.8-rdd0jr2h.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rg1csg40.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rh93fw0p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rna8rhza.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rnkrr7ma.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rxf0zjys.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rxfx9v7j.mjs +2 -0
- package/dist/chunks/cli-1.0.8-s5kcxz2r.mjs +4 -0
- package/dist/chunks/cli-1.0.8-s6nsgb78.mjs +2 -0
- package/dist/chunks/cli-1.0.8-sbf6n56q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-se674t5h.mjs +4 -0
- package/dist/chunks/cli-1.0.8-secda9xj.mjs +2 -0
- package/dist/chunks/cli-1.0.8-sqbaxhfc.mjs +16 -0
- package/dist/chunks/cli-1.0.8-swq5n54q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-swts6q29.mjs +2 -0
- package/dist/chunks/cli-1.0.8-szvwf6r4.mjs +2 -0
- package/dist/chunks/cli-1.0.8-t5jg9csm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tdhxr84n.mjs +3 -0
- package/dist/chunks/cli-1.0.8-tfjhtagk.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tpazbzcz.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tq72b6bb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tqf6s7ht.mjs +58 -0
- package/dist/chunks/cli-1.0.8-tz68cg1p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-v1rafynv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-v75s19rg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vb0by9ay.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vhjjjs1z.mjs +24 -0
- package/dist/chunks/cli-1.0.8-vka62cmh.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vvy0bc0g.mjs +1 -0
- package/dist/chunks/cli-1.0.8-vztgm8r0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-w5wjckph.mjs +25 -0
- package/dist/chunks/cli-1.0.8-w6atgaqw.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x1387pp6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x2z1s2gm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x3bjpevp.mjs +12 -0
- package/dist/chunks/cli-1.0.8-x4hcncpt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xcqdbka0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xhz9dm09.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xka5xbz5.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xv5yp3w6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xxrng2p1.mjs +15 -0
- package/dist/chunks/cli-1.0.8-xzp5af2t.mjs +2 -0
- package/dist/chunks/cli-1.0.8-y7jd923h.mjs +2 -0
- package/dist/chunks/cli-1.0.8-yb3vesbt.mjs +4 -0
- package/dist/chunks/cli-1.0.8-yc4a0111.mjs +20 -0
- package/dist/chunks/cli-1.0.8-ycxmnmhs.mjs +3 -0
- package/dist/chunks/cli-1.0.8-ykwgcdbt.mjs +5476 -0
- package/dist/chunks/cli-1.0.8-yzc0z6ex.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z49w3x0w.mjs +4 -0
- package/dist/chunks/cli-1.0.8-z6x3zsb0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z79r5re2.mjs +17 -0
- package/dist/chunks/cli-1.0.8-z7v2b551.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z96bbp08.mjs +6 -0
- package/dist/chunks/cli-1.0.8-zh2ygfav.mjs +2 -0
- package/dist/chunks/cli-1.0.8-zjckzq5j.mjs +18 -0
- package/dist/chunks/cli-1.0.8-znefv1yp.mjs +2 -0
- package/dist/chunks/cli-1.0.8-zza8ns8c.mjs +15 -0
- package/dist/chunks/client-1.0.8-n7dt1rfw.mjs +1 -0
- package/dist/chunks/color-1.0.8-jxfasz8x.mjs +1 -0
- package/dist/chunks/compact-1.0.8-jnbzy2qh.mjs +3 -0
- package/dist/chunks/config-1.0.8-p850nj3c.mjs +1 -0
- package/dist/chunks/config-1.0.8-xg117aq2.mjs +1 -0
- package/dist/chunks/constants-1.0.8-ms4fbs66.mjs +1 -0
- package/dist/chunks/context-1.0.8-tb27h7kb.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.8-1ry2t8be.mjs +1 -0
- package/dist/chunks/conversation-1.0.8-v96pn05v.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.8-cs9jt8ks.mjs +1 -0
- package/dist/chunks/copy-1.0.8-g8d8msxn.mjs +9 -0
- package/dist/chunks/cost-1.0.8-kx2ejbds.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.8-2wvpn7y4.mjs +1 -0
- package/dist/chunks/createSession-1.0.8-ecm6dynn.mjs +1 -0
- package/dist/chunks/debug-1.0.8-cphv9b4j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.8-2k34bnzt.mjs +1446 -0
- package/dist/chunks/desktop-1.0.8-w6qk81xg.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.8-q2e17deh.mjs +1 -0
- package/dist/chunks/detection-1.0.8-adg3pmtx.mjs +1 -0
- package/dist/chunks/diff-1.0.8-kcsv429q.mjs +1 -0
- package/dist/chunks/doctor-1.0.8-4807n5ga.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.8-thmvp0a8.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.8-hhf06cvs.mjs +1 -0
- package/dist/chunks/effort-1.0.8-k9jy349z.mjs +10 -0
- package/dist/chunks/engine-1.0.8-swnh66g9.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.8-8066f8x3.mjs +1 -0
- package/dist/chunks/envUtils-1.0.8-hvdz25s8.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.8-dgef2ag8.mjs +1 -0
- package/dist/chunks/environments-1.0.8-8kxx7cf7.mjs +1 -0
- package/dist/chunks/errors-1.0.8-yrb0dfde.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.8-2fp656s9.mjs +1 -0
- package/dist/chunks/exit-1.0.8-axxrxks1.mjs +1 -0
- package/dist/chunks/explorer-1.0.8-txzsk7g4.mjs +1 -0
- package/dist/chunks/export-1.0.8-yxhs2z6f.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.8-mkde8ry2.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.8-zq1zsj4c.mjs +1 -0
- package/dist/chunks/fast-1.0.8-dm74897t.mjs +1 -0
- package/dist/chunks/feedback-1.0.8-wnsh14ya.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.8-xp13dv5e.mjs +1 -0
- package/dist/chunks/git-1.0.8-emhr4f0a.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.8-q88vb6k1.mjs +1 -0
- package/dist/chunks/goal-1.0.8-vx7pfbph.mjs +4 -0
- package/dist/chunks/grove-1.0.8-4vn920ab.mjs +1 -0
- package/dist/chunks/growthbook-1.0.8-ktn0scz1.mjs +1 -0
- package/dist/chunks/headless-1.0.8-kgkf00rm.mjs +2 -0
- package/dist/chunks/heapdump-1.0.8-e5g8ycqp.mjs +6 -0
- package/dist/chunks/help-1.0.8-g5kftejd.mjs +1 -0
- package/dist/chunks/hookChains-1.0.8-jnd1g9vp.mjs +3 -0
- package/dist/chunks/hooks-1.0.8-d343gmd5.mjs +1 -0
- package/dist/chunks/hooks-1.0.8-xq482xcs.mjs +79 -0
- package/dist/chunks/ide-1.0.8-4veg8hzd.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.8-93bk96t4.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.8-zkj9tf58.mjs +1 -0
- package/dist/chunks/index-1.0.8-0pnvq37m.mjs +2 -0
- package/dist/chunks/index-1.0.8-1pa1v81a.mjs +1 -0
- package/dist/chunks/index-1.0.8-464f1j1b.mjs +1 -0
- package/dist/chunks/index-1.0.8-4zsx151v.mjs +1 -0
- package/dist/chunks/index-1.0.8-7wqrymcz.mjs +2 -0
- package/dist/chunks/index-1.0.8-8qzz6s1v.mjs +1 -0
- package/dist/chunks/index-1.0.8-91cpv5tb.mjs +9 -0
- package/dist/chunks/index-1.0.8-9x499a6f.mjs +1 -0
- package/dist/chunks/index-1.0.8-aqm7z1xs.mjs +1 -0
- package/dist/chunks/index-1.0.8-bha1edzd.mjs +1 -0
- package/dist/chunks/index-1.0.8-bhzqmht2.mjs +1 -0
- package/dist/chunks/index-1.0.8-dh80510b.mjs +1 -0
- package/dist/chunks/index-1.0.8-hdnvwr7c.mjs +1 -0
- package/dist/chunks/index-1.0.8-ht187zbt.mjs +17 -0
- package/dist/chunks/index-1.0.8-jj36eqgv.mjs +1 -0
- package/dist/chunks/index-1.0.8-p16qr0gk.mjs +1 -0
- package/dist/chunks/index-1.0.8-pejsn3j4.mjs +1 -0
- package/dist/chunks/index-1.0.8-pzn6kwcz.mjs +1 -0
- package/dist/chunks/index-1.0.8-szryar06.mjs +9 -0
- package/dist/chunks/index-1.0.8-thkaetpe.mjs +5 -0
- package/dist/chunks/index-1.0.8-tnpscb0d.mjs +1 -0
- package/dist/chunks/index-1.0.8-xxdv7dxk.mjs +1 -0
- package/dist/chunks/index-1.0.8-z5xdfxxw.mjs +30 -0
- package/dist/chunks/init-1.0.8-krd7wa3v.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.8-ftx1k41m.mjs +1 -0
- package/dist/chunks/ink-1.0.8-pteq28sp.mjs +1 -0
- package/dist/chunks/insights-1.0.8-mb2z8g5h.mjs +870 -0
- package/dist/chunks/install-1.0.8-s99z78an.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.8-r07c7fc8.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.8-mq0zjdf6.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.8-00jpcry8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.8-3z1ey7fr.mjs +1 -0
- package/dist/chunks/keybindings-1.0.8-wenkty39.mjs +2 -0
- package/dist/chunks/knowledge-1.0.8-cjdkk8mb.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.8-rncrmhd0.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.8-9ry9xbfw.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.8-5e422tv0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.8-gw0mb3vq.mjs +1 -0
- package/dist/chunks/log-1.0.8-bhyqzqd4.mjs +1 -0
- package/dist/chunks/main-1.0.8-sv9em0tk.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.8-ey5201g9.mjs +1 -0
- package/dist/chunks/mcp-1.0.8-0wkq1z2f.mjs +1 -0
- package/dist/chunks/mcp-1.0.8-hft3ww8h.mjs +17 -0
- package/dist/chunks/mcp-1.0.8-k2y8akh4.mjs +4 -0
- package/dist/chunks/mcpb-1.0.8-6d4d5qg6.mjs +1 -0
- package/dist/chunks/memory-1.0.8-bhfq1tpv.mjs +3 -0
- package/dist/chunks/model-1.0.8-9x1n1hs4.mjs +2 -0
- package/dist/chunks/model-1.0.8-f30q5v3y.mjs +1 -0
- package/dist/chunks/node-1.0.8-z64w4mf3.mjs +12 -0
- package/dist/chunks/oauth-1.0.8-7vjm8xxp.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.8-dxqbym7v.mjs +14 -0
- package/dist/chunks/output-style-1.0.8-j3vsn3xx.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.8-57wby5pw.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.8-fa21hp3j.mjs +1 -0
- package/dist/chunks/parser-1.0.8-eddksp6m.mjs +1 -0
- package/dist/chunks/passes-1.0.8-82cxmwxv.mjs +1 -0
- package/dist/chunks/permissions-1.0.8-9qwtkcvw.mjs +1 -0
- package/dist/chunks/permissions-1.0.8-hkpezdb6.mjs +3 -0
- package/dist/chunks/plan-1.0.8-t7cypg7z.mjs +1 -0
- package/dist/chunks/plist-1.0.8-tx4wgdc5.mjs +1 -0
- package/dist/chunks/plugin-1.0.8-fpfj5qcx.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.8-htw7er4z.mjs +1 -0
- package/dist/chunks/plugins-1.0.8-89t24bsm.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.8-caxsc3mp.mjs +2 -0
- package/dist/chunks/print-1.0.8-491vxbzs.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.8-m25zra7r.mjs +1 -0
- package/dist/chunks/process-1.0.8-3tzpsdmr.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.8-czb8ax1e.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.8-z2qz58yf.mjs +9 -0
- package/dist/chunks/prompt-1.0.8-2bbvxeh7.mjs +1 -0
- package/dist/chunks/prompt-1.0.8-ftnsddxg.mjs +1 -0
- package/dist/chunks/prompts-1.0.8-7jmnssxc.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.8-y3rebjd9.mjs +13 -0
- package/dist/chunks/provider-1.0.8-zrx7vyqk.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.8-n4b3xs5v.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.8-j9gx7a1v.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.8-084n6z58.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.8-e9k91bmz.mjs +34 -0
- package/dist/chunks/registry-1.0.8-p8bc2ppg.mjs +1 -0
- package/dist/chunks/release-notes-1.0.8-wdtevpan.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.8-crrx8jkj.mjs +2 -0
- package/dist/chunks/remote-env-1.0.8-yb4czxha.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.8-cg38st7c.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.8-g9cx4dmb.mjs +1 -0
- package/dist/chunks/rename-1.0.8-c263drxy.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.8-51065xd1.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.8-n5f7d6tk.mjs +1 -0
- package/dist/chunks/resume-1.0.8-20r9g9a8.mjs +2 -0
- package/dist/chunks/rewind-1.0.8-1shxcx6h.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.8-v3mryhnd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.8-db8n3sf2.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.8-8ysakwfc.mjs +1 -0
- package/dist/chunks/session-1.0.8-nf98ege7.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.8-j7e3zz3z.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.8-tywx0fhs.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.8-3jncs1jd.mjs +1 -0
- package/dist/chunks/settings-1.0.8-ferv6mr5.mjs +1 -0
- package/dist/chunks/setup-1.0.8-r7jm4921.mjs +5 -0
- package/dist/chunks/sinks-1.0.8-w2zqhs5t.mjs +1 -0
- package/dist/chunks/skills-1.0.8-c2re0407.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.8-m7x42s2c.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.8-hnq9gbsm.mjs +1 -0
- package/dist/chunks/state-1.0.8-mszmr9fy.mjs +1 -0
- package/dist/chunks/stats-1.0.8-xah6pcq3.mjs +6 -0
- package/dist/chunks/status-1.0.8-cb5dxyy1.mjs +1 -0
- package/dist/chunks/stickers-1.0.8-vr13mnk0.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.8-rqxgszbc.mjs +1 -0
- package/dist/chunks/tasks-1.0.8-v1meznm5.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.8-zs8qgyey.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.8-828qsec1.mjs +1 -0
- package/dist/chunks/teleport-1.0.8-aszfnv2s.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.8-9n57sf46.mjs +1 -0
- package/dist/chunks/theme-1.0.8-da67zfgn.mjs +1 -0
- package/dist/chunks/thinkback-1.0.8-p4ne9wck.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.8-kz09z4aa.mjs +1 -0
- package/dist/chunks/toolPool-1.0.8-rbawjenc.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.8-drw7db57.mjs +1 -0
- package/dist/chunks/tools-1.0.8-51cw7jhr.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.8-y6484dbh.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.8-07rx7x03.mjs +69 -0
- package/dist/chunks/types-1.0.8-svkpkerr.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.8-fxpy87j7.mjs +4 -0
- package/dist/chunks/update-1.0.8-r5hsx0vn.mjs +88 -0
- package/dist/chunks/upgrade-1.0.8-rfjr944q.mjs +1 -0
- package/dist/chunks/upload-1.0.8-xb3qq931.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.8-enmg2k32.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.8-4xafghrm.mjs +1 -0
- package/dist/chunks/usage-1.0.8-x3yk026j.mjs +1 -0
- package/dist/chunks/util-1.0.8-g8szktmn.mjs +1 -0
- package/dist/chunks/utils-1.0.8-qkwh1by0.mjs +1 -0
- package/dist/chunks/vim-1.0.8-qv0fhjmv.mjs +1 -0
- package/dist/chunks/watcher-1.0.8-y0ye7hc6.mjs +1 -0
- package/dist/chunks/wiki-1.0.8-3ydvpt0c.mjs +132 -0
- package/dist/chunks/workflows-1.0.8-1fj4wp4z.mjs +1 -0
- package/dist/chunks/worktree-1.0.8-x68tgvcc.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.8-3e98qmek.mjs +1 -0
- package/dist/chunks/wrapper-1.0.8-atewpqqc.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +17 -1
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.6-y5ddd6rm.mjs +0 -1
- package/dist/chunks/App-1.0.6-z0cfvsx2.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.6-bp76pand.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.6-kb0x64qd.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.6-jcaqgq16.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.6-0q6kspv2.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.6-jk4g19kb.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.6-s65h1n7v.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.6-6751p16k.mjs +0 -7
- package/dist/chunks/Doctor-1.0.6-cc0tqw44.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.6-eebwjw79.mjs +0 -6
- package/dist/chunks/Grove-1.0.6-tyg11yr0.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.6-qgb1csqa.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.6-jgmn19nt.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.6-wxwzxegj.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.6-zpt6cx2n.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.6-4008ytyb.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.6-c76hkbn2.mjs +0 -1
- package/dist/chunks/REPL-1.0.6-hg7cv046.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.6-2t7j6b2h.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.6-mtnwwa4g.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.6-6k63h37y.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.6-nwebb6gp.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.6-fkq6szhk.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.6-c6m3x448.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.6-44972q2z.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.6-g641zp1y.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.6-ae177xqc.mjs +0 -1
- package/dist/chunks/add-dir-1.0.6-eyaavpv6.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.6-qbt1z3ca.mjs +0 -1
- package/dist/chunks/agents-1.0.6-sz53kang.mjs +0 -3
- package/dist/chunks/agents-1.0.6-takpvk31.mjs +0 -110
- package/dist/chunks/api-1.0.6-00s3w079.mjs +0 -1
- package/dist/chunks/asciicast-1.0.6-rh0sh1w1.mjs +0 -1
- package/dist/chunks/assistant-1.0.6-7mq19whz.mjs +0 -1
- package/dist/chunks/auth-1.0.6-a3z8ybme.mjs +0 -1
- package/dist/chunks/auth-1.0.6-bzqx8ws6.mjs +0 -1
- package/dist/chunks/autoMode-1.0.6-m7pgefxn.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.6-yrfw3qnm.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.6-n12f3xrc.mjs +0 -1
- package/dist/chunks/branch-1.0.6-ezwk5k5a.mjs +0 -4
- package/dist/chunks/bridge-1.0.6-b8v3yt2n.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.6-nj1zx2fk.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.6-qm5685ej.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.6-8sw3n3ad.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.6-2smhh25w.mjs +0 -1
- package/dist/chunks/btw-1.0.6-cyy1eqy9.mjs +0 -1
- package/dist/chunks/buddy-1.0.6-jye799sc.mjs +0 -3
- package/dist/chunks/cacache-1.0.6-x530c1sq.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.6-j9g3r3t3.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.6-wn9n7a2f.mjs +0 -4
- package/dist/chunks/caches-1.0.6-jb6nfzzy.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.6-nbedzb68.mjs +0 -1
- package/dist/chunks/claudemd-1.0.6-k0ksrf4g.mjs +0 -1
- package/dist/chunks/clear-1.0.6-mwca7g57.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.6-yxdbxzxq.mjs +0 -1
- package/dist/chunks/cli-1.0.6-0g5ayqzn.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0htc91yb.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0n0gtcr0.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0ndt02kt.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0rh0a1m1.mjs +0 -3
- package/dist/chunks/cli-1.0.6-0v6s0baw.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0z6jg1dt.mjs +0 -2
- package/dist/chunks/cli-1.0.6-0zy5g0r0.mjs +0 -3
- package/dist/chunks/cli-1.0.6-1a002r86.mjs +0 -16
- package/dist/chunks/cli-1.0.6-1eet2296.mjs +0 -2
- package/dist/chunks/cli-1.0.6-1mxskrvk.mjs +0 -2
- package/dist/chunks/cli-1.0.6-1pmvs0sa.mjs +0 -2
- package/dist/chunks/cli-1.0.6-2216bkc9.mjs +0 -18
- package/dist/chunks/cli-1.0.6-256zr6e0.mjs +0 -2
- package/dist/chunks/cli-1.0.6-2kk9k86d.mjs +0 -2
- package/dist/chunks/cli-1.0.6-2ktan1c1.mjs +0 -6
- package/dist/chunks/cli-1.0.6-2q17d8ej.mjs +0 -2
- package/dist/chunks/cli-1.0.6-2taykcm3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-2y4xs66t.mjs +0 -2
- package/dist/chunks/cli-1.0.6-34y44ns8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-36s91tek.mjs +0 -2
- package/dist/chunks/cli-1.0.6-39ebgej3.mjs +0 -9
- package/dist/chunks/cli-1.0.6-3fqch3zx.mjs +0 -2
- package/dist/chunks/cli-1.0.6-3jkvpjb7.mjs +0 -2
- package/dist/chunks/cli-1.0.6-3rnmt44c.mjs +0 -199
- package/dist/chunks/cli-1.0.6-429sbhhn.mjs +0 -2
- package/dist/chunks/cli-1.0.6-43ajeraf.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4jw1053r.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4kafzdd3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4m8qf7d9.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4pez6ae9.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4pmn22p0.mjs +0 -12
- package/dist/chunks/cli-1.0.6-4r68vt91.mjs +0 -4
- package/dist/chunks/cli-1.0.6-4shdcvhj.mjs +0 -2
- package/dist/chunks/cli-1.0.6-4w9smp0a.mjs +0 -4
- package/dist/chunks/cli-1.0.6-52vkzgxe.mjs +0 -2
- package/dist/chunks/cli-1.0.6-53rqxxkh.mjs +0 -2
- package/dist/chunks/cli-1.0.6-55csqcct.mjs +0 -2
- package/dist/chunks/cli-1.0.6-5esxakc4.mjs +0 -2
- package/dist/chunks/cli-1.0.6-5fd5qjm7.mjs +0 -2
- package/dist/chunks/cli-1.0.6-5kmwcmd1.mjs +0 -25
- package/dist/chunks/cli-1.0.6-5qyfr732.mjs +0 -17
- package/dist/chunks/cli-1.0.6-5tx13t22.mjs +0 -2
- package/dist/chunks/cli-1.0.6-61qpjst5.mjs +0 -2
- package/dist/chunks/cli-1.0.6-620sz5j0.mjs +0 -2
- package/dist/chunks/cli-1.0.6-6a9gyk3y.mjs +0 -12
- package/dist/chunks/cli-1.0.6-6g4hkpj7.mjs +0 -4
- package/dist/chunks/cli-1.0.6-6h5a9gax.mjs +0 -2
- package/dist/chunks/cli-1.0.6-6hs6qqxv.mjs +0 -2
- package/dist/chunks/cli-1.0.6-6x2aqc5w.mjs +0 -3
- package/dist/chunks/cli-1.0.6-6zh1kz2j.mjs +0 -2
- package/dist/chunks/cli-1.0.6-6zqt7f43.mjs +0 -59
- package/dist/chunks/cli-1.0.6-74km5nc4.mjs +0 -2
- package/dist/chunks/cli-1.0.6-77j29wff.mjs +0 -2
- package/dist/chunks/cli-1.0.6-78gtt741.mjs +0 -2
- package/dist/chunks/cli-1.0.6-7dcdpthr.mjs +0 -2
- package/dist/chunks/cli-1.0.6-7ebqg37b.mjs +0 -2
- package/dist/chunks/cli-1.0.6-7qta6sp0.mjs +0 -12
- package/dist/chunks/cli-1.0.6-7rxsh83h.mjs +0 -2
- package/dist/chunks/cli-1.0.6-7sc6kks8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-7wtv8nwt.mjs +0 -2
- package/dist/chunks/cli-1.0.6-80ts2fsy.mjs +0 -2
- package/dist/chunks/cli-1.0.6-831s2dg1.mjs +0 -2
- package/dist/chunks/cli-1.0.6-85rq113c.mjs +0 -2
- package/dist/chunks/cli-1.0.6-86chdw6e.mjs +0 -2
- package/dist/chunks/cli-1.0.6-8k0axbmg.mjs +0 -3
- package/dist/chunks/cli-1.0.6-8kamwh44.mjs +0 -15
- package/dist/chunks/cli-1.0.6-8svdc6qx.mjs +0 -2
- package/dist/chunks/cli-1.0.6-8tj1qeak.mjs +0 -2
- package/dist/chunks/cli-1.0.6-8v7ggr2e.mjs +0 -6
- package/dist/chunks/cli-1.0.6-8xtkd26m.mjs +0 -2
- package/dist/chunks/cli-1.0.6-8zcjrs1k.mjs +0 -2
- package/dist/chunks/cli-1.0.6-93qsrgeq.mjs +0 -2
- package/dist/chunks/cli-1.0.6-967pphy3.mjs +0 -3
- package/dist/chunks/cli-1.0.6-9be2xem8.mjs +0 -4
- package/dist/chunks/cli-1.0.6-9m9h23m8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-9p90g9dg.mjs +0 -7
- package/dist/chunks/cli-1.0.6-9pj529zy.mjs +0 -2
- package/dist/chunks/cli-1.0.6-a9n4dj4c.mjs +0 -2
- package/dist/chunks/cli-1.0.6-a9z7f8hm.mjs +0 -2
- package/dist/chunks/cli-1.0.6-aasgkcf0.mjs +0 -3
- package/dist/chunks/cli-1.0.6-anxd75mm.mjs +0 -2
- package/dist/chunks/cli-1.0.6-apvttvwc.mjs +0 -3
- package/dist/chunks/cli-1.0.6-bghnbyek.mjs +0 -2
- package/dist/chunks/cli-1.0.6-bjz810zw.mjs +0 -2
- package/dist/chunks/cli-1.0.6-c3q3ytrc.mjs +0 -2
- package/dist/chunks/cli-1.0.6-cbv9sb7j.mjs +0 -4
- package/dist/chunks/cli-1.0.6-chfda1vf.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ckyrvbe3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ct081pz5.mjs +0 -2
- package/dist/chunks/cli-1.0.6-d3y2kbdq.mjs +0 -2
- package/dist/chunks/cli-1.0.6-d4d0xfxp.mjs +0 -5
- package/dist/chunks/cli-1.0.6-d8gyb25m.mjs +0 -15
- package/dist/chunks/cli-1.0.6-d9ryhkjn.mjs +0 -2
- package/dist/chunks/cli-1.0.6-dk4qdtxs.mjs +0 -2
- package/dist/chunks/cli-1.0.6-e3cstemm.mjs +0 -67
- package/dist/chunks/cli-1.0.6-eqj39b7c.mjs +0 -2
- package/dist/chunks/cli-1.0.6-f4f6x83j.mjs +0 -24
- package/dist/chunks/cli-1.0.6-f80wk918.mjs +0 -2
- package/dist/chunks/cli-1.0.6-f82p2yzk.mjs +0 -39
- package/dist/chunks/cli-1.0.6-fggt191f.mjs +0 -2
- package/dist/chunks/cli-1.0.6-fj626dhh.mjs +0 -2
- package/dist/chunks/cli-1.0.6-g4v1k4vj.mjs +0 -2
- package/dist/chunks/cli-1.0.6-g9s2ts6j.mjs +0 -2
- package/dist/chunks/cli-1.0.6-gjtt9hjc.mjs +0 -5471
- package/dist/chunks/cli-1.0.6-hcq3hbzz.mjs +0 -3
- package/dist/chunks/cli-1.0.6-hjqc9sb8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-hkaszwz8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-hn9p22wz.mjs +0 -2
- package/dist/chunks/cli-1.0.6-hv2dry5y.mjs +0 -2
- package/dist/chunks/cli-1.0.6-j12sf764.mjs +0 -2
- package/dist/chunks/cli-1.0.6-j3b1c7v8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-j5xkwr5w.mjs +0 -17
- package/dist/chunks/cli-1.0.6-j6sxw4gg.mjs +0 -2
- package/dist/chunks/cli-1.0.6-jfnnwqdv.mjs +0 -4
- package/dist/chunks/cli-1.0.6-jqa1byr3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-jrrb4qbg.mjs +0 -2
- package/dist/chunks/cli-1.0.6-jwysg2r7.mjs +0 -2
- package/dist/chunks/cli-1.0.6-jyqjk8ym.mjs +0 -2
- package/dist/chunks/cli-1.0.6-kajb476n.mjs +0 -2
- package/dist/chunks/cli-1.0.6-kgver18c.mjs +0 -2
- package/dist/chunks/cli-1.0.6-khth3f6c.mjs +0 -1
- package/dist/chunks/cli-1.0.6-kx801kag.mjs +0 -4
- package/dist/chunks/cli-1.0.6-m747en7y.mjs +0 -50
- package/dist/chunks/cli-1.0.6-m96da95q.mjs +0 -2
- package/dist/chunks/cli-1.0.6-mapf4yym.mjs +0 -2
- package/dist/chunks/cli-1.0.6-mgb1vzp0.mjs +0 -6
- package/dist/chunks/cli-1.0.6-mgk6361j.mjs +0 -4
- package/dist/chunks/cli-1.0.6-mt3y4qmj.mjs +0 -18
- package/dist/chunks/cli-1.0.6-mwb4199d.mjs +0 -3
- package/dist/chunks/cli-1.0.6-mzqatpet.mjs +0 -6
- package/dist/chunks/cli-1.0.6-n3apbtd5.mjs +0 -2
- package/dist/chunks/cli-1.0.6-n6yd76q7.mjs +0 -2
- package/dist/chunks/cli-1.0.6-n9zhw61e.mjs +0 -2
- package/dist/chunks/cli-1.0.6-nb4f2zfq.mjs +0 -2
- package/dist/chunks/cli-1.0.6-nbxf3acf.mjs +0 -2
- package/dist/chunks/cli-1.0.6-njnv92az.mjs +0 -2
- package/dist/chunks/cli-1.0.6-nke3e3mv.mjs +0 -2
- package/dist/chunks/cli-1.0.6-nphrz836.mjs +0 -34
- package/dist/chunks/cli-1.0.6-npng9y9t.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ntwqb73s.mjs +0 -2
- package/dist/chunks/cli-1.0.6-nyh2gact.mjs +0 -133
- package/dist/chunks/cli-1.0.6-p2syhbmk.mjs +0 -24
- package/dist/chunks/cli-1.0.6-pem0rvy0.mjs +0 -2
- package/dist/chunks/cli-1.0.6-pgc0vpjm.mjs +0 -2
- package/dist/chunks/cli-1.0.6-pgwdn1q5.mjs +0 -2
- package/dist/chunks/cli-1.0.6-px4bsvf6.mjs +0 -2
- package/dist/chunks/cli-1.0.6-q2yz709r.mjs +0 -2
- package/dist/chunks/cli-1.0.6-q79ba7ng.mjs +0 -24
- package/dist/chunks/cli-1.0.6-qnmkmcq4.mjs +0 -2
- package/dist/chunks/cli-1.0.6-qp2em1hm.mjs +0 -2
- package/dist/chunks/cli-1.0.6-qt11m0ak.mjs +0 -2
- package/dist/chunks/cli-1.0.6-r0n4r13f.mjs +0 -18
- package/dist/chunks/cli-1.0.6-r2508q6q.mjs +0 -2
- package/dist/chunks/cli-1.0.6-r6mzt599.mjs +0 -3
- package/dist/chunks/cli-1.0.6-rkbbyfm8.mjs +0 -21
- package/dist/chunks/cli-1.0.6-rm2htcb3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-rp7q90tp.mjs +0 -42
- package/dist/chunks/cli-1.0.6-rsj4zt4n.mjs +0 -2
- package/dist/chunks/cli-1.0.6-rwke4nxh.mjs +0 -3
- package/dist/chunks/cli-1.0.6-rx5w7fx8.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ry340c4k.mjs +0 -133
- package/dist/chunks/cli-1.0.6-s333n5zg.mjs +0 -8
- package/dist/chunks/cli-1.0.6-s8neseq2.mjs +0 -4
- package/dist/chunks/cli-1.0.6-shakqp36.mjs +0 -2
- package/dist/chunks/cli-1.0.6-snj1v3kf.mjs +0 -2
- package/dist/chunks/cli-1.0.6-sq2d4y85.mjs +0 -2
- package/dist/chunks/cli-1.0.6-sw7g4tgd.mjs +0 -2
- package/dist/chunks/cli-1.0.6-sws40pv9.mjs +0 -2
- package/dist/chunks/cli-1.0.6-t9r7rn29.mjs +0 -2
- package/dist/chunks/cli-1.0.6-tefnf8bf.mjs +0 -2
- package/dist/chunks/cli-1.0.6-tnt5gdq6.mjs +0 -3
- package/dist/chunks/cli-1.0.6-tw4tv5c3.mjs +0 -2
- package/dist/chunks/cli-1.0.6-v08hd9y9.mjs +0 -2
- package/dist/chunks/cli-1.0.6-va933r6s.mjs +0 -2
- package/dist/chunks/cli-1.0.6-vmwnjv3e.mjs +0 -12
- package/dist/chunks/cli-1.0.6-vpwqryae.mjs +0 -45
- package/dist/chunks/cli-1.0.6-vw4q8h8f.mjs +0 -20
- package/dist/chunks/cli-1.0.6-w3ewev2t.mjs +0 -2
- package/dist/chunks/cli-1.0.6-w3xpmc0m.mjs +0 -2
- package/dist/chunks/cli-1.0.6-wc676ed5.mjs +0 -2
- package/dist/chunks/cli-1.0.6-wgprm90p.mjs +0 -2
- package/dist/chunks/cli-1.0.6-wqqq5eh9.mjs +0 -2
- package/dist/chunks/cli-1.0.6-wvn01egx.mjs +0 -2
- package/dist/chunks/cli-1.0.6-x2m8wf3s.mjs +0 -15
- package/dist/chunks/cli-1.0.6-x6q5yg4p.mjs +0 -2
- package/dist/chunks/cli-1.0.6-xgntnn4t.mjs +0 -2
- package/dist/chunks/cli-1.0.6-xhmby05p.mjs +0 -2
- package/dist/chunks/cli-1.0.6-xk2ttvjs.mjs +0 -2
- package/dist/chunks/cli-1.0.6-xr79bf4b.mjs +0 -58
- package/dist/chunks/cli-1.0.6-xsbxh0be.mjs +0 -2
- package/dist/chunks/cli-1.0.6-xx7yggj6.mjs +0 -2
- package/dist/chunks/cli-1.0.6-y406hq26.mjs +0 -2
- package/dist/chunks/cli-1.0.6-y7y63cz5.mjs +0 -25
- package/dist/chunks/cli-1.0.6-y84yqp9s.mjs +0 -9
- package/dist/chunks/cli-1.0.6-yfs94tn1.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ykfbjap8.mjs +0 -4
- package/dist/chunks/cli-1.0.6-ypbzk2re.mjs +0 -2
- package/dist/chunks/cli-1.0.6-ytd9vx4t.mjs +0 -5
- package/dist/chunks/cli-1.0.6-z06mmyvr.mjs +0 -6
- package/dist/chunks/cli-1.0.6-z1vvz38s.mjs +0 -2
- package/dist/chunks/cli-1.0.6-z6c3g4jy.mjs +0 -2
- package/dist/chunks/cli-1.0.6-zbbh8d20.mjs +0 -2
- package/dist/chunks/cli-1.0.6-zcnjjez0.mjs +0 -3
- package/dist/chunks/client-1.0.6-n3e1kq6z.mjs +0 -1
- package/dist/chunks/color-1.0.6-949mf4t9.mjs +0 -1
- package/dist/chunks/compact-1.0.6-pk763zz3.mjs +0 -3
- package/dist/chunks/config-1.0.6-bysc6622.mjs +0 -1
- package/dist/chunks/config-1.0.6-tgr3szh4.mjs +0 -1
- package/dist/chunks/constants-1.0.6-2ytt6s63.mjs +0 -1
- package/dist/chunks/context-1.0.6-c6a94j19.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.6-rs66dgc4.mjs +0 -1
- package/dist/chunks/conversation-1.0.6-jg2wrz10.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.6-pqtevy6f.mjs +0 -1
- package/dist/chunks/copy-1.0.6-8q0c5rxd.mjs +0 -9
- package/dist/chunks/cost-1.0.6-99qahzn2.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.6-d9m8hpvm.mjs +0 -1
- package/dist/chunks/createSession-1.0.6-bst3zcfv.mjs +0 -1
- package/dist/chunks/debug-1.0.6-sp18ckyq.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.6-264e52qb.mjs +0 -1446
- package/dist/chunks/desktop-1.0.6-8f041exs.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.6-5xtpjm37.mjs +0 -1
- package/dist/chunks/detection-1.0.6-rqwbmfnt.mjs +0 -1
- package/dist/chunks/diff-1.0.6-2tfee48c.mjs +0 -1
- package/dist/chunks/doctor-1.0.6-8cd8a94q.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.6-2waz13fa.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.6-xz3zmash.mjs +0 -1
- package/dist/chunks/effort-1.0.6-sxass88w.mjs +0 -10
- package/dist/chunks/engine-1.0.6-m67y6tar.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.6-96am9ft2.mjs +0 -1
- package/dist/chunks/envUtils-1.0.6-rwrw23sx.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.6-eafb1t40.mjs +0 -1
- package/dist/chunks/environments-1.0.6-4rbtnxhr.mjs +0 -1
- package/dist/chunks/errors-1.0.6-tw2j2j5x.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.6-nme5mfvh.mjs +0 -1
- package/dist/chunks/exit-1.0.6-0nhvqr67.mjs +0 -1
- package/dist/chunks/explorer-1.0.6-9va9rmay.mjs +0 -1
- package/dist/chunks/export-1.0.6-42k6mg0d.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.6-1ts30zcb.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.6-ccj017df.mjs +0 -1
- package/dist/chunks/fast-1.0.6-hng6hkgq.mjs +0 -1
- package/dist/chunks/feedback-1.0.6-5xpevqgs.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.6-y50d073s.mjs +0 -1
- package/dist/chunks/git-1.0.6-vdebxyc7.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.6-1am8vwv9.mjs +0 -1
- package/dist/chunks/goal-1.0.6-ragq8khs.mjs +0 -4
- package/dist/chunks/grove-1.0.6-94e2ae96.mjs +0 -1
- package/dist/chunks/growthbook-1.0.6-q95706fh.mjs +0 -1
- package/dist/chunks/headless-1.0.6-2jvpkaj6.mjs +0 -2
- package/dist/chunks/heapdump-1.0.6-6mqe5yjj.mjs +0 -6
- package/dist/chunks/help-1.0.6-3f56hs2r.mjs +0 -1
- package/dist/chunks/hookChains-1.0.6-bsdqvn2p.mjs +0 -3
- package/dist/chunks/hooks-1.0.6-2ymh39cf.mjs +0 -79
- package/dist/chunks/hooks-1.0.6-d56f9xmd.mjs +0 -1
- package/dist/chunks/ide-1.0.6-0hyhzmhe.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.6-xf9rg916.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.6-fz8n9ms8.mjs +0 -1
- package/dist/chunks/index-1.0.6-2bck3pt4.mjs +0 -30
- package/dist/chunks/index-1.0.6-3g0nsrkv.mjs +0 -17
- package/dist/chunks/index-1.0.6-3y7jxvhy.mjs +0 -1
- package/dist/chunks/index-1.0.6-478y2m6e.mjs +0 -2
- package/dist/chunks/index-1.0.6-4b1e7s1x.mjs +0 -1
- package/dist/chunks/index-1.0.6-58j0s67x.mjs +0 -1
- package/dist/chunks/index-1.0.6-5bgvzt3z.mjs +0 -1
- package/dist/chunks/index-1.0.6-5vphvdyy.mjs +0 -1
- package/dist/chunks/index-1.0.6-66q2r5rv.mjs +0 -1
- package/dist/chunks/index-1.0.6-7eqcsb13.mjs +0 -9
- package/dist/chunks/index-1.0.6-7mybgpvp.mjs +0 -9
- package/dist/chunks/index-1.0.6-9h6qgr9j.mjs +0 -1
- package/dist/chunks/index-1.0.6-a1je2hj0.mjs +0 -5
- package/dist/chunks/index-1.0.6-dzem1xyw.mjs +0 -1
- package/dist/chunks/index-1.0.6-h1kbzgbr.mjs +0 -1
- package/dist/chunks/index-1.0.6-jr8edr28.mjs +0 -1
- package/dist/chunks/index-1.0.6-kb626zfj.mjs +0 -1
- package/dist/chunks/index-1.0.6-scap8ztx.mjs +0 -1
- package/dist/chunks/index-1.0.6-sfn887je.mjs +0 -1
- package/dist/chunks/index-1.0.6-trrzmzqw.mjs +0 -2
- package/dist/chunks/index-1.0.6-vxgxky1j.mjs +0 -1
- package/dist/chunks/index-1.0.6-xw59t9mn.mjs +0 -1
- package/dist/chunks/index-1.0.6-zefh4dqr.mjs +0 -1
- package/dist/chunks/init-1.0.6-ceew1r40.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.6-q0q0cs0q.mjs +0 -1
- package/dist/chunks/ink-1.0.6-egfpysk6.mjs +0 -1
- package/dist/chunks/insights-1.0.6-2jg25rtq.mjs +0 -870
- package/dist/chunks/install-1.0.6-g2wbzhrp.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.6-wkch2k0a.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.6-t0yx4g99.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.6-rchtz4a0.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.6-y17rjqq1.mjs +0 -1
- package/dist/chunks/keybindings-1.0.6-fwfn3ph3.mjs +0 -2
- package/dist/chunks/knowledge-1.0.6-ec5ygwxq.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.6-v868fdtg.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.6-tqjw33x8.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.6-0ep8t6k1.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.6-qnt1qmw9.mjs +0 -1
- package/dist/chunks/log-1.0.6-k9cgc2n4.mjs +0 -1
- package/dist/chunks/main-1.0.6-nqg7gj8m.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.6-5ew1phra.mjs +0 -1
- package/dist/chunks/mcp-1.0.6-3knsgg6d.mjs +0 -17
- package/dist/chunks/mcp-1.0.6-na22t28a.mjs +0 -1
- package/dist/chunks/mcp-1.0.6-zkyhgas3.mjs +0 -4
- package/dist/chunks/mcpb-1.0.6-g3b1zqxb.mjs +0 -1
- package/dist/chunks/memory-1.0.6-atzzmaad.mjs +0 -3
- package/dist/chunks/model-1.0.6-57z0x37s.mjs +0 -1
- package/dist/chunks/model-1.0.6-843dkkfz.mjs +0 -2
- package/dist/chunks/node-1.0.6-vxbhm4hf.mjs +0 -12
- package/dist/chunks/oauth-1.0.6-cfc8agdv.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.6-zsb0hbxr.mjs +0 -14
- package/dist/chunks/output-style-1.0.6-qbmq3rnf.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.6-tkz3dr14.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.6-j4d5nn9v.mjs +0 -1
- package/dist/chunks/parser-1.0.6-v2vwmn92.mjs +0 -1
- package/dist/chunks/passes-1.0.6-n7gy2bm9.mjs +0 -1
- package/dist/chunks/permissions-1.0.6-p5k4trnb.mjs +0 -3
- package/dist/chunks/permissions-1.0.6-sdaqy7tv.mjs +0 -1
- package/dist/chunks/plan-1.0.6-dsq3488z.mjs +0 -1
- package/dist/chunks/plist-1.0.6-gpg0h2dj.mjs +0 -1
- package/dist/chunks/plugin-1.0.6-kj0t0xry.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.6-tr3d9de5.mjs +0 -1
- package/dist/chunks/plugins-1.0.6-7kctwa0e.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.6-qfq4qcnx.mjs +0 -2
- package/dist/chunks/print-1.0.6-9k27napw.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.6-pmkcm2k6.mjs +0 -1
- package/dist/chunks/process-1.0.6-yjr9qgm0.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.6-hjsegdwx.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.6-qtste297.mjs +0 -9
- package/dist/chunks/prompt-1.0.6-3pz6ez1b.mjs +0 -1
- package/dist/chunks/prompt-1.0.6-gz6pqd71.mjs +0 -1
- package/dist/chunks/prompts-1.0.6-dds21kka.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.6-0ks875v7.mjs +0 -13
- package/dist/chunks/provider-1.0.6-9a1x17c8.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.6-rk717k78.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.6-e3rpsc9f.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.6-90etm2re.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.6-nvtknss4.mjs +0 -34
- package/dist/chunks/registry-1.0.6-g4g3tqbv.mjs +0 -1
- package/dist/chunks/release-notes-1.0.6-1s9np58q.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.6-3dd0aedh.mjs +0 -2
- package/dist/chunks/remote-env-1.0.6-gyn1ez8r.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.6-g9538ytn.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.6-mta0cnmb.mjs +0 -1
- package/dist/chunks/rename-1.0.6-q495btpz.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.6-v46krtrw.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.6-cc276asy.mjs +0 -1
- package/dist/chunks/resume-1.0.6-f7sxdm3s.mjs +0 -2
- package/dist/chunks/rewind-1.0.6-6stqe269.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.6-j78xfj1y.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.6-901t5paa.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.6-vc10zpq8.mjs +0 -1
- package/dist/chunks/session-1.0.6-gjwdmj9d.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.6-r2ydd9s8.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.6-9dvjq66r.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.6-6xf0298f.mjs +0 -1
- package/dist/chunks/settings-1.0.6-369qbnap.mjs +0 -1
- package/dist/chunks/setup-1.0.6-n8ec75ht.mjs +0 -5
- package/dist/chunks/sinks-1.0.6-h7v83r07.mjs +0 -1
- package/dist/chunks/skills-1.0.6-srbnw6db.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.6-bt2rwgd4.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.6-hs9cecpe.mjs +0 -1
- package/dist/chunks/state-1.0.6-3m5c8zpc.mjs +0 -1
- package/dist/chunks/stats-1.0.6-df87fq0j.mjs +0 -6
- package/dist/chunks/status-1.0.6-0wmbys8d.mjs +0 -1
- package/dist/chunks/stickers-1.0.6-rn50x1rq.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.6-1p34363n.mjs +0 -1
- package/dist/chunks/tasks-1.0.6-n9dy1nvm.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.6-sbqr7ebq.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.6-shsz85kr.mjs +0 -1
- package/dist/chunks/teleport-1.0.6-thxx543v.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.6-2abyvwnm.mjs +0 -1
- package/dist/chunks/theme-1.0.6-3q8wm8dd.mjs +0 -1
- package/dist/chunks/thinkback-1.0.6-sk8ykxzt.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.6-6202g18m.mjs +0 -1
- package/dist/chunks/toolPool-1.0.6-7f9ny265.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.6-r927q3n6.mjs +0 -1
- package/dist/chunks/tools-1.0.6-49vtha15.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.6-12zgjreg.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.6-m88jykaz.mjs +0 -69
- package/dist/chunks/types-1.0.6-qcw5ptd7.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.6-34s8eh57.mjs +0 -4
- package/dist/chunks/update-1.0.6-10vds9r4.mjs +0 -88
- package/dist/chunks/upgrade-1.0.6-sdwjc086.mjs +0 -1
- package/dist/chunks/upload-1.0.6-tk83fcy2.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.6-8d54f9fn.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.6-ph7g08x7.mjs +0 -1
- package/dist/chunks/usage-1.0.6-3m17gzhd.mjs +0 -1
- package/dist/chunks/util-1.0.6-wh7h4a5g.mjs +0 -1
- package/dist/chunks/utils-1.0.6-5e17hs3n.mjs +0 -1
- package/dist/chunks/vim-1.0.6-4mjggnma.mjs +0 -1
- package/dist/chunks/watcher-1.0.6-6p1xkebx.mjs +0 -1
- package/dist/chunks/wiki-1.0.6-aysp0kpj.mjs +0 -132
- package/dist/chunks/workflows-1.0.6-rnjxwhns.mjs +0 -1
- package/dist/chunks/worktree-1.0.6-8nfcjmff.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.6-4pgx8mqk.mjs +0 -1
- package/dist/chunks/wrapper-1.0.6-crv0bjsj.mjs +0 -7
- /package/dist/chunks/{cli-1.0.6-xbk4dr3g.mjs → cli-1.0.8-2tcfa3h7.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.6-hg7rd6z8.mjs → cli-1.0.8-cnp4f1p9.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.6-m86933bc.mjs → cli-1.0.8-p2tp1j0a.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.6-esf6g2hg.mjs → cli-1.0.8-wm0h5bqt.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E as D}from"./cli-1.0.6-m86933bc.mjs";import{O as x}from"./cli-1.0.6-s333n5zg.mjs";import{$a as A}from"./cli-1.0.6-jfnnwqdv.mjs";import{ab as L}from"./cli-1.0.6-nbxf3acf.mjs";import{Ho as k,Io as U,Lo as F,Mo as p,tT as b,uT as u}from"./cli-1.0.6-gjtt9hjc.mjs";import{fU as O,iU as c}from"./cli-1.0.6-a9z7f8hm.mjs";import{Z7 as m,i4 as Y,n4 as I,r6 as w,s6 as M,s7 as E,t7 as G}from"./cli-1.0.6-1a002r86.mjs";import{mda as X,nda as B,vfa as $,yfa as z}from"./cli-1.0.6-3rnmt44c.mjs";import{Cha as _,Dha as y}from"./cli-1.0.6-sws40pv9.mjs";import{sja as K,vja as T}from"./cli-1.0.6-z06mmyvr.mjs";import{Sja as V,Zja as S}from"./cli-1.0.6-4r68vt91.mjs";import{dka as J,fka as N,nka as v}from"./cli-1.0.6-77j29wff.mjs";import{Kqa as W,ara as j}from"./cli-1.0.6-r0n4r13f.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
-
export{Xq as D};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{zra as J}from"./cli-1.0.6-c3q3ytrc.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as Eh,Y as Fh,Z as Gh,V as Hh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{P_ as _,z_ as Q}from"./cli-1.0.6-3rnmt44c.mjs";import{Cha as I,Dha as X}from"./cli-1.0.6-sws40pv9.mjs";import{sja as B,vja as V}from"./cli-1.0.6-z06mmyvr.mjs";import{zra as T}from"./cli-1.0.6-c3q3ytrc.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
-
export{j as l9,P as m9,Y as n9,S as o9,O as p9,D as q9,Z as r9};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Z7 as D,z7 as q}from"./cli-1.0.6-1a002r86.mjs";import{nia as m,oia as z}from"./cli-1.0.6-2taykcm3.mjs";import{zra as x}from"./cli-1.0.6-c3q3ytrc.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
-
export{E as mi,F as ni,K as oi,M as pi,G as qi};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{Ara as M,xra as T,zra as J5}from"./cli-1.0.6-c3q3ytrc.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
|
|
2
|
-
]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
|
|
3
|
-
Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
|
|
4
|
-
Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
|
|
5
|
-
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
-
Minimum version required to store current data is: `+F+`.
|
|
7
|
-
`);let K=p6(q,Z,Q),U=Y0.getSymbolSize(q),R=new u6(U);if(b6(R,q),m6(R),x6(R,q),u0(R,Z,0),q>=7)l6(R,q);if(n6(R,K),isNaN(J))J=D0.getBestMask(R,u0.bind(null,R,Z));return D0.applyMask(J,R),u0(R,Z,J),{modules:R,version:q,errorCorrectionLevel:Z,maskPattern:J,segments:Q}}i6.create=function(q,Z){if(typeof q>"u"||q==="")throw Error("No input text");let J=y0.M,Q,F;if(typeof Z<"u"){if(J=y0.from(Z.errorCorrectionLevel,y0.M),Q=H0.from(Z.version),F=D0.from(Z.maskPattern),Z.toSJISFunc)Y0.setToSJISFunction(Z.toSJISFunc)}return r6(q,Q,J,F)}});var v0=T((c5,Q7)=>{var o6=M("util"),J7=M("stream"),S=Q7.exports=function(){J7.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};o6.inherits(S,J7);S.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q}),process.nextTick(function(){if(this._process(),this._paused&&this._reads&&this._reads.length>0)this._paused=!1,this.emit("drain")}.bind(this))};S.prototype.write=function($,q){if(!this.writable)return this.emit("error",Error("Stream not writable")),!1;let Z;if(Buffer.isBuffer($))Z=$;else Z=Buffer.from($,q||this._encoding);if(this._buffers.push(Z),this._buffered+=Z.length,this._process(),this._reads&&this._reads.length===0)this._paused=!0;return this.writable&&!this._paused};S.prototype.end=function($,q){if($)this.write($,q);if(this.writable=!1,!this._buffers)return;if(this._buffers.length===0)this._end();else this._buffers.push(null),this._process()};S.prototype.destroySoon=S.prototype.end;S.prototype._end=function(){if(this._reads.length>0)this.emit("error",Error("Unexpected end of input"));this.destroy()};S.prototype.destroy=function(){if(!this._buffers)return;this.writable=!1,this._reads=null,this._buffers=null,this.emit("close")};S.prototype._processReadAllowingLess=function($){this._reads.shift();let q=this._buffers[0];if(q.length>$.length)this._buffered-=$.length,this._buffers[0]=q.slice($.length),$.func.call(this,q.slice(0,$.length));else this._buffered-=q.length,this._buffers.shift(),$.func.call(this,q)};S.prototype._processRead=function($){this._reads.shift();let q=0,Z=0,J=Buffer.alloc($.length);while(q<$.length){let Q=this._buffers[Z++],F=Math.min(Q.length,$.length-q);if(Q.copy(J,q,0,F),q+=F,F!==Q.length)this._buffers[--Z]=Q.slice(F)}if(Z>0)this._buffers.splice(0,Z);this._buffered-=$.length,$.func.call(this,J)};S.prototype._process=function(){try{while(this._buffered>0&&this._reads&&this._reads.length>0){let $=this._reads[0];if($.allowLess)this._processReadAllowingLess($);else if(this._buffered>=$.length)this._processRead($);else break}if(this._buffers&&!this.writable)this._end()}catch($){this.emit("error",$)}}});var c0=T((t6)=>{var h=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];t6.getImagePasses=function($,q){let Z=[],J=$%8,Q=q%8,F=($-J)/8,K=(q-Q)/8;for(let U=0;U<h.length;U++){let R=h[U],H=F*R.x.length,Y=K*R.y.length;for(let E=0;E<R.x.length;E++)if(R.x[E]<J)H++;else break;for(let E=0;E<R.y.length;E++)if(R.y[E]<Q)Y++;else break;if(H>0&&Y>0)Z.push({width:H,height:Y,index:U})}return Z};t6.getInterlaceIterator=function($){return function(q,Z,J){let Q=q%h[J].x.length,F=(q-Q)/h[J].x.length*8+h[J].x[Q],K=Z%h[J].y.length,U=(Z-K)/h[J].y.length*8+h[J].y[K];return F*4+U*$*4}}});var b0=T((m5,F7)=>{F7.exports=function(q,Z,J){let Q=q+Z-J,F=Math.abs(Q-q),K=Math.abs(Q-Z),U=Math.abs(Q-J);if(F<=K&&F<=U)return q;if(K<=U)return Z;return J}});var m0=T((x5,U7)=>{var qq=c0(),$q=b0();function K7($,q,Z){let J=$*q;if(Z!==8)J=Math.ceil(J/(8/Z));return J}var p=U7.exports=function($,q){let{width:Z,height:J,interlace:Q,bpp:F,depth:K}=$;if(this.read=q.read,this.write=q.write,this.complete=q.complete,this._imageIndex=0,this._images=[],Q){let U=qq.getImagePasses(Z,J);for(let R=0;R<U.length;R++)this._images.push({byteWidth:K7(U[R].width,F,K),height:U[R].height,lineIndex:0})}else this._images.push({byteWidth:K7(Z,F,K),height:J,lineIndex:0});if(K===8)this._xComparison=F;else if(K===16)this._xComparison=F*2;else this._xComparison=1};p.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};p.prototype._unFilterType1=function($,q,Z){let J=this._xComparison,Q=J-1;for(let F=0;F<Z;F++){let K=$[1+F],U=F>Q?q[F-J]:0;q[F]=K+U}};p.prototype._unFilterType2=function($,q,Z){let J=this._lastLine;for(let Q=0;Q<Z;Q++){let F=$[1+Q],K=J?J[Q]:0;q[Q]=F+K}};p.prototype._unFilterType3=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=Math.floor((H+R)/2);q[K]=U+Y}};p.prototype._unFilterType4=function($,q,Z){let J=this._xComparison,Q=J-1,F=this._lastLine;for(let K=0;K<Z;K++){let U=$[1+K],R=F?F[K]:0,H=K>Q?q[K-J]:0,Y=K>Q&&F?F[K-J]:0,E=$q(H,R,Y);q[K]=U+E}};p.prototype._reverseFilterLine=function($){let q=$[0],Z,J=this._images[this._imageIndex],Q=J.byteWidth;if(q===0)Z=$.slice(1,Q+1);else switch(Z=Buffer.alloc(Q),q){case 1:this._unFilterType1($,Z,Q);break;case 2:this._unFilterType2($,Z,Q);break;case 3:this._unFilterType3($,Z,Q);break;case 4:this._unFilterType4($,Z,Q);break;default:throw Error("Unrecognised filter type - "+q)}if(this.write(Z),J.lineIndex++,J.lineIndex>=J.height)this._lastLine=null,this._imageIndex++,J=this._images[this._imageIndex];else this._lastLine=Z;if(J)this.read(J.byteWidth+1,this._reverseFilterLine.bind(this));else this._lastLine=null,this.complete()}});var Y7=T((l5,H7)=>{var Zq=M("util"),R7=v0(),Jq=m0(),Qq=H7.exports=function($){R7.call(this);let q=[],Z=this;this._filter=new Jq($,{read:this.read.bind(this),write:function(J){q.push(J)},complete:function(){Z.emit("complete",Buffer.concat(q))}}),this._filter.start()};Zq.inherits(Qq,R7)});var d=T((n5,E7)=>{E7.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var n0=T((p5,O7)=>{var x0=[];(function(){for(let $=0;$<256;$++){let q=$;for(let Z=0;Z<8;Z++)if(q&1)q=3988292384^q>>>1;else q=q>>>1;x0[$]=q}})();var l0=O7.exports=function(){this._crc=-1};l0.prototype.write=function($){for(let q=0;q<$.length;q++)this._crc=x0[(this._crc^$[q])&255]^this._crc>>>8;return!0};l0.prototype.crc32=function(){return this._crc^-1};l0.crc32=function($){let q=-1;for(let Z=0;Z<$.length;Z++)q=x0[(q^$[Z])&255]^q>>>8;return q^-1}});var p0=T((d5,T7)=>{var j=d(),Fq=n0(),_=T7.exports=function($,q){this._options=$,$.checkCRC=$.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[j.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[j.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[j.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[j.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[j.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[j.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=q.read,this.error=q.error,this.metadata=q.metadata,this.gamma=q.gamma,this.transColor=q.transColor,this.palette=q.palette,this.parsed=q.parsed,this.inflateData=q.inflateData,this.finished=q.finished,this.simpleTransparency=q.simpleTransparency,this.headersFinished=q.headersFinished||function(){}};_.prototype.start=function(){this.read(j.PNG_SIGNATURE.length,this._parseSignature.bind(this))};_.prototype._parseSignature=function($){let q=j.PNG_SIGNATURE;for(let Z=0;Z<q.length;Z++)if($[Z]!==q[Z]){this.error(Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};_.prototype._parseChunkBegin=function($){let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J="";for(let F=4;F<8;F++)J+=String.fromCharCode($[F]);let Q=Boolean($[4]&32);if(!this._hasIHDR&&Z!==j.TYPE_IHDR){this.error(Error("Expected IHDR on beggining"));return}if(this._crc=new Fq,this._crc.write(Buffer.from(J)),this._chunks[Z])return this._chunks[Z](q);if(!Q){this.error(Error("Unsupported critical chunk type "+J));return}this.read(q+4,this._skipChunk.bind(this))};_.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};_.prototype._parseChunkEnd=function($){let q=$.readInt32BE(0),Z=this._crc.crc32();if(this._options.checkCRC&&Z!==q){this.error(Error("Crc error - "+q+" - "+Z));return}if(!this._hasIEND)this.read(8,this._parseChunkBegin.bind(this))};_.prototype._handleIHDR=function($){this.read($,this._parseIHDR.bind(this))};_.prototype._parseIHDR=function($){this._crc.write($);let q=$.readUInt32BE(0),Z=$.readUInt32BE(4),J=$[8],Q=$[9],F=$[10],K=$[11],U=$[12];if(J!==8&&J!==4&&J!==2&&J!==1&&J!==16){this.error(Error("Unsupported bit depth "+J));return}if(!(Q in j.COLORTYPE_TO_BPP_MAP)){this.error(Error("Unsupported color type"));return}if(F!==0){this.error(Error("Unsupported compression method"));return}if(K!==0){this.error(Error("Unsupported filter method"));return}if(U!==0&&U!==1){this.error(Error("Unsupported interlace method"));return}this._colorType=Q;let R=j.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:q,height:Z,depth:J,interlace:Boolean(U),palette:Boolean(Q&j.COLORTYPE_PALETTE),color:Boolean(Q&j.COLORTYPE_COLOR),alpha:Boolean(Q&j.COLORTYPE_ALPHA),bpp:R,colorType:Q}),this._handleChunkEnd()};_.prototype._handlePLTE=function($){this.read($,this._parsePLTE.bind(this))};_.prototype._parsePLTE=function($){this._crc.write($);let q=Math.floor($.length/3);for(let Z=0;Z<q;Z++)this._palette.push([$[Z*3],$[Z*3+1],$[Z*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};_.prototype._handleTRNS=function($){this.simpleTransparency(),this.read($,this._parseTRNS.bind(this))};_.prototype._parseTRNS=function($){if(this._crc.write($),this._colorType===j.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(Error("Transparency chunk must be after palette"));return}if($.length>this._palette.length){this.error(Error("More transparent colors than palette size"));return}for(let q=0;q<$.length;q++)this._palette[q][3]=$[q];this.palette(this._palette)}if(this._colorType===j.COLORTYPE_GRAYSCALE)this.transColor([$.readUInt16BE(0)]);if(this._colorType===j.COLORTYPE_COLOR)this.transColor([$.readUInt16BE(0),$.readUInt16BE(2),$.readUInt16BE(4)]);this._handleChunkEnd()};_.prototype._handleGAMA=function($){this.read($,this._parseGAMA.bind(this))};_.prototype._parseGAMA=function($){this._crc.write($),this.gamma($.readUInt32BE(0)/j.GAMMA_DIVISION),this._handleChunkEnd()};_.prototype._handleIDAT=function($){if(!this._emittedHeadersFinished)this._emittedHeadersFinished=!0,this.headersFinished();this.read(-$,this._parseIDAT.bind(this,$))};_.prototype._parseIDAT=function($,q){if(this._crc.write(q),this._colorType===j.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw Error("Expected palette not found");this.inflateData(q);let Z=$-q.length;if(Z>0)this._handleIDAT(Z);else this._handleChunkEnd()};_.prototype._handleIEND=function($){this.read($,this._parseIEND.bind(this))};_.prototype._parseIEND=function($){if(this._crc.write($),this._hasIEND=!0,this._handleChunkEnd(),this.finished)this.finished()}});var d0=T((Eq)=>{var X7=c0(),Kq=[function(){},function($,q,Z,J){if(J===q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=255},function($,q,Z,J){if(J+1>=q.length)throw Error("Ran out of data");let Q=q[J];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=q[J+1]},function($,q,Z,J){if(J+2>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=255},function($,q,Z,J){if(J+3>=q.length)throw Error("Ran out of data");$[Z]=q[J],$[Z+1]=q[J+1],$[Z+2]=q[J+2],$[Z+3]=q[J+3]}],Uq=[function(){},function($,q,Z,J){let Q=q[0];$[Z]=Q,$[Z+1]=Q,$[Z+2]=Q,$[Z+3]=J},function($,q,Z){let J=q[0];$[Z]=J,$[Z+1]=J,$[Z+2]=J,$[Z+3]=q[1]},function($,q,Z,J){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=J},function($,q,Z){$[Z]=q[0],$[Z+1]=q[1],$[Z+2]=q[2],$[Z+3]=q[3]}];function Rq($,q){let Z=[],J=0;function Q(){if(J===$.length)throw Error("Ran out of data");let F=$[J];J++;let K,U,R,H,Y,E,O,X;switch(q){default:throw Error("unrecognised depth");case 16:O=$[J],J++,Z.push((F<<8)+O);break;case 4:O=F&15,X=F>>4,Z.push(X,O);break;case 2:Y=F&3,E=F>>2&3,O=F>>4&3,X=F>>6&3,Z.push(X,O,E,Y);break;case 1:K=F&1,U=F>>1&1,R=F>>2&1,H=F>>3&1,Y=F>>4&1,E=F>>5&1,O=F>>6&1,X=F>>7&1,Z.push(X,O,E,Y,H,R,U,K);break}}return{get:function(F){while(Z.length<F)Q();let K=Z.slice(0,F);return Z=Z.slice(F),K},resetAfterLine:function(){Z.length=0},end:function(){if(J!==$.length)throw Error("extra data found")}}}function Hq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++)for(let Y=0;Y<K;Y++){let E=Z(Y,H,R);Kq[J](q,Q,E,F),F+=J}return F}function Yq($,q,Z,J,Q,F){let{width:K,height:U,index:R}=$;for(let H=0;H<U;H++){for(let Y=0;Y<K;Y++){let E=Q.get(J),O=Z(Y,H,R);Uq[J](q,E,O,F)}Q.resetAfterLine()}}Eq.dataToBitMap=function($,q){let{width:Z,height:J,depth:Q,bpp:F,interlace:K}=q,U;if(Q!==8)U=Rq($,Q);let R;if(Q<=8)R=Buffer.alloc(Z*J*4);else R=new Uint16Array(Z*J*4);let H=Math.pow(2,Q)-1,Y=0,E,O;if(K)E=X7.getImagePasses(Z,J),O=X7.getInterlaceIterator(Z,J);else{let X=0;O=function(){let G=X;return X+=4,G},E=[{width:Z,height:J}]}for(let X=0;X<E.length;X++)if(Q===8)Y=Hq(E[X],R,O,F,$,Y);else Yq(E[X],R,O,F,U,H);if(Q===8){if(Y!==$.length)throw Error("extra data found")}else U.end();return R}});var r0=T((i5,G7)=>{function Tq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=Q[$[F]];if(!R)throw Error("index "+$[F]+" not in palette");for(let H=0;H<4;H++)q[F+H]=R[H];F+=4}}function Xq($,q,Z,J,Q){let F=0;for(let K=0;K<J;K++)for(let U=0;U<Z;U++){let R=!1;if(Q.length===1){if(Q[0]===$[F])R=!0}else if(Q[0]===$[F]&&Q[1]===$[F+1]&&Q[2]===$[F+2])R=!0;if(R)for(let H=0;H<4;H++)q[F+H]=0;F+=4}}function Gq($,q,Z,J,Q){let F=255,K=Math.pow(2,Q)-1,U=0;for(let R=0;R<J;R++)for(let H=0;H<Z;H++){for(let Y=0;Y<4;Y++)q[U+Y]=Math.floor($[U+Y]*F/K+0.5);U+=4}}G7.exports=function($,q){let{depth:Z,width:J,height:Q,colorType:F,transColor:K,palette:U}=q,R=$;if(F===3)Tq($,R,J,Q,U);else{if(K)Xq($,R,J,Q,K);if(Z!==8){if(Z===16)R=Buffer.alloc(J*Q*4);Gq($,R,J,Q,Z)}}return R}});var N7=T((s5,A7)=>{var Vq=M("util"),i0=M("zlib"),V7=v0(),Aq=Y7(),Nq=p0(),Wq=d0(),Mq=r0(),f=A7.exports=function($){V7.call(this),this._parser=new Nq($,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=$,this.writable=!0,this._parser.start()};Vq.inherits(f,V7);f.prototype._handleError=function($){if(this.emit("error",$),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy)this._inflate.destroy();if(this._filter)this._filter.destroy(),this._filter.on("error",function(){});this.errord=!0};f.prototype._inflateData=function($){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=i0.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let Z=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,J=Math.max(Z,i0.Z_MIN_CHUNK);this._inflate=i0.createInflate({chunkSize:J});let Q=Z,F=this.emit.bind(this,"error");this._inflate.on("error",function(U){if(!Q)return;F(U)}),this._filter.on("complete",this._complete.bind(this));let K=this._filter.write.bind(this._filter);this._inflate.on("data",function(U){if(!Q)return;if(U.length>Q)U=U.slice(0,Q);Q-=U.length,K(U)}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write($)};f.prototype._handleMetaData=function($){this._metaData=$,this._bitmapInfo=Object.create($),this._filter=new Aq(this._bitmapInfo)};f.prototype._handleTransColor=function($){this._bitmapInfo.transColor=$};f.prototype._handlePalette=function($){this._bitmapInfo.palette=$};f.prototype._simpleTransparency=function(){this._metaData.alpha=!0};f.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};f.prototype._finished=function(){if(this.errord)return;if(!this._inflate)this.emit("error","No Inflate block");else this._inflate.end()};f.prototype._complete=function($){if(this.errord)return;let q;try{let Z=Wq.dataToBitMap($,this._bitmapInfo);q=Mq(Z,this._bitmapInfo),Z=null}catch(Z){this._handleError(Z);return}this.emit("parsed",q)}});var M7=T((o5,W7)=>{var k=d();W7.exports=function($,q,Z,J){let Q=[k.COLORTYPE_COLOR_ALPHA,k.COLORTYPE_ALPHA].indexOf(J.colorType)!==-1;if(J.colorType===J.inputColorType){let G=function(){let A=new ArrayBuffer(2);return new DataView(A).setInt16(0,256,!0),new Int16Array(A)[0]!==256}();if(J.bitDepth===8||J.bitDepth===16&&G)return $}let F=J.bitDepth!==16?$:new Uint16Array($.buffer),K=255,U=k.COLORTYPE_TO_BPP_MAP[J.inputColorType];if(U===4&&!J.inputHasAlpha)U=3;let R=k.COLORTYPE_TO_BPP_MAP[J.colorType];if(J.bitDepth===16)K=65535,R*=2;let H=Buffer.alloc(q*Z*R),Y=0,E=0,O=J.bgColor||{};if(O.red===void 0)O.red=K;if(O.green===void 0)O.green=K;if(O.blue===void 0)O.blue=K;function X(){let G,A,V,W=K;switch(J.inputColorType){case k.COLORTYPE_COLOR_ALPHA:W=F[Y+3],G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_COLOR:G=F[Y],A=F[Y+1],V=F[Y+2];break;case k.COLORTYPE_ALPHA:W=F[Y+1],G=F[Y],A=G,V=G;break;case k.COLORTYPE_GRAYSCALE:G=F[Y],A=G,V=G;break;default:throw Error("input color type:"+J.inputColorType+" is not supported at present")}if(J.inputHasAlpha){if(!Q)W/=K,G=Math.min(Math.max(Math.round((1-W)*O.red+W*G),0),K),A=Math.min(Math.max(Math.round((1-W)*O.green+W*A),0),K),V=Math.min(Math.max(Math.round((1-W)*O.blue+W*V),0),K)}return{red:G,green:A,blue:V,alpha:W}}for(let G=0;G<Z;G++)for(let A=0;A<q;A++){let V=X(F,Y);switch(J.colorType){case k.COLORTYPE_COLOR_ALPHA:case k.COLORTYPE_COLOR:if(J.bitDepth===8){if(H[E]=V.red,H[E+1]=V.green,H[E+2]=V.blue,Q)H[E+3]=V.alpha}else if(H.writeUInt16BE(V.red,E),H.writeUInt16BE(V.green,E+2),H.writeUInt16BE(V.blue,E+4),Q)H.writeUInt16BE(V.alpha,E+6);break;case k.COLORTYPE_ALPHA:case k.COLORTYPE_GRAYSCALE:{let W=(V.red+V.green+V.blue)/3;if(J.bitDepth===8){if(H[E]=W,Q)H[E+1]=V.alpha}else if(H.writeUInt16BE(W,E),Q)H.writeUInt16BE(V.alpha,E+2);break}default:throw Error("unrecognised color Type "+J.colorType)}Y+=U,E+=R}return H}});var B7=T((t5,_7)=>{var j7=b0();function jq($,q,Z,J,Q){for(let F=0;F<Z;F++)J[Q+F]=$[q+F]}function _q($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++)J+=Math.abs($[F]);return J}function Bq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=$[q+K]-U;J[Q+K]=R}}function Iq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=$[q+F]-K;Q+=Math.abs(U)}return Q}function Lq($,q,Z,J,Q){for(let F=0;F<Z;F++){let K=q>0?$[q+F-Z]:0,U=$[q+F]-K;J[Q+F]=U}}function zq($,q,Z){let J=0,Q=q+Z;for(let F=q;F<Q;F++){let K=q>0?$[F-Z]:0,U=$[F]-K;J+=Math.abs(U)}return J}function kq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=$[q+K]-(U+R>>1);J[Q+K]=H}}function Sq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=$[q+F]-(K+U>>1);Q+=Math.abs(R)}return Q}function wq($,q,Z,J,Q,F){for(let K=0;K<Z;K++){let U=K>=F?$[q+K-F]:0,R=q>0?$[q+K-Z]:0,H=q>0&&K>=F?$[q+K-(Z+F)]:0,Y=$[q+K]-j7(U,R,H);J[Q+K]=Y}}function fq($,q,Z,J){let Q=0;for(let F=0;F<Z;F++){let K=F>=J?$[q+F-J]:0,U=q>0?$[q+F-Z]:0,R=q>0&&F>=J?$[q+F-(Z+J)]:0,H=$[q+F]-j7(K,U,R);Q+=Math.abs(H)}return Q}var Cq={0:jq,1:Bq,2:Lq,3:kq,4:wq},yq={0:_q,1:Iq,2:zq,3:Sq,4:fq};_7.exports=function($,q,Z,J,Q){let F;if(!("filterType"in J)||J.filterType===-1)F=[0,1,2,3,4];else if(typeof J.filterType==="number")F=[J.filterType];else throw Error("unrecognised filter types");if(J.bitDepth===16)Q*=2;let K=q*Q,U=0,R=0,H=Buffer.alloc((K+1)*Z),Y=F[0];for(let E=0;E<Z;E++){if(F.length>1){let O=1/0;for(let X=0;X<F.length;X++){let G=yq[F[X]]($,R,K,Q);if(G<O)Y=F[X],O=G}}H[U]=Y,U++,Cq[Y]($,R,K,H,U,Q),U+=K,R+=K}return H}});var s0=T((e5,I7)=>{var B=d(),gq=n0(),uq=M7(),Dq=B7(),hq=M("zlib"),P=I7.exports=function($){if(this._options=$,$.deflateChunkSize=$.deflateChunkSize||32768,$.deflateLevel=$.deflateLevel!=null?$.deflateLevel:9,$.deflateStrategy=$.deflateStrategy!=null?$.deflateStrategy:3,$.inputHasAlpha=$.inputHasAlpha!=null?$.inputHasAlpha:!0,$.deflateFactory=$.deflateFactory||hq.createDeflate,$.bitDepth=$.bitDepth||8,$.colorType=typeof $.colorType==="number"?$.colorType:B.COLORTYPE_COLOR_ALPHA,$.inputColorType=typeof $.inputColorType==="number"?$.inputColorType:B.COLORTYPE_COLOR_ALPHA,[B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.colorType)===-1)throw Error("option color type:"+$.colorType+" is not supported at present");if([B.COLORTYPE_GRAYSCALE,B.COLORTYPE_COLOR,B.COLORTYPE_COLOR_ALPHA,B.COLORTYPE_ALPHA].indexOf($.inputColorType)===-1)throw Error("option input color type:"+$.inputColorType+" is not supported at present");if($.bitDepth!==8&&$.bitDepth!==16)throw Error("option bit depth:"+$.bitDepth+" is not supported at present")};P.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};P.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};P.prototype.filterData=function($,q,Z){let J=uq($,q,Z,this._options),Q=B.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Dq(J,q,Z,this._options,Q)};P.prototype._packChunk=function($,q){let Z=q?q.length:0,J=Buffer.alloc(Z+12);if(J.writeUInt32BE(Z,0),J.writeUInt32BE($,4),q)q.copy(J,8);return J.writeInt32BE(gq.crc32(J.slice(4,J.length-4)),J.length-4),J};P.prototype.packGAMA=function($){let q=Buffer.alloc(4);return q.writeUInt32BE(Math.floor($*B.GAMMA_DIVISION),0),this._packChunk(B.TYPE_gAMA,q)};P.prototype.packIHDR=function($,q){let Z=Buffer.alloc(13);return Z.writeUInt32BE($,0),Z.writeUInt32BE(q,4),Z[8]=this._options.bitDepth,Z[9]=this._options.colorType,Z[10]=0,Z[11]=0,Z[12]=0,this._packChunk(B.TYPE_IHDR,Z)};P.prototype.packIDAT=function($){return this._packChunk(B.TYPE_IDAT,$)};P.prototype.packIEND=function(){return this._packChunk(B.TYPE_IEND,null)}});var S7=T((a5,k7)=>{var Pq=M("util"),L7=M("stream"),vq=d(),cq=s0(),z7=k7.exports=function($){L7.call(this);let q=$||{};this._packer=new cq(q),this._deflate=this._packer.createDeflate(),this.readable=!0};Pq.inherits(z7,L7);z7.prototype.pack=function($,q,Z,J){if(this.emit("data",Buffer.from(vq.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(q,Z)),J)this.emit("data",this._packer.packGAMA(J));let Q=this._packer.filterData($,q,Z);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(F){this.emit("data",this._packer.packIDAT(F))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(Q)}});var u7=T(($0,g7)=>{var w7=M("assert").ok,r=M("zlib"),bq=M("util"),f7=M("buffer").kMaxLength;function c($){if(!(this instanceof c))return new c($);if($&&$.chunkSize<r.Z_MIN_CHUNK)$.chunkSize=r.Z_MIN_CHUNK;if(r.Inflate.call(this,$),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,$&&$.maxLength!=null)this._maxLength=$.maxLength}function mq($){return new c($)}function C7($,q){if(q)process.nextTick(q);if(!$._handle)return;$._handle.close(),$._handle=null}c.prototype._processChunk=function($,q,Z){if(typeof Z==="function")return r.Inflate._processChunk.call(this,$,q,Z);let J=this,Q=$&&$.length,F=this._chunkSize-this._offset,K=this._maxLength,U=0,R=[],H=0,Y;this.on("error",function(G){Y=G});function E(G,A){if(J._hadError)return;let V=F-A;if(w7(V>=0,"have should not go down"),V>0){let W=J._buffer.slice(J._offset,J._offset+V);if(J._offset+=V,W.length>K)W=W.slice(0,K);if(R.push(W),H+=W.length,K-=W.length,K===0)return!1}if(A===0||J._offset>=J._chunkSize)F=J._chunkSize,J._offset=0,J._buffer=Buffer.allocUnsafe(J._chunkSize);if(A===0)return U+=Q-G,Q=G,!0;return!1}w7(this._handle,"zlib binding closed");let O;do O=this._handle.writeSync(q,$,U,Q,this._buffer,this._offset,F),O=O||this._writeState;while(!this._hadError&&E(O[0],O[1]));if(this._hadError)throw Y;if(H>=f7)throw C7(this),RangeError("Cannot create final Buffer. It would be larger than 0x"+f7.toString(16)+" bytes");let X=Buffer.concat(R,H);return C7(this),X};bq.inherits(c,r.Inflate);function xq($,q){if(typeof q==="string")q=Buffer.from(q);if(!(q instanceof Buffer))throw TypeError("Not a string or buffer");let Z=$._finishFlushFlag;if(Z==null)Z=r.Z_FINISH;return $._processChunk(q,Z)}function y7($,q){return xq(new c(q),$)}g7.exports=$0=y7;$0.Inflate=c;$0.createInflate=mq;$0.inflateSync=y7});var o0=T((q$,h7)=>{var D7=h7.exports=function($){this._buffer=$,this._reads=[]};D7.prototype.read=function($,q){this._reads.push({length:Math.abs($),allowLess:$<0,func:q})};D7.prototype.process=function(){while(this._reads.length>0&&this._buffer.length){let $=this._reads[0];if(this._buffer.length&&(this._buffer.length>=$.length||$.allowLess)){this._reads.shift();let q=this._buffer;this._buffer=q.slice($.length),$.func.call(this,q.slice(0,$.length))}else break}if(this._reads.length>0)return Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return Error("unrecognised content at end of stream")}});var P7=T((pq)=>{var lq=o0(),nq=m0();pq.process=function($,q){let Z=[],J=new lq($);return new nq(q,{read:J.read.bind(J),write:function(F){Z.push(F)},complete:function(){}}).start(),J.process(),Buffer.concat(Z)}});var m7=T((Z$,b7)=>{var v7=!0,c7=M("zlib"),rq=u7();if(!c7.deflateSync)v7=!1;var iq=o0(),sq=P7(),oq=p0(),tq=d0(),eq=r0();b7.exports=function($,q){if(!v7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let Z;function J(I){Z=I}let Q;function F(I){Q=I}function K(I){Q.transColor=I}function U(I){Q.palette=I}function R(){Q.alpha=!0}let H;function Y(I){H=I}let E=[];function O(I){E.push(I)}let X=new iq($);if(new oq(q,{read:X.read.bind(X),error:J,metadata:F,gamma:Y,palette:U,transColor:K,inflateData:O,simpleTransparency:R}).start(),X.process(),Z)throw Z;let A=Buffer.concat(E);E.length=0;let V;if(Q.interlace)V=c7.inflateSync(A);else{let z=((Q.width*Q.bpp*Q.depth+7>>3)+1)*Q.height;V=rq(A,{chunkSize:z,maxLength:z})}if(A=null,!V||!V.length)throw Error("bad png - invalid inflate data response");let W=sq.process(V,Q);A=null;let E0=tq.dataToBitMap(W,Q);W=null;let i=eq(E0,Q);return Q.data=i,Q.gamma=H||0,Q}});var p7=T((J$,n7)=>{var x7=!0,l7=M("zlib");if(!l7.deflateSync)x7=!1;var aq=d(),q4=s0();n7.exports=function($,q){if(!x7)throw Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let J=new q4(q||{}),Q=[];if(Q.push(Buffer.from(aq.PNG_SIGNATURE)),Q.push(J.packIHDR($.width,$.height)),$.gamma)Q.push(J.packGAMA($.gamma));let F=J.filterData($.data,$.width,$.height),K=l7.deflateSync(F,J.getDeflateOptions());if(F=null,!K||!K.length)throw Error("bad png - invalid compressed data response");return Q.push(J.packIDAT(K)),Q.push(J.packIEND()),Buffer.concat(Q)}});var d7=T((J4)=>{var $4=m7(),Z4=p7();J4.read=function($,q){return $4($,q||{})};J4.write=function($,q){return Z4($,q)}});var i7=T((Y4)=>{var K4=M("util"),r7=M("stream"),U4=N7(),R4=S7(),H4=d7(),L=Y4.PNG=function($){if(r7.call(this),$=$||{},this.width=$.width|0,this.height=$.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,$.fill&&this.data)this.data.fill(0);this.gamma=0,this.readable=this.writable=!0,this._parser=new U4($),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(q){this.data=q,this.emit("parsed",q)}.bind(this)),this._packer=new R4($),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};K4.inherits(L,r7);L.sync=H4;L.prototype.pack=function(){if(!this.data||!this.data.length)return this.emit("error","No data provided"),this;return process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this};L.prototype.parse=function($,q){if(q){let Z,J;Z=function(Q){this.removeListener("error",J),this.data=Q,q(null,this)}.bind(this),J=function(Q){this.removeListener("parsed",Z),q(Q,null)}.bind(this),this.once("parsed",Z),this.once("error",J)}return this.end($),this};L.prototype.write=function($){return this._parser.write($),!0};L.prototype.end=function($){this._parser.end($)};L.prototype._metadata=function($){this.width=$.width,this.height=$.height,this.emit("metadata",$)};L.prototype._gamma=function($){this.gamma=$};L.prototype._handleClose=function(){if(!this._parser.writable&&!this._packer.readable)this.emit("close")};L.bitblt=function($,q,Z,J,Q,F,K,U){if(Z|=0,J|=0,Q|=0,F|=0,K|=0,U|=0,Z>$.width||J>$.height||Z+Q>$.width||J+F>$.height)throw Error("bitblt reading outside image");if(K>q.width||U>q.height||K+Q>q.width||U+F>q.height)throw Error("bitblt writing outside image");for(let R=0;R<F;R++)$.data.copy(q.data,(U+R)*q.width+K<<2,(J+R)*$.width+Z<<2,(J+R)*$.width+Z+Q<<2)};L.prototype.bitblt=function($,q,Z,J,Q,F,K){return L.bitblt(this,$,q,Z,J,Q,F,K),this};L.adjustGamma=function($){if($.gamma){for(let q=0;q<$.height;q++)for(let Z=0;Z<$.width;Z++){let J=$.width*q+Z<<2;for(let Q=0;Q<3;Q++){let F=$.data[J+Q]/255;F=Math.pow(F,0.45454545454545453/$.gamma),$.data[J+Q]=Math.round(F*255)}}$.gamma=0}};L.prototype.adjustGamma=function(){L.adjustGamma(this)}});var Z0=T((E4)=>{function s7($){if(typeof $==="number")$=$.toString();if(typeof $!=="string")throw Error("Color should be defined as hex string");let q=$.slice().replace("#","").split("");if(q.length<3||q.length===5||q.length>8)throw Error("Invalid hex color: "+$);if(q.length===3||q.length===4)q=Array.prototype.concat.apply([],q.map(function(J){return[J,J]}));if(q.length===6)q.push("F","F");let Z=parseInt(q.join(""),16);return{r:Z>>24&255,g:Z>>16&255,b:Z>>8&255,a:Z&255,hex:"#"+q.slice(0,6).join("")}}E4.getOptions=function(q){if(!q)q={};if(!q.color)q.color={};let Z=typeof q.margin>"u"||q.margin===null||q.margin<0?4:q.margin,J=q.width&&q.width>=21?q.width:void 0,Q=q.scale||4;return{width:J,scale:J?4:Q,margin:Z,color:{dark:s7(q.color.dark||"#000000ff"),light:s7(q.color.light||"#ffffffff")},type:q.type,rendererOpts:q.rendererOpts||{}}};E4.getScale=function(q,Z){return Z.width&&Z.width>=q+Z.margin*2?Z.width/(q+Z.margin*2):Z.scale};E4.getImageWidth=function(q,Z){let J=E4.getScale(q,Z);return Math.floor((q+Z.margin*2)*J)};E4.qrToImageData=function(q,Z,J){let Q=Z.modules.size,F=Z.modules.data,K=E4.getScale(Q,J),U=Math.floor((Q+J.margin*2)*K),R=J.margin*K,H=[J.color.light,J.color.dark];for(let Y=0;Y<U;Y++)for(let E=0;E<U;E++){let O=(Y*U+E)*4,X=J.color.light;if(Y>=R&&E>=R&&Y<U-R&&E<U-R){let G=Math.floor((Y-R)/K),A=Math.floor((E-R)/K);X=H[F[G*Q+A]?1:0]}q[O++]=X.r,q[O++]=X.g,q[O++]=X.b,q[O]=X.a}}});var o7=T((A4)=>{var G4=M("fs"),V4=i7().PNG,e0=Z0();A4.render=function(q,Z){let J=e0.getOptions(Z),Q=J.rendererOpts,F=e0.getImageWidth(q.modules.size,J);Q.width=F,Q.height=F;let K=new V4(Q);return e0.qrToImageData(K.data,q,J),K};A4.renderToDataURL=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;A4.renderToBuffer(q,Z,function(Q,F){if(Q)J(Q);let K="data:image/png;base64,";K+=F.toString("base64"),J(null,K)})};A4.renderToBuffer=function(q,Z,J){if(typeof J>"u")J=Z,Z=void 0;let Q=A4.render(q,Z),F=[];Q.on("error",J),Q.on("data",function(K){F.push(K)}),Q.on("end",function(){J(null,Buffer.concat(F))}),Q.pack()};A4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=!1,K=(...R)=>{if(F)return;F=!0,Q.apply(null,R)},U=G4.createWriteStream(q);U.on("error",K),U.on("close",K),A4.renderToFileStream(U,Z,J)};A4.renderToFileStream=function(q,Z,J){A4.render(Z,J).pack().pipe(q)}});var e7=T((z4)=>{var _4=Z0(),B4={WW:" ",WB:"▄",BB:"█",BW:"▀"},I4={BB:" ",BW:"▄",WW:"█",WB:"▀"};function L4($,q,Z){if($&&q)return Z.BB;if($&&!q)return Z.BW;if(!$&&q)return Z.WB;return Z.WW}z4.render=function($,q,Z){let J=_4.getOptions(q),Q=B4;if(J.color.dark.hex==="#ffffff"||J.color.light.hex==="#000000")Q=I4;let F=$.modules.size,K=$.modules.data,U="",R=Array(F+J.margin*2+1).join(Q.WW);R=Array(J.margin/2+1).join(R+`
|
|
8
|
-
`);let H=Array(J.margin+1).join(Q.WW);U+=R;for(let Y=0;Y<F;Y+=2){U+=H;for(let E=0;E<F;E++){let O=K[Y*F+E],X=K[(Y+1)*F+E];U+=L4(O,X,Q)}U+=H+`
|
|
9
|
-
`}if(U+=R.slice(0,-1),typeof Z==="function")Z(null,U);return U};z4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),K=z4.render(Z,J);F.writeFile(q,K,Q)}});var a7=T((S4)=>{S4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F="\x1B[40m \x1B[0m",K="\x1B[47m \x1B[0m",U="",R=Array(J+3).join("\x1B[47m \x1B[0m"),H=Array(2).join("\x1B[47m \x1B[0m");U+=R+`
|
|
10
|
-
`;for(let Y=0;Y<J;++Y){U+="\x1B[47m \x1B[0m";for(let E=0;E<J;E++)U+=Q[Y*J+E]?"\x1B[40m \x1B[0m":"\x1B[47m \x1B[0m";U+=H+`
|
|
11
|
-
`}if(U+=R+`
|
|
12
|
-
`,typeof Z==="function")Z(null,U);return U}});var Z2=T((g4)=>{var f4="\x1B[47m\x1B[30m",C4="\x1B[40m\x1B[37m",y4=function($,q,Z){return{"00":"\x1B[0m "+$,"01":"\x1B[0m"+q+"▄"+$,"02":"\x1B[0m"+Z+"▄"+$,10:"\x1B[0m"+q+"▀"+$,11:" ",12:"▄",20:"\x1B[0m"+Z+"▀"+$,21:"▀",22:"█"}},q2=function($,q,Z,J){let Q=q+1;if(Z>=Q||J>=Q||J<-1||Z<-1)return"0";if(Z>=q||J>=q||J<0||Z<0)return"1";let F=J*q+Z;return $[F]?"2":"1"},$2=function($,q,Z,J){return q2($,q,Z,J)+q2($,q,Z,J+1)};g4.render=function($,q,Z){let J=$.modules.size,Q=$.modules.data,F=!!(q&&q.inverse),K=q&&q.inverse?C4:f4,H=y4(K,F?"\x1B[30m":"\x1B[37m",F?"\x1B[37m":"\x1B[30m"),Y=`\x1B[0m
|
|
13
|
-
`+K,E=K;for(let O=-1;O<J+1;O+=2){for(let X=-1;X<J;X++)E+=H[$2(Q,J,X,O)];E+=H[$2(Q,J,J,O)]+Y}if(E+="\x1B[0m",typeof Z==="function")Z(null,E);return E}});var J2=T((P4)=>{var D4=a7(),h4=Z2();P4.render=function($,q,Z){if(q&&q.small)return h4.render($,q,Z);return D4.render($,q,Z)}});var $1=T((m4)=>{var c4=Z0();function Q2($,q){let Z=$.a/255,J=q+'="'+$.hex+'"';return Z<1?J+" "+q+'-opacity="'+Z.toFixed(2).slice(1)+'"':J}function q1($,q,Z){let J=$+q;if(typeof Z<"u")J+=" "+Z;return J}function b4($,q,Z){let J="",Q=0,F=!1,K=0;for(let U=0;U<$.length;U++){let R=Math.floor(U%q),H=Math.floor(U/q);if(!R&&!F)F=!0;if($[U]){if(K++,!(U>0&&R>0&&$[U-1]))J+=F?q1("M",R+Z,0.5+H+Z):q1("m",Q,0),Q=0,F=!1;if(!(R+1<q&&$[U+1]))J+=q1("h",K),K=0}else Q++}return J}m4.render=function(q,Z,J){let Q=c4.getOptions(Z),F=q.modules.size,K=q.modules.data,U=F+Q.margin*2,R=!Q.color.light.a?"":"<path "+Q2(Q.color.light,"fill")+' d="M0 0h'+U+"v"+U+'H0z"/>',H="<path "+Q2(Q.color.dark,"stroke")+' d="'+b4(K,F,Q.margin)+'"/>',Y='viewBox="0 0 '+U+" "+U+'"',O='<svg xmlns="http://www.w3.org/2000/svg" '+(!Q.width?"":'width="'+Q.width+'" height="'+Q.width+'" ')+Y+' shape-rendering="crispEdges">'+R+H+`</svg>
|
|
14
|
-
`;if(typeof J==="function")J(null,O);return O}});var K2=T((n4)=>{var l4=$1();n4.render=l4.render;n4.renderToFile=function(q,Z,J,Q){if(typeof Q>"u")Q=J,J=void 0;let F=M("fs"),U='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n4.render(Z,J);F.writeFile(q,U,Q)}});var R2=T((i4)=>{var Z1=Z0();function d4($,q,Z){if($.clearRect(0,0,q.width,q.height),!q.style)q.style={};q.height=Z,q.width=Z,q.style.height=Z+"px",q.style.width=Z+"px"}function r4(){try{return document.createElement("canvas")}catch($){throw Error("You need to specify a canvas element")}}i4.render=function(q,Z,J){let Q=J,F=Z;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Z)F=r4();Q=Z1.getOptions(Q);let K=Z1.getImageWidth(q.modules.size,Q),U=F.getContext("2d"),R=U.createImageData(K,K);return Z1.qrToImageData(R.data,q,Q),d4(U,F,K),U.putImageData(R,0,0),F};i4.renderToDataURL=function(q,Z,J){let Q=J;if(typeof Q>"u"&&(!Z||!Z.getContext))Q=Z,Z=void 0;if(!Q)Q={};let F=i4.render(q,Z,Q),K=Q.type||"image/png",U=Q.rendererOpts||{};return F.toDataURL(K,U.quality)}});var Y2=T((e4)=>{var o4=T0(),J1=P0(),H2=R2(),t4=$1();function Q1($,q,Z,J,Q){let F=[].slice.call(arguments,1),K=F.length,U=typeof F[K-1]==="function";if(!U&&!o4())throw Error("Callback required as last argument");if(U){if(K<2)throw Error("Too few arguments provided");if(K===2)Q=Z,Z=q,q=J=void 0;else if(K===3)if(q.getContext&&typeof Q>"u")Q=J,J=void 0;else Q=J,J=Z,Z=q,q=void 0}else{if(K<1)throw Error("Too few arguments provided");if(K===1)Z=q,q=J=void 0;else if(K===2&&!q.getContext)J=Z,Z=q,q=void 0;return new Promise(function(R,H){try{let Y=J1.create(Z,J);R($(Y,q,J))}catch(Y){H(Y)}})}try{let R=J1.create(Z,J);Q(null,$(R,q,J))}catch(R){Q(R)}}e4.create=J1.create;e4.toCanvas=Q1.bind(null,H2.render);e4.toDataURL=Q1.bind(null,H2.renderToDataURL);e4.toString=Q1.bind(null,function($,q,Z){return t4.render($,Z)})});function R5($,q,Z){if(typeof $>"u")throw Error("String required as first argument");if(typeof Z>"u")Z=q,q={};if(typeof Z!=="function")if(!Q5())throw Error("Callback required as last argument");else q=Z||{},Z=null;return{opts:q,cb:Z}}function H5($){switch($){case"svg":return U5;case"terminal":return K5;case"utf8":default:return F5}}function Y5($,q,Z){if(!Z.cb)return new Promise(function(J,Q){try{let F=F1.create(q,Z.opts);return $(F,Z.opts,function(K,U){return K?Q(K):J(U)})}catch(F){Q(F)}});try{let J=F1.create(q,Z.opts);return $(J,Z.opts,Z.cb)}catch(J){Z.cb(J)}}var Q5,F1,A$,F5,K5,U5,E5,O5,T5=function(q,Z,J){let Q=R5(q,Z,J),F=Q.opts?Q.opts.type:void 0,K=H5(F);return Y5(K.render,q,Q)};var X5=J5(()=>{Q5=T0(),F1=P0(),A$=o7(),F5=e7(),K5=J2(),U5=K2();E5=F1.create,O5=Y2().toCanvas});
|
|
15
|
-
export{T5 as Ne,X5 as Oe};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{FJ as Y,IQ as R,mm as W,pm as P,rk as Q,sk as I}from"./cli-1.0.6-gjtt9hjc.mjs";import{Vfa as B,Wfa as f}from"./cli-1.0.6-9be2xem8.mjs";import{Kha as H,Lha as J,eia as F}from"./cli-1.0.6-sws40pv9.mjs";import{Qpa as $,Tla as v}from"./cli-1.0.6-8zcjrs1k.mjs";import{zra as Z}from"./cli-1.0.6-c3q3ytrc.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
-
export{S as Ye,V as Ze,X as _e,r as $e,w as af,T as bf,G as cf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{J3 as N,O3 as $}from"./cli-1.0.6-n9zhw61e.mjs";import{J4 as L,M4 as Y,Z7 as Z,z7 as M}from"./cli-1.0.6-1a002r86.mjs";import{Kfa as Q,Sfa as X}from"./cli-1.0.6-3rnmt44c.mjs";import{nia as J,oia as V}from"./cli-1.0.6-2taykcm3.mjs";import{Rja as P,Zja as S}from"./cli-1.0.6-4r68vt91.mjs";import{Kqa as K,ara as W}from"./cli-1.0.6-r0n4r13f.mjs";import{zra as R}from"./cli-1.0.6-c3q3ytrc.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
-
export{C as nW,j as oW,b as pW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MM as Q,NM as $}from"./cli-1.0.6-gjtt9hjc.mjs";import{Aka as V,Bka as P,Cla as W,Dla as E}from"./cli-1.0.6-8zcjrs1k.mjs";import{zra as L}from"./cli-1.0.6-c3q3ytrc.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as hd,C as id};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$N as X,VN as O,WN as P,XN as Q,YN as U,Zi as M,_i as W}from"./cli-1.0.6-gjtt9hjc.mjs";import{zra as V}from"./cli-1.0.6-c3q3ytrc.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as sg,$ as tg};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{GJ as F,IA as k,IQ as a,JA as I,bj as $,ej as m,lv as U,nv as h,pQ as L,xC as A,yC as p}from"./cli-1.0.6-gjtt9hjc.mjs";import{V3 as O,W3 as f}from"./cli-1.0.6-1a002r86.mjs";import{eja as S,ija as E}from"./cli-1.0.6-z06mmyvr.mjs";import{Xja as b,Zja as T}from"./cli-1.0.6-4r68vt91.mjs";import{aka as y,nka as C}from"./cli-1.0.6-77j29wff.mjs";import{zra as N}from"./cli-1.0.6-c3q3ytrc.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
|
-
|
|
3
|
-
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
|
-
|
|
5
|
-
The file {{docPath}} has already been read for you. Here are its current contents:
|
|
6
|
-
<current_doc_content>
|
|
7
|
-
{{docContents}}
|
|
8
|
-
</current_doc_content>
|
|
9
|
-
|
|
10
|
-
Document title: {{docTitle}}
|
|
11
|
-
{{customInstructions}}
|
|
12
|
-
|
|
13
|
-
Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
|
|
14
|
-
|
|
15
|
-
CRITICAL RULES FOR EDITING:
|
|
16
|
-
- Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
|
|
17
|
-
- If there's an italicized line immediately after the header, preserve it exactly as-is
|
|
18
|
-
- Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
|
|
19
|
-
- Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
|
|
20
|
-
- Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
|
|
21
|
-
- Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
|
|
22
|
-
- Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
|
|
23
|
-
- Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
|
|
24
|
-
|
|
25
|
-
DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
|
|
26
|
-
- BE TERSE. High signal only. No filler words or unnecessary elaboration.
|
|
27
|
-
- Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
|
|
28
|
-
- Do NOT duplicate information that's already obvious from reading the source code
|
|
29
|
-
- Do NOT document every function, parameter, or line number reference
|
|
30
|
-
- Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
|
|
31
|
-
- Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
|
|
32
|
-
|
|
33
|
-
What TO document:
|
|
34
|
-
- High-level architecture and system design
|
|
35
|
-
- Non-obvious patterns, conventions, or gotchas
|
|
36
|
-
- Key entry points and where to start reading code
|
|
37
|
-
- Important design decisions and their rationale
|
|
38
|
-
- Critical dependencies or integration points
|
|
39
|
-
- References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
|
|
40
|
-
|
|
41
|
-
What NOT to document:
|
|
42
|
-
- Anything obvious from reading the code itself
|
|
43
|
-
- Exhaustive lists of files, functions, or parameters
|
|
44
|
-
- Step-by-step implementation details
|
|
45
|
-
- Low-level code mechanics
|
|
46
|
-
- Information already in CLAUDE.md or other project docs
|
|
47
|
-
|
|
48
|
-
Use the Edit tool with file_path: {{docPath}}
|
|
49
|
-
|
|
50
|
-
REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
|
|
51
|
-
|
|
52
|
-
DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
|
|
53
|
-
The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
|
|
54
|
-
|
|
55
|
-
"${J}"
|
|
56
|
-
|
|
57
|
-
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
|
|
58
|
-
export{Xw as Zh,Zw as _h,s as $h};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Id as x,Jd as o}from"./cli-1.0.6-5fd5qjm7.mjs";import{$y as u,DK as O,EC as M,EK as a,Gz as K,Iz as m,KC as l,PK as R,SK as i,Uy as $,VL as W,Vy as d,YL as t,Zy as y,dp as Y,fp as g,mu as Z,su as v}from"./cli-1.0.6-gjtt9hjc.mjs";import{Kfa as X,Sfa as h}from"./cli-1.0.6-3rnmt44c.mjs";import{sja as I,vja as c}from"./cli-1.0.6-z06mmyvr.mjs";import{Sja as V,Zja as f}from"./cli-1.0.6-4r68vt91.mjs";import{Qpa as _,Zla as U}from"./cli-1.0.6-8zcjrs1k.mjs";import{zra as C}from"./cli-1.0.6-c3q3ytrc.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
-
export{Lj as Ed,p as Fd};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{yra as n,zra as o}from"./cli-1.0.6-c3q3ytrc.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
|
|
2
|
-
export{i as pia,c as qia,p as ria,u as sia};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bx as C,Ex as X}from"./cli-1.0.6-gjtt9hjc.mjs";import{t3 as W}from"./cli-1.0.6-6zh1kz2j.mjs";import{Z5 as I,j6 as J,q6 as V}from"./cli-1.0.6-1a002r86.mjs";import{Jga as H,cha as T}from"./cli-1.0.6-61qpjst5.mjs";import{vra as P,zra as Q}from"./cli-1.0.6-c3q3ytrc.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
-
export{v as jd,Y as kd};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{$J as Zq,AJ as wq,DJ as Vq,EJ as Oq,GJ as Yq,Hp as a,IA as qq,JA as Xq,Jp as Kq,UJ as Pq,Wk as r,Yk as Wq,ZP as $q,bK as Uq,dQ as yq,fJ as b,gJ as R,gu as s,hJ as vq,kJ as p,lJ as S,mJ as zq,mu as t,nJ as Bq,oJ as I,pJ as k,qx as e,rx as Nq,su as Hq,vJ as Jq,wJ as Qq}from"./cli-1.0.6-gjtt9hjc.mjs";import{Kfa as h,Sfa as Fq}from"./cli-1.0.6-3rnmt44c.mjs";import{Cha as n,Dha as Lq}from"./cli-1.0.6-sws40pv9.mjs";import{Lja as y,Zja as jq}from"./cli-1.0.6-4r68vt91.mjs";import{zra as M}from"./cli-1.0.6-c3q3ytrc.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
|
|
2
|
-
…[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
|
|
3
|
-
${B.instructions.trim()}`);if(Y.push(`Task:
|
|
4
|
-
${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
|
|
5
|
-
${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
|
|
6
|
-
|
|
7
|
-
`)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
|
|
8
|
-
${z.instructions.trim()}`);J.push(`Task:
|
|
9
|
-
${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
|
|
10
|
-
`);if(J.push(`Phases:
|
|
11
|
-
${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
|
|
12
|
-
${C(q.output,f).split(`
|
|
13
|
-
`).map((N)=>` ${N}`).join(`
|
|
14
|
-
`)}`}).join(`
|
|
15
|
-
`),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
|
|
16
|
-
${j}
|
|
17
|
-
${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
|
|
18
|
-
`:""}${H}`}).join(`
|
|
19
|
-
|
|
20
|
-
`);J.push(`History (all phases so far):
|
|
21
|
-
${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
|
|
22
|
-
|
|
23
|
-
`)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
|
|
24
|
-
`)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
|
|
25
|
-
export{tq as ri,Eq as si};
|