@opencode/core 0.0.0-dev-20348 → 0.0.0-dev-20349
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-s8d7rejh.js → mime-02nrjc1r.js} +8 -8
- package/dist/chunks/{location-4mq1x62p.js → mime-0ex0981s.js} +5 -5
- package/dist/chunks/{location-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/mime-0qhc1cpq.js +26 -0
- package/dist/chunks/{location-math506r.js → mime-0t7t6my6.js} +24 -24
- package/dist/chunks/{location-swabsky0.js → mime-10zsszfr.js} +6 -6
- package/dist/chunks/{location-hte1hbnx.js → mime-15z80h1p.js} +15 -15
- package/dist/chunks/{location-f2n192rq.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-t1kg76fs.js → mime-1efvp61s.js} +23 -23
- package/dist/chunks/{location-8zqs9j7p.js → mime-1nmamnpy.js} +11 -11
- package/dist/chunks/{location-mte2zf97.js → mime-1qyw5y9h.js} +27 -27
- package/dist/chunks/{location-1tk67md7.js → mime-1ychmzfj.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{location-2y34zzjz.js → mime-23sxaqwc.js} +6 -6
- package/dist/chunks/{location-b6zafb3b.js → mime-2529y3t0.js} +4 -4
- package/dist/chunks/{location-ptry4pjd.js → mime-25zb9nww.js} +35 -35
- package/dist/chunks/{location-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-8dr8mq96.js → mime-2d8h49pc.js} +29 -29
- package/dist/chunks/{location-gfpy67ef.js → mime-2ed9rf36.js} +12 -12
- package/dist/chunks/{location-ges5jxp9.js → mime-2g1xmgpx.js} +30 -30
- package/dist/chunks/{location-5xpznt2d.js → mime-2xyv48tz.js} +4 -4
- package/dist/chunks/{location-p9pebgfc.js → mime-31346fg5.js} +18 -18
- package/dist/chunks/{location-fn7q4aek.js → mime-33qy11g2.js} +5 -5
- package/dist/chunks/{location-q41j7w5c.js → mime-3713qmvg.js} +11 -11
- package/dist/chunks/{location-c78bbtc9.js → mime-3cfzdc8e.js} +5 -5
- package/dist/chunks/{location-jewzahs7.js → mime-3ewed21c.js} +4 -4
- package/dist/chunks/{location-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-42ba421n.js → mime-3g4s08c2.js} +2 -2
- package/dist/chunks/{location-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-eq03v0a1.js → mime-3jdm5maz.js} +74 -74
- package/dist/chunks/{location-z7eps1h1.js → mime-3ny3fmj9.js} +4 -4
- package/dist/chunks/{location-hz96p7g5.js → mime-3q1k7p60.js} +8 -8
- package/dist/chunks/{location-ek5t7eqg.js → mime-3qs4970t.js} +3 -3
- package/dist/chunks/{location-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-4759trp9.js → mime-3v8xhd81.js} +25 -25
- package/dist/chunks/{location-mpk0rfs5.js → mime-3y377wv9.js} +4 -4
- package/dist/chunks/{location-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-0xrwab9k.js → mime-459v6njz.js} +5 -5
- package/dist/chunks/{location-8aaqm6qj.js → mime-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-s45cmrye.js → mime-4cv07a82.js} +40 -40
- package/dist/chunks/{location-syf57q56.js → mime-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-h345add1.js → mime-4rn61pc7.js} +8 -8
- package/dist/chunks/{location-b6w9je7w.js → mime-4ynjcpqk.js} +19 -19
- package/dist/chunks/{location-jfd6bygr.js → mime-4z3avsq4.js} +1 -1
- package/dist/chunks/{location-pe666123.js → mime-526s5cjd.js} +3 -3
- package/dist/chunks/{location-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{location-ckecvw8r.js → mime-54tcyq79.js} +2 -2
- package/dist/chunks/{location-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-z1g2rz02.js → mime-58104ffj.js} +3 -3
- package/dist/chunks/{location-9ap4ea2s.js → mime-5c02tc5w.js} +9 -9
- package/dist/chunks/{location-en77ektd.js → mime-5cg8ty91.js} +24 -24
- package/dist/chunks/{location-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{location-18rp1xkf.js → mime-5q13c62c.js} +8 -8
- package/dist/chunks/{location-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-71ynmsgj.js → mime-5tsqwgkg.js} +7 -7
- package/dist/chunks/mime-62rjewxp.js +252 -0
- package/dist/chunks/{location-pmjs45am.js → mime-665h6zwq.js} +21 -21
- package/dist/chunks/{location-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{location-f99pqswk.js → mime-6cz6e6pz.js} +38 -38
- package/dist/chunks/{location-wk53zw7x.js → mime-6j2jyek5.js} +32 -32
- package/dist/chunks/{location-jdk5dma1.js → mime-6jjmsjj1.js} +10 -10
- package/dist/chunks/{location-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-y1bxbmrp.js → mime-6tjc3nrm.js} +9 -9
- package/dist/chunks/{location-0rdn37j5.js → mime-6w3qt6sy.js} +33 -33
- package/dist/chunks/{location-sz763eb6.js → mime-6xe4fgg8.js} +6 -6
- package/dist/chunks/{location-ckbtgcas.js → mime-6z9y85k1.js} +12 -12
- package/dist/chunks/{location-v9wsnbng.js → mime-71bf853x.js} +29 -29
- package/dist/chunks/{location-qwjmgwmn.js → mime-73kdj4zj.js} +8 -8
- package/dist/chunks/{location-bv6e155w.js → mime-79gwx0tq.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-1h8w82y9.js → mime-7h6q68gz.js} +18 -18
- package/dist/chunks/{location-00ts2kzt.js → mime-7seq1qzy.js} +20 -20
- package/dist/chunks/{location-vvxdtkaw.js → mime-7y478nff.js} +9 -9
- package/dist/chunks/{location-fc7nysvv.js → mime-8495gxpq.js} +17 -17
- package/dist/chunks/{location-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{location-2gw3vh47.js → mime-88ebexse.js} +8 -8
- package/dist/chunks/{location-pzxv3qq1.js → mime-88xq5y89.js} +93 -93
- package/dist/chunks/{location-4xth3yzf.js → mime-898v71sy.js} +9 -9
- package/dist/chunks/{location-y017brwn.js → mime-8cv1besz.js} +40 -40
- package/dist/chunks/{location-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-xmha486q.js → mime-8fv892wz.js} +23 -23
- package/dist/chunks/{location-dbebcc4e.js → mime-8n65aky4.js} +13 -13
- package/dist/chunks/{location-rw7y820a.js → mime-8pp244b2.js} +13 -13
- package/dist/chunks/{location-czke85js.js → mime-8pw3jr46.js} +23 -23
- package/dist/chunks/{location-4rgapcf3.js → mime-8z1n2qf3.js} +15 -15
- package/dist/chunks/{location-stwp2f1a.js → mime-91kg03yq.js} +8 -8
- package/dist/chunks/{location-qa0bweyd.js → mime-9605vvc2.js} +17 -17
- package/dist/chunks/{location-x0pg96dj.js → mime-9akmmnbv.js} +19 -19
- package/dist/chunks/{location-v231365c.js → mime-9c8k6t1t.js} +3 -3
- package/dist/chunks/{location-xs9f3tqs.js → mime-9d28kb6z.js} +25 -25
- package/dist/chunks/{location-5qkytfck.js → mime-9k7xc3f1.js} +23 -23
- package/dist/chunks/{location-b09hzw3k.js → mime-9kmbd9mt.js} +2 -2
- package/dist/chunks/{location-yeyr9gdq.js → mime-9rzpma25.js} +21 -21
- package/dist/chunks/{location-hfe0pjhj.js → mime-a23n72ab.js} +10 -10
- package/dist/chunks/{location-gnnzp49s.js → mime-a4jnf4vs.js} +85 -85
- package/dist/chunks/{location-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{location-crf45ehp.js → mime-ab58ekvv.js} +13 -13
- package/dist/chunks/{location-rhtam9wh.js → mime-aew6zv8s.js} +16 -16
- package/dist/chunks/{location-81swgkk7.js → mime-ajmg8w9c.js} +7 -7
- package/dist/chunks/{location-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-qfgbnpe6.js → mime-b8aytvky.js} +3 -3
- package/dist/chunks/{location-9g4szje7.js → mime-bf2d8tga.js} +9 -9
- package/dist/chunks/{location-ra4n65wq.js → mime-bgc5ggmx.js} +4 -4
- package/dist/chunks/{location-3tgv7gac.js → mime-bh4c0tdp.js} +26 -26
- package/dist/chunks/{location-z07pqspn.js → mime-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-623pka8b.js → mime-bqc2fgsg.js} +4 -4
- package/dist/chunks/{location-xjqc52jg.js → mime-byg4ex1h.js} +9 -9
- package/dist/chunks/{location-kk3cv3zh.js → mime-byrtv8g9.js} +1 -1
- package/dist/chunks/{location-c19pwdq3.js → mime-c1p8n4t3.js} +30 -30
- package/dist/chunks/{location-cwa6csj7.js → mime-c765mh8b.js} +9 -9
- package/dist/chunks/{location-patgj9rf.js → mime-cnb1p1jt.js} +9 -9
- package/dist/chunks/mime-ctefx7dc.js +18 -0
- package/dist/chunks/{location-pn17gp7k.js → mime-d6hb7nc0.js} +5 -5
- package/dist/chunks/{location-5qwkxp89.js → mime-dbv05mm3.js} +4 -4
- package/dist/chunks/{location-5ps1pq9q.js → mime-dc3k7rmc.js} +4 -4
- package/dist/chunks/{location-8msq6g0a.js → mime-ddaqmm23.js} +41 -41
- package/dist/chunks/{location-dqt459vh.js → mime-ds6c05k1.js} +20 -20
- package/dist/chunks/{location-r5skxa8y.js → mime-dvhne5qr.js} +11 -11
- package/dist/chunks/{location-613reg7y.js → mime-dvmphs3d.js} +7 -7
- package/dist/chunks/{location-x0wcjtet.js → mime-dwcgejzb.js} +24 -24
- package/dist/chunks/{location-sdvk2ad6.js → mime-dx3jzk77.js} +14 -14
- package/dist/chunks/{location-36aj2cm8.js → mime-e19v54df.js} +31 -31
- package/dist/chunks/{location-9tk9cqsk.js → mime-e34hfp24.js} +16 -16
- package/dist/chunks/{location-yjptyezs.js → mime-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-by4tzntv.js → mime-e9f24fbz.js} +31 -31
- package/dist/chunks/{location-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-0g5ckg7g.js → mime-emxy1yrp.js} +12 -12
- package/dist/chunks/{location-d6hekszz.js → mime-es3ks9hd.js} +40 -40
- package/dist/chunks/{location-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-51hah4g5.js → mime-eymg5ymv.js} +18 -18
- package/dist/chunks/{location-kgkc771s.js → mime-eznh9jfk.js} +22 -22
- package/dist/chunks/{location-tk0nydx8.js → mime-f16agxkt.js} +10 -10
- package/dist/chunks/{location-mbheeb9q.js → mime-f2zydxx9.js} +8 -8
- package/dist/chunks/{location-xrf4x0pp.js → mime-f6258q8n.js} +5 -5
- package/dist/chunks/{location-znkk0wve.js → mime-fah0bk0y.js} +6 -6
- package/dist/chunks/{location-01m7n6jp.js → mime-frds9tfh.js} +14 -14
- package/dist/chunks/{location-vqk5dmcs.js → mime-ft6xg6zv.js} +8 -8
- package/dist/chunks/{location-vsp45cnr.js → mime-fvww5amy.js} +24 -24
- package/dist/chunks/{location-rtetnwks.js → mime-g8kywz4y.js} +24 -24
- package/dist/chunks/{location-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-rf7hrare.js → mime-ge3krm5d.js} +11 -11
- package/dist/chunks/{location-94ek1h2f.js → mime-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-bzy5scph.js → mime-gvh4qv8a.js} +28 -28
- package/dist/chunks/{location-nsa3r9ab.js → mime-gx7zfrxn.js} +10 -10
- package/dist/chunks/{location-mw934p8z.js → mime-h10s6dah.js} +8 -8
- package/dist/chunks/{location-g5agzp2h.js → mime-h6b02349.js} +5 -5
- package/dist/chunks/{location-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-atbvbwe9.js → mime-hbarpbxk.js} +32 -32
- package/dist/chunks/{location-j5zkyg6c.js → mime-hd1gwzxm.js} +9 -9
- package/dist/chunks/{location-427t97hr.js → mime-hd8vw2pw.js} +1 -1
- package/dist/chunks/{location-2bw9zt22.js → mime-hft4b04z.js} +26 -26
- package/dist/chunks/{location-gtk2dzy4.js → mime-hkvvh80e.js} +15 -15
- package/dist/chunks/{location-ejvqnc63.js → mime-hmzzadgv.js} +15 -15
- package/dist/chunks/{location-t3cj5mba.js → mime-hr0sqnp0.js} +21 -21
- package/dist/chunks/{location-5nwc1qt7.js → mime-hzsva4y4.js} +3 -3
- package/dist/chunks/{location-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{location-kn0epzjf.js → mime-j89cmjy1.js} +11 -11
- package/dist/chunks/{location-54rhwcph.js → mime-jcdjbvdz.js} +24 -24
- package/dist/chunks/{location-gax9tvz5.js → mime-jcp1gxjv.js} +9 -9
- package/dist/chunks/{location-6yvxz189.js → mime-k2a504bc.js} +14 -14
- package/dist/chunks/{location-nzks3jc8.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{location-agpdygac.js → mime-k3pzktr2.js} +10 -10
- package/dist/chunks/{location-jvy0y2ha.js → mime-kbypmx8c.js} +40 -40
- package/dist/chunks/{location-y5df08dr.js → mime-ktk6m7yv.js} +12 -12
- package/dist/chunks/{location-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-f3ngv102.js → mime-magykp64.js} +4 -4
- package/dist/chunks/{location-590cb2rw.js → mime-mcgje5bv.js} +35 -35
- package/dist/chunks/{location-y6f0p4jw.js → mime-mf9m2v67.js} +2 -2
- package/dist/chunks/{location-g8d3gcyj.js → mime-mtq6xxnx.js} +4 -4
- package/dist/chunks/{location-se0gt7je.js → mime-mv5rmv8d.js} +14 -14
- package/dist/chunks/{location-knbep6cp.js → mime-mx0k2n0a.js} +9 -9
- package/dist/chunks/{location-er3vg3vh.js → mime-n6ta8d10.js} +39 -39
- package/dist/chunks/{location-4t8t9syn.js → mime-naqdddny.js} +13 -13
- package/dist/chunks/{location-1bj4gwz6.js → mime-nmrah2eb.js} +4 -4
- package/dist/chunks/{location-3pe7sts8.js → mime-nscznvay.js} +9 -9
- package/dist/chunks/{location-vf7xdy0e.js → mime-nvkg8vb6.js} +22 -22
- package/dist/chunks/{location-axs6pdy0.js → mime-nz569jqt.js} +5 -5
- package/dist/chunks/{location-jx0s70p5.js → mime-p2f8mmnb.js} +184 -183
- package/dist/chunks/{location-7g0wb0cy.js → mime-p9aa1w3b.js} +43 -43
- package/dist/chunks/{location-czfptnv9.js → mime-pa8pe2x7.js} +4 -4
- package/dist/chunks/{location-3pbjq009.js → mime-pb1eahw5.js} +8 -8
- package/dist/chunks/{location-zgg0zcbd.js → mime-pc3te2d2.js} +13 -13
- package/dist/chunks/{location-5bmxm2h2.js → mime-pdd0rde8.js} +35 -35
- package/dist/chunks/{location-pecb0brz.js → mime-pecb0brz.js} +2 -2
- package/dist/chunks/{location-cpy6gm2a.js → mime-pf2hb43r.js} +6 -6
- package/dist/chunks/{location-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-j8zvn2fh.js → mime-pnvk1zxf.js} +8 -8
- package/dist/chunks/{location-wd3x2cqz.js → mime-psazpmmj.js} +2 -2
- package/dist/chunks/{location-2e0fcd9j.js → mime-pw78m90f.js} +13 -13
- package/dist/chunks/{location-7fkffz83.js → mime-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-w60t80j4.js → mime-pz0kg3pa.js} +8 -8
- package/dist/chunks/{location-t0csqp6z.js → mime-q2xyrkaw.js} +23 -23
- package/dist/chunks/{location-2k8khapm.js → mime-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-d7yvqe2m.js → mime-qhmtp2tk.js} +33 -33
- package/dist/chunks/{location-cy51bfwc.js → mime-qketm56k.js} +29 -29
- package/dist/chunks/{location-r0d4rr2j.js → mime-qp8wkf24.js} +6 -6
- package/dist/chunks/{location-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-sxzvkvgj.js → mime-r5wgqceq.js} +6 -6
- package/dist/chunks/{location-j028xdjb.js → mime-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-ahafs8t7.js → mime-r6k2k499.js} +12 -12
- package/dist/chunks/{location-z2mts3jq.js → mime-r9fnx8z8.js} +17 -17
- package/dist/chunks/{location-rnr5nq63.js → mime-rb5qx8rw.js} +14 -14
- package/dist/chunks/{location-c9yc49s2.js → mime-rcf2j8e1.js} +13 -13
- package/dist/chunks/{location-k4tg163h.js → mime-rcf4bk7m.js} +9 -9
- package/dist/chunks/{location-mr7cqtv5.js → mime-rdapeg7m.js} +22 -22
- package/dist/chunks/{location-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-87ewwnhh.js → mime-rpy4pbbp.js} +8 -8
- package/dist/chunks/{location-0wd18q2k.js → mime-rqjgrnyy.js} +53 -53
- package/dist/chunks/{location-968bzxcp.js → mime-rs6nc958.js} +19 -19
- package/dist/chunks/{location-17yyvbe9.js → mime-rxq7phgy.js} +10 -10
- package/dist/chunks/{location-kp8q1t60.js → mime-s1kvmffy.js} +9 -9
- package/dist/chunks/{location-mp410mz8.js → mime-s8t19jhb.js} +15 -15
- package/dist/chunks/{location-je364zjc.js → mime-sdb8bcax.js} +12 -12
- package/dist/chunks/{location-9teg96v0.js → mime-sgtj253b.js} +22 -22
- package/dist/chunks/{location-e087dx1z.js → mime-sh1bym4z.js} +14 -14
- package/dist/chunks/{location-nnf39y6b.js → mime-smng5j6t.js} +43 -43
- package/dist/chunks/{location-vsh1qdt7.js → mime-sntnabn9.js} +20 -20
- package/dist/chunks/{location-e89xj288.js → mime-sznyev98.js} +5 -5
- package/dist/chunks/{location-j83byb14.js → mime-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-edqypwwq.js → mime-tbjzkwfa.js} +9 -9
- package/dist/chunks/{location-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-5gfh327x.js → mime-tdxfwavj.js} +309 -309
- package/dist/chunks/{location-gkkmt2sg.js → mime-tftezwe6.js} +13 -13
- package/dist/chunks/{location-mt0r8540.js → mime-tgc8bne0.js} +11 -11
- package/dist/chunks/{location-q4e0v6dz.js → mime-thf2d7aw.js} +26 -26
- package/dist/chunks/{location-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{location-4386109a.js → mime-vd5mxqm8.js} +28 -28
- package/dist/chunks/{location-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-c0yr27jg.js → mime-vq1n2qtt.js} +32 -32
- package/dist/chunks/{location-sqxqv8se.js → mime-vvpbjp06.js} +11 -11
- package/dist/chunks/{location-dpzww8qs.js → mime-vvvza5b1.js} +30 -30
- package/dist/chunks/{location-etgzvy3j.js → mime-vwst76ss.js} +17 -17
- package/dist/chunks/{location-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-mzeadsks.js → mime-w3sfc864.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-rqwzy025.js → mime-we10g59k.js} +10 -10
- package/dist/chunks/{location-r0dmdece.js → mime-wkptd6qt.js} +2 -2
- package/dist/chunks/{location-sf9v7z6x.js → mime-wre7nqds.js} +5 -5
- package/dist/chunks/{location-gz5dk3bq.js → mime-ww5aakee.js} +3 -3
- package/dist/chunks/{location-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-m4s2206c.js → mime-x492m9dx.js} +20 -20
- package/dist/chunks/{location-hrc5xhz2.js → mime-xbmvjy47.js} +24 -24
- package/dist/chunks/{location-qqeeq2t9.js → mime-xfkkasph.js} +7 -7
- package/dist/chunks/{location-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-cw1jgv1w.js → mime-xp848fms.js} +6 -6
- package/dist/chunks/{location-kmprzaxc.js → mime-xzdr9wth.js} +28 -28
- package/dist/chunks/{location-0thq7ctp.js → mime-y15242ac.js} +5 -5
- package/dist/chunks/{location-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-tekbb0q2.js → mime-y1hrdy89.js} +25 -25
- package/dist/chunks/{location-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{location-tdasrx2p.js → mime-y87mq3tz.js} +15 -15
- package/dist/chunks/{location-fagqvdjb.js → mime-ybhdazh5.js} +48 -48
- package/dist/chunks/{location-zmkr9het.js → mime-yk25fr7g.js} +18 -18
- package/dist/chunks/{location-w2738c68.js → mime-ypa0r0ts.js} +28 -28
- package/dist/chunks/{location-ggany8nf.js → mime-ypsdch7f.js} +12 -12
- package/dist/chunks/{location-nzpqs87y.js → mime-yq6ct03r.js} +20 -20
- package/dist/chunks/{location-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → mime-yrznvahk.js} +2 -2
- package/dist/chunks/{location-edpxxy6h.js → mime-ytggegkj.js} +8 -8
- package/dist/chunks/{location-va37abn8.js → mime-yyx841xh.js} +12 -12
- package/dist/chunks/{location-kmz30q20.js → mime-yzjwj7p7.js} +18 -18
- package/dist/chunks/{location-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-yhztf7xm.js → mime-z2jzj02s.js} +17 -17
- package/dist/chunks/{location-z63w68vq.js → mime-z63w68vq.js} +2 -2
- package/dist/chunks/{location-deav3xfk.js → mime-z67dw27r.js} +9 -9
- package/dist/chunks/{location-zcza1hmm.js → mime-z8q9t9em.js} +41 -41
- package/dist/chunks/{location-qkg528j3.js → mime-zc52qgdh.js} +41 -41
- package/dist/chunks/{location-06x8he3q.js → mime-zee1rnkq.js} +4 -4
- package/dist/chunks/{location-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-nz8rrhbp.js → mime-zfpzwrwk.js} +23 -23
- package/dist/chunks/{location-299n82gd.js → mime-zgnhzt77.js} +8 -8
- package/dist/chunks/{location-tyj1qjbe.js → mime-zpx8hmva.js} +58 -58
- package/dist/chunks/{location-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-0f3jrm1q.js → mime-ztzvkng6.js} +13 -13
- package/dist/chunks/{location-a3ywwdhk.js → mime-zv0dxv1a.js} +34 -34
- package/dist/chunks/{location-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-8dbtp0rc.js +0 -26
- package/dist/chunks/location-v1faaxn9.js +0 -18
- package/dist/chunks/location-w2qa834j.js +0 -252
- /package/dist/chunks/{location-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service12 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service12.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node14 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service12, node14, exports_update };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./mime-mv5rmv8d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./mime-aew6zv8s.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service69,
|
|
14
|
+
node72
|
|
15
|
+
} from "./mime-frds9tfh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service69;
|
|
41
|
+
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node81, node72]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service10, node12, exports_instructions };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-nvkg8vb6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./mime-rqjgrnyy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin50 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service77;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service67;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./mime-gvh4qv8a.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service40,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node44
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service40 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service47;
|
|
67
|
+
return Service40.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make20({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node44 = makeLocationNode({ service: Service40, layer, deps: [node50] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service40, node44, exports_instructions5 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node61
|
|
9
|
+
} from "./mime-xbmvjy47.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service20,
|
|
24
|
+
node: () => node22
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service20 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service57;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service20.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node22 = makeLocationNode({ service: Service20, layer, deps: [node61, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service20, node22, exports_ripgrep };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./mime-ktk6m7yv.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-b8aytvky.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service82,
|
|
17
|
+
node85
|
|
18
|
+
} from "./mime-mv5rmv8d.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-psazpmmj.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-gfvb90ym.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
ID15,
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./mime-ddaqmm23.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-aew6zv8s.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node74
|
|
35
|
+
} from "./mime-1ychmzfj.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./mime-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./mime-zgnhzt77.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service28
|
|
45
|
+
} from "./mime-9rzpma25.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-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: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event7,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service27,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node30
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,11 +79,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -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 Event7 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service27 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service71;
|
|
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(Service45, 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, Service28).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service45, 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 Service27.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(Service45, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node30 = Node.makeGlobalNode({
|
|
265
|
+
service: Service27,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node83, node85, node88, AppProcess.node, node74]
|
|
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,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service27, node30, exports_worktree2, OperationError2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./mime-mv5rmv8d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./mime-we10g59k.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service41,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-ctefx7dc.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./mime-p2f8mmnb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service41,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node25
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service82;
|
|
45
|
+
const kv = yield* Service72;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service41.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node25 = Node.makeLocationNode({
|
|
226
|
+
service: Service41,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node25, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_skills };
|