@opencode/core 0.0.0-dev-20285 → 0.0.0-dev-20287
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-f638v0k7.js → model-resolver-02mam7mg.js} +17 -17
- package/dist/chunks/{file-retention-0gdmqesm.js → model-resolver-02nrjc1r.js} +8 -8
- package/dist/chunks/{file-retention-7jn4cbqh.js → model-resolver-02v6ekhe.js} +3 -3
- package/dist/chunks/{file-retention-fe8gfspk.js → model-resolver-09zzmmve.js} +11 -11
- package/dist/chunks/{file-retention-dte89hxh.js → model-resolver-0cjtfqfg.js} +32 -32
- package/dist/chunks/{file-retention-y1afxrem.js → model-resolver-0fb5qscw.js} +5 -5
- package/dist/chunks/{file-retention-51f5btjf.js → model-resolver-0jkw1j53.js} +6 -6
- package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-zd4enfcj.js → model-resolver-0qxf76vs.js} +20 -20
- package/dist/chunks/{file-retention-r98e92ep.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-retention-kryy842e.js → model-resolver-0v5grnq4.js} +43 -43
- package/dist/chunks/{file-retention-hbsdh60r.js → model-resolver-0w4g3y4c.js} +17 -17
- package/dist/chunks/{file-retention-b29g69qn.js → model-resolver-0ybcar0z.js} +29 -29
- package/dist/chunks/{file-retention-47378fkq.js → model-resolver-12gw954a.js} +7 -7
- package/dist/chunks/{file-retention-k1k1f0xx.js → model-resolver-12s112hc.js} +20 -20
- package/dist/chunks/{file-retention-svx0194h.js → model-resolver-14gkyck6.js} +33 -33
- package/dist/chunks/{file-retention-g2tbeqr5.js → model-resolver-18nq8aak.js} +12 -12
- package/dist/chunks/{file-retention-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-retention-vxje23vy.js → model-resolver-1bmx2daa.js} +7 -7
- package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-g0x0gx4j.js → model-resolver-1fx9aqpr.js} +25 -25
- package/dist/chunks/{file-retention-0ywk5tx6.js → model-resolver-1mzz2bvg.js} +4 -4
- package/dist/chunks/{file-retention-8sze2n9a.js → model-resolver-1p07q0wb.js} +8 -8
- package/dist/chunks/{file-retention-ms03nq7r.js → model-resolver-1z8t22df.js} +13 -13
- package/dist/chunks/{file-retention-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-5ndd65f1.js → model-resolver-2507s413.js} +9 -9
- package/dist/chunks/{file-retention-0m56zc8a.js → model-resolver-27de2wkz.js} +26 -26
- package/dist/chunks/model-resolver-289z41pq.js +507 -0
- package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-etwdtmvh.js → model-resolver-2ej4jj92.js} +12 -12
- package/dist/chunks/{file-retention-ah16ew7h.js → model-resolver-2t8dba19.js} +11 -11
- package/dist/chunks/{file-retention-9gjt9gbs.js → model-resolver-2wtv204s.js} +15 -15
- package/dist/chunks/{file-retention-tv83fb5h.js → model-resolver-2y1mzw7q.js} +23 -23
- package/dist/chunks/{file-retention-7yj99b4g.js → model-resolver-309z119j.js} +32 -32
- package/dist/chunks/{file-retention-16gx62bp.js → model-resolver-312373c7.js} +2 -2
- package/dist/chunks/{file-retention-rb8xkgfd.js → model-resolver-36cdy2c1.js} +13 -13
- package/dist/chunks/{file-retention-2bef5nan.js → model-resolver-3ckfa135.js} +35 -35
- package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-gzj4cxdc.js → model-resolver-3kk1mn5p.js} +22 -22
- package/dist/chunks/{file-retention-21b4tg1x.js → model-resolver-3nk0dpt4.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-dgk65g6a.js → model-resolver-3xs92vpq.js} +11 -11
- package/dist/chunks/{file-retention-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-60amgp41.js → model-resolver-40py8n81.js} +4 -4
- package/dist/chunks/{file-retention-z5jasrp0.js → model-resolver-4crx14w5.js} +25 -25
- package/dist/chunks/{file-retention-nt2xy26d.js → model-resolver-4g4nqdg4.js} +32 -32
- package/dist/chunks/{file-retention-d9s573fh.js → model-resolver-4sn99hha.js} +7 -7
- package/dist/chunks/{file-retention-481cetth.js → model-resolver-4txbmjfp.js} +13 -13
- package/dist/chunks/{file-retention-psbrwbtd.js → model-resolver-510m7gjw.js} +5 -5
- package/dist/chunks/{file-retention-7s2tn799.js → model-resolver-52fpbh6z.js} +8 -8
- package/dist/chunks/{file-retention-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
- package/dist/chunks/{file-retention-pzwaf65z.js → model-resolver-5aexa4he.js} +37 -37
- package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-341r3tte.js → model-resolver-5dhepvmf.js} +35 -35
- package/dist/chunks/{file-retention-fhff0x2d.js → model-resolver-5e1pzs32.js} +9 -9
- package/dist/chunks/{file-retention-4bgvjpaj.js → model-resolver-5g9mk9a9.js} +19 -19
- package/dist/chunks/{file-retention-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-szekdmz8.js → model-resolver-5vy8s2tt.js} +24 -24
- package/dist/chunks/{file-retention-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
- package/dist/chunks/{file-retention-dwwxx3ad.js → model-resolver-6660xsne.js} +25 -25
- package/dist/chunks/{file-retention-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-4q599fyn.js → model-resolver-67pxqpv3.js} +8 -8
- package/dist/chunks/{file-retention-snjen9h6.js → model-resolver-68z8ec46.js} +45 -45
- package/dist/chunks/{file-retention-9gk01zf5.js → model-resolver-6j0d4bfq.js} +13 -13
- package/dist/chunks/{file-retention-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-q1n3a0d0.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{file-retention-ez49j3s8.js → model-resolver-6q5nb5ny.js} +21 -21
- package/dist/chunks/{file-retention-1fdwkrhc.js → model-resolver-6w0z1cey.js} +36 -36
- package/dist/chunks/{file-retention-tffeed3q.js → model-resolver-6z9y85k1.js} +12 -12
- package/dist/chunks/{file-retention-pg27pa1a.js → model-resolver-782920ah.js} +35 -35
- package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/model-resolver-7fj5dwt0.js +18 -0
- package/dist/chunks/{file-retention-tnppw0jd.js → model-resolver-7y2ssk5t.js} +37 -37
- package/dist/chunks/{file-retention-xj0hxfaf.js → model-resolver-7y4dpfk6.js} +18 -18
- package/dist/chunks/{file-retention-0jq9fyba.js → model-resolver-82rhge12.js} +9 -9
- package/dist/chunks/{file-retention-rjpmn9fg.js → model-resolver-86b7s5s7.js} +28 -28
- package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-ps5z82g9.js → model-resolver-8f7td570.js} +5 -5
- package/dist/chunks/{file-retention-srey4qzw.js → model-resolver-8tb71k3x.js} +9 -9
- package/dist/chunks/{file-retention-p3t9fn4d.js → model-resolver-8w7za83g.js} +9 -9
- package/dist/chunks/{file-retention-vd7rzxqf.js → model-resolver-8zh4h089.js} +5 -5
- package/dist/chunks/{file-retention-3q73b6mj.js → model-resolver-92x5e2q8.js} +25 -25
- package/dist/chunks/{file-retention-4pf42kt4.js → model-resolver-93934eye.js} +6 -6
- package/dist/chunks/{file-retention-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-jpq1mxv8.js → model-resolver-9a3afvhq.js} +10 -10
- package/dist/chunks/{file-retention-sc51f7bh.js → model-resolver-9eq5kwq7.js} +8 -8
- package/dist/chunks/{file-retention-f79rnm05.js → model-resolver-9qk46xax.js} +8 -8
- package/dist/chunks/{file-retention-ccrmjght.js → model-resolver-a0gyjzw3.js} +36 -36
- package/dist/chunks/{file-retention-4z58m4b4.js → model-resolver-a81kfqvn.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-60e937tk.js → model-resolver-aaz4evtx.js} +18 -18
- package/dist/chunks/{file-retention-yg47fsda.js → model-resolver-ae8tse6q.js} +10 -10
- package/dist/chunks/{file-retention-80scg3y3.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{file-retention-rr5wp26c.js → model-resolver-akrnn5pm.js} +11 -11
- package/dist/chunks/{file-retention-s2byz38y.js → model-resolver-ap4mmp3q.js} +4 -4
- package/dist/chunks/{file-retention-4bpxp8jr.js → model-resolver-aye9t8w1.js} +11 -11
- package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-bbb7krmb.js → model-resolver-b9yq29xv.js} +1 -1
- package/dist/chunks/{file-retention-zcrspsvn.js → model-resolver-baaqp4zd.js} +4 -4
- package/dist/chunks/{file-retention-2fz0za61.js → model-resolver-beyx1pkk.js} +22 -22
- package/dist/chunks/{file-retention-c1y4bq5r.js → model-resolver-bt48ydtb.js} +15 -15
- package/dist/chunks/{file-retention-xsq4etav.js → model-resolver-c63b3eb6.js} +30 -30
- package/dist/chunks/{file-retention-d9bmnkpe.js → model-resolver-cdynj408.js} +23 -23
- package/dist/chunks/{file-retention-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-g5q29pcg.js → model-resolver-cq364ng9.js} +22 -22
- package/dist/chunks/{file-retention-yec3cmat.js → model-resolver-d1wa36m8.js} +5 -5
- package/dist/chunks/{file-retention-n2az5f76.js → model-resolver-d2va843e.js} +10 -10
- package/dist/chunks/{file-retention-7h1rvsdd.js → model-resolver-d96fczqh.js} +17 -17
- package/dist/chunks/{file-retention-jwhd9bgz.js → model-resolver-dgdn6h98.js} +15 -15
- package/dist/chunks/{file-retention-7k8jnmap.js → model-resolver-dj2b5gt2.js} +44 -44
- package/dist/chunks/{file-retention-r2m716tb.js → model-resolver-djszqvmq.js} +9 -9
- package/dist/chunks/{file-retention-41rmpfss.js → model-resolver-dt8c207w.js} +25 -25
- package/dist/chunks/{file-retention-yx0fmswe.js → model-resolver-dyqx6pj7.js} +14 -14
- package/dist/chunks/{file-retention-gkcpgxvn.js → model-resolver-e08g86r3.js} +11 -11
- package/dist/chunks/{file-retention-e5etnha4.js → model-resolver-e0f9fjmh.js} +18 -18
- package/dist/chunks/{file-retention-gjyhvyzk.js → model-resolver-e5tcccaa.js} +11 -11
- package/dist/chunks/{file-retention-kmkwybff.js → model-resolver-e6hd9jay.js} +4 -4
- package/dist/chunks/{file-retention-xznz5zdk.js → model-resolver-e72j5d8n.js} +1 -1
- package/dist/chunks/{file-retention-jdtz6xe6.js → model-resolver-e80a14hq.js} +11 -11
- package/dist/chunks/{file-retention-yr5t88vm.js → model-resolver-e8v7tggz.js} +5 -5
- package/dist/chunks/{file-retention-yd5d63z4.js → model-resolver-e9e65bk8.js} +29 -29
- package/dist/chunks/{file-retention-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{file-retention-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-rjbmcc11.js → model-resolver-enf33bpj.js} +11 -11
- package/dist/chunks/{file-retention-782bh3pr.js → model-resolver-es818167.js} +25 -25
- package/dist/chunks/{file-retention-rkp2w2jx.js → model-resolver-esmfnkq0.js} +34 -34
- package/dist/chunks/{file-retention-958ry1en.js → model-resolver-et80q73h.js} +20 -20
- package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-36cgn824.js → model-resolver-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-retention-y1zeze83.js → model-resolver-f83da79h.js} +5 -5
- package/dist/chunks/{file-retention-addykxcr.js → model-resolver-f9d9xn2t.js} +29 -29
- package/dist/chunks/{file-retention-fx4fe4nq.js → model-resolver-fbmcmy2w.js} +4 -4
- package/dist/chunks/{file-retention-61h3kr51.js → model-resolver-fgwp6wvs.js} +31 -31
- package/dist/chunks/{file-retention-r59n77gh.js → model-resolver-fwwaqksj.js} +22 -22
- package/dist/chunks/{file-retention-cjj4r78p.js → model-resolver-g4zc67y8.js} +12 -12
- package/dist/chunks/{file-retention-679y6aj6.js → model-resolver-g7nh3h7e.js} +19 -19
- package/dist/chunks/{file-retention-vnwmzs4a.js → model-resolver-gcavn3wx.js} +5 -5
- package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-3556dn8t.js → model-resolver-gg3hnhsj.js} +1 -1
- package/dist/chunks/{file-retention-hfym5axa.js → model-resolver-gjr5vbhk.js} +10 -10
- package/dist/chunks/{file-retention-r5d8z5dp.js → model-resolver-gktpjf8e.js} +10 -10
- package/dist/chunks/{file-retention-5pk58n1t.js → model-resolver-gn1qq9yk.js} +26 -26
- package/dist/chunks/{file-retention-yyb7tjpc.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-v9aw8j7f.js → model-resolver-gvsybxtf.js} +93 -93
- package/dist/chunks/{file-retention-dk1h4k3m.js → model-resolver-h0ttmn00.js} +27 -27
- package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-kbegyq1c.js → model-resolver-hkagk5ex.js} +2 -2
- package/dist/chunks/{file-retention-rrb87pxb.js → model-resolver-hkfaxnqd.js} +20 -20
- package/dist/chunks/{file-retention-8jxztqqt.js → model-resolver-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-retention-twd39qy8.js → model-resolver-hts4vzf1.js} +19 -19
- package/dist/chunks/{file-retention-3m43f51c.js → model-resolver-hzr2qqx8.js} +26 -26
- package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-s1a7yt6d.js → model-resolver-j63mkyf2.js} +48 -48
- package/dist/chunks/{file-retention-wd0xah3x.js → model-resolver-jjgtwx64.js} +32 -32
- package/dist/chunks/{file-retention-6scfp7gb.js → model-resolver-jjs74g98.js} +9 -9
- package/dist/chunks/{file-retention-tb1cafh6.js → model-resolver-jpqeh2wc.js} +4 -4
- package/dist/chunks/{file-retention-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-6zcagf6x.js → model-resolver-k41vwr9d.js} +6 -6
- package/dist/chunks/{file-retention-ekf0jtj0.js → model-resolver-k5qvkmwp.js} +3 -3
- package/dist/chunks/{file-retention-5khy2bd0.js → model-resolver-kb6jkvf1.js} +39 -39
- package/dist/chunks/{file-retention-vsx1rdgx.js → model-resolver-kjaarbta.js} +21 -21
- package/dist/chunks/{file-retention-qeb5ksby.js → model-resolver-kjwygmc9.js} +53 -53
- package/dist/chunks/{file-retention-kspsnyg5.js → model-resolver-ktk6m7yv.js} +12 -12
- package/dist/chunks/{file-retention-h78cdha0.js → model-resolver-m210z9se.js} +43 -43
- package/dist/chunks/{file-retention-1caf5nrg.js → model-resolver-m2hdddfe.js} +25 -25
- package/dist/chunks/{file-retention-pzhy0znt.js → model-resolver-m3c96kre.js} +18 -18
- package/dist/chunks/{file-retention-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-q3cwr1ch.js → model-resolver-m4mq5212.js} +63 -63
- package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-8xyqwyw4.js → model-resolver-mdmxc2h2.js} +20 -20
- package/dist/chunks/{file-retention-v2hpcb12.js → model-resolver-mean0qec.js} +11 -11
- package/dist/chunks/{file-retention-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
- package/dist/chunks/{file-retention-3vzfjtr8.js → model-resolver-mgeh0yn6.js} +5 -5
- package/dist/chunks/{file-retention-ftbwh1a1.js → model-resolver-mgvjhcwg.js} +9 -9
- package/dist/chunks/{file-retention-c01tdnkp.js → model-resolver-mk4qzd84.js} +38 -38
- package/dist/chunks/{file-retention-9jbvj98d.js → model-resolver-n0tq777j.js} +8 -8
- package/dist/chunks/{file-retention-grfgqh29.js → model-resolver-nc64kt7a.js} +18 -18
- package/dist/chunks/{file-retention-gzsrjqqd.js → model-resolver-nc7t749v.js} +77 -77
- package/dist/chunks/{file-retention-fw2v9256.js → model-resolver-ncjresk4.js} +8 -8
- package/dist/chunks/{file-retention-n7d88tpn.js → model-resolver-ndmv45hp.js} +3 -3
- package/dist/chunks/{file-retention-rwh68y4k.js → model-resolver-ndqtf2h8.js} +6 -6
- package/dist/chunks/{file-retention-5gerj4ra.js → model-resolver-nrsh6tk0.js} +47 -47
- package/dist/chunks/{file-retention-4s8ysvrb.js → model-resolver-nv6em8ry.js} +40 -40
- package/dist/chunks/{file-retention-y4spq9gz.js → model-resolver-p0d9yfeb.js} +94 -94
- package/dist/chunks/{file-retention-vxzh5eqq.js → model-resolver-pc4b88sv.js} +4 -4
- package/dist/chunks/{file-retention-jz6k0e3h.js → model-resolver-pfk6y5a9.js} +3 -3
- package/dist/chunks/{file-retention-ydgy0jv4.js → model-resolver-phpw85vv.js} +4 -4
- package/dist/chunks/{file-retention-zgw5b4rz.js → model-resolver-pjf50ww2.js} +13 -13
- package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-g298hghc.js → model-resolver-pq4mxcs4.js} +32 -32
- package/dist/chunks/{file-retention-3czz45a3.js → model-resolver-q5cxqncr.js} +3 -3
- package/dist/chunks/{file-retention-at5d07az.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{file-retention-njhj3ca1.js → model-resolver-qd6sxt3f.js} +13 -13
- package/dist/chunks/{file-retention-2pnhn36q.js → model-resolver-qj8eh1ht.js} +21 -21
- package/dist/chunks/{file-retention-qgc72k7m.js → model-resolver-qkn0bf4a.js} +8 -8
- package/dist/chunks/{file-retention-amhzemjk.js → model-resolver-qpyj4d94.js} +11 -11
- package/dist/chunks/{file-retention-vk4wj6sj.js → model-resolver-qsb13eat.js} +24 -24
- package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-dvzj1xmf.js → model-resolver-qtg64bph.js} +17 -17
- package/dist/chunks/{file-retention-1wr3xbz8.js → model-resolver-qvreyy9g.js} +5 -5
- package/dist/chunks/{file-retention-30dn2p1d.js → model-resolver-qxcr5sj8.js} +27 -27
- package/dist/chunks/{file-retention-1fscjbh9.js → model-resolver-r1vxhqvv.js} +3 -3
- package/dist/chunks/{file-retention-1bbkgx8g.js → model-resolver-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-retention-474p48fz.js → model-resolver-rbcy0mcv.js} +13 -13
- package/dist/chunks/{file-retention-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-chthj8nn.js → model-resolver-rrx1e06a.js} +17 -17
- package/dist/chunks/{file-retention-h6p0mwy3.js → model-resolver-rz6dkkgy.js} +15 -15
- package/dist/chunks/{file-retention-k0aew57z.js → model-resolver-s61t9ejp.js} +40 -40
- package/dist/chunks/{file-retention-4jrfqp12.js → model-resolver-s6v4rjr2.js} +29 -29
- package/dist/chunks/{file-retention-kag9wx21.js → model-resolver-s6vew4x4.js} +27 -27
- package/dist/chunks/{file-retention-gx02ghzj.js → model-resolver-sbgs7n57.js} +9 -9
- package/dist/chunks/{file-retention-9asxwhye.js → model-resolver-t7zmjtqp.js} +10 -10
- package/dist/chunks/{file-retention-4x93m9qy.js → model-resolver-t88yr9ve.js} +20 -20
- package/dist/chunks/{file-retention-2a31wvsa.js → model-resolver-tafnspmy.js} +17 -17
- package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-9ckhpt6a.js → model-resolver-tbebh6wt.js} +35 -35
- package/dist/chunks/{file-retention-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-nnk7v8pm.js → model-resolver-tf4wmns1.js} +8 -8
- package/dist/chunks/{file-retention-5dg6696f.js → model-resolver-tjb0cp7v.js} +33 -33
- package/dist/chunks/{file-retention-3vehk3w1.js → model-resolver-tn2czw04.js} +15 -15
- package/dist/chunks/{file-retention-jrh7cjv9.js → model-resolver-tv1yapnf.js} +19 -19
- package/dist/chunks/{file-retention-4f1mqxn7.js → model-resolver-tvmwean2.js} +4 -4
- package/dist/chunks/{file-retention-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-5epvw41m.js → model-resolver-tyr8t8jb.js} +38 -38
- package/dist/chunks/{file-retention-3st197qb.js → model-resolver-v4a37k2n.js} +59 -59
- package/dist/chunks/{file-retention-p9te1kmc.js → model-resolver-va9r1m6h.js} +43 -43
- package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-wapkz1da.js → model-resolver-vqmd05dp.js} +22 -22
- package/dist/chunks/{file-retention-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-84txncab.js → model-resolver-w1eejvng.js} +5 -5
- package/dist/chunks/{file-retention-yte8k0cp.js → model-resolver-w2w41gxq.js} +21 -21
- package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-frtvfavf.js → model-resolver-wb1r8yr9.js} +6 -6
- package/dist/chunks/{file-retention-dp089qyj.js → model-resolver-wcqjfzwh.js} +11 -11
- package/dist/chunks/{file-retention-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-yrc0g15d.js → model-resolver-wg9731he.js} +3 -3
- package/dist/chunks/{file-retention-w2wbxgzd.js → model-resolver-wgcg4671.js} +7 -7
- package/dist/chunks/{file-retention-qcmd6j3d.js → model-resolver-wgtcm0m7.js} +4 -4
- package/dist/chunks/{file-retention-gja6y8ab.js → model-resolver-wj7vq2ea.js} +22 -22
- package/dist/chunks/{file-retention-f9v3w90c.js → model-resolver-wmmnpfs6.js} +19 -19
- package/dist/chunks/{file-retention-4a49dmp5.js → model-resolver-wsr3wm9b.js} +18 -18
- package/dist/chunks/{file-retention-e4e0rb9m.js → model-resolver-wwqbqry9.js} +11 -11
- package/dist/chunks/model-resolver-wzeytf8f.js +252 -0
- package/dist/chunks/{file-retention-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-9hbvw80x.js → model-resolver-x3ymtx59.js} +16 -16
- package/dist/chunks/{file-retention-mpk0rfs5.js → model-resolver-x661k3y3.js} +4 -4
- package/dist/chunks/{file-retention-t3tn9a53.js → model-resolver-x929eknx.js} +9 -9
- package/dist/chunks/{file-retention-ew2nq7xx.js → model-resolver-xa1a1wzx.js} +6 -6
- package/dist/chunks/{file-retention-s6yj2pcz.js → model-resolver-xa1e8bc0.js} +6 -6
- package/dist/chunks/{file-retention-cg045a5a.js → model-resolver-xdxwx81a.js} +22 -22
- package/dist/chunks/model-resolver-xh9cn0qf.js +26 -0
- package/dist/chunks/{file-retention-g87nsqnj.js → model-resolver-xkmg7qp8.js} +5 -5
- package/dist/chunks/{file-retention-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-20k655vp.js → model-resolver-xn8j33mp.js} +8 -8
- package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-43m7x77p.js → model-resolver-y1k0c4q8.js} +20 -20
- package/dist/chunks/{file-retention-nenvs776.js → model-resolver-y6mjvh6p.js} +9 -9
- package/dist/chunks/{file-retention-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-14rxwr6z.js → model-resolver-yc2dt6gh.js} +47 -47
- package/dist/chunks/{file-retention-zzp9hs8b.js → model-resolver-yedg7326.js} +33 -33
- package/dist/chunks/{file-retention-4dcyp64e.js → model-resolver-yefqq88c.js} +11 -11
- package/dist/chunks/{file-retention-x1mx0z9d.js → model-resolver-yetcaet6.js} +10 -10
- package/dist/chunks/{file-retention-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-c9h5a3rv.js → model-resolver-ys8bcvtf.js} +32 -32
- package/dist/chunks/{file-retention-k6c967g7.js → model-resolver-yzscc1x4.js} +3 -3
- package/dist/chunks/{file-retention-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-xw6mcszy.js → model-resolver-z28qgkdb.js} +16 -16
- package/dist/chunks/{file-retention-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-rq775frq.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-2yxf3rmy.js → model-resolver-zexagpgf.js} +34 -34
- package/dist/chunks/{file-retention-b0a139tp.js → model-resolver-zgnhzt77.js} +5 -5
- package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-3gd62aj9.js → model-resolver-zyj926zy.js} +188 -188
- package/dist/chunks/{file-retention-j6wzn4gt.js → model-resolver-zzypbymf.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-retention-0awdyt48.js +0 -26
- package/dist/chunks/file-retention-5g7fvmhm.js +0 -507
- package/dist/chunks/file-retention-c2k3cth8.js +0 -252
- package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
- /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rz6dkkgy.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./model-resolver-m4mq5212.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./model-resolver-gn1qq9yk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin44,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID11.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin44 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service72;
|
|
51
|
+
const permission = yield* Service73;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin40 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output5, description4, toModelOutput2, Plugin44, exports_skill3 };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./model-resolver-x3ymtx59.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./model-resolver-0cjtfqfg.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service16,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node18
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service78;
|
|
95
|
+
const search = yield* Service17;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service16.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node18 = makeLocationNode({
|
|
144
|
+
service: Service16,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, node19]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
12
|
Event: () => Event21,
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
13
|
+
ID: () => ID17,
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID17 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
25
|
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
|
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID17, Current3, Info33, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service81,
|
|
4
|
+
node84
|
|
5
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service8,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer7,
|
|
17
|
+
node: () => node10
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service8 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service8.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node10 = makeGlobalNode({ service: Service8, layer: layer7, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service8, layer7, node10, exports_sdk };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info21 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service47,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service47, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service47.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service62, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node50 = makeGlobalNode({ service: Service47, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service47, node50, exports_environment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service80
|
|
9
|
-
} from "./file-retention-9hbvw80x.js";
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service78
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-x3ymtx59.js";
|
|
10
|
+
import {
|
|
11
|
+
Service64
|
|
12
|
+
} from "./model-resolver-5vy8s2tt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./model-resolver-m3c96kre.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./model-resolver-4g4nqdg4.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service73
|
|
24
|
+
} from "./model-resolver-m4mq5212.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./model-resolver-wsr3wm9b.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input8,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin45,
|
|
39
|
+
name: () => name8,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name8 = "glob";
|
|
46
|
+
var Input8 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin45 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service64;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service78;
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service73;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name8,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input8,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name8,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin39 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name8, Input8, Output6, toModelContent4, Plugin45, exports_glob };
|