@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin29,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin29 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin29, exports_tool_input_repair };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service77,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node80
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service81;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service77.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node80 = makeLocationNode({ service: Service77, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info30, Service77, node80, exports_agent4, Event20 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-wgcg4671.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-b9yq29xv.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./model-resolver-aaz4evtx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-x3ymtx59.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./model-resolver-kjwygmc9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin28
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin28 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
|
+
const bus = yield* Service81;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin28, exports_command2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./model-resolver-5vy8s2tt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./model-resolver-4g4nqdg4.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service64;
|
|
335
|
+
return Service12.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 node14 = makeLocationNode({ service: Service12, layer, deps: [node67] });
|
|
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,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service58,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service58 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service58.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node61 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service58, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node61, exports_select };
|