@opencode/core 0.0.0-dev-20981 → 0.0.0-dev-20983
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -77
- package/dist/chunks/{model-n5ckd50m.js → snapshot-02e9eapb.js} +30 -30
- package/dist/chunks/{model-7dmr3qxn.js → snapshot-02eta0q8.js} +14 -14
- package/dist/chunks/{model-y8k4q3en.js → snapshot-078aqrtj.js} +24 -24
- package/dist/chunks/{model-0b5g1ynf.js → snapshot-0b5g1ynf.js} +4 -4
- package/dist/chunks/{model-0j77ygfz.js → snapshot-0j77ygfz.js} +2 -2
- package/dist/chunks/{model-m82j3vqr.js → snapshot-0kc34zy2.js} +28 -28
- package/dist/chunks/{model-nng5j9h6.js → snapshot-0pdfqfk8.js} +3 -3
- package/dist/chunks/{model-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-0996nyz8.js → snapshot-11dqjexa.js} +9 -9
- package/dist/chunks/{model-7j1a6jdx.js → snapshot-12wv4c4k.js} +29 -29
- package/dist/chunks/{model-w1yg9qkm.js → snapshot-139zgem4.js} +19 -19
- package/dist/chunks/{model-wge3n3kq.js → snapshot-14a18q0b.js} +2 -2
- package/dist/chunks/{model-q79edn6k.js → snapshot-24rks86p.js} +26 -26
- package/dist/chunks/{model-2k71kv7p.js → snapshot-277eer69.js} +4 -4
- package/dist/chunks/{model-gsxrv0fy.js → snapshot-28f4qnvc.js} +11 -11
- package/dist/chunks/{model-efwcmd71.js → snapshot-2hchhzrj.js} +11 -11
- package/dist/chunks/{model-xscv4v2z.js → snapshot-2hryt1dd.js} +9 -9
- package/dist/chunks/{model-fcrkznn8.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{model-wr9rbap8.js → snapshot-2kmssdby.js} +17 -17
- package/dist/chunks/{model-kaxyez5z.js → snapshot-2pb8gjs2.js} +23 -23
- package/dist/chunks/{model-xsa1hygm.js → snapshot-2qn8t22e.js} +33 -33
- package/dist/chunks/{model-7sr4khpq.js → snapshot-2tfq46ze.js} +18 -18
- package/dist/chunks/{model-nhyne0rh.js → snapshot-2v145pw9.js} +6 -6
- package/dist/chunks/{model-kbxmpcp5.js → snapshot-2z6kzd1n.js} +11 -11
- package/dist/chunks/{model-dt5p2gzz.js → snapshot-33nnkrrr.js} +27 -27
- package/dist/chunks/{model-b888nyxg.js → snapshot-33zwqh84.js} +4 -4
- package/dist/chunks/{model-9c2gx1av.js → snapshot-3bc32sxp.js} +10 -10
- package/dist/chunks/{model-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-tzgwpa0q.js → snapshot-3fdg73tn.js} +32 -32
- package/dist/chunks/{model-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-tg4ne0mz.js → snapshot-3nd6c5np.js} +49 -49
- package/dist/chunks/{model-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-jqjtjqm5.js → snapshot-3w9g1448.js} +14 -14
- package/dist/chunks/{model-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-msyrw4bq.js → snapshot-416hgkhn.js} +4 -4
- package/dist/chunks/{model-v577e917.js → snapshot-41p96nyn.js} +13 -13
- package/dist/chunks/{model-zxf3xmnj.js → snapshot-4dr701cr.js} +16 -16
- package/dist/chunks/{model-0br3sbwn.js → snapshot-4v7ngy20.js} +4 -4
- package/dist/chunks/{model-4v7qdvcn.js → snapshot-4v7qdvcn.js} +1 -1
- package/dist/chunks/{model-mm8a7tkj.js → snapshot-53fhqb0d.js} +51 -51
- package/dist/chunks/{model-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{model-479aec3e.js → snapshot-55d1tpp9.js} +25 -25
- package/dist/chunks/{model-e29c15sd.js → snapshot-58hng72m.js} +5 -5
- package/dist/chunks/{model-4z58m4b4.js → snapshot-5dkn69vz.js} +4 -4
- package/dist/chunks/{model-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-k4dt4j6g.js → snapshot-62vana81.js} +23 -23
- package/dist/chunks/{model-nzep555n.js → snapshot-65q62kwk.js} +37 -37
- package/dist/chunks/{model-6g107h22.js → snapshot-6g107h22.js} +2 -2
- package/dist/chunks/{model-e5yhdxdz.js → snapshot-6kwkqkdm.js} +41 -41
- package/dist/chunks/{model-cxkbmgp7.js → snapshot-6x7cjr5h.js} +13 -13
- package/dist/chunks/{model-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-775gj3j1.js → snapshot-775gj3j1.js} +2 -2
- package/dist/chunks/{model-yb5kpwm0.js → snapshot-78z0tajq.js} +15 -15
- package/dist/chunks/{model-fe4vsmnr.js → snapshot-79enrqes.js} +13 -13
- package/dist/chunks/{model-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-1j6m29mr.js → snapshot-7cx595n2.js} +4 -4
- package/dist/chunks/{model-5hx7d1d6.js → snapshot-7d2a7xbs.js} +5 -5
- package/dist/chunks/{model-hpje1asd.js → snapshot-7fv8camv.js} +20 -20
- package/dist/chunks/{model-fketk0k4.js → snapshot-7j641znf.js} +9 -9
- package/dist/chunks/{model-1rd80ksx.js → snapshot-82wvwxnp.js} +19 -19
- package/dist/chunks/{model-84txncab.js → snapshot-84txncab.js} +1 -1
- package/dist/chunks/{model-gsndwzqv.js → snapshot-89qrwhr4.js} +17 -17
- package/dist/chunks/{model-999bzrsf.js → snapshot-8ag2gqs0.js} +5 -5
- package/dist/chunks/{model-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-x076sjt5.js → snapshot-8qa2aq7v.js} +11 -11
- package/dist/chunks/{model-gxra9ntr.js → snapshot-8zgdvsmt.js} +12 -12
- package/dist/chunks/{model-zhspmtmh.js → snapshot-96bye6pk.js} +6 -6
- package/dist/chunks/{model-7vfd4xz9.js → snapshot-96kn8jjj.js} +6 -6
- package/dist/chunks/{model-t9fz1x23.js → snapshot-99geaa22.js} +73 -73
- package/dist/chunks/{model-4ybf7fnk.js → snapshot-9sv3ea6j.js} +11 -11
- package/dist/chunks/{model-hsn420a8.js → snapshot-a035f2m5.js} +13 -13
- package/dist/chunks/{model-3aq39rmm.js → snapshot-a2yyhsbg.js} +10 -10
- package/dist/chunks/{model-xnv46bg2.js → snapshot-a32apcx9.js} +24 -24
- package/dist/chunks/{model-x661k3y3.js → snapshot-addxnjmp.js} +4 -4
- package/dist/chunks/{model-rs6n5dpz.js → snapshot-adydt5hj.js} +5 -5
- package/dist/chunks/{model-2stkn66k.js → snapshot-ajw317e7.js} +21 -21
- package/dist/chunks/{model-zn6ek04n.js → snapshot-ak0a3hys.js} +11 -11
- package/dist/chunks/{model-nsnm0d77.js → snapshot-astpzp8e.js} +45 -45
- package/dist/chunks/{model-wgahhr0x.js → snapshot-awbtvej0.js} +4 -4
- package/dist/chunks/{model-8kw59tg1.js → snapshot-axccj4x7.js} +15 -15
- package/dist/chunks/{model-a2ew8a62.js → snapshot-b27vhd2z.js} +4 -4
- package/dist/chunks/{model-x5wrmng7.js → snapshot-b4ytdsdb.js} +8 -8
- package/dist/chunks/{model-t1vvqrnj.js → snapshot-b7wedqf8.js} +15 -15
- package/dist/chunks/{model-2h69y2j1.js → snapshot-bhcj78x9.js} +19 -19
- package/dist/chunks/{model-bjx1sjef.js → snapshot-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-gwda5h78.js → snapshot-bntnj7y8.js} +11 -11
- package/dist/chunks/snapshot-bq99f6b1.js +253 -0
- package/dist/chunks/{model-y2tp8ndf.js → snapshot-bvgds83j.js} +11 -11
- package/dist/chunks/{model-qxhhhvy1.js → snapshot-bvgfxkwe.js} +22 -22
- package/dist/chunks/{model-zwh4a1ab.js → snapshot-bxxmpbym.js} +6 -6
- package/dist/chunks/{model-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-bc32chh7.js → snapshot-c2hv2xwr.js} +15 -15
- package/dist/chunks/{model-6qyp6q13.js → snapshot-ca6xgqeq.js} +14 -14
- package/dist/chunks/{model-5gw5nkjt.js → snapshot-cre28byt.js} +87 -87
- package/dist/chunks/{model-rdza6gx1.js → snapshot-cyd4py48.js} +11 -11
- package/dist/chunks/{model-09cyt2wq.js → snapshot-d5am5q1x.js} +27 -27
- package/dist/chunks/{model-jekssrtq.js → snapshot-d869kc9t.js} +8 -8
- package/dist/chunks/{model-f20efee0.js → snapshot-dg1sqvv5.js} +13 -13
- package/dist/chunks/{model-v9j8n8rs.js → snapshot-dnzt8ts3.js} +9 -9
- package/dist/chunks/{model-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-dqxsqydv.js → snapshot-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-8a6bygkp.js → snapshot-dteqxcpg.js} +11 -11
- package/dist/chunks/{model-0d7p0p78.js → snapshot-e47knp2z.js} +13 -13
- package/dist/chunks/{model-r2z489rp.js → snapshot-e80seqcp.js} +3 -3
- package/dist/chunks/{model-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-neg72jb9.js → snapshot-eg9acgtd.js} +20 -20
- package/dist/chunks/{model-dw52cd0g.js → snapshot-ek8r1bjp.js} +5 -5
- package/dist/chunks/{model-cekk119z.js → snapshot-enm4z0yr.js} +5 -5
- package/dist/chunks/{model-605fdbxk.js → snapshot-et910hwx.js} +4 -4
- package/dist/chunks/{model-hk9t36gz.js → snapshot-etcb7h9d.js} +4 -4
- package/dist/chunks/{model-11m4y6qd.js → snapshot-ey9p7sgf.js} +22 -22
- package/dist/chunks/{model-57w6ys69.js → snapshot-f3fk2xmf.js} +44 -44
- package/dist/chunks/{model-stfafkkt.js → snapshot-f5drb5nx.js} +9 -9
- package/dist/chunks/{model-pff3x97k.js → snapshot-fbvr504v.js} +10 -10
- package/dist/chunks/{model-xthmztap.js → snapshot-fctc48r7.js} +18 -18
- package/dist/chunks/{model-y8y4787y.js → snapshot-fe3yy3wq.js} +9 -9
- package/dist/chunks/{model-xkcm35ep.js → snapshot-fe8djsn4.js} +5 -5
- package/dist/chunks/{model-c4ads7bv.js → snapshot-fjq7nf5n.js} +13 -13
- package/dist/chunks/{model-aq7k84zy.js → snapshot-fpfsgvc6.js} +14 -14
- package/dist/chunks/{model-da571fjn.js → snapshot-fs2crwft.js} +34 -34
- package/dist/chunks/{model-rgrzrdjr.js → snapshot-ft11mcxf.js} +23 -23
- package/dist/chunks/{model-fxaymqdw.js → snapshot-fxaymqdw.js} +1 -1
- package/dist/chunks/{model-d7x0sh0y.js → snapshot-g686f6pq.js} +9 -9
- package/dist/chunks/{model-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-5agp6482.js → snapshot-ge5x3txp.js} +21 -21
- package/dist/chunks/{model-r2jsz6zh.js → snapshot-gfrqq8ak.js} +5 -5
- package/dist/chunks/{model-dyvsbq8q.js → snapshot-ghfsms2t.js} +11 -11
- package/dist/chunks/{model-8sgxnewj.js → snapshot-gkej4hz3.js} +9 -9
- package/dist/chunks/{model-8dt2m3qt.js → snapshot-gs4wbd6q.js} +9 -9
- package/dist/chunks/{model-k6zkg7sr.js → snapshot-h4gv8kbs.js} +10 -10
- package/dist/chunks/{model-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-h7s7r6s9.js → snapshot-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-cwzd7x1t.js → snapshot-h9jk6b4c.js} +5 -5
- package/dist/chunks/{model-6hernfpx.js → snapshot-he3apfyh.js} +18 -18
- package/dist/chunks/snapshot-hgwd6y96.js +26 -0
- package/dist/chunks/{model-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-pygwap58.js → snapshot-hmvbwk9y.js} +28 -28
- package/dist/chunks/{model-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{model-zy3z5mtm.js → snapshot-j6hk97h5.js} +17 -17
- package/dist/chunks/{model-xheas1rx.js → snapshot-jbeywm1q.js} +9 -9
- package/dist/chunks/{model-smdpqrpz.js → snapshot-jh8cd9bn.js} +27 -27
- package/dist/chunks/{model-gd0tnyjc.js → snapshot-jhdf29st.js} +1 -1
- package/dist/chunks/{model-mn4hnxkt.js → snapshot-jmjkp5vq.js} +13 -13
- package/dist/chunks/{model-agkn6djb.js → snapshot-k0a6zx6w.js} +20 -20
- package/dist/chunks/{model-svdem9xa.js → snapshot-k6x52zrq.js} +24 -24
- package/dist/chunks/{model-gs3mfcxs.js → snapshot-k8m3dejw.js} +32 -32
- package/dist/chunks/{model-dw5aamzj.js → snapshot-kpzgc0bp.js} +12 -12
- package/dist/chunks/{model-ktgr00t7.js → snapshot-ktgr00t7.js} +2 -2
- package/dist/chunks/{model-yyq8xdja.js → snapshot-kxgb0vkd.js} +329 -329
- package/dist/chunks/{model-tdw1jchh.js → snapshot-kxmht4ws.js} +35 -35
- package/dist/chunks/{model-k16ggyyw.js → snapshot-m3mxvrfe.js} +26 -26
- package/dist/chunks/{model-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{model-n7m069ya.js → snapshot-mf8vvcps.js} +48 -48
- package/dist/chunks/{model-cz1na6pr.js → snapshot-mg32kf6f.js} +18 -18
- package/dist/chunks/{model-az68kh8z.js → snapshot-mjdyhc17.js} +3 -3
- package/dist/chunks/{model-x4za3xcr.js → snapshot-mjya2s6m.js} +3 -3
- package/dist/chunks/{model-j1mj860n.js → snapshot-mphgtbj1.js} +9 -9
- package/dist/chunks/{model-s7ev4p20.js → snapshot-mx7aqfce.js} +3 -3
- package/dist/chunks/{model-f1q4hcq2.js → snapshot-mz2fken5.js} +50 -50
- package/dist/chunks/{model-hrg0xqaw.js → snapshot-n477tdv7.js} +28 -28
- package/dist/chunks/{model-f3ttcj74.js → snapshot-n71gwbgs.js} +17 -17
- package/dist/chunks/{model-909p1r3q.js → snapshot-n8dykrk6.js} +6 -6
- package/dist/chunks/{model-t66atx3n.js → snapshot-najxxsbs.js} +18 -18
- package/dist/chunks/{model-gyksvwm5.js → snapshot-navbt8w1.js} +16 -16
- package/dist/chunks/{model-rm6mdncc.js → snapshot-nb4az0q5.js} +27 -27
- package/dist/chunks/{model-z1dnb0jf.js → snapshot-ndskk3cv.js} +19 -19
- package/dist/chunks/{model-b8rasqmm.js → snapshot-ndwqxyq0.js} +81 -81
- package/dist/chunks/{model-em98dst4.js → snapshot-ngsw89qw.js} +32 -32
- package/dist/chunks/{model-1e0t64bm.js → snapshot-nmw03hyk.js} +10 -10
- package/dist/chunks/{model-cmwkp3r5.js → snapshot-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-cqbr470d.js → snapshot-p43w0xj0.js} +4 -4
- package/dist/chunks/{model-sddez406.js → snapshot-pdmrg88s.js} +15 -15
- package/dist/chunks/{model-m5b2t9yd.js → snapshot-peba8egv.js} +58 -58
- package/dist/chunks/{model-d8mxpyz7.js → snapshot-pjkqvbxd.js} +40 -40
- package/dist/chunks/{model-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{model-5y480sgp.js → snapshot-pn3cc07s.js} +8 -8
- package/dist/chunks/{model-sfk668n4.js → snapshot-pqjtahcg.js} +5 -5
- package/dist/chunks/{model-jwah6ncg.js → snapshot-ptay5xqm.js} +2 -2
- package/dist/chunks/{model-2pfz9zj6.js → snapshot-pvtha2pq.js} +35 -35
- package/dist/chunks/{model-qxcp4ttm.js → snapshot-pw13f8m0.js} +179 -179
- package/dist/chunks/{model-8sze2n9a.js → snapshot-py3kkmfq.js} +6 -6
- package/dist/chunks/{model-w8038a0g.js → snapshot-q8hc6qcd.js} +38 -38
- package/dist/chunks/{model-0nsjxa2x.js → snapshot-q9hd8wee.js} +5 -5
- package/dist/chunks/{model-vjvcezxg.js → snapshot-qd28ntw7.js} +14 -14
- package/dist/chunks/{model-6w89m9p1.js → snapshot-qe19s462.js} +24 -24
- package/dist/chunks/{model-674w987k.js → snapshot-qmpcr92r.js} +36 -36
- package/dist/chunks/{model-djszqvmq.js → snapshot-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-kh162zpt.js → snapshot-qnhs79zs.js} +319 -319
- package/dist/chunks/{model-7src2pyj.js → snapshot-qqab1k05.js} +7 -7
- package/dist/chunks/{model-hs2sc01j.js → snapshot-qrdj5phn.js} +42 -42
- package/dist/chunks/{model-gj4dz15w.js → snapshot-qrswzedr.js} +12 -12
- package/dist/chunks/{model-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{model-142fkw1n.js → snapshot-r4yb0z3b.js} +13 -13
- package/dist/chunks/{model-zqm6kvvn.js → snapshot-r6g4e95h.js} +14 -14
- package/dist/chunks/{model-edr8mr1d.js → snapshot-r6z305st.js} +3 -3
- package/dist/chunks/{model-87qbasm5.js → snapshot-r9y2scxt.js} +11 -11
- package/dist/chunks/{model-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → snapshot-rert0e01.js} +2 -2
- package/dist/chunks/{model-zswvs50y.js → snapshot-rfkwzrae.js} +22 -22
- package/dist/chunks/{model-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-kas6drz3.js → snapshot-rksjtv3x.js} +32 -32
- package/dist/chunks/{model-2ach13s2.js → snapshot-rsbe67h7.js} +46 -46
- package/dist/chunks/{model-s8cdmyqk.js → snapshot-rzzqhctj.js} +11 -11
- package/dist/chunks/{model-5z0y4e44.js → snapshot-s8cj9grq.js} +13 -13
- package/dist/chunks/{model-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-b3f8fkhc.js → snapshot-scgrse2b.js} +5 -5
- package/dist/chunks/{model-2ypdw6v4.js → snapshot-sm0ksd3h.js} +12 -12
- package/dist/chunks/{model-sbem282a.js → snapshot-sqczrp9f.js} +26 -26
- package/dist/chunks/{model-2p142bke.js → snapshot-sqgfpt95.js} +19 -19
- package/dist/chunks/{model-mksqe0jy.js → snapshot-sr7g6dta.js} +23 -23
- package/dist/chunks/{model-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{model-t550f9t1.js → snapshot-t550f9t1.js} +1 -1
- package/dist/chunks/{model-zvk9pegx.js → snapshot-t5sjszhz.js} +34 -34
- package/dist/chunks/{model-x804m9tz.js → snapshot-t9vw7n3y.js} +31 -31
- package/dist/chunks/{model-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{model-w30whbb5.js → snapshot-tezyt0wt.js} +14 -14
- package/dist/chunks/{model-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-zvt5dnpc.js → snapshot-ttqh24zm.js} +4 -4
- package/dist/chunks/{model-t4dv37ma.js → snapshot-tx8svmqw.js} +23 -23
- package/dist/chunks/{model-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{model-6g7e4dd5.js → snapshot-v0es1rhs.js} +7 -7
- package/dist/chunks/{model-z7tka8yh.js → snapshot-v1cjjj3y.js} +20 -20
- package/dist/chunks/{model-tfpgne2e.js → snapshot-v2dpvkn0.js} +8 -8
- package/dist/chunks/{model-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-0f58zsv5.js → snapshot-vbg5ezqf.js} +45 -45
- package/dist/chunks/{model-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{model-2mcax4ft.js → snapshot-vjcpsb2b.js} +10 -10
- package/dist/chunks/{model-xeea7gjf.js → snapshot-vkww058e.js} +8 -8
- package/dist/chunks/{model-1b2xjh8d.js → snapshot-vmd0skpg.js} +22 -22
- package/dist/chunks/{model-22xnzr80.js → snapshot-vwthjm9e.js} +21 -21
- package/dist/chunks/{model-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-h83xjv7f.js → snapshot-w2h15q85.js} +5 -5
- package/dist/chunks/{model-a63pq2m6.js → snapshot-w2jwkx9y.js} +11 -11
- package/dist/chunks/{model-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-8arnnpza.js → snapshot-w7z3k5dk.js} +29 -29
- package/dist/chunks/{model-zm14bp5n.js → snapshot-wbrh9k09.js} +41 -41
- package/dist/chunks/{model-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{model-f7ma11rg.js → snapshot-wkcmpner.js} +6 -6
- package/dist/chunks/{model-c0eqp439.js → snapshot-wqbevas8.js} +1 -1
- package/dist/chunks/{model-mxjbaaz4.js → snapshot-wwyzffch.js} +17 -17
- package/dist/chunks/{model-7z93154z.js → snapshot-x86wrwcp.js} +11 -11
- package/dist/chunks/{model-m77chmsg.js → snapshot-xc0qh6rg.js} +8 -8
- package/dist/chunks/{model-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
- package/dist/chunks/{model-cxmm8qc0.js → snapshot-xg0pma4t.js} +33 -33
- package/dist/chunks/{model-x76z1jaq.js → snapshot-xxwe6d9h.js} +16 -16
- package/dist/chunks/{model-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-h2ssqnba.js → snapshot-y7wtjedd.js} +4 -4
- package/dist/chunks/{model-4wytv71p.js → snapshot-ydma5cpq.js} +1 -1
- package/dist/chunks/{model-nktcn7bv.js → snapshot-yh26w4ce.js} +37 -37
- package/dist/chunks/{model-d7hemvnj.js → snapshot-yhx8v9gy.js} +7 -7
- package/dist/chunks/{model-yp2x3t23.js → snapshot-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-f6g8pkb4.js → snapshot-ysye361s.js} +12 -12
- package/dist/chunks/{model-t89fqycx.js → snapshot-yvvvp4gn.js} +8 -8
- package/dist/chunks/{model-8vkaqw1w.js → snapshot-ywqn9wnz.js} +15 -15
- package/dist/chunks/{model-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z5crsmww.js → snapshot-z5crsmww.js} +3 -3
- package/dist/chunks/{model-z6c3x22d.js → snapshot-z6c3x22d.js} +2 -2
- package/dist/chunks/{model-11n2fvbk.js → snapshot-z6dwrd8b.js} +54 -54
- package/dist/chunks/{model-2qg26xbp.js → snapshot-z7mcsx03.js} +4 -4
- package/dist/chunks/{model-h9v0byjp.js → snapshot-z8fej9z0.js} +8 -8
- package/dist/chunks/{model-810ve36t.js → snapshot-zd9agh4c.js} +22 -22
- package/dist/chunks/{model-b22wppy7.js → snapshot-zg2nwh95.js} +5 -5
- package/dist/chunks/{model-1gh4n1ba.js → snapshot-zjevg3pf.js} +4 -4
- package/dist/chunks/{model-mvp4hync.js → snapshot-znr2sffa.js} +16 -16
- package/dist/chunks/{model-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-kx2n7v0t.js → snapshot-zsygfxs1.js} +11 -11
- package/dist/chunks/{model-dc27vedx.js → snapshot-zwtf9a4d.js} +31 -31
- package/dist/chunks/{model-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-fz6md8dw.js +0 -26
- package/dist/chunks/model-s3zr8hxy.js +0 -253
- /package/dist/chunks/{model-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-b1a1n7cj.js → snapshot-b1a1n7cj.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e3qxr5gk.js → snapshot-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./snapshot-r6g4e95h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./snapshot-2qn8t22e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./snapshot-078aqrtj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./snapshot-r9y2scxt.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-96kn8jjj.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-8ag2gqs0.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-mjya2s6m.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-scgrse2b.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service84;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service65;
|
|
58
|
+
const toolOutput = yield* Service44;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./snapshot-navbt8w1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service25,
|
|
12
|
+
node28
|
|
13
|
+
} from "./snapshot-24rks86p.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,7 +24,7 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event5,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
|
|
|
33
33
|
Match: () => Match2,
|
|
34
34
|
NotFoundError: () => NotFoundError2,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service24,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node27
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event5 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service24 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service24, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service81;
|
|
115
|
+
const search = yield* Service25;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return yield* Effect.fail(new NotFoundError2({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service24.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node27 = makeLocationNode({
|
|
175
|
+
service: Service24,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node85, node28]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service24, node27, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./snapshot-mf8vvcps.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./snapshot-2qn8t22e.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin45
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin45 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const snapshot = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin24 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin45, exports_snapshot };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./snapshot-k6x52zrq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./snapshot-3nd6c5np.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./snapshot-0kc34zy2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin21 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service59;
|
|
53
|
+
const forms = yield* Service80;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin21, exports_websearch };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-r6z305st.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node88
|
|
11
|
+
} from "./snapshot-r6g4e95h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./snapshot-sm0ksd3h.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
304
304
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node86 = makeGlobalNode({
|
|
310
|
+
service: Service82,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service82;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node86]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|