@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
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-r345bmqf.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin40,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin40 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin21 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin40, exports_firecrawl };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-94jd98dy.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./model-resolver-dsavrnz6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event16,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-rk0rec3h.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service72;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service79;
|
|
101
101
|
const db = (yield* Service80).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event16.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID12.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event16.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID12.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID12.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID12.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID12.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service71.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node76 = makeGlobalNode({
|
|
276
|
+
service: Service71,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node84, node85, FSUtil.node,
|
|
278
|
+
deps: [node84, node85, FSUtil.node, node77, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError9, root2, Service71, node76, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-r345bmqf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID15
|
|
6
|
+
} from "./model-resolver-xg954myy.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID15.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-8jnsm5sz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make6, exports_retry };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-xg954myy.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service46
|
|
8
|
+
} from "./model-resolver-yef4v0b4.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin24
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin24 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service46;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin24, exports_provider };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-yz1rwmdd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service48,
|
|
6
6
|
Event10
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-c20v218m.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin34,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin34 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service48;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -45,4 +45,4 @@ var Plugin33 = define({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin34, exports_plugin };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-pk2244jm.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3f15rfkp.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-cq37gk0t.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-mfhfdr54.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-3f15rfkp.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-14fxtwre.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-s6y5cb61.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-ztye28yt.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin5,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin5 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin38 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin5, exports_opencode };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|