@opencode/core 0.0.0-dev-19560 → 0.0.0-dev-19562
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{instance-atkakgh2.js → model-resolver-00e8a32v.js} +7 -7
- package/dist/chunks/{instance-gkv26jye.js → model-resolver-00n9sm3e.js} +9 -9
- package/dist/chunks/{instance-2k8khapm.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{instance-5qsb12y6.js → model-resolver-0mqwdcna.js} +27 -27
- package/dist/chunks/{instance-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-wbkyxrgf.js → model-resolver-0r7yqxbf.js} +5 -5
- package/dist/chunks/{instance-dfe8djrf.js → model-resolver-0v53mg2y.js} +4 -4
- package/dist/chunks/{instance-a68v6zx7.js → model-resolver-13ggeyh8.js} +8 -8
- package/dist/chunks/{instance-92twm15x.js → model-resolver-14fxtwre.js} +47 -47
- package/dist/chunks/{instance-7b5gkxp8.js → model-resolver-15abmk5b.js} +19 -19
- package/dist/chunks/{instance-j028xdjb.js → model-resolver-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instance-ex5dzrg8.js → model-resolver-1cn8af6j.js} +14 -14
- package/dist/chunks/{instance-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-5mmf80mp.js → model-resolver-1xzg4q7f.js} +8 -8
- package/dist/chunks/{instance-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{instance-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{instance-s5bmgc6k.js → model-resolver-24p1656x.js} +34 -34
- package/dist/chunks/{instance-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-cpy6gm2a.js → model-resolver-2d57kztd.js} +6 -6
- package/dist/chunks/{instance-53fk4k5k.js → model-resolver-2jb6wffc.js} +32 -32
- package/dist/chunks/{instance-n4mt7cy9.js → model-resolver-2ps3j6a4.js} +26 -26
- package/dist/chunks/{instance-vmvrpa7f.js → model-resolver-2rwb14mb.js} +2 -2
- package/dist/chunks/{instance-d6s6sv1w.js → model-resolver-390mr0wc.js} +5 -5
- package/dist/chunks/{instance-2kccvtj4.js → model-resolver-3a0pq44c.js} +11 -11
- package/dist/chunks/{instance-c8sb3dx4.js → model-resolver-3aa2qh1v.js} +17 -17
- package/dist/chunks/{instance-zeqhkn80.js → model-resolver-3adkf2hq.js} +25 -25
- package/dist/chunks/{instance-0z1bdv2c.js → model-resolver-3ccz5h33.js} +25 -25
- package/dist/chunks/{instance-e5xpd6yj.js → model-resolver-3f15rfkp.js} +6 -6
- package/dist/chunks/{instance-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-tqgpkrg9.js → model-resolver-472r768p.js} +3 -3
- package/dist/chunks/{instance-zam36egm.js → model-resolver-49sc2kz0.js} +9 -9
- package/dist/chunks/{instance-3zwnvr1n.js → model-resolver-4cfrandj.js} +55 -55
- package/dist/chunks/{instance-drgn1tc1.js → model-resolver-4hdjqv5n.js} +20 -20
- package/dist/chunks/{instance-hchjte0m.js → model-resolver-4j4p0yst.js} +5 -5
- package/dist/chunks/{instance-wycsdkc3.js → model-resolver-4w79hth0.js} +9 -9
- package/dist/chunks/{instance-p8bp9xy3.js → model-resolver-4y9xcd5s.js} +14 -14
- package/dist/chunks/{instance-k2dherqe.js → model-resolver-50spkatp.js} +1 -1
- package/dist/chunks/{instance-y56ehv6b.js → model-resolver-52vrzpkh.js} +9 -9
- package/dist/chunks/{instance-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
- package/dist/chunks/{instance-cqqhcsta.js → model-resolver-5907cmhj.js} +12 -12
- package/dist/chunks/{instance-hyqhh812.js → model-resolver-5cneagdz.js} +20 -21
- package/dist/chunks/{instance-vgt8j0sp.js → model-resolver-5d9hgq6a.js} +25 -25
- package/dist/chunks/{instance-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-cfadke7g.js → model-resolver-5pqk165g.js} +18 -18
- package/dist/chunks/{instance-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-8xz3zc3b.js → model-resolver-5w049mzn.js} +17 -17
- package/dist/chunks/{instance-h3z8dn0k.js → model-resolver-61rt74dg.js} +11 -11
- package/dist/chunks/{instance-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{instance-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-9v1w22sa.js → model-resolver-6q8410ef.js} +10 -10
- package/dist/chunks/{instance-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-e0renkat.js → model-resolver-76wy3d38.js} +31 -31
- package/dist/chunks/{instance-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-3vg8y1ak.js → model-resolver-7gwa0hgg.js} +6 -6
- package/dist/chunks/{instance-1wkp69xd.js → model-resolver-7kzjj59j.js} +9 -9
- package/dist/chunks/{instance-sbz3393s.js → model-resolver-7qpx1xb8.js} +38 -38
- package/dist/chunks/{instance-hknnrgbc.js → model-resolver-7srvnxx8.js} +4 -4
- package/dist/chunks/{instance-774mmb8v.js → model-resolver-7yhtqe52.js} +6 -6
- package/dist/chunks/{instance-we1nej8k.js → model-resolver-7z0etnq8.js} +9 -9
- package/dist/chunks/{instance-mth96381.js → model-resolver-84r56gr5.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → model-resolver-89znhe33.js} +4 -4
- package/dist/chunks/{instance-j65qfcye.js → model-resolver-8as59qyc.js} +8 -8
- package/dist/chunks/{instance-cq9s2pzj.js → model-resolver-8cj6vp2e.js} +8 -8
- package/dist/chunks/{instance-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-7jc459k6.js → model-resolver-8jnsm5sz.js} +4 -4
- package/dist/chunks/{instance-ngqd1g3c.js → model-resolver-8nk5pr3x.js} +4 -4
- package/dist/chunks/{instance-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{instance-36y50440.js → model-resolver-8q68r2wm.js} +36 -36
- package/dist/chunks/{instance-d0jvxa8c.js → model-resolver-8ra0ktpd.js} +1 -1
- package/dist/chunks/{instance-g6ybfmtd.js → model-resolver-94jd98dy.js} +3 -3
- package/dist/chunks/{instance-ad0exsgz.js → model-resolver-97c56c16.js} +24 -24
- package/dist/chunks/{instance-xaj3xdtg.js → model-resolver-9anxe710.js} +4 -4
- package/dist/chunks/{instance-mf0cqsb6.js → model-resolver-9gh4k6y6.js} +5 -5
- package/dist/chunks/{instance-sth5w77v.js → model-resolver-9qc5egqb.js} +9 -9
- package/dist/chunks/{instance-gzz0cat6.js → model-resolver-9xpp069q.js} +36 -36
- package/dist/chunks/{instance-b0ew86wa.js → model-resolver-9ynvy50g.js} +18 -18
- package/dist/chunks/{instance-b685mj8n.js → model-resolver-a10qfg7z.js} +13 -13
- package/dist/chunks/{instance-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{instance-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-69m4g4fy.js → model-resolver-aawxrc71.js} +8 -8
- package/dist/chunks/{instance-pjc1x023.js → model-resolver-ae2xf8y7.js} +46 -46
- package/dist/chunks/{instance-2vd2t3ny.js → model-resolver-agnae2h9.js} +13 -13
- package/dist/chunks/{instance-mnd9tb9p.js → model-resolver-ah1s8aaq.js} +89 -89
- package/dist/chunks/{instance-7dvjm3dp.js → model-resolver-ajpf6mah.js} +6 -6
- package/dist/chunks/{instance-qx23bgy9.js → model-resolver-b1k5mb32.js} +19 -19
- package/dist/chunks/{instance-ehtqn8cz.js → model-resolver-b21wsm0h.js} +14 -14
- package/dist/chunks/{instance-8c5cat9p.js → model-resolver-b4ymjb7p.js} +34 -34
- package/dist/chunks/{instance-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-k0dqn2qy.js → model-resolver-b9dtzdzx.js} +15 -15
- package/dist/chunks/{instance-v8q3yec4.js → model-resolver-ba05va59.js} +32 -32
- package/dist/chunks/{instance-t6kmwkf4.js → model-resolver-ba67t4eh.js} +16 -16
- package/dist/chunks/{instance-5mrs3756.js → model-resolver-baajpyvs.js} +24 -24
- package/dist/chunks/{instance-kk2xw3y7.js → model-resolver-bh23canw.js} +10 -10
- package/dist/chunks/{instance-azcgtc4a.js → model-resolver-bw3m288y.js} +45 -45
- package/dist/chunks/{instance-83c75zz2.js → model-resolver-c20v218m.js} +12 -12
- package/dist/chunks/{instance-jxcs6xvz.js → model-resolver-c2nzhxaj.js} +11 -11
- package/dist/chunks/{instance-8hd4v6n4.js → model-resolver-c7ssnmaj.js} +4 -4
- package/dist/chunks/{instance-we06zyxx.js → model-resolver-cdqcdd4q.js} +4 -4
- package/dist/chunks/{instance-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instance-r837sqjd.js → model-resolver-ck5d9zpy.js} +10 -10
- package/dist/chunks/{instance-bajakh74.js → model-resolver-cq37gk0t.js} +4 -4
- package/dist/chunks/{instance-q5asdkn4.js → model-resolver-ctmr8zqa.js} +4 -4
- package/dist/chunks/{instance-czt6nj1g.js → model-resolver-d9hjbqwg.js} +7 -7
- package/dist/chunks/{instance-zsdcbzkn.js → model-resolver-d9mtv62x.js} +22 -22
- package/dist/chunks/{instance-wdq4bp78.js → model-resolver-dcf7e85t.js} +6 -6
- package/dist/chunks/{instance-d34phyfm.js → model-resolver-ddj422qv.js} +26 -26
- package/dist/chunks/{instance-pa8pe2x7.js → model-resolver-dgj0dq1g.js} +8 -8
- package/dist/chunks/{instance-6em5btvd.js → model-resolver-dhtkj142.js} +10 -10
- package/dist/chunks/{instance-ptq0xf58.js → model-resolver-dj4cd8g6.js} +38 -38
- package/dist/chunks/{instance-h64xq93z.js → model-resolver-drq8acbn.js} +25 -25
- package/dist/chunks/{instance-zx6465ex.js → model-resolver-dsavrnz6.js} +11 -11
- package/dist/chunks/{instance-e5nv3ght.js → model-resolver-e5nv3ght.js} +2 -2
- package/dist/chunks/model-resolver-e6q3pz3t.js +76 -0
- package/dist/chunks/{instance-4qgj4wmy.js → model-resolver-e6qnhjcz.js} +15 -15
- package/dist/chunks/{instance-e82z9tr0.js → model-resolver-e82z9tr0.js} +1 -1
- package/dist/chunks/{instance-7j92jdde.js → model-resolver-ec8389mk.js} +4 -4
- package/dist/chunks/{instance-zqexjq4g.js → model-resolver-egap6qp7.js} +20 -20
- package/dist/chunks/{instance-ypr31vm5.js → model-resolver-ehav94k5.js} +17 -17
- package/dist/chunks/{instance-1kzqz27k.js → model-resolver-eq6j5b08.js} +40 -40
- package/dist/chunks/{instance-4zvdp377.js → model-resolver-eq724rxw.js} +15 -15
- package/dist/chunks/{instance-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-9tj4409s.js → model-resolver-f2b3pcdc.js} +43 -43
- package/dist/chunks/{instance-r8xr0va3.js → model-resolver-f2n192rq.js} +4 -4
- package/dist/chunks/{instance-nrdmrqsx.js → model-resolver-f3ngv102.js} +4 -4
- package/dist/chunks/{instance-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{instance-9e84n160.js → model-resolver-fbwxg4d7.js} +37 -37
- package/dist/chunks/{instance-vq1yc3e1.js → model-resolver-fc7q7xy2.js} +30 -30
- package/dist/chunks/{instance-jkh9vv9y.js → model-resolver-fff2ww6r.js} +20 -20
- package/dist/chunks/model-resolver-fj1dxc35.js +466 -0
- package/dist/chunks/{instance-nr4nqx3r.js → model-resolver-fke1fcjd.js} +14 -14
- package/dist/chunks/{instance-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-p27gkp7g.js → model-resolver-g1amre2a.js} +18 -18
- package/dist/chunks/model-resolver-ga8867b0.js +26 -0
- package/dist/chunks/{instance-z4pn5b5y.js → model-resolver-gapn44fz.js} +23 -23
- package/dist/chunks/{instance-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-3fc6dm20.js → model-resolver-gdvy8fx6.js} +4 -4
- package/dist/chunks/{instance-z8pb3dnf.js → model-resolver-gea7vc3h.js} +5 -5
- package/dist/chunks/{instance-z0yk10rq.js → model-resolver-gfraf4kn.js} +26 -26
- package/dist/chunks/{instance-bf1n3tvh.js → model-resolver-gh1at4hc.js} +18 -18
- package/dist/chunks/{instance-th5km1p3.js → model-resolver-gv6a8nnw.js} +5 -5
- package/dist/chunks/{instance-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-4xhhjths.js → model-resolver-h10s6dah.js} +5 -5
- package/dist/chunks/{instance-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-ae6rh24q.js → model-resolver-h9h2cf90.js} +13 -13
- package/dist/chunks/{instance-8zn8nz2a.js → model-resolver-hk2b1w8q.js} +78 -78
- package/dist/chunks/model-resolver-ht5y0zrb.js +18 -0
- package/dist/chunks/{instance-jj25k7p6.js → model-resolver-hwt2n11x.js} +25 -25
- package/dist/chunks/{instance-2gvjmcc6.js → model-resolver-hxnmyzpz.js} +26 -26
- package/dist/chunks/{instance-kpy511kd.js → model-resolver-j4h9n0kh.js} +25 -25
- package/dist/chunks/{instance-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-b09hzw3k.js → model-resolver-j699j8bt.js} +2 -2
- package/dist/chunks/{instance-7ap4b03p.js → model-resolver-j8egexsa.js} +4 -4
- package/dist/chunks/{instance-8d465zne.js → model-resolver-jb1x2pah.js} +24 -24
- package/dist/chunks/{instance-mydvtj77.js → model-resolver-jcabrnmj.js} +20 -20
- package/dist/chunks/{instance-mwcck7hd.js → model-resolver-jz0gg2wa.js} +10 -10
- package/dist/chunks/{instance-epfk9eef.js → model-resolver-jzz0khf2.js} +6 -6
- package/dist/chunks/{instance-7q07g5d7.js → model-resolver-k43t2cp1.js} +8 -8
- package/dist/chunks/{instance-v49xabdw.js → model-resolver-k5z1e6p1.js} +7 -7
- package/dist/chunks/{instance-zw519yra.js → model-resolver-kbhm0m0a.js} +15 -15
- package/dist/chunks/{instance-k7azvhe8.js → model-resolver-kdqbr4kj.js} +5 -5
- package/dist/chunks/{instance-e0qjrv0a.js → model-resolver-kenhkcqf.js} +30 -30
- package/dist/chunks/{instance-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-ygpzgdt9.js → model-resolver-kpcpvznn.js} +22 -27
- package/dist/chunks/{instance-xcdrtwcw.js → model-resolver-m1j7qv8x.js} +18 -18
- package/dist/chunks/{instance-wr1sjn0z.js → model-resolver-m1n5w1f6.js} +10 -10
- package/dist/chunks/{instance-v6rh28k5.js → model-resolver-m3e6h5hy.js} +15 -15
- package/dist/chunks/{instance-8nm5f5q1.js → model-resolver-m60j7x9s.js} +11 -11
- package/dist/chunks/{instance-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-mvt9nceh.js → model-resolver-mbk19yfb.js} +18 -18
- package/dist/chunks/{instance-eck9pjqj.js → model-resolver-mcrwpmnc.js} +8 -8
- package/dist/chunks/{instance-msq0jde0.js → model-resolver-mfhfdr54.js} +4 -4
- package/dist/chunks/{instance-eskh13hc.js → model-resolver-mp0nztn2.js} +14 -14
- package/dist/chunks/{instance-5j4ntxp7.js → model-resolver-mqz2skd6.js} +16 -16
- package/dist/chunks/{instance-ekdcxhm1.js → model-resolver-mx83bqr4.js} +17 -17
- package/dist/chunks/{instance-y7n2aehx.js → model-resolver-my4mn6ec.js} +15 -15
- package/dist/chunks/{instance-wmct3y1z.js → model-resolver-nfx74p92.js} +9 -9
- package/dist/chunks/{instance-kbj2dgab.js → model-resolver-nrk5vjbf.js} +5 -5
- package/dist/chunks/{instance-tfhyw2nj.js → model-resolver-nv8khyte.js} +9 -9
- package/dist/chunks/{instance-1gpnz6yb.js → model-resolver-nvbchq6z.js} +14 -14
- package/dist/chunks/{instance-htveh2m9.js → model-resolver-p0ydpdje.js} +1 -1
- package/dist/chunks/{instance-z5tggqpm.js → model-resolver-pbky73a2.js} +3 -3
- package/dist/chunks/{instance-jk1jymwb.js → model-resolver-ph0q5yay.js} +6 -6
- package/dist/chunks/{instance-80nc4spm.js → model-resolver-pjsmk15p.js} +5 -5
- package/dist/chunks/{instance-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-y6f0p4jw.js → model-resolver-pk2244jm.js} +3 -3
- package/dist/chunks/{instance-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{instance-pngxbnqh.js → model-resolver-pmqmstmj.js} +21 -21
- package/dist/chunks/{instance-y5ncgb6j.js → model-resolver-pp4zvqwf.js} +9 -9
- package/dist/chunks/{instance-wxrmx0rn.js → model-resolver-prmjvc7r.js} +12 -12
- package/dist/chunks/{instance-3qkddhf9.js → model-resolver-prw92f66.js} +15 -15
- package/dist/chunks/{instance-hv8h34pb.js → model-resolver-ps320bc5.js} +11 -11
- package/dist/chunks/{instance-7ndm27ah.js → model-resolver-ptz3r4n8.js} +47 -47
- package/dist/chunks/{instance-1e12bvff.js → model-resolver-pvpa96jk.js} +24 -24
- package/dist/chunks/{instance-7dzgh1k2.js → model-resolver-qbybakcq.js} +42 -42
- package/dist/chunks/{instance-yr6smweb.js → model-resolver-qff9k35d.js} +11 -11
- package/dist/chunks/{instance-nbba76hd.js → model-resolver-qfw3ezrb.js} +20 -20
- package/dist/chunks/{instance-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-712qpzp3.js → model-resolver-qvb3nf84.js} +8 -8
- package/dist/chunks/{instance-cr9wy6w1.js → model-resolver-r01t9b5y.js} +6 -6
- package/dist/chunks/{instance-gmg0ptw0.js → model-resolver-r0jzbrht.js} +16 -16
- package/dist/chunks/{instance-qpyfagd9.js → model-resolver-r345bmqf.js} +11 -11
- package/dist/chunks/{instance-1p650831.js → model-resolver-r4w7q595.js} +4 -4
- package/dist/chunks/{instance-ay6drajv.js → model-resolver-r8mwk7t1.js} +32 -32
- package/dist/chunks/{instance-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-t550f9t1.js → model-resolver-rhjbct0v.js} +4 -4
- package/dist/chunks/{instance-pfc0tjjp.js → model-resolver-rj1enhmn.js} +63 -63
- package/dist/chunks/{instance-dby3ap50.js → model-resolver-rk0rec3h.js} +9 -9
- package/dist/chunks/{instance-q55tx8mb.js → model-resolver-rrh3wayh.js} +25 -25
- package/dist/chunks/{instance-990ev2kv.js → model-resolver-rxjvbk8n.js} +1 -1
- package/dist/chunks/{instance-285kwpzc.js → model-resolver-rzyh5zbg.js} +16 -16
- package/dist/chunks/{instance-rxsz3rd5.js → model-resolver-s04evagd.js} +18 -18
- package/dist/chunks/{instance-kbv9saf0.js → model-resolver-s4vvta73.js} +11 -11
- package/dist/chunks/{instance-7g5cyyyf.js → model-resolver-s6y5cb61.js} +26 -26
- package/dist/chunks/{instance-s8zy8myc.js → model-resolver-s8zy8myc.js} +2 -2
- package/dist/chunks/{instance-989cxe8f.js → model-resolver-sn15zvqk.js} +14 -14
- package/dist/chunks/{instance-nyhmxcfh.js → model-resolver-sna6xqnk.js} +32 -32
- package/dist/chunks/{instance-4671r7vn.js → model-resolver-sse3cj1p.js} +11 -11
- package/dist/chunks/{instance-3rbcg6nj.js → model-resolver-ssg4d1r7.js} +20 -20
- package/dist/chunks/{instance-adqdhdk3.js → model-resolver-stz44jcx.js} +22 -22
- package/dist/chunks/{instance-evbgk2k8.js → model-resolver-t0fxg8b9.js} +5 -5
- package/dist/chunks/{instance-tkmwgdpd.js → model-resolver-t2fc4mz5.js} +7 -7
- package/dist/chunks/{instance-pm423p2k.js → model-resolver-t67bqcnn.js} +6 -6
- package/dist/chunks/{instance-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{instance-k21rab87.js → model-resolver-tknyxa64.js} +28 -28
- package/dist/chunks/{instance-gf2az15k.js → model-resolver-tm5c6145.js} +6 -6
- package/dist/chunks/{instance-cyfxk05v.js → model-resolver-tm80w73m.js} +17 -17
- package/dist/chunks/model-resolver-tp0yv4ge.js +247 -0
- package/dist/chunks/{instance-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-vavfmh0d.js → model-resolver-twy35tz0.js} +9 -9
- package/dist/chunks/{instance-jn6ajjq2.js → model-resolver-v4gzsxzt.js} +164 -164
- package/dist/chunks/{instance-b4vf3a2b.js → model-resolver-v7xck931.js} +12 -12
- package/dist/chunks/{instance-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-qqtada7n.js → model-resolver-vqv17xr0.js} +20 -20
- package/dist/chunks/{instance-q1wsye3c.js → model-resolver-vywwb7xw.js} +2 -2
- package/dist/chunks/{instance-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-v32t8jx1.js → model-resolver-vzm76b3t.js} +6 -6
- package/dist/chunks/{instance-5wzpv73x.js → model-resolver-w39ek3wx.js} +16 -16
- package/dist/chunks/{instance-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-3vcjn72j.js → model-resolver-wc561s8t.js} +13 -13
- package/dist/chunks/{instance-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{instance-jwr40df7.js → model-resolver-wht86vv7.js} +23 -23
- package/dist/chunks/{instance-tkhxy7z6.js → model-resolver-ws3jmg0w.js} +32 -32
- package/dist/chunks/{instance-58r7h64c.js → model-resolver-wtzjvpyk.js} +11 -11
- package/dist/chunks/{instance-wvmhx4nb.js → model-resolver-wvmhx4nb.js} +2 -2
- package/dist/chunks/{instance-gk5va808.js → model-resolver-ww2jdr25.js} +17 -17
- package/dist/chunks/{instance-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-bt5b70sq.js → model-resolver-x60p6768.js} +33 -33
- package/dist/chunks/{instance-a41c1ncm.js → model-resolver-xbwfmkd1.js} +6 -6
- package/dist/chunks/{instance-6hh53734.js → model-resolver-xekzrwwc.js} +9 -9
- package/dist/chunks/{instance-rasx6tva.js → model-resolver-xg954myy.js} +6 -6
- package/dist/chunks/{instance-6wdbhf9a.js → model-resolver-xh8yz4jf.js} +11 -11
- package/dist/chunks/model-resolver-xrsqh21y.js +4 -0
- package/dist/chunks/{instance-2fz6hejr.js → model-resolver-xwqaakv5.js} +24 -24
- package/dist/chunks/{instance-w4dt659t.js → model-resolver-xxj3pgp3.js} +1 -1
- package/dist/chunks/{instance-3163fjgp.js → model-resolver-xyrnn15f.js} +47 -47
- package/dist/chunks/{instance-a1f3k8dh.js → model-resolver-xzqvznr8.js} +19 -19
- package/dist/chunks/{instance-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-sqk862es.js → model-resolver-y1xkgxqn.js} +7 -10
- package/dist/chunks/{instance-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{instance-a4spdbgn.js → model-resolver-y7pd6vgd.js} +18 -18
- package/dist/chunks/{instance-xjpk9v39.js → model-resolver-y8104vkb.js} +5 -5
- package/dist/chunks/{instance-az222bmv.js → model-resolver-yecv7nm8.js} +24 -24
- package/dist/chunks/{instance-5vyhjb32.js → model-resolver-yef4v0b4.js} +58 -58
- package/dist/chunks/{instance-53d4v5pk.js → model-resolver-yqtqx2tb.js} +1 -1
- package/dist/chunks/{instance-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-xwdfg3dx.js → model-resolver-yrz8q0k0.js} +5 -5
- package/dist/chunks/{instance-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-j1482wbs.js → model-resolver-yz1rwmdd.js} +4 -4
- package/dist/chunks/{instance-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-kpma2b8a.js → model-resolver-z0xf8849.js} +37 -37
- package/dist/chunks/{instance-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-gaf58hkh.js → model-resolver-ze55z754.js} +10 -10
- package/dist/chunks/{instance-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{instance-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-nd07399z.js → model-resolver-ztye28yt.js} +13 -13
- package/dist/chunks/{instance-77g3db33.js → model-resolver-zwqxr9ac.js} +9 -9
- package/dist/chunks/{instance-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-j311gd59.js → model-resolver-zxrxjv84.js} +6 -6
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +140 -0
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- package/dist/git.js +8 -8
- 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 +7 -7
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config/plugin/compatibility.d.ts +5 -0
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config.d.ts +10 -1
- package/dist/types/skill.d.ts +3 -6
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +74 -74
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +344 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/instance-42p734gx.js +0 -247
- package/dist/chunks/instance-hxa7m5za.js +0 -4
- package/dist/chunks/instance-phz3h32g.js +0 -18
- package/dist/chunks/instance-x067k0ta.js +0 -462
- package/dist/chunks/instance-yc2kznja.js +0 -26
- /package/dist/chunks/{instance-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-14fxtwre.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service27,
|
|
13
13
|
node32
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-ptz3r4n8.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name14
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-d9mtv62x.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions3 = {};
|
|
25
|
+
__export(exports_instructions3, {
|
|
26
|
+
McpInstructions: () => exports_instructions3,
|
|
27
|
+
Service: () => Service24,
|
|
28
28
|
layer: () => layer12,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service24 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer12 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service27;
|
|
69
|
+
return Service24.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node29 = makeLocationNode({ service: Service24, layer: layer12, deps: [node32] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service24, layer12, node29, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./model-resolver-yef4v0b4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./model-resolver-w39ek3wx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const shell = yield* Service74;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin15 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin31, exports_shell2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node75
|
|
8
|
+
} from "./model-resolver-5w049mzn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID10
|
|
11
|
+
} from "./model-resolver-xrsqh21y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service74,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node79
|
|
16
|
+
} from "./model-resolver-w39ek3wx.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event14,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info24,
|
|
31
|
+
NotFoundError: () => NotFoundError7,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node64
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event14 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info24 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID10
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID10
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service60 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service70;
|
|
63
|
+
const shell = yield* Service74;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID10.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service60.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node64 = makeLocationNode({
|
|
274
|
+
service: Service60,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node75, node79]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info24, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service60, node64, exports_pty, Event14 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./model-resolver-15abmk5b.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service37
|
|
13
|
+
} from "./model-resolver-baajpyvs.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./model-resolver-5w049mzn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin15 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service37;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service70;
|
|
42
|
+
const watcher = yield* Service47;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin15, exports_instruction };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./model-resolver-5w049mzn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./model-resolver-yecv7nm8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service44,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-h9h2cf90.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./model-resolver-prw92f66.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./model-resolver-14fxtwre.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service53,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9ynvy50g.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input5,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin6,
|
|
36
|
+
name: () => name5
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name5 = "edit";
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin6 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service53;
|
|
110
|
+
const fileMutation = yield* Service44;
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const formatter = yield* Service63;
|
|
113
|
+
const location = yield* Service70;
|
|
114
|
+
const permission = yield* Service54;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name5,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input5,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin39 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name5, Input5, Output4, Plugin6, exports_edit };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./model-resolver-tknyxa64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-s6y5cb61.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-xg954myy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-3adkf2hq.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID16.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID16.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
|
|
|
228
228
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
229
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
230
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
231
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
232
232
|
query: input.query,
|
|
233
233
|
providerID: descriptor.providerID
|
|
234
234
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service37,
|
|
31
|
+
configured: () => configured4,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node40
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service37.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service37,
|
|
110
|
+
layer: layer17(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node40 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options4, Service37, layer17, configured4, node40, exports_instruction_discovery };
|