@opencode/core 0.0.0-dev-19630 → 0.0.0-dev-19631
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/account/sql.js +1 -1
- package/dist/agent.js +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +89 -89
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{instance-g8z5v9t6.js → location-01mcbsxa.js} +11 -11
- package/dist/chunks/{instance-y0mc46pw.js → location-02khppbe.js} +9 -9
- package/dist/chunks/{instance-zcrspsvn.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{instance-q9xcyf1t.js → location-074pt63z.js} +15 -15
- package/dist/chunks/{instance-34epywr6.js → location-0c5388rw.js} +303 -303
- package/dist/chunks/{instance-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-xynd5fw7.js → location-0twsnrm2.js} +8 -8
- package/dist/chunks/{instance-pty7e23w.js → location-11cks9p9.js} +16 -16
- package/dist/chunks/{instance-0pj46ck3.js → location-13yde72h.js} +32 -32
- package/dist/chunks/{instance-echk4vq4.js → location-156aka68.js} +29 -29
- package/dist/chunks/{instance-ptbca89c.js → location-15tm9q3z.js} +10 -10
- package/dist/chunks/{instance-8v6pyhej.js → location-1ajx6rf5.js} +8 -8
- package/dist/chunks/{instance-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-98ynskhm.js → location-1fm22rx7.js} +44 -44
- package/dist/chunks/{instance-4x60c6x2.js → location-1gqsytf7.js} +20 -20
- package/dist/chunks/{instance-35agz59w.js → location-1nzs1dt7.js} +6 -6
- package/dist/chunks/{instance-cekkdphe.js → location-1z8e5f7y.js} +14 -14
- package/dist/chunks/{instance-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{instance-29x78va6.js → location-29x78va6.js} +2 -2
- package/dist/chunks/{instance-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-wp2t4m92.js → location-2aqjzvxw.js} +24 -24
- package/dist/chunks/{instance-e2498tt9.js → location-2d47syzh.js} +3 -3
- package/dist/chunks/{instance-7s2tn799.js → location-2hr5nhwa.js} +8 -8
- package/dist/chunks/{instance-fcrkznn8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-reyg10w0.js → location-2m31qgzj.js} +4 -4
- package/dist/chunks/{instance-9fkkv2qf.js → location-2m8nb1h0.js} +86 -86
- package/dist/chunks/{instance-8pckb3p8.js → location-2pavbj2f.js} +4 -4
- package/dist/chunks/{instance-xdk9p2qn.js → location-2pnhn36q.js} +4 -4
- package/dist/chunks/{instance-casqebba.js → location-323n19w4.js} +24 -24
- package/dist/chunks/{instance-9zbsg6pz.js → location-32qx2cqk.js} +11 -11
- package/dist/chunks/{instance-9y0w708y.js → location-37ea9c2d.js} +8 -8
- package/dist/chunks/{instance-jjh6zggg.js → location-3bg215ag.js} +27 -27
- package/dist/chunks/{instance-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-20q8gchh.js → location-3hk432b6.js} +46 -46
- package/dist/chunks/{instance-hn24mxjs.js → location-3kara66y.js} +15 -15
- package/dist/chunks/{instance-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-tcvsm9k6.js → location-3xa758da.js} +3 -3
- package/dist/chunks/{instance-hjt4xg1x.js → location-47gsdddb.js} +7 -7
- package/dist/chunks/{instance-gj9e5bn8.js → location-4q2gvvft.js} +5 -5
- package/dist/chunks/{instance-sjf3tctt.js → location-4y72ap3v.js} +12 -12
- package/dist/chunks/{instance-xpjx9cng.js → location-5008mk82.js} +6 -6
- package/dist/chunks/{instance-gb9jm9xg.js → location-50hhjvx3.js} +4 -4
- package/dist/chunks/{instance-d1khqved.js → location-510m7gjw.js} +5 -5
- package/dist/chunks/{instance-56gdpj1q.js → location-56gdpj1q.js} +2 -2
- package/dist/chunks/{instance-nhqjn2vx.js → location-57e9z27j.js} +5 -5
- package/dist/chunks/{instance-81swgkk7.js → location-57ez7d0k.js} +7 -7
- package/dist/chunks/{instance-ked4z7s3.js → location-5bd7vy8t.js} +34 -34
- package/dist/chunks/{instance-94fpbtg3.js → location-5d530p9y.js} +25 -25
- package/dist/chunks/{instance-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-qs001aqx.js → location-5dx64r44.js} +8 -8
- package/dist/chunks/{instance-q7k5dcwb.js → location-5hbjas2j.js} +5 -5
- package/dist/chunks/{instance-y2f2rg1b.js → location-5krmfrm4.js} +3 -3
- package/dist/chunks/{instance-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-jh603fb2.js → location-5xjbzt31.js} +20 -20
- package/dist/chunks/{instance-xn0k2ghh.js → location-617xwdkc.js} +27 -27
- package/dist/chunks/{instance-9kq8pp04.js → location-61nnwajg.js} +20 -20
- package/dist/chunks/location-64ezs4vy.js +247 -0
- package/dist/chunks/{instance-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{instance-v6ghzfeb.js → location-66r9f6z1.js} +5 -5
- package/dist/chunks/{instance-73bsbkew.js → location-68wv0erp.js} +47 -47
- package/dist/chunks/{instance-8j84rhzj.js → location-6cadhda4.js} +15 -15
- package/dist/chunks/{instance-k4e9kmmz.js → location-6fnbs7de.js} +11 -11
- package/dist/chunks/{instance-2402vzrj.js → location-6h73sxmp.js} +5 -5
- package/dist/chunks/{instance-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-wfe1xd7j.js → location-6r3wktb6.js} +8 -8
- package/dist/chunks/{instance-2vqgx62h.js → location-6r7kkwrh.js} +15 -15
- package/dist/chunks/{instance-pm2vy1aq.js → location-6t7vpv8v.js} +28 -28
- package/dist/chunks/{instance-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-563g65g0.js → location-7ctrm1dc.js} +30 -30
- package/dist/chunks/{instance-0eh5w8vw.js → location-7jyz8t5r.js} +33 -33
- package/dist/chunks/{instance-r79rdrhp.js → location-7pa101rz.js} +36 -36
- package/dist/chunks/{instance-b55mck1h.js → location-7rfg73ak.js} +4 -4
- package/dist/chunks/{instance-8qh6anns.js → location-87deq66t.js} +6 -6
- package/dist/chunks/{instance-zx5v09rk.js → location-89g9pdqq.js} +5 -5
- package/dist/chunks/{instance-tcezcvh9.js → location-89znhe33.js} +4 -4
- package/dist/chunks/{instance-t7e35rfh.js → location-8a1axwae.js} +3 -3
- package/dist/chunks/{instance-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-x7c5tjm4.js → location-8n5wyrft.js} +21 -21
- package/dist/chunks/{instance-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-ebnq5f2c.js → location-8vehx84x.js} +18 -18
- package/dist/chunks/{instance-119frd13.js → location-8vvc7kdn.js} +10 -10
- package/dist/chunks/{instance-rffnchcr.js → location-8y6m80vy.js} +5 -5
- package/dist/chunks/{instance-jy69c5zx.js → location-9vhxz3jd.js} +61 -61
- package/dist/chunks/{instance-17wd09jg.js → location-9y4jm800.js} +24 -24
- package/dist/chunks/{instance-7g6cd845.js → location-a1254jaz.js} +29 -29
- package/dist/chunks/{instance-wr4dwm7g.js → location-a1788f7w.js} +22 -22
- package/dist/chunks/{instance-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-b0dgvpy7.js → location-a3ftg8j6.js} +9 -9
- package/dist/chunks/{instance-ajm5bz5t.js → location-a5dv1fsr.js} +30 -30
- package/dist/chunks/{instance-gpkf2jyr.js → location-a7bb2qk3.js} +25 -25
- package/dist/chunks/{instance-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-0kan8nkn.js → location-ae7j6849.js} +17 -17
- package/dist/chunks/{instance-tn0aqsam.js → location-ag9w8cw1.js} +5 -5
- package/dist/chunks/{instance-5rtg8v4f.js → location-amtcdxb0.js} +4 -4
- package/dist/chunks/{instance-e7ppxx13.js → location-avb4mchm.js} +17 -17
- package/dist/chunks/{instance-d4sp9rf7.js → location-avc8n21j.js} +15 -15
- package/dist/chunks/{instance-jfrg8hc8.js → location-axt0rzpy.js} +6 -6
- package/dist/chunks/{instance-kynsk71v.js → location-az4749a7.js} +11 -11
- package/dist/chunks/{instance-nkp7v684.js → location-b1frtypz.js} +30 -30
- package/dist/chunks/{instance-bf62dsed.js → location-b4ae2b13.js} +18 -18
- package/dist/chunks/location-b6enga28.js +26 -0
- package/dist/chunks/{instance-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-ex0ne5y8.js → location-b8hzf7nw.js} +5 -5
- package/dist/chunks/{instance-szhsgevz.js → location-bacq2ea4.js} +23 -23
- package/dist/chunks/{instance-wcge806m.js → location-bajakh74.js} +4 -4
- package/dist/chunks/{instance-bccb6npm.js → location-bccb6npm.js} +1 -1
- package/dist/chunks/{instance-1a6p2twq.js → location-bf0ztrs3.js} +4 -4
- package/dist/chunks/{instance-f6g0mzk2.js → location-btp88bps.js} +5 -5
- package/dist/chunks/location-by5v678g.js +18 -0
- package/dist/chunks/{instance-5nxxd8wq.js → location-c4y595wv.js} +18 -18
- package/dist/chunks/{instance-06fj6jdk.js → location-c6t8208k.js} +16 -16
- package/dist/chunks/{instance-rkkrhdx0.js → location-cenkhvam.js} +11 -11
- package/dist/chunks/{instance-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-g6q9qykm.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{instance-2rqpe16p.js → location-cx6817x4.js} +10 -10
- package/dist/chunks/{instance-6rnhn7sc.js → location-d079nfyg.js} +15 -15
- package/dist/chunks/{instance-x00pv1d7.js → location-d5my93c7.js} +24 -24
- package/dist/chunks/{instance-et8hchp5.js → location-dhwrr4jy.js} +5 -5
- package/dist/chunks/{instance-nf0n96ng.js → location-djcy9x12.js} +8 -8
- package/dist/chunks/{instance-nmmv8245.js → location-dqhwfw66.js} +10 -10
- package/dist/chunks/{instance-9bxbn71s.js → location-dr2yesb8.js} +32 -32
- package/dist/chunks/{instance-6epm9syt.js → location-e1krdr4f.js} +13 -13
- package/dist/chunks/{instance-e5nv3ght.js → location-e5nv3ght.js} +2 -2
- package/dist/chunks/{instance-4dgbcxzg.js → location-ebe9bak5.js} +4 -4
- package/dist/chunks/{instance-5c5b87mw.js → location-ebvkxj71.js} +13 -13
- package/dist/chunks/{instance-5eknjd7h.js → location-eev3q2gn.js} +10 -10
- package/dist/chunks/{instance-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-bn30vyxb.js → location-ejjvavc8.js} +15 -15
- package/dist/chunks/{instance-ncprdkhh.js → location-em5xkjbs.js} +11 -11
- package/dist/chunks/{instance-n5rvw69s.js → location-ep45g7a1.js} +13 -13
- package/dist/chunks/{instance-hwbjsjvq.js → location-etn2manz.js} +14 -14
- package/dist/chunks/{instance-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-v8ndeyvs.js → location-ew828j3w.js} +23 -23
- package/dist/chunks/{instance-18dgjxf1.js → location-f14adf9f.js} +8 -8
- package/dist/chunks/{instance-e9n7e4q2.js → location-f4ywtdzx.js} +2 -2
- package/dist/chunks/{instance-m8602pej.js → location-f5qz3jzy.js} +3 -3
- package/dist/chunks/{instance-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{instance-bd6n63z2.js → location-fee9ry81.js} +14 -14
- package/dist/chunks/{instance-5epte933.js → location-fjs5xx1d.js} +2 -2
- package/dist/chunks/{instance-qn9vmmjk.js → location-fjven42y.js} +24 -24
- package/dist/chunks/{instance-e5h8kwjx.js → location-fjwgd49k.js} +19 -19
- package/dist/chunks/{instance-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-bgvjs87y.js → location-fz01tdmw.js} +21 -21
- package/dist/chunks/{instance-8g8qekrw.js → location-g2dazt51.js} +7 -7
- package/dist/chunks/{instance-hjaxrvz5.js → location-g4a6era7.js} +10 -10
- package/dist/chunks/{instance-y5jaat4z.js → location-g9kz57e4.js} +21 -21
- package/dist/chunks/{instance-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-20xfcnp3.js → location-gdcqe04r.js} +6 -6
- package/dist/chunks/{instance-g76sc8n8.js → location-gg5tcp93.js} +26 -26
- package/dist/chunks/{instance-wbdsz9h8.js → location-gjg6hemq.js} +25 -25
- package/dist/chunks/{instance-01ndbj74.js → location-gkyvheh7.js} +8 -8
- package/dist/chunks/{instance-krb5d2nd.js → location-gs12886w.js} +28 -28
- package/dist/chunks/{instance-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instance-ze2q4emz.js → location-gzzsg5dy.js} +6 -6
- package/dist/chunks/{instance-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-ymv6jbsm.js → location-h0cvahep.js} +171 -171
- package/dist/chunks/{instance-2vmzaa0c.js → location-h1t9w82k.js} +41 -41
- package/dist/chunks/{instance-varqbgn3.js → location-h61p2mjp.js} +9 -9
- package/dist/chunks/{instance-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-qcvff0dg.js → location-hph2erh9.js} +15 -15
- package/dist/chunks/{instance-vc4zwm8t.js → location-hxr4ws4r.js} +8 -8
- package/dist/chunks/{instance-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-ysvj2x93.js → location-jcxqzaz3.js} +17 -17
- package/dist/chunks/{instance-gyznhx5f.js → location-jp31vt9x.js} +16 -16
- package/dist/chunks/{instance-re47ke5b.js → location-js2bxmsr.js} +37 -37
- package/dist/chunks/{instance-yj3bdqj3.js → location-jv984b6y.js} +3 -3
- package/dist/chunks/{instance-ec8389mk.js → location-jva4mgym.js} +4 -4
- package/dist/chunks/{instance-xaqsgqsh.js → location-k9b4hh1d.js} +1 -1
- package/dist/chunks/{instance-x7mp2df6.js → location-kbq8etb1.js} +10 -10
- package/dist/chunks/{instance-tzmnr6b9.js → location-kcfppy95.js} +20 -20
- package/dist/chunks/{instance-arg76sfb.js → location-ke21jj3y.js} +3 -3
- package/dist/chunks/{instance-ntgef7h1.js → location-kf11waxr.js} +28 -28
- package/dist/chunks/{instance-mwyn51zk.js → location-kjdar36t.js} +5 -5
- package/dist/chunks/{instance-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-4a054jdr.js → location-msv9qz60.js} +7 -7
- package/dist/chunks/{instance-b5j16w9d.js → location-mx09shfg.js} +12 -12
- package/dist/chunks/{instance-xxjkfjtd.js → location-my6q1kj9.js} +9 -9
- package/dist/chunks/{instance-3nn7n1yt.js → location-my8v8pz1.js} +81 -81
- package/dist/chunks/{instance-pm1h51z5.js → location-n0re1kpp.js} +53 -53
- package/dist/chunks/{instance-p61gj6sp.js → location-n5dqecfz.js} +24 -24
- package/dist/chunks/{instance-ebwby51w.js → location-n7dgzw6q.js} +11 -11
- package/dist/chunks/{instance-xfm5a07r.js → location-n9h856x1.js} +26 -26
- package/dist/chunks/{instance-wjtsj2xh.js → location-na0vc07j.js} +34 -34
- package/dist/chunks/{instance-sg2rhfgw.js → location-njabt98v.js} +16 -16
- package/dist/chunks/{instance-76y8twm4.js → location-p0cgaswm.js} +21 -21
- package/dist/chunks/{instance-wzfc5ja6.js → location-p132gxzd.js} +13 -13
- package/dist/chunks/{instance-7y6bzyfz.js → location-p8nbz4mm.js} +12 -12
- package/dist/chunks/{instance-j1wrmff6.js → location-paffydma.js} +9 -9
- package/dist/chunks/{instance-kwhwmmje.js → location-pd1sw0zy.js} +24 -24
- package/dist/chunks/{instance-9a5k2zp8.js → location-pgeftpx4.js} +11 -11
- package/dist/chunks/{instance-6vrmwews.js → location-phtx5pzp.js} +30 -30
- package/dist/chunks/{instance-qq8x5mwt.js → location-pjedbq3k.js} +5 -5
- package/dist/chunks/{instance-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instance-sa44kp08.js → location-pv3p64vq.js} +12 -12
- package/dist/chunks/{instance-1wacgr71.js → location-pvrjs4yz.js} +11 -11
- package/dist/chunks/{instance-b8tpxept.js → location-q0sr5rc9.js} +11 -11
- package/dist/chunks/{instance-fqdv0q6x.js → location-q858cr49.js} +32 -32
- package/dist/chunks/{instance-744269ts.js → location-qa3qhgw8.js} +7 -7
- package/dist/chunks/{instance-9byxgmgj.js → location-qb97jg0r.js} +6 -6
- package/dist/chunks/{instance-pryk986t.js → location-qfw0430s.js} +32 -32
- package/dist/chunks/{instance-kf00a6h2.js → location-qm2zhff3.js} +11 -11
- package/dist/chunks/{instance-f45y0p50.js → location-qr1gr1bz.js} +1 -1
- package/dist/chunks/{instance-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-hhsdec0m.js → location-r3648v35.js} +15 -15
- package/dist/chunks/{instance-mmywdwkx.js → location-r3gbt3jp.js} +37 -37
- package/dist/chunks/{instance-vyrm7d5p.js → location-r3n1f5t9.js} +4 -4
- package/dist/chunks/{instance-73tb2d7t.js → location-r5x6zcsm.js} +3 -3
- package/dist/chunks/{instance-g97bb4fb.js → location-r8ste1ck.js} +2 -2
- package/dist/chunks/{instance-r9mregkx.js → location-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-nx8sjs1z.js → location-rk7y43hf.js} +4 -4
- package/dist/chunks/{instance-ryt7pzqc.js → location-ryt7pzqc.js} +1 -1
- package/dist/chunks/{instance-6jxkpbtz.js → location-s245kgzv.js} +11 -11
- package/dist/chunks/{instance-s4enseaf.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{instance-g7qp199h.js → location-skzj3dtk.js} +41 -41
- package/dist/chunks/{instance-af04s6ss.js → location-sra9araw.js} +5 -5
- package/dist/chunks/{instance-6dbneeps.js → location-swqfa4q3.js} +25 -25
- package/dist/chunks/{instance-t65tq7zk.js → location-sxragm8h.js} +18 -18
- package/dist/chunks/{instance-51f5btjf.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{instance-g2bnwfcv.js → location-szk5yzmn.js} +17 -17
- package/dist/chunks/{instance-msc5rghf.js → location-t11smtq6.js} +13 -13
- package/dist/chunks/{instance-rhjbct0v.js → location-t550f9t1.js} +4 -4
- package/dist/chunks/{instance-eg5524nt.js → location-t87rd070.js} +16 -16
- package/dist/chunks/{instance-92pxmjmx.js → location-t96ncvbk.js} +10 -10
- package/dist/chunks/{instance-x8vq28e0.js → location-t9hwq8k2.js} +46 -46
- package/dist/chunks/{instance-0f9ytscb.js → location-ta2sz16v.js} +23 -23
- package/dist/chunks/{instance-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-znc3ncm1.js → location-tbnfv1pf.js} +10 -10
- package/dist/chunks/{instance-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{instance-7e38tp89.js → location-tm1qqpd4.js} +7 -7
- package/dist/chunks/{instance-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-fzak2waf.js → location-tx3fqe1r.js} +9 -9
- package/dist/chunks/{instance-wrs9cct8.js → location-tyxhm0p2.js} +6 -6
- package/dist/chunks/{instance-e4t3994x.js → location-v98rq2xh.js} +9 -9
- package/dist/chunks/{instance-etx7wc52.js → location-v9xsj6pf.js} +14 -14
- package/dist/chunks/{instance-a11g3dqv.js → location-vahtdhsf.js} +30 -30
- package/dist/chunks/{instance-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-z2rmt2q4.js → location-vjnvk4fc.js} +30 -30
- package/dist/chunks/{instance-6swcd7b8.js → location-vpw3edpt.js} +40 -40
- package/dist/chunks/{instance-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-vjwjf4ms.js → location-w27pm9me.js} +15 -15
- package/dist/chunks/{instance-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instance-zhzawrcx.js → location-wgre8czs.js} +19 -19
- package/dist/chunks/{instance-0hg8636t.js → location-wgsyq2g2.js} +6 -6
- package/dist/chunks/{instance-aqthr3jv.js → location-wseq2wer.js} +30 -30
- package/dist/chunks/{instance-80xpk3kh.js → location-wvng7zrg.js} +3 -3
- package/dist/chunks/{instance-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-v6dszy5d.js → location-x2t5q3mx.js} +15 -15
- package/dist/chunks/{instance-bxc8f56v.js → location-xdt3s13f.js} +25 -25
- package/dist/chunks/{instance-9568r085.js → location-xekh0j5r.js} +15 -15
- package/dist/chunks/{instance-81mztbrf.js → location-y14psceh.js} +11 -11
- package/dist/chunks/{instance-qmyqyamf.js → location-y16882bh.js} +7 -7
- package/dist/chunks/{instance-98tcd3pf.js → location-y190ygrp.js} +29 -29
- package/dist/chunks/{instance-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{instance-373k2bvc.js → location-y806bx01.js} +4 -4
- package/dist/chunks/{instance-z9189jxq.js → location-yd2t4f4q.js} +17 -17
- package/dist/chunks/{instance-7ren4x4j.js → location-yfccazc5.js} +46 -46
- package/dist/chunks/{instance-1acjjqhc.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{instance-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-pnv527nz.js → location-ywkfy99j.js} +9 -9
- package/dist/chunks/{instance-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-7k0mvdq0.js → location-z3dbx3sy.js} +16 -16
- package/dist/chunks/{instance-5c70fjhz.js → location-z76rvear.js} +4 -4
- package/dist/chunks/{instance-8gra18km.js → location-zaz698nn.js} +9 -9
- package/dist/chunks/{instance-rbvrxy2w.js → location-zbb6f2kh.js} +37 -37
- package/dist/chunks/{instance-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-kfh0d4a1.js → location-zs1be8nq.js} +4 -4
- package/dist/chunks/{instance-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-6872dwzc.js → location-zzccx3d7.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/instance-0349s12v.js +0 -247
- package/dist/chunks/instance-619r8v3y.js +0 -18
- package/dist/chunks/instance-bknev2s0.js +0 -26
- /package/dist/chunks/{instance-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{instance-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./location-4y72ap3v.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-wvng7zrg.js";
|
|
15
15
|
import {
|
|
16
16
|
Service81,
|
|
17
17
|
node85
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-r3n1f5t9.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./location-156aka68.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-njabt98v.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node79
|
|
35
|
+
} from "./location-6r3wktb6.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-b8hzf7nw.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service19
|
|
45
|
+
} from "./location-fjwgd49k.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
56
|
+
Event: () => Event5,
|
|
57
57
|
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service18,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node21
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event5 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service18 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service82;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service81;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service76;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service19).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service18.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node21 = Node.makeGlobalNode({
|
|
265
|
+
service: Service18,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node84, node85, node86, AppProcess.node, node79]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service18, node21, exports_worktree2, OperationError2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-156aka68.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node82,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service78 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node82 = LayerNode.unbound(Service78, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service79;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service78.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service78,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node83]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info32, Ref4, response2, Service78, node82, boundNode2, exports_location };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-njabt98v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./location-sxragm8h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./location-wgre8czs.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./location-szk5yzmn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
35
|
Input: () => Input4,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin23,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
38
|
name: () => name4,
|
|
39
|
-
toModelContent: () =>
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
|
|
|
55
55
|
});
|
|
56
56
|
var Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin23 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service53;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
67
|
name: name4,
|
|
68
68
|
options: { codemode: false },
|
|
@@ -112,7 +112,7 @@ var Plugin6 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export { name4, Input4,
|
|
183
|
+
export { name4, Input4, Plugin23, toModelContent3, exports_read };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service43,
|
|
9
|
+
node45
|
|
10
|
+
} from "./location-h1t9w82k.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-fjs5xx1d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service41,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node43,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
websocket: options.websocket ?? false
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service43;
|
|
77
|
+
return Service41.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node45] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service41, resolved2, node43, exports_model };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-a5dv1fsr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info23,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qfw0430s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info23.make({
|
|
98
|
+
...Info23.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-r3n1f5t9.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer7,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer7 = Layer.effect(
|
|
25
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer7, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer7, node11, exports_sdk };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node49
|
|
18
|
+
} from "./location-02khppbe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node60
|
|
22
|
+
} from "./location-37ea9c2d.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service46,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node48
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service46 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service58;
|
|
58
|
+
const image = yield* Service47;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service46.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node48 = makeLocationNode({
|
|
268
|
+
service: Service46,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node60, node49]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service46, node48, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-r3n1f5t9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-njabt98v.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service33
|
|
10
|
+
} from "./location-1fm22rx7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin43 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service33;
|
|
201
201
|
const bus = yield* Service81;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin43, exports_command2 };
|