@opencode/core 0.0.0-dev-20982 → 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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-868thhtj.js → snapshot-02e9eapb.js} +36 -36
- package/dist/chunks/{model-jj9d5szw.js → snapshot-02eta0q8.js} +14 -14
- package/dist/chunks/{model-nf63sdyz.js → snapshot-078aqrtj.js} +24 -24
- package/dist/chunks/{model-hkffa77z.js → snapshot-0b5g1ynf.js} +4 -4
- package/dist/chunks/{model-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-b1et22ex.js → snapshot-0kc34zy2.js} +14 -14
- package/dist/chunks/{model-4p1qn5j9.js → snapshot-0pdfqfk8.js} +1 -1
- package/dist/chunks/{model-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-fqcgpcra.js → snapshot-11dqjexa.js} +9 -9
- package/dist/chunks/{model-0m0wxxk9.js → snapshot-12wv4c4k.js} +29 -29
- package/dist/chunks/{model-16nrxpzh.js → snapshot-139zgem4.js} +13 -13
- package/dist/chunks/{model-8kamc0n0.js → snapshot-14a18q0b.js} +8 -8
- package/dist/chunks/{model-jcgcvvgv.js → snapshot-24rks86p.js} +30 -30
- package/dist/chunks/{model-1y283654.js → snapshot-277eer69.js} +4 -4
- package/dist/chunks/{model-7pw8yz1b.js → snapshot-28f4qnvc.js} +11 -11
- package/dist/chunks/{model-0fjeggm9.js → snapshot-2hchhzrj.js} +8 -8
- package/dist/chunks/{model-6w1q88cy.js → snapshot-2hryt1dd.js} +9 -9
- package/dist/chunks/{model-2k8khapm.js → snapshot-2k8khapm.js} +1 -1
- package/dist/chunks/{model-jvjaj5rz.js → snapshot-2kmssdby.js} +11 -11
- package/dist/chunks/{model-q2736rqt.js → snapshot-2pb8gjs2.js} +15 -15
- package/dist/chunks/{model-nfh0qqsf.js → snapshot-2qn8t22e.js} +32 -32
- package/dist/chunks/{model-j142m76w.js → snapshot-2tfq46ze.js} +18 -18
- package/dist/chunks/{model-sxkxnm8w.js → snapshot-2v145pw9.js} +6 -6
- package/dist/chunks/{model-qjcj5bxx.js → snapshot-2z6kzd1n.js} +11 -11
- package/dist/chunks/{model-6nsfmgdp.js → snapshot-33nnkrrr.js} +27 -27
- package/dist/chunks/{model-z1j5fswa.js → snapshot-33zwqh84.js} +4 -4
- package/dist/chunks/{model-rsswyzw7.js → snapshot-3bc32sxp.js} +13 -13
- package/dist/chunks/{model-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-1qreg6w5.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-9dk8dbn0.js → snapshot-3nd6c5np.js} +58 -58
- 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-vta2cxva.js → snapshot-3w9g1448.js} +12 -12
- package/dist/chunks/{model-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-dd5e861g.js → snapshot-416hgkhn.js} +2 -2
- package/dist/chunks/{model-918hk0p8.js → snapshot-41p96nyn.js} +18 -18
- package/dist/chunks/{model-3xvck7mv.js → snapshot-4dr701cr.js} +16 -16
- package/dist/chunks/{model-pg3d8dpb.js → snapshot-4v7ngy20.js} +4 -4
- package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-6eadky4a.js → snapshot-53fhqb0d.js} +50 -50
- package/dist/chunks/{model-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{model-sffa00cj.js → snapshot-55d1tpp9.js} +28 -28
- package/dist/chunks/{model-782zrs06.js → snapshot-58hng72m.js} +5 -5
- package/dist/chunks/{model-n1n192bv.js → snapshot-5dkn69vz.js} +4 -4
- package/dist/chunks/{model-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-qwsskq9g.js → snapshot-62vana81.js} +25 -25
- package/dist/chunks/{model-vpdcaygd.js → snapshot-65q62kwk.js} +38 -38
- package/dist/chunks/{model-jk540des.js → snapshot-6g107h22.js} +2 -2
- package/dist/chunks/{model-bq5355gp.js → snapshot-6kwkqkdm.js} +45 -45
- package/dist/chunks/{model-gtr46jpy.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-wj5z0n6a.js → snapshot-78z0tajq.js} +18 -18
- package/dist/chunks/{model-7x0qfkxs.js → snapshot-79enrqes.js} +13 -13
- package/dist/chunks/{model-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-txm3e8qz.js → snapshot-7cx595n2.js} +9 -9
- package/dist/chunks/{model-6xw3seg4.js → snapshot-7d2a7xbs.js} +5 -5
- package/dist/chunks/{model-s4q167yz.js → snapshot-7fv8camv.js} +22 -22
- package/dist/chunks/{model-znj2jcy4.js → snapshot-7j641znf.js} +9 -9
- package/dist/chunks/{model-g5ppxhgr.js → snapshot-82wvwxnp.js} +19 -19
- package/dist/chunks/{model-w1eejvng.js → snapshot-84txncab.js} +5 -5
- package/dist/chunks/{model-ac9zsgge.js → snapshot-89qrwhr4.js} +20 -20
- package/dist/chunks/{model-qpzj3qa9.js → snapshot-8ag2gqs0.js} +5 -5
- package/dist/chunks/{model-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-k4h0p2n0.js → snapshot-8qa2aq7v.js} +11 -11
- package/dist/chunks/{model-hjd8wwja.js → snapshot-8zgdvsmt.js} +14 -14
- package/dist/chunks/{model-n724kc2b.js → snapshot-96bye6pk.js} +6 -6
- package/dist/chunks/{model-1gpb38yh.js → snapshot-96kn8jjj.js} +9 -9
- package/dist/chunks/{model-e01gj4cd.js → snapshot-99geaa22.js} +75 -75
- package/dist/chunks/{model-npyp060g.js → snapshot-9sv3ea6j.js} +11 -11
- package/dist/chunks/{model-6x53d5fk.js → snapshot-a035f2m5.js} +15 -15
- package/dist/chunks/{model-wr3xabqx.js → snapshot-a2yyhsbg.js} +13 -13
- package/dist/chunks/{model-pyz1vfrp.js → snapshot-a32apcx9.js} +24 -24
- package/dist/chunks/{model-addxnjmp.js → snapshot-addxnjmp.js} +1 -1
- package/dist/chunks/{model-kx1gjmzp.js → snapshot-adydt5hj.js} +1 -1
- package/dist/chunks/{model-nftsbvkz.js → snapshot-ajw317e7.js} +27 -27
- package/dist/chunks/{model-f6fz9g7x.js → snapshot-ak0a3hys.js} +11 -11
- package/dist/chunks/{model-efjxf17k.js → snapshot-astpzp8e.js} +28 -28
- package/dist/chunks/{model-6kg1vfnr.js → snapshot-awbtvej0.js} +8 -8
- package/dist/chunks/{model-hh74v2b0.js → snapshot-axccj4x7.js} +16 -16
- package/dist/chunks/{model-my4zabxr.js → snapshot-b1a1n7cj.js} +3 -3
- package/dist/chunks/{model-sxz6gkc3.js → snapshot-b27vhd2z.js} +7 -7
- package/dist/chunks/{model-hcv80w8f.js → snapshot-b4ytdsdb.js} +11 -11
- package/dist/chunks/{model-2gft9see.js → snapshot-b7wedqf8.js} +22 -22
- package/dist/chunks/{model-228yc791.js → snapshot-bhcj78x9.js} +27 -27
- package/dist/chunks/{model-ywt8jp22.js → snapshot-bjx1sjef.js} +9 -9
- package/dist/chunks/{model-81njmjsm.js → snapshot-bntnj7y8.js} +11 -11
- package/dist/chunks/snapshot-bq99f6b1.js +253 -0
- package/dist/chunks/{model-ekw32q82.js → snapshot-bvgds83j.js} +6 -6
- package/dist/chunks/{model-r6xwq2vk.js → snapshot-bvgfxkwe.js} +14 -14
- package/dist/chunks/{model-04ym1fwe.js → snapshot-bxxmpbym.js} +3 -3
- package/dist/chunks/{model-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-zmtn6p76.js → snapshot-c2hv2xwr.js} +11 -11
- package/dist/chunks/{model-3n54exg3.js → snapshot-ca6xgqeq.js} +14 -14
- package/dist/chunks/{model-aspgww5t.js → snapshot-cre28byt.js} +93 -93
- package/dist/chunks/{model-r2a53ztr.js → snapshot-cyd4py48.js} +14 -14
- package/dist/chunks/{model-61sfa1aj.js → snapshot-d5am5q1x.js} +23 -23
- package/dist/chunks/{model-npypc4rd.js → snapshot-d869kc9t.js} +8 -8
- package/dist/chunks/{model-r6734q5n.js → snapshot-dg1sqvv5.js} +13 -13
- package/dist/chunks/{model-1bwe3qwc.js → snapshot-dnzt8ts3.js} +9 -9
- package/dist/chunks/{model-dpkg50ah.js → snapshot-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-dqxsqydv.js → snapshot-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-8beabzaw.js → snapshot-dteqxcpg.js} +11 -11
- package/dist/chunks/{model-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-nd7vcjm8.js → snapshot-e47knp2z.js} +13 -13
- package/dist/chunks/{model-ed1g29hy.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-vbktcqf2.js → snapshot-eg9acgtd.js} +17 -17
- package/dist/chunks/{model-30x88qrh.js → snapshot-ek8r1bjp.js} +3 -3
- package/dist/chunks/{model-q81gz903.js → snapshot-enm4z0yr.js} +5 -5
- package/dist/chunks/{model-hz9wj0ed.js → snapshot-et910hwx.js} +4 -4
- package/dist/chunks/{model-568arzm9.js → snapshot-etcb7h9d.js} +4 -4
- package/dist/chunks/{model-k83c78af.js → snapshot-ey9p7sgf.js} +28 -28
- package/dist/chunks/{model-zzdhwppw.js → snapshot-f3fk2xmf.js} +46 -46
- package/dist/chunks/{model-rpxwryvh.js → snapshot-f5drb5nx.js} +9 -9
- package/dist/chunks/{model-wk6sqcc5.js → snapshot-fbvr504v.js} +10 -10
- package/dist/chunks/{model-gj1adh3k.js → snapshot-fctc48r7.js} +23 -23
- package/dist/chunks/{model-zmfgr60r.js → snapshot-fe3yy3wq.js} +9 -9
- package/dist/chunks/{model-exwpqpdy.js → snapshot-fe8djsn4.js} +3 -3
- package/dist/chunks/{model-z164wy97.js → snapshot-fjq7nf5n.js} +14 -14
- package/dist/chunks/{model-20zrxk89.js → snapshot-fpfsgvc6.js} +14 -14
- package/dist/chunks/{model-6exrpman.js → snapshot-fs2crwft.js} +34 -34
- package/dist/chunks/{model-bpxpvztg.js → snapshot-ft11mcxf.js} +21 -21
- package/dist/chunks/{model-1w2wqhfv.js → snapshot-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-phz50fbd.js → snapshot-g686f6pq.js} +9 -9
- package/dist/chunks/{model-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-5xzyc826.js → snapshot-ge5x3txp.js} +28 -28
- package/dist/chunks/{model-1a5352wv.js → snapshot-gfrqq8ak.js} +3 -3
- package/dist/chunks/{model-apnwk0zd.js → snapshot-ghfsms2t.js} +11 -11
- package/dist/chunks/{model-dm0nfydx.js → snapshot-gkej4hz3.js} +9 -9
- package/dist/chunks/{model-kvw3mq9v.js → snapshot-gs4wbd6q.js} +9 -9
- package/dist/chunks/{model-dhfmk2zr.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-0ppgc59f.js → snapshot-h9jk6b4c.js} +2 -2
- package/dist/chunks/{model-vtdgthxf.js → snapshot-he3apfyh.js} +23 -23
- package/dist/chunks/snapshot-hgwd6y96.js +26 -0
- package/dist/chunks/{model-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-sjyz1h2d.js → snapshot-hmvbwk9y.js} +28 -28
- package/dist/chunks/{model-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
- package/dist/chunks/{model-7j4s1nts.js → snapshot-j6hk97h5.js} +17 -17
- package/dist/chunks/{model-n8ja6an3.js → snapshot-jbeywm1q.js} +9 -9
- package/dist/chunks/{model-p3mytphf.js → snapshot-jh8cd9bn.js} +29 -29
- package/dist/chunks/{model-3g8j9he4.js → snapshot-jhdf29st.js} +1 -1
- package/dist/chunks/{model-9jryrv3a.js → snapshot-jmjkp5vq.js} +13 -13
- package/dist/chunks/{model-8bv2d044.js → snapshot-k0a6zx6w.js} +23 -23
- package/dist/chunks/{model-4zjcfn6g.js → snapshot-k6x52zrq.js} +24 -24
- package/dist/chunks/{model-wzf7q3t7.js → snapshot-k8m3dejw.js} +32 -32
- package/dist/chunks/{model-tyawky02.js → snapshot-kpzgc0bp.js} +17 -17
- package/dist/chunks/{model-drnf6xwf.js → snapshot-ktgr00t7.js} +2 -2
- package/dist/chunks/{model-68yh2fx3.js → snapshot-kxgb0vkd.js} +334 -334
- package/dist/chunks/{model-n5n1zjbv.js → snapshot-kxmht4ws.js} +35 -35
- package/dist/chunks/{model-7nh8f0wn.js → snapshot-m3mxvrfe.js} +28 -28
- 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-5e81dfca.js → snapshot-mf8vvcps.js} +47 -47
- package/dist/chunks/{model-41k1h118.js → snapshot-mg32kf6f.js} +18 -18
- package/dist/chunks/{model-zr2nq6gp.js → snapshot-mjdyhc17.js} +3 -3
- package/dist/chunks/{model-x04pqkrt.js → snapshot-mjya2s6m.js} +3 -3
- package/dist/chunks/{model-tat11k01.js → snapshot-mphgtbj1.js} +9 -9
- package/dist/chunks/{model-rzn7k92n.js → snapshot-mx7aqfce.js} +3 -3
- package/dist/chunks/{model-khxmfjj5.js → snapshot-mz2fken5.js} +50 -50
- package/dist/chunks/{model-h3cseehx.js → snapshot-n477tdv7.js} +31 -31
- package/dist/chunks/{model-z4526mx1.js → snapshot-n71gwbgs.js} +17 -17
- package/dist/chunks/{model-c8bydgjz.js → snapshot-n8dykrk6.js} +6 -6
- package/dist/chunks/{model-1wv6ewf4.js → snapshot-najxxsbs.js} +12 -12
- package/dist/chunks/{model-ff251rbv.js → snapshot-navbt8w1.js} +14 -14
- package/dist/chunks/{model-r7ka9ch8.js → snapshot-nb4az0q5.js} +21 -21
- package/dist/chunks/{model-f6j4pfw7.js → snapshot-ndskk3cv.js} +15 -15
- package/dist/chunks/{model-sfj6zb2f.js → snapshot-ndwqxyq0.js} +79 -79
- package/dist/chunks/{model-m0b7pkkd.js → snapshot-ngsw89qw.js} +34 -34
- package/dist/chunks/{model-4z3vwhnt.js → snapshot-nmw03hyk.js} +10 -10
- package/dist/chunks/{model-br0tr5aq.js → snapshot-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-249n4y23.js → snapshot-p43w0xj0.js} +4 -4
- package/dist/chunks/{model-kkjc9dy5.js → snapshot-pdmrg88s.js} +15 -15
- package/dist/chunks/{model-dexdmn7s.js → snapshot-peba8egv.js} +61 -61
- package/dist/chunks/{model-0njq27v6.js → snapshot-pjkqvbxd.js} +33 -33
- 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-2eegacq4.js → snapshot-pn3cc07s.js} +8 -8
- package/dist/chunks/{model-8rez7pc9.js → snapshot-pqjtahcg.js} +5 -5
- package/dist/chunks/{model-vdqx43ex.js → snapshot-ptay5xqm.js} +2 -2
- package/dist/chunks/{model-pk4brtys.js → snapshot-pvtha2pq.js} +35 -35
- package/dist/chunks/{model-gs2he756.js → snapshot-pw13f8m0.js} +140 -140
- package/dist/chunks/{model-8sze2n9a.js → snapshot-py3kkmfq.js} +6 -6
- package/dist/chunks/{model-6epe09p4.js → snapshot-q8hc6qcd.js} +39 -39
- package/dist/chunks/{model-13wqnzak.js → snapshot-q9hd8wee.js} +5 -5
- package/dist/chunks/{model-5a7z4yxf.js → snapshot-qd28ntw7.js} +11 -11
- package/dist/chunks/{model-cazcby7s.js → snapshot-qe19s462.js} +24 -24
- package/dist/chunks/{model-3vhfphj7.js → snapshot-qmpcr92r.js} +35 -35
- 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-nf4ty3xq.js → snapshot-qnhs79zs.js} +312 -312
- package/dist/chunks/{model-fjb8erg1.js → snapshot-qqab1k05.js} +7 -7
- package/dist/chunks/{model-bcffw6zz.js → snapshot-qrdj5phn.js} +50 -50
- package/dist/chunks/{model-rh2yf6b2.js → snapshot-qrswzedr.js} +12 -12
- package/dist/chunks/{model-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{model-97868axb.js → snapshot-r4yb0z3b.js} +16 -16
- package/dist/chunks/{model-qy52ep8z.js → snapshot-r6g4e95h.js} +16 -16
- package/dist/chunks/{model-wwncb6zf.js → snapshot-r6z305st.js} +13 -13
- package/dist/chunks/{model-453djzx7.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-csjk4z4y.js → snapshot-rfkwzrae.js} +22 -22
- package/dist/chunks/{model-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-7hbcydxm.js → snapshot-rksjtv3x.js} +23 -23
- package/dist/chunks/{model-ap7d67yw.js → snapshot-rsbe67h7.js} +43 -43
- package/dist/chunks/{model-wzvjkcye.js → snapshot-rzzqhctj.js} +19 -19
- package/dist/chunks/{model-p7jr90hv.js → snapshot-s8cj9grq.js} +16 -16
- package/dist/chunks/{model-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-wecqtg5s.js → snapshot-scgrse2b.js} +5 -5
- package/dist/chunks/{model-hvh251q6.js → snapshot-sm0ksd3h.js} +12 -12
- package/dist/chunks/{model-rgqhra37.js → snapshot-sqczrp9f.js} +15 -15
- package/dist/chunks/{model-k6fa6tfe.js → snapshot-sqgfpt95.js} +22 -22
- package/dist/chunks/{model-5s0x098x.js → snapshot-sr7g6dta.js} +34 -34
- package/dist/chunks/{model-syv4x271.js → snapshot-syv4x271.js} +1 -1
- package/dist/chunks/{model-s8d7rejh.js → snapshot-t550f9t1.js} +4 -4
- package/dist/chunks/{model-fng1q3a6.js → snapshot-t5sjszhz.js} +22 -22
- package/dist/chunks/{model-1dds5gcz.js → snapshot-t9vw7n3y.js} +25 -25
- 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-866gnewa.js → snapshot-tezyt0wt.js} +11 -11
- package/dist/chunks/{model-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-dhmh7aw6.js → snapshot-ttqh24zm.js} +4 -4
- package/dist/chunks/{model-zm0hys1r.js → snapshot-tx8svmqw.js} +14 -14
- package/dist/chunks/{model-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
- package/dist/chunks/{model-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-yxebmv17.js → snapshot-v1cjjj3y.js} +23 -23
- package/dist/chunks/{model-9syxb0r3.js → snapshot-v2dpvkn0.js} +11 -11
- package/dist/chunks/{model-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-v9sgcpv9.js → snapshot-vbg5ezqf.js} +22 -22
- package/dist/chunks/{model-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{model-qbfqzset.js → snapshot-vjcpsb2b.js} +13 -13
- package/dist/chunks/{model-jwwy4gf7.js → snapshot-vkww058e.js} +8 -8
- package/dist/chunks/{model-y9yrahrn.js → snapshot-vmd0skpg.js} +22 -22
- package/dist/chunks/{model-z5d5yc96.js → snapshot-vwthjm9e.js} +21 -21
- package/dist/chunks/{model-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-57myy5jh.js → snapshot-w2h15q85.js} +5 -5
- package/dist/chunks/{model-6hh0p4jj.js → snapshot-w2jwkx9y.js} +11 -11
- package/dist/chunks/{model-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-sk663hk0.js → snapshot-w7z3k5dk.js} +22 -22
- package/dist/chunks/{model-jmkbrx6z.js → snapshot-wbrh9k09.js} +28 -28
- package/dist/chunks/{model-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{model-nzs7qp78.js → snapshot-wkcmpner.js} +6 -6
- package/dist/chunks/{model-xea223yn.js → snapshot-wqbevas8.js} +1 -1
- package/dist/chunks/{model-dbz9e5sv.js → snapshot-wwyzffch.js} +20 -20
- package/dist/chunks/{model-b3dw1nxt.js → snapshot-x86wrwcp.js} +14 -14
- package/dist/chunks/{model-6897dy4y.js → snapshot-xc0qh6rg.js} +11 -11
- package/dist/chunks/{model-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
- package/dist/chunks/{model-bsqtyhzw.js → snapshot-xg0pma4t.js} +32 -32
- package/dist/chunks/{model-wwhqjdsn.js → snapshot-xxwe6d9h.js} +18 -18
- package/dist/chunks/{model-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-p2c1p7fg.js → snapshot-y7wtjedd.js} +4 -4
- package/dist/chunks/{model-4e171ha0.js → snapshot-ydma5cpq.js} +1 -1
- package/dist/chunks/{model-9m88xfvv.js → snapshot-yh26w4ce.js} +35 -35
- package/dist/chunks/{model-n7gz5fxy.js → snapshot-yhx8v9gy.js} +7 -7
- package/dist/chunks/{model-yp2x3t23.js → snapshot-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-dxw5vmgr.js → snapshot-ysye361s.js} +18 -18
- package/dist/chunks/{model-vgx6weyf.js → snapshot-yvvvp4gn.js} +8 -8
- package/dist/chunks/{model-r35mg9et.js → snapshot-ywqn9wnz.js} +15 -15
- package/dist/chunks/{model-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-ajzsbz6h.js → snapshot-z5crsmww.js} +5 -5
- package/dist/chunks/{model-gj71zhbs.js → snapshot-z6c3x22d.js} +5 -5
- package/dist/chunks/{model-79rwpvn4.js → snapshot-z6dwrd8b.js} +51 -51
- package/dist/chunks/{model-q504mf2g.js → snapshot-z7mcsx03.js} +4 -4
- package/dist/chunks/{model-v9vx4ha1.js → snapshot-z8fej9z0.js} +8 -8
- package/dist/chunks/{model-30ezw4dz.js → snapshot-zd9agh4c.js} +15 -15
- package/dist/chunks/{model-ts98378q.js → snapshot-zg2nwh95.js} +3 -3
- package/dist/chunks/{model-es9h6wy0.js → snapshot-zjevg3pf.js} +4 -4
- package/dist/chunks/{model-xmk3nhga.js → snapshot-znr2sffa.js} +12 -12
- package/dist/chunks/{model-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-avj7e4e4.js → snapshot-zsygfxs1.js} +9 -9
- package/dist/chunks/{model-4kca7kha.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 +87 -87
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +127 -127
- 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 +118 -118
- 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 +117 -117
- 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 +85 -85
- package/dist/database/database.js +74 -74
- 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/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 +81 -81
- 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 +1 -1
- 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 +3 -3
- 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 +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- 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 +103 -103
- 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 +101 -101
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- 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 +87 -87
- 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 +131 -131
- 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 +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +98 -98
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- 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 +6 -6
- 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 +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +151 -151
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +95 -95
- 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 +5 -5
- 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 +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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-6vb0jgt0.js +0 -26
- package/dist/chunks/model-f81tjggh.js +0 -18
- package/dist/chunks/model-wk815h5a.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-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-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
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node54
|
|
9
|
+
} from "./snapshot-qe19s462.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-vwthjm9e.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_read_filesystem, {
|
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
36
|
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service51;
|
|
335
335
|
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node54] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node74
|
|
4
|
+
} from "./snapshot-a2yyhsbg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-b1a1n7cj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service57,
|
|
20
20
|
make: () => make18,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make18 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service70;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make18 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service57.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make18 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service57, make18);
|
|
358
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [node74] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service57, make18, node59, exports_job };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID8,
|
|
3
|
+
Info13,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-b1a1n7cj.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node89
|
|
12
|
+
} from "./snapshot-r6z305st.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./snapshot-r6g4e95h.js";
|
|
18
|
+
import {
|
|
15
19
|
Service82,
|
|
16
20
|
node86
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service80,
|
|
20
|
-
node84
|
|
21
|
-
} from "./model-jmkbrx6z.js";
|
|
21
|
+
} from "./snapshot-wbrh9k09.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service56,
|
|
24
|
+
node58
|
|
25
|
+
} from "./snapshot-n8dykrk6.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node56
|
|
34
|
+
} from "./snapshot-he3apfyh.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./snapshot-0b5g1ynf.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./snapshot-fjq7nf5n.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node32
|
|
47
|
+
} from "./snapshot-sqgfpt95.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node67
|
|
51
|
+
} from "./snapshot-v2dpvkn0.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./snapshot-96kn8jjj.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service60,
|
|
68
|
+
node62
|
|
69
|
+
} from "./snapshot-kpzgc0bp.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service57,
|
|
72
|
+
node59
|
|
73
|
+
} from "./snapshot-ca6xgqeq.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service52,
|
|
76
|
+
node55
|
|
77
|
+
} from "./snapshot-q8hc6qcd.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./snapshot-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service38,
|
|
83
|
+
node41
|
|
84
|
+
} from "./snapshot-9sv3ea6j.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./snapshot-znr2sffa.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./snapshot-z8fej9z0.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service58,
|
|
93
|
+
node60
|
|
94
|
+
} from "./snapshot-f5drb5nx.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service28,
|
|
100
|
+
node31
|
|
101
|
+
} from "./snapshot-peba8egv.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service43,
|
|
104
|
+
node46
|
|
105
|
+
} from "./snapshot-yvvvp4gn.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./snapshot-ngsw89qw.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./snapshot-dteqxcpg.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID8,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info13,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError7,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service27,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node30
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service27 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service82;
|
|
160
|
+
const execution = yield* Service52;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service38;
|
|
163
|
+
const store = yield* Service60;
|
|
164
|
+
const instances = yield* Service56;
|
|
165
|
+
const moves = yield* Service28;
|
|
166
|
+
const jobs = yield* Service57;
|
|
167
|
+
const environments = yield* Service43;
|
|
168
|
+
const locations = yield* Service58;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service27.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError7({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node30 = Node.makeGlobalNode({
|
|
331
|
+
service: Service27,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
node59,
|
|
335
|
+
node46,
|
|
336
|
+
node89,
|
|
337
|
+
node88,
|
|
337
338
|
node86,
|
|
338
|
-
node84,
|
|
339
|
-
node48,
|
|
340
|
-
node38,
|
|
341
|
-
llmClient2,
|
|
342
|
-
node69,
|
|
343
|
-
node51,
|
|
344
|
-
node49,
|
|
345
|
-
node34,
|
|
346
|
-
node35,
|
|
347
339
|
node55,
|
|
340
|
+
node41,
|
|
341
|
+
llmClient2,
|
|
342
|
+
node62,
|
|
343
|
+
node58,
|
|
344
|
+
node56,
|
|
345
|
+
node31,
|
|
346
|
+
node32,
|
|
347
|
+
node60,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node67
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service27, node30, exports_session };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-bhcj78x9.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin5
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin5 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin49 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID7.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID7.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID7.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID7.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID7.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin49 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin5, exports_agent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./snapshot-navbt8w1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./snapshot-mg32kf6f.js";
|
|
10
10
|
import {
|
|
11
11
|
Service6
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-zd9agh4c.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-c2hv2xwr.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin27,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent5
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin27 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service15;
|
|
63
63
|
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service81;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin10 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent5 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name10, Input10, Plugin27, toModelContent5, exports_read };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin2 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin37 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin2, exports_exa };
|