@opencode/core 0.0.0-dev-19323 → 0.0.0-dev-19326
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{formatter-j6mvre0g.js → config-0855v69s.js} +19 -19
- package/dist/chunks/{formatter-9zswys26.js → config-0996nyz8.js} +9 -9
- package/dist/chunks/{formatter-c2p1vz36.js → config-09d0879q.js} +15 -15
- package/dist/chunks/{formatter-v219cx7c.js → config-0ke0pmzz.js} +7 -7
- package/dist/chunks/config-0mesazry.js +4 -0
- package/dist/chunks/{formatter-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-zy6n9aja.js → config-0ss0418f.js} +18 -18
- package/dist/chunks/{formatter-a2rjx51z.js → config-1657v3ya.js} +13 -13
- package/dist/chunks/{formatter-56n5z1rw.js → config-16ka791j.js} +21 -21
- package/dist/chunks/{formatter-77tatc9x.js → config-1bmavh6p.js} +8 -8
- package/dist/chunks/{formatter-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-1dfhrqqs.js → config-1dfhrqqs.js} +2 -2
- package/dist/chunks/{formatter-2re99ccz.js → config-1kpn8rme.js} +13 -13
- package/dist/chunks/{formatter-fmwg5sj2.js → config-1p5m71zp.js} +12 -12
- package/dist/chunks/{formatter-4wxgrd29.js → config-1pdyq1wn.js} +6 -6
- package/dist/chunks/{formatter-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{formatter-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-nwd5g3n7.js → config-23srbqd1.js} +12 -12
- package/dist/chunks/{formatter-85w66kng.js → config-27q3k98w.js} +9 -9
- package/dist/chunks/{formatter-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-apjqksq4.js → config-2h688s1b.js} +3 -3
- package/dist/chunks/{formatter-zbgrd7e9.js → config-2h6dm58y.js} +1 -1
- package/dist/chunks/{formatter-cmaetz9z.js → config-2je79byv.js} +11 -11
- package/dist/chunks/{formatter-vjdqq2ps.js → config-2ns57ds1.js} +11 -11
- package/dist/chunks/{formatter-pm66mswd.js → config-2vw323ye.js} +20 -20
- package/dist/chunks/{formatter-3swc72ss.js → config-3bzdj17n.js} +23 -23
- package/dist/chunks/{formatter-gdvy8fx6.js → config-3fc6dm20.js} +4 -4
- package/dist/chunks/{formatter-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-5hzqjfjf.js → config-3jhh6dbq.js} +11 -11
- package/dist/chunks/{formatter-85tfjvz5.js → config-3ps341yf.js} +26 -26
- package/dist/chunks/{formatter-spqcpneg.js → config-3r916n3t.js} +6 -6
- package/dist/chunks/{formatter-d481hhja.js → config-3rhrbxnc.js} +31 -31
- package/dist/chunks/{formatter-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-4999spj6.js → config-417t6bcw.js} +30 -30
- package/dist/chunks/{formatter-1dxndaps.js → config-46k8jh69.js} +6 -6
- package/dist/chunks/{formatter-k52252t7.js → config-46x4mgr1.js} +4 -4
- package/dist/chunks/{formatter-2kahp3dy.js → config-4kzv7xnq.js} +6 -6
- package/dist/chunks/{formatter-b0stxe20.js → config-4w87xhbp.js} +9 -9
- package/dist/chunks/{formatter-9ph45b3w.js → config-569tr4pc.js} +4 -4
- package/dist/chunks/{formatter-jbfk6qbe.js → config-595h6ds1.js} +8 -8
- package/dist/chunks/{formatter-nvwrp1re.js → config-5b85kcdj.js} +6 -6
- package/dist/chunks/{formatter-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-p1wf2k30.js → config-5kptn8c0.js} +9 -9
- package/dist/chunks/{formatter-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-c23pbdtg.js → config-5wxd9yx9.js} +10 -10
- package/dist/chunks/{formatter-7t5cqd0r.js → config-5z63511r.js} +9 -9
- package/dist/chunks/{formatter-fewmpqq2.js → config-5zqnyxe9.js} +29 -29
- package/dist/chunks/{formatter-reydm93y.js → config-64gy2aef.js} +43 -43
- package/dist/chunks/{formatter-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{formatter-km6tcm3q.js → config-6c3m5f2h.js} +39 -39
- package/dist/chunks/{formatter-7eze2gq5.js → config-6f6emysg.js} +30 -30
- package/dist/chunks/{formatter-44c3xn2h.js → config-6h3kda3t.js} +9 -9
- package/dist/chunks/{formatter-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{formatter-xgwcrf73.js → config-6m1eqfa8.js} +7 -7
- package/dist/chunks/{formatter-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-h11qs7jk.js → config-6nwx2zxy.js} +18 -18
- package/dist/chunks/{formatter-2m5q4n8f.js → config-6t1wqbey.js} +46 -46
- package/dist/chunks/{formatter-hden6f01.js → config-6x6kmq59.js} +24 -24
- package/dist/chunks/{formatter-nek9n16k.js → config-70fmpgwx.js} +4 -4
- package/dist/chunks/{formatter-b2jx7zxs.js → config-710w2ech.js} +1 -1
- package/dist/chunks/{formatter-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{formatter-snkd7br7.js → config-72vjph7r.js} +36 -36
- package/dist/chunks/{formatter-jg7bke4g.js → config-750qgww0.js} +22 -22
- package/dist/chunks/{formatter-bjkwvj0b.js → config-77hyqjn8.js} +10 -10
- package/dist/chunks/{formatter-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-h2r7bbkd.js → config-7bvkr4r5.js} +8 -8
- package/dist/chunks/{formatter-d9mhv265.js → config-7wpfh6mv.js} +4 -4
- package/dist/chunks/{formatter-24yrwg43.js → config-7xasq64h.js} +12 -12
- package/dist/chunks/{formatter-1s5bbqd2.js → config-7z5tcpnz.js} +5 -5
- package/dist/chunks/{formatter-pjmw00w1.js → config-81swgkk7.js} +5 -5
- package/dist/chunks/{formatter-jqb8tpfq.js → config-8cmk2yrh.js} +2 -2
- package/dist/chunks/{formatter-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-ax3qyspe.js → config-8ddxx89t.js} +10 -10
- package/dist/chunks/{formatter-0zmbch9c.js → config-8g9ddwam.js} +26 -26
- package/dist/chunks/{formatter-z2g5x8r4.js → config-8gq3smt3.js} +13 -13
- package/dist/chunks/{formatter-sdewe3f0.js → config-8h5hgdex.js} +14 -14
- package/dist/chunks/{formatter-rbbz2e5e.js → config-8kw6wws5.js} +156 -156
- package/dist/chunks/{formatter-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-q1c4k7jk.js → config-8qk9tw02.js} +1 -1
- package/dist/chunks/{formatter-t8bhz2vr.js → config-8sghyhzw.js} +8 -8
- package/dist/chunks/{formatter-456sctqq.js → config-9cc1d2dv.js} +8 -8
- package/dist/chunks/{formatter-k6f2n2fy.js → config-9eec6gj3.js} +5 -5
- package/dist/chunks/{formatter-v2e5xjra.js → config-9m00pm0q.js} +24 -24
- package/dist/chunks/{formatter-jtp7wgq3.js → config-9qn3qky1.js} +6 -6
- package/dist/chunks/{formatter-xnqgmrgw.js → config-9qrewpmc.js} +18 -18
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{formatter-dkg5h5h7.js → config-a0d0vtpt.js} +37 -37
- package/dist/chunks/{formatter-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-aasq3zsm.js → config-a1vyps7d.js} +13 -13
- package/dist/chunks/{formatter-kfpqrvxm.js → config-a2vkvq8c.js} +20 -20
- package/dist/chunks/{formatter-63bt3mag.js → config-a4r18kjz.js} +2 -2
- package/dist/chunks/{formatter-ezkasqsa.js → config-a5ashrgz.js} +20 -20
- package/dist/chunks/{formatter-9tv941ec.js → config-a6mbpaxv.js} +32 -32
- package/dist/chunks/{formatter-as2ntxq9.js → config-a76rpznm.js} +14 -14
- package/dist/chunks/{formatter-xsdh20fb.js → config-a9ab9jmj.js} +5 -5
- package/dist/chunks/{formatter-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-6nm7gc1x.js → config-ae18dp5m.js} +17 -17
- package/dist/chunks/{formatter-2f0bjgcj.js → config-ag9w8cw1.js} +5 -5
- package/dist/chunks/{formatter-d0b9w6zn.js → config-agn6xsk2.js} +15 -15
- package/dist/chunks/{formatter-pmr4s4kc.js → config-an7cqtb7.js} +4 -4
- package/dist/chunks/{formatter-8fawk0wq.js → config-arvcqt8y.js} +4 -4
- package/dist/chunks/{formatter-rndh4q5e.js → config-aswydtf6.js} +30 -30
- package/dist/chunks/{formatter-ptdz73pj.js → config-avakt016.js} +16 -16
- package/dist/chunks/{formatter-feyq9nz9.js → config-ave3hafy.js} +18 -18
- package/dist/chunks/{formatter-p5reg5b3.js → config-aw657cyw.js} +20 -20
- package/dist/chunks/{formatter-b7c0s4y2.js → config-az8cwyq3.js} +36 -36
- package/dist/chunks/{formatter-6ef2pfss.js → config-b0nvwstj.js} +15 -15
- package/dist/chunks/{formatter-507eqkq3.js → config-b1fgh70n.js} +9 -9
- package/dist/chunks/{formatter-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-x77360f3.js → config-bcgkk1hh.js} +25 -25
- package/dist/chunks/{formatter-bha4atvq.js → config-bha4atvq.js} +4 -4
- package/dist/chunks/{formatter-y1jmkgm7.js → config-brxdqda1.js} +11 -11
- package/dist/chunks/{formatter-eesadx08.js → config-bty8pd59.js} +51 -51
- package/dist/chunks/{formatter-wpdn7j4k.js → config-c0hqkr96.js} +8 -8
- package/dist/chunks/{formatter-f464wbzp.js → config-c43swxyx.js} +8 -8
- package/dist/chunks/{formatter-w8bn9h5m.js → config-cdfjc51s.js} +19 -19
- package/dist/chunks/{formatter-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-844ef7ks.js → config-cmwkp3r5.js} +4 -4
- package/dist/chunks/{formatter-9zyah8pv.js → config-cs6ph7bb.js} +24 -24
- package/dist/chunks/{formatter-p44d8wdy.js → config-d2aac7k2.js} +5 -5
- package/dist/chunks/{formatter-qkcr7fg6.js → config-d605brer.js} +18 -18
- package/dist/chunks/{formatter-mqh1m71v.js → config-d7dy7kyk.js} +6 -6
- package/dist/chunks/{formatter-jakejc1k.js → config-d9ktfn67.js} +23 -23
- package/dist/chunks/{formatter-mhj2gpj9.js → config-dr3kpc4j.js} +3 -3
- package/dist/chunks/{formatter-eaj1djv9.js → config-eaj1djv9.js} +1 -1
- package/dist/chunks/{formatter-7czvajng.js → config-ebk4es1x.js} +26 -26
- package/dist/chunks/{formatter-608425eb.js → config-edyamwfh.js} +5 -5
- package/dist/chunks/{formatter-h1n238ac.js → config-eeke5b1b.js} +4 -4
- package/dist/chunks/{formatter-aatmr98r.js → config-ek30kmvs.js} +41 -41
- package/dist/chunks/{formatter-mhkvc446.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{formatter-tfkarycn.js → config-es83e26n.js} +10 -10
- package/dist/chunks/{formatter-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-yjhz1ss9.js → config-exhy6fht.js} +8 -8
- package/dist/chunks/{formatter-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-7ybwwvvx.js → config-fa0cr6zp.js} +3 -3
- package/dist/chunks/{formatter-fcrkznn8.js → config-fcrkznn8.js} +1 -1
- package/dist/chunks/{formatter-rstnkd3y.js → config-ffx4mq6v.js} +1 -1
- package/dist/chunks/{formatter-v5dkyp31.js → config-fm2qvscf.js} +4 -4
- package/dist/chunks/{formatter-90wxkfyp.js → config-fnbgnbzv.js} +284 -284
- package/dist/chunks/{formatter-pbxc810x.js → config-fq03nfpt.js} +4 -4
- package/dist/chunks/{formatter-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-2q8hwwwc.js → config-fyjrpq2n.js} +11 -11
- package/dist/chunks/{formatter-x1vyefq1.js → config-g2cy8dr6.js} +7 -7
- package/dist/chunks/{formatter-8zt8zdpt.js → config-g5h2gn6b.js} +39 -39
- package/dist/chunks/{formatter-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-bkb79wpa.js → config-gf6d3hm7.js} +8 -8
- package/dist/chunks/{formatter-6s6gjz7c.js → config-gmzg7h0g.js} +10 -10
- package/dist/chunks/{formatter-th5km1p3.js → config-gv6a8nnw.js} +5 -5
- package/dist/chunks/{formatter-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-0rz3ymjm.js → config-h1r3fqyy.js} +28 -28
- package/dist/chunks/{formatter-2ymxn29j.js → config-h44tzz0d.js} +22 -22
- package/dist/chunks/{formatter-ft2ydrms.js → config-h6bavb35.js} +8 -8
- package/dist/chunks/{formatter-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-yyaa3q2x.js → config-h7vqmq4a.js} +7 -7
- package/dist/chunks/{formatter-qte5z7bc.js → config-hcz3zddy.js} +5 -5
- package/dist/chunks/{formatter-z817eph2.js → config-hgyqvasf.js} +11 -11
- package/dist/chunks/{formatter-y4zwryx6.js → config-hhgar3wg.js} +10 -10
- package/dist/chunks/{formatter-e82z9tr0.js → config-hjt4xg1x.js} +7 -7
- package/dist/chunks/{formatter-kzd68pqg.js → config-hwe7x4em.js} +6 -6
- package/dist/chunks/{formatter-1djm1bap.js → config-j3nfxkmh.js} +7 -7
- package/dist/chunks/{formatter-wzz0kxab.js → config-j5208yae.js} +7 -7
- package/dist/chunks/{formatter-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-q3m0pvtr.js → config-j5t0v273.js} +23 -23
- package/dist/chunks/{formatter-mmtbb532.js → config-jdqkc47c.js} +34 -34
- package/dist/chunks/{formatter-7zdm33ac.js → config-jefma2gq.js} +10 -10
- package/dist/chunks/{formatter-rdz329w6.js → config-js9tnhwr.js} +18 -18
- package/dist/chunks/{formatter-x0sgqvmj.js → config-jt79ytas.js} +12 -12
- package/dist/chunks/{formatter-hn57h045.js → config-jvf3yq6v.js} +4 -4
- package/dist/chunks/{formatter-jz0y62hq.js → config-jw0bnz0n.js} +65 -65
- package/dist/chunks/{formatter-d1kz70d9.js → config-jzg51yg2.js} +10 -10
- package/dist/chunks/{formatter-8stavsj4.js → config-k0wscy4g.js} +17 -17
- package/dist/chunks/{formatter-e93dqa41.js → config-k6zar0y3.js} +52 -52
- package/dist/chunks/{formatter-k7d0894y.js → config-k7d0894y.js} +3 -3
- package/dist/chunks/{formatter-5fs2kqn8.js → config-k9msfnd5.js} +15 -15
- package/dist/chunks/{formatter-9aw1sd75.js → config-kch7s5fg.js} +27 -27
- package/dist/chunks/{formatter-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{formatter-ke5bg3pe.js → config-kjsr3m9q.js} +8 -8
- package/dist/chunks/{formatter-y7sdqeac.js → config-kq5zg6vn.js} +3 -3
- package/dist/chunks/{formatter-s2vccmkj.js → config-m1tpde6x.js} +26 -26
- package/dist/chunks/{formatter-6xkfsm7b.js → config-m536chkd.js} +11 -11
- package/dist/chunks/{formatter-6jnybvqn.js → config-m86bnw2c.js} +9 -9
- package/dist/chunks/{formatter-swg097y1.js → config-m8zqamnv.js} +14 -14
- package/dist/chunks/{formatter-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-69vs0mm5.js → config-mhz3pcww.js} +6 -6
- package/dist/chunks/{formatter-mkcjrzeh.js → config-mkcjrzeh.js} +1 -1
- package/dist/chunks/{formatter-bn7csmb0.js → config-n1n4h8c9.js} +44 -44
- package/dist/chunks/{formatter-5zrbqe2b.js → config-n5w420h3.js} +15 -15
- package/dist/chunks/{formatter-3vq9ncec.js → config-nct1ykg9.js} +38 -40
- package/dist/chunks/{formatter-6cybjkxz.js → config-ncydacn5.js} +15 -15
- package/dist/chunks/{formatter-fythdanz.js → config-njmpc6zs.js} +9 -9
- package/dist/chunks/{formatter-vykq01h1.js → config-njtrxhve.js} +24 -24
- package/dist/chunks/{formatter-x6erhwpm.js → config-nv66vt51.js} +19 -19
- package/dist/chunks/{formatter-4vbphvac.js → config-nzdya8zy.js} +22 -22
- package/dist/chunks/{formatter-t8r3ep1g.js → config-p0cja4mf.js} +5 -5
- package/dist/chunks/{formatter-p72z5xx6.js → config-p72z5xx6.js} +2 -2
- package/dist/chunks/{formatter-paegk39x.js → config-paegk39x.js} +1 -1
- package/dist/chunks/{formatter-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-hz7rxrk4.js → config-pkkn2rmb.js} +15 -15
- package/dist/chunks/{formatter-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-05dy3mmw.js → config-ppvatkm2.js} +32 -32
- package/dist/chunks/{formatter-nxm2phx8.js → config-pv3gegc9.js} +13 -13
- package/dist/chunks/{formatter-hmq6fc40.js → config-pztqrn0p.js} +11 -11
- package/dist/chunks/{formatter-00832hy7.js → config-q7wajf8z.js} +8 -8
- package/dist/chunks/{formatter-g1qe0q0d.js → config-qa8kzgyn.js} +30 -30
- package/dist/chunks/{formatter-mvb3ydwb.js → config-qh3g5vy3.js} +11 -11
- package/dist/chunks/{formatter-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{formatter-v13qk5h6.js → config-qn5k0834.js} +29 -29
- package/dist/chunks/{formatter-58gq70n5.js → config-qpvszq3c.js} +11 -11
- package/dist/chunks/{formatter-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-dyjcz8ay.js → config-qvq50n5y.js} +33 -33
- package/dist/chunks/{formatter-2g93c721.js → config-qw7k9z72.js} +16 -16
- package/dist/chunks/{formatter-dkp9jbyh.js → config-qy2rkr1m.js} +16 -16
- package/dist/chunks/{formatter-ss0awb04.js → config-qz49fwgp.js} +4 -4
- package/dist/chunks/{formatter-at0srrj9.js → config-qzyzax4f.js} +14 -14
- package/dist/chunks/{formatter-fcmtdmz7.js → config-rmxfyypy.js} +9 -9
- package/dist/chunks/{formatter-j08z5txv.js → config-rr1nvx41.js} +17 -17
- package/dist/chunks/{formatter-sa2p75cm.js → config-rzdsnkcx.js} +9 -9
- package/dist/chunks/{formatter-dmec30x4.js → config-rzpkkh53.js} +27 -27
- package/dist/chunks/{formatter-380vjcmd.js → config-s7xtjryh.js} +1 -1
- package/dist/chunks/{formatter-67kygeqd.js → config-saxdmq1r.js} +4 -4
- package/dist/chunks/{formatter-cap7pekz.js → config-sdtja0vv.js} +5 -5
- package/dist/chunks/{formatter-wf7cxbta.js → config-sm6x67bg.js} +81 -81
- package/dist/chunks/{formatter-j3xb24h1.js → config-sys0fgg0.js} +14 -14
- package/dist/chunks/{formatter-gv6qs0q8.js → config-t12g5sta.js} +6 -6
- package/dist/chunks/{formatter-54r2pn5z.js → config-t366rswz.js} +4 -4
- package/dist/chunks/{formatter-kcwf74x3.js → config-t9e6e84n.js} +1 -1
- package/dist/chunks/{formatter-kr779903.js → config-tayfb0c8.js} +33 -33
- package/dist/chunks/{formatter-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-2z1344gj.js → config-tn5yj8k7.js} +3 -3
- package/dist/chunks/{formatter-yzxhg32c.js → config-tqkm9jbq.js} +11 -11
- package/dist/chunks/{formatter-sxtajyff.js → config-tsvnnaee.js} +9 -9
- package/dist/chunks/{formatter-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-ydmx1k2a.js → config-vptjw3ks.js} +22 -22
- package/dist/chunks/{formatter-15v2jbpx.js → config-vrmbk9b3.js} +9 -9
- package/dist/chunks/{formatter-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-78hqr335.js → config-vzrz8rh7.js} +2 -2
- package/dist/chunks/{formatter-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-w79zsp0s.js → config-w79zsp0s.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-jy5b41x9.js → config-wmnhw0x1.js} +24 -24
- package/dist/chunks/{formatter-w1fjdxqa.js → config-wtkq24h6.js} +13 -13
- package/dist/chunks/{formatter-svnm6nqs.js → config-wy9ptrhe.js} +35 -35
- package/dist/chunks/{formatter-x0511brf.js → config-x0511brf.js} +1 -1
- package/dist/chunks/config-x0r8f7ss.js +22 -0
- package/dist/chunks/{formatter-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-4gaxfmfs.js → config-x1xcpfha.js} +13 -13
- package/dist/chunks/{formatter-x43y2vfs.js → config-x43y2vfs.js} +2 -2
- package/dist/chunks/{formatter-6ppv86n3.js → config-xaqy8fp9.js} +22 -22
- package/dist/chunks/{formatter-pj6fq5pb.js → config-xhkkqpm4.js} +16 -16
- package/dist/chunks/{formatter-3mea1sze.js → config-xjc405nr.js} +11 -11
- package/dist/chunks/config-xr5bxs3t.js +247 -0
- package/dist/chunks/{formatter-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-tnt0rc0p.js → config-y1xxajfh.js} +12 -12
- package/dist/chunks/{formatter-5zx2pz03.js → config-y6a6ax70.js} +5 -5
- package/dist/chunks/{formatter-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-m5gt6gr4.js → config-y8jrhqey.js} +25 -25
- package/dist/chunks/{formatter-fbv7gz6y.js → config-y8m4913b.js} +24 -24
- package/dist/chunks/{formatter-dsxwnv8x.js → config-yckmmtqy.js} +26 -26
- package/dist/chunks/{formatter-3sv4a4je.js → config-ycsq97p8.js} +19 -19
- package/dist/chunks/{formatter-gkammdw2.js → config-yfs0d73w.js} +76 -76
- package/dist/chunks/{formatter-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{formatter-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-15cfnja2.js → config-ytmtmg8c.js} +16 -16
- package/dist/chunks/{formatter-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-2cmv458r.js → config-z2qbjhyn.js} +5 -5
- package/dist/chunks/{formatter-4bajp7bm.js → config-z3q09gkz.js} +15 -15
- package/dist/chunks/{formatter-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-2nbt55tc.js → config-ze5v0a14.js} +5 -5
- package/dist/chunks/{formatter-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-dep21bfz.js → config-zerdtc7d.js} +8 -8
- package/dist/chunks/{formatter-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-4b6bntqd.js → config-zxgnc9zk.js} +1 -1
- package/dist/chunks/{formatter-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +94 -94
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +92 -92
- package/dist/reference/instructions.js +78 -78
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- 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 +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +3 -3
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/formatter-gbadjzag.js +0 -4
- package/dist/chunks/formatter-v1faaxn9.js +0 -18
- package/dist/chunks/formatter-xyxwga5q.js +0 -22
- package/dist/chunks/formatter-y4zsdjyj.js +0 -247
- /package/dist/chunks/{formatter-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-2f04pwep.js → config-2f04pwep.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-paphc93g.js → config-paphc93g.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./config-jefma2gq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./config-a76rpznm.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service39,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node43,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service39 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node43 = makeLocationNode({
|
|
139
|
+
service: Service39,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service62, Service62.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID5, Error3, Service39, node43, noopLayer2, exports_snapshot2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-6t1wqbey.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9qn3qky1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service52,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node56
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID12,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service52 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service52.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node56 = makeLocationNode({ service: Service52, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service52, locationLayer2, node56, exports_aisdk };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./config-hwe7x4em.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./config-n1n4h8c9.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service44;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service55), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-arvcqt8y.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-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: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service40,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer17,
|
|
33
|
+
node: () => node44
|
|
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 = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service40 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service40.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service40,
|
|
110
|
+
layer: layer17(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node44 = configured6();
|
|
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, Event8, Options6, Service40, layer17, configured6, node44, exports_instruction_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./config-9qn3qky1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -13,13 +13,13 @@ __export(exports_model2, {
|
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
15
|
ID: () => ID10,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info24,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
var ID10 = Model.ID;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref3 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info24 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
44
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
45
45
|
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3,
|
|
49
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info24, compatibility2, parse4, exports_model2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-9qn3qky1.js";
|
|
5
5
|
import {
|
|
6
6
|
ID10
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-vrmbk9b3.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-arvcqt8y.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node68
|
|
9
|
+
} from "./config-h1r3fqyy.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-09d0879q.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
|
+
ID: () => ID7,
|
|
35
|
+
Info: () => Info11,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service53,
|
|
43
|
+
node: () => node57
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event13 } from "@opencode/schema/integration";
|
|
65
|
+
var ID7 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info11 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service53 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service63;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info11.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service53.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node57 = makeLocationNode({
|
|
569
|
+
service: Service53,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node68, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info11, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service53, node57, exports_integration, Event13 };
|