@opencode/core 0.0.0-dev-19530 → 0.0.0-dev-19531
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-y2bvvrzc.js → model-resolver-031kg769.js} +18 -18
- package/dist/chunks/{model-pqwf4bge.js → model-resolver-05k3a4yp.js} +2 -2
- package/dist/chunks/{model-4y66k410.js → model-resolver-0ajdgxne.js} +5 -5
- package/dist/chunks/{model-n7hjcbvg.js → model-resolver-0dy66kxe.js} +11 -11
- package/dist/chunks/{model-qa2mkktq.js → model-resolver-0fnjefvz.js} +39 -39
- package/dist/chunks/{model-35agz59w.js → model-resolver-0gaj4617.js} +6 -6
- package/dist/chunks/{model-atjxpbab.js → model-resolver-0gjxn4me.js} +37 -37
- package/dist/chunks/{model-99em0p16.js → model-resolver-0hxph87b.js} +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{model-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-7m5f9412.js → model-resolver-0r684n0p.js} +8 -8
- package/dist/chunks/{model-3hdw1vhc.js → model-resolver-13h6pnmt.js} +53 -53
- package/dist/chunks/{model-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-v6a8s5gf.js → model-resolver-1j5g3f90.js} +32 -32
- package/dist/chunks/{model-5kqd1r0d.js → model-resolver-1snz0n3v.js} +91 -91
- package/dist/chunks/{model-33w4ejhs.js → model-resolver-1ygqh575.js} +6 -6
- package/dist/chunks/{model-0m04t0a0.js → model-resolver-20erkkh9.js} +16 -16
- package/dist/chunks/{model-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{model-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{model-y7j7ndb6.js → model-resolver-28gfvtek.js} +47 -47
- package/dist/chunks/{model-z63w68vq.js → model-resolver-29x78va6.js} +6 -6
- package/dist/chunks/{model-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-20355881.js → model-resolver-2rcpqfm0.js} +9 -9
- package/dist/chunks/{model-sxwk9xb8.js → model-resolver-2xbd7nbt.js} +22 -22
- package/dist/chunks/{model-hjejd8rj.js → model-resolver-33yp9811.js} +12 -12
- package/dist/chunks/{model-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-9d3a58tj.js → model-resolver-3h8hqytd.js} +13 -13
- package/dist/chunks/{model-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-dnc4tg6k.js → model-resolver-4334gj7r.js} +8 -8
- package/dist/chunks/{model-se0t50fj.js → model-resolver-43thsgmw.js} +20 -20
- package/dist/chunks/{model-97mdmb9a.js → model-resolver-44xcyhkw.js} +20 -20
- package/dist/chunks/{model-3rqkssp8.js → model-resolver-4jk0qxj4.js} +6 -6
- package/dist/chunks/{model-219neeqh.js → model-resolver-4q81s1cb.js} +5 -5
- package/dist/chunks/{model-n649fndv.js → model-resolver-4s08xxae.js} +5 -5
- package/dist/chunks/{model-9q9jdv8e.js → model-resolver-4t19f8k2.js} +32 -32
- package/dist/chunks/{model-6vq97qmv.js → model-resolver-4v4bfvma.js} +5 -5
- package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-whsrbek6.js → model-resolver-4xe2p835.js} +9 -9
- package/dist/chunks/{model-wbq0a8cf.js → model-resolver-52p5p480.js} +35 -35
- package/dist/chunks/{model-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{model-dq8fe4ed.js → model-resolver-5d4cs5xf.js} +11 -11
- package/dist/chunks/{model-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{model-y5mrfvw4.js → model-resolver-5faec82q.js} +7 -7
- package/dist/chunks/{model-257a402r.js → model-resolver-5kh0wb3v.js} +13 -13
- package/dist/chunks/{model-xtd5dz6n.js → model-resolver-5s8kkgq1.js} +90 -90
- package/dist/chunks/{model-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-yeqyw0z5.js → model-resolver-5z63511r.js} +9 -9
- package/dist/chunks/{model-vshq87yh.js → model-resolver-61b2qq6z.js} +29 -29
- package/dist/chunks/{model-bvha1vq7.js → model-resolver-65mwty8e.js} +7 -7
- package/dist/chunks/{model-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{model-9n8nxpxn.js → model-resolver-66e7kvmh.js} +18 -18
- package/dist/chunks/{model-0artwwxx.js → model-resolver-6jswab00.js} +3 -3
- package/dist/chunks/{model-xzzk44db.js → model-resolver-6jzjxba3.js} +15 -15
- package/dist/chunks/{model-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-9s353mxg.js → model-resolver-6n5283ys.js} +18 -18
- package/dist/chunks/{model-7pkhtfns.js → model-resolver-6yxmp89e.js} +14 -14
- package/dist/chunks/{model-jv3cv6p3.js → model-resolver-6ze89g9b.js} +10 -10
- package/dist/chunks/{model-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{model-wycsdkc3.js → model-resolver-71t2waba.js} +11 -11
- package/dist/chunks/{model-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-phc8pspp.js → model-resolver-7xhhf2aw.js} +9 -9
- package/dist/chunks/{model-5c0f1prt.js → model-resolver-88sz8qcd.js} +4 -4
- package/dist/chunks/{model-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-7y4pbgtc.js → model-resolver-8efzajgs.js} +12 -12
- package/dist/chunks/{model-35wynegs.js → model-resolver-8h4a5z95.js} +2 -2
- package/dist/chunks/{model-0cebr7hk.js → model-resolver-8nghd9xh.js} +4 -4
- package/dist/chunks/{model-czs7xmcn.js → model-resolver-8xp7je32.js} +15 -15
- package/dist/chunks/{model-jj5vypy3.js → model-resolver-9a40xa2n.js} +33 -33
- package/dist/chunks/{model-vtjb7z8s.js → model-resolver-9avrpg3p.js} +24 -24
- package/dist/chunks/{model-s0esgemt.js → model-resolver-9e3vcssh.js} +4 -4
- package/dist/chunks/{model-0247gmrw.js → model-resolver-9h8yyxwx.js} +16 -16
- package/dist/chunks/model-resolver-9heqp6jx.js +247 -0
- package/dist/chunks/{model-a6kqfaee.js → model-resolver-9s6q7dfh.js} +9 -9
- package/dist/chunks/{model-6jnybvqn.js → model-resolver-9tw56fnr.js} +9 -9
- package/dist/chunks/{model-5rgh8ask.js → model-resolver-9z5hcwep.js} +20 -20
- package/dist/chunks/{model-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/model-resolver-aed8g19c.js +26 -0
- package/dist/chunks/{model-6csep4d6.js → model-resolver-aeex8way.js} +24 -24
- package/dist/chunks/{model-bz2p45ry.js → model-resolver-aexrjf4q.js} +28 -28
- package/dist/chunks/{model-ncxt770z.js → model-resolver-afrwk4ch.js} +8 -8
- package/dist/chunks/{model-bv88jg6f.js → model-resolver-aryerr4z.js} +34 -34
- package/dist/chunks/{model-dn3t1y0q.js → model-resolver-atgag4yh.js} +41 -41
- package/dist/chunks/{model-1v6ba5ez.js → model-resolver-b0xvdmck.js} +13 -13
- package/dist/chunks/{model-b3t12aqp.js → model-resolver-b3wkxfg9.js} +1 -1
- package/dist/chunks/{model-ttzta52k.js → model-resolver-b5nae5wy.js} +32 -32
- package/dist/chunks/{model-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-cq9pat89.js → model-resolver-b7pbz13w.js} +23 -23
- package/dist/chunks/{model-1cd9yk0n.js → model-resolver-bdv0prqb.js} +22 -22
- package/dist/chunks/{model-qfpa574x.js → model-resolver-bs3vba9y.js} +20 -20
- package/dist/chunks/{model-31jd4e8t.js → model-resolver-c4c5wrfd.js} +1 -1
- package/dist/chunks/{model-y7gn77t5.js → model-resolver-c68b4qab.js} +9 -9
- package/dist/chunks/{model-y7gk6gsz.js → model-resolver-cnr77sqv.js} +10 -10
- package/dist/chunks/{model-qbngxwj5.js → model-resolver-cpwgm14c.js} +24 -24
- package/dist/chunks/{model-6bsje7ws.js → model-resolver-csdaj16z.js} +3 -3
- package/dist/chunks/model-resolver-ctmnhs0f.js +462 -0
- package/dist/chunks/{model-v7bpw0rx.js → model-resolver-d0as5ky3.js} +16 -16
- package/dist/chunks/{model-vfqqz6ex.js → model-resolver-d8dbj37k.js} +9 -9
- package/dist/chunks/{model-nv5vn7qx.js → model-resolver-da6kr1wx.js} +2 -2
- package/dist/chunks/{model-ev82ehxs.js → model-resolver-ddd0tqrv.js} +27 -27
- package/dist/chunks/{model-vncycja5.js → model-resolver-dfe8djrf.js} +4 -4
- package/dist/chunks/{model-qwrxphsy.js → model-resolver-dfst59nt.js} +17 -17
- package/dist/chunks/{model-xkc587sw.js → model-resolver-dj2gndk9.js} +16 -16
- package/dist/chunks/{model-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-p87gvwbv.js → model-resolver-dr6k78h1.js} +12 -12
- package/dist/chunks/{model-0sfsr3zt.js → model-resolver-drwkn14p.js} +24 -24
- package/dist/chunks/{model-jx3c22rf.js → model-resolver-dwe4spzd.js} +11 -11
- package/dist/chunks/{model-r0gpwmmm.js → model-resolver-e2tc44kv.js} +15 -15
- package/dist/chunks/{model-exatzf7p.js → model-resolver-e5z2yc0m.js} +14 -14
- package/dist/chunks/{model-f1zva5d5.js → model-resolver-e9wvc5tf.js} +5 -5
- package/dist/chunks/{model-bya8prfn.js → model-resolver-ebbn7jdz.js} +8 -8
- package/dist/chunks/{model-sh0rasge.js → model-resolver-eqb5zhc6.js} +49 -49
- package/dist/chunks/{model-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-8n9190v4.js → model-resolver-f486cjd7.js} +9 -9
- package/dist/chunks/{model-a9759q1q.js → model-resolver-fat0n13h.js} +6 -6
- package/dist/chunks/{model-bvg29jbq.js → model-resolver-fg61w092.js} +18 -18
- package/dist/chunks/{model-c5nvra9m.js → model-resolver-frynmqdf.js} +4 -4
- package/dist/chunks/{model-gkt6z8r9.js → model-resolver-fw6f7ywv.js} +17 -17
- package/dist/chunks/{model-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-ps77swb3.js → model-resolver-fy0w211v.js} +3 -3
- package/dist/chunks/{model-6895yszx.js → model-resolver-fyekc6s2.js} +17 -17
- package/dist/chunks/{model-70d2s7af.js → model-resolver-fz9at2d6.js} +1 -1
- package/dist/chunks/{model-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-n4m2mkxj.js → model-resolver-gha63455.js} +12 -12
- package/dist/chunks/{model-5tgjep30.js → model-resolver-gkdyp9ys.js} +6 -6
- package/dist/chunks/{model-t8na6qa3.js → model-resolver-gkytqtkj.js} +17 -17
- package/dist/chunks/{model-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-5q82gfck.js → model-resolver-h2fnwfb0.js} +11 -11
- package/dist/chunks/{model-nncchp3m.js → model-resolver-h5knn3sc.js} +5 -5
- package/dist/chunks/{model-z9pwsk94.js → model-resolver-h6nde2e3.js} +15 -15
- package/dist/chunks/{model-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-1gbs1kbt.js → model-resolver-h7dmbe3e.js} +9 -9
- package/dist/chunks/{model-cvtmmhw6.js → model-resolver-h8frrzh0.js} +1 -1
- package/dist/chunks/{model-cw6d4prj.js → model-resolver-hahgrcae.js} +16 -16
- package/dist/chunks/{model-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-cebcabsx.js → model-resolver-hfkyrasj.js} +61 -61
- package/dist/chunks/{model-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
- package/dist/chunks/{model-zav06jzw.js → model-resolver-hn57h045.js} +4 -4
- package/dist/chunks/{model-2xrspd6r.js → model-resolver-j3h8c2cp.js} +22 -22
- package/dist/chunks/{model-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{model-45fdndrg.js → model-resolver-j7867dn5.js} +11 -11
- package/dist/chunks/{model-f24vq1c7.js → model-resolver-j8b7kmqb.js} +27 -27
- package/dist/chunks/{model-paphc93g.js → model-resolver-j935v87r.js} +2 -2
- package/dist/chunks/{model-zdrvw4c2.js → model-resolver-jakagae6.js} +15 -15
- package/dist/chunks/{model-brp8zeym.js → model-resolver-jd00bmkr.js} +6 -6
- package/dist/chunks/{model-yt0fqk68.js → model-resolver-jwbqhvyy.js} +5 -5
- package/dist/chunks/{model-8e5vt1qx.js → model-resolver-jyfdqx07.js} +28 -28
- package/dist/chunks/{model-dwgpa5q5.js → model-resolver-k06qmaw9.js} +23 -23
- package/dist/chunks/{model-e5yeyj5b.js → model-resolver-k58qhvzp.js} +11 -11
- package/dist/chunks/{model-rr6fm4cb.js → model-resolver-kck439bj.js} +32 -32
- package/dist/chunks/{model-5nyvja88.js → model-resolver-kew454ha.js} +24 -24
- package/dist/chunks/{model-e758m3vy.js → model-resolver-kfz2kx3w.js} +12 -12
- package/dist/chunks/{model-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{model-npevzfsy.js → model-resolver-knyfvgyf.js} +13 -13
- package/dist/chunks/{model-jerxsvsx.js → model-resolver-kp92jgaq.js} +31 -31
- package/dist/chunks/{model-ymca8mtq.js → model-resolver-kt2k2fvy.js} +16 -16
- package/dist/chunks/{model-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-mdy2tqts.js → model-resolver-m9199dx3.js} +41 -41
- package/dist/chunks/{model-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-19yq3b24.js → model-resolver-marnn1hp.js} +8 -8
- package/dist/chunks/{model-p2h53nt6.js → model-resolver-mb9syhn1.js} +26 -26
- package/dist/chunks/{model-wmf56hzh.js → model-resolver-mcdc48yx.js} +9 -9
- package/dist/chunks/{model-p52t23z3.js → model-resolver-mdenrfp6.js} +45 -45
- package/dist/chunks/{model-25gn6xf8.js → model-resolver-mfka0yjk.js} +8 -8
- package/dist/chunks/{model-s8bz6z4k.js → model-resolver-mgp54d0b.js} +5 -5
- package/dist/chunks/{model-mhkvc446.js → model-resolver-mhkvc446.js} +1 -1
- package/dist/chunks/{model-bya8x26g.js → model-resolver-mjvxm5h6.js} +8 -8
- package/dist/chunks/{model-91xeb72v.js → model-resolver-mn7ssvtj.js} +8 -8
- package/dist/chunks/{model-v5dkyp31.js → model-resolver-mtq6xxnx.js} +7 -7
- package/dist/chunks/{model-0snep097.js → model-resolver-mwmpf2dr.js} +21 -21
- package/dist/chunks/{model-aqjqj2ff.js → model-resolver-n03j43sk.js} +6 -6
- package/dist/chunks/{model-5b2dqtre.js → model-resolver-n2bk7ja5.js} +7 -7
- package/dist/chunks/{model-h56egzzg.js → model-resolver-n2dbyk7b.js} +4 -4
- package/dist/chunks/{model-vg018stg.js → model-resolver-n4d4r70p.js} +51 -51
- package/dist/chunks/{model-sgfa6f2r.js → model-resolver-n562g2hd.js} +4 -4
- package/dist/chunks/{model-tsfgabrd.js → model-resolver-nabxe85v.js} +42 -42
- package/dist/chunks/{model-q13p9eja.js → model-resolver-ndade498.js} +12 -12
- package/dist/chunks/{model-mz6ae2yf.js → model-resolver-nghrh7na.js} +1 -1
- package/dist/chunks/{model-0pb75hch.js → model-resolver-njysne83.js} +5 -5
- package/dist/chunks/{model-hyhy14jr.js → model-resolver-nn5tgv9e.js} +19 -19
- package/dist/chunks/{model-03y65m91.js → model-resolver-nv7590vc.js} +4 -4
- package/dist/chunks/{model-hxevvepb.js → model-resolver-nvsyq3ba.js} +60 -60
- package/dist/chunks/{model-2fwd9rb4.js → model-resolver-nw25ebmp.js} +13 -13
- package/dist/chunks/{model-3hf7z3yq.js → model-resolver-nwjtzbvw.js} +11 -11
- package/dist/chunks/{model-w5me5d90.js → model-resolver-p15qfr9z.js} +11 -11
- package/dist/chunks/{model-265kqrgy.js → model-resolver-p1pr2h1d.js} +1 -1
- package/dist/chunks/{model-zc27a7bm.js → model-resolver-p2vh9553.js} +4 -4
- package/dist/chunks/{model-yhq7b4d8.js → model-resolver-p6s3kjn1.js} +11 -11
- package/dist/chunks/{model-6kny798m.js → model-resolver-p96r38ce.js} +30 -30
- package/dist/chunks/{model-htza7hdd.js → model-resolver-p97yj8zx.js} +24 -24
- package/dist/chunks/{model-c0pa16pn.js → model-resolver-pch53j0k.js} +3 -3
- package/dist/chunks/{model-vze96k0n.js → model-resolver-pck3w1ab.js} +4 -4
- package/dist/chunks/{model-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-91y7rpnn.js → model-resolver-pka8c3mw.js} +6 -6
- package/dist/chunks/{model-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{model-1kcksn9e.js → model-resolver-pz6n093v.js} +32 -32
- package/dist/chunks/{model-cztasbnk.js → model-resolver-q78vsr09.js} +18 -18
- package/dist/chunks/{model-6rbveq4m.js → model-resolver-q8k6t814.js} +4 -4
- package/dist/chunks/{model-hq8zt1th.js → model-resolver-qfzde7bh.js} +6 -6
- package/dist/chunks/{model-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{model-wb1tzt4d.js → model-resolver-qvq5ww91.js} +29 -29
- package/dist/chunks/{model-qrq421eh.js → model-resolver-r3aj5peb.js} +25 -25
- package/dist/chunks/{model-wwcafvtr.js → model-resolver-r5wr7fgd.js} +19 -19
- package/dist/chunks/{model-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{model-677w9byw.js → model-resolver-rjxbe5xz.js} +7 -7
- package/dist/chunks/{model-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{model-ajegdr06.js → model-resolver-rsj9vhs1.js} +27 -27
- package/dist/chunks/{model-3d6q6ejm.js → model-resolver-rwa5eky2.js} +32 -32
- package/dist/chunks/{model-p6sp61vg.js → model-resolver-s24p5rny.js} +36 -36
- package/dist/chunks/{model-yrznvahk.js → model-resolver-s4enseaf.js} +2 -2
- package/dist/chunks/{model-q44n8009.js → model-resolver-s6z2946v.js} +17 -17
- package/dist/chunks/{model-wavq5vqb.js → model-resolver-s95j2a00.js} +1 -1
- package/dist/chunks/{model-a5r6p83p.js → model-resolver-sbqaqa2h.js} +19 -19
- package/dist/chunks/{model-bajakh74.js → model-resolver-sdbkfcvv.js} +4 -4
- package/dist/chunks/{model-33n3bzdy.js → model-resolver-sdfkf7b9.js} +6 -6
- package/dist/chunks/{model-c179hq9v.js → model-resolver-sp6z5kbv.js} +37 -37
- package/dist/chunks/{model-w6tw9skw.js → model-resolver-sr987mfq.js} +11 -11
- package/dist/chunks/{model-a04ypazz.js → model-resolver-swjfbv5x.js} +37 -37
- package/dist/chunks/{model-t0x5rdq8.js → model-resolver-t0x5rdq8.js} +2 -2
- package/dist/chunks/{model-3w0fmcng.js → model-resolver-t2vpa3bp.js} +5 -5
- package/dist/chunks/{model-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
- package/dist/chunks/{model-znz7rtxh.js → model-resolver-t8cy7fff.js} +11 -11
- package/dist/chunks/{model-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{model-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{model-r0ztwh7r.js → model-resolver-txefqv94.js} +64 -64
- package/dist/chunks/{model-m7bfq9wr.js → model-resolver-txnj3dzg.js} +7 -7
- package/dist/chunks/{model-0d16ff4w.js → model-resolver-txtwx9zc.js} +26 -26
- package/dist/chunks/{model-ff0svapt.js → model-resolver-tyqkzprt.js} +2 -2
- package/dist/chunks/{model-px2sqpay.js → model-resolver-tyswbbjp.js} +23 -23
- package/dist/chunks/{model-e6hmchc5.js → model-resolver-v5hpcsb0.js} +5 -5
- package/dist/chunks/{model-pwqcks32.js → model-resolver-v71jvb7r.js} +5 -5
- package/dist/chunks/{model-g3vfgj64.js → model-resolver-v8xf7pck.js} +22 -22
- package/dist/chunks/{model-6psebnbx.js → model-resolver-vb7d7sbc.js} +32 -32
- package/dist/chunks/{model-3ad4bd0a.js → model-resolver-vcrpr27f.js} +7 -7
- package/dist/chunks/{model-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{model-bgtgk6cp.js → model-resolver-vq838htm.js} +9 -9
- package/dist/chunks/{model-qj8eh1ht.js → model-resolver-vsp1fds9.js} +21 -21
- package/dist/chunks/{model-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-v4hmzr0r.js → model-resolver-w4zny49r.js} +8 -8
- package/dist/chunks/{model-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{model-ayv404k4.js → model-resolver-wg7eakzt.js} +4 -4
- package/dist/chunks/{model-v0pkrfgq.js → model-resolver-wn02ky47.js} +11 -11
- package/dist/chunks/{model-nn17eg7m.js → model-resolver-wpv7jc2z.js} +22 -22
- package/dist/chunks/{model-dgdas7td.js → model-resolver-wq487jqz.js} +16 -16
- package/dist/chunks/{model-1f3wjap0.js → model-resolver-x0kc6c96.js} +23 -23
- package/dist/chunks/{model-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-4mddsdbt.js → model-resolver-x21rsz6v.js} +13 -13
- package/dist/chunks/{model-sp8m6a9q.js → model-resolver-x8y7wgxd.js} +9 -9
- package/dist/chunks/{model-mwr2btvq.js → model-resolver-xhmq8qgk.js} +9 -9
- package/dist/chunks/{model-mkhznv56.js → model-resolver-xnbrvajn.js} +9 -9
- package/dist/chunks/{model-wgwrm75m.js → model-resolver-xsx6sc1v.js} +170 -170
- package/dist/chunks/{model-fvkgc8rm.js → model-resolver-y0vt1sxg.js} +10 -10
- package/dist/chunks/{model-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-jwcy2c2z.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{model-mb2y4s57.js → model-resolver-yaga2gvt.js} +16 -16
- package/dist/chunks/{model-e4f6pw00.js → model-resolver-yjwqdqt2.js} +28 -28
- package/dist/chunks/{model-zm3pd5tb.js → model-resolver-ymbkr1tg.js} +43 -43
- package/dist/chunks/{model-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-1crpa11v.js → model-resolver-yvegcnp8.js} +28 -28
- package/dist/chunks/{model-gv6a8nnw.js → model-resolver-yyb7tjpc.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-j181hgc5.js → model-resolver-z1vbyafm.js} +7 -7
- package/dist/chunks/{model-6pnccst9.js → model-resolver-z6qpxre5.js} +23 -23
- package/dist/chunks/{model-pdy42dnd.js → model-resolver-z8pjpgj2.js} +29 -29
- package/dist/chunks/{model-c462van6.js → model-resolver-zaz4910g.js} +32 -32
- package/dist/chunks/{model-0s3pzcqz.js → model-resolver-zckvtzsb.js} +11 -11
- package/dist/chunks/{model-vf5jgz4g.js → model-resolver-zf9fe0vx.js} +40 -40
- package/dist/chunks/{model-gg3hj2sp.js → model-resolver-zjxwcf81.js} +22 -22
- package/dist/chunks/{model-a0mw1hja.js → model-resolver-zjzag8dm.js} +12 -12
- package/dist/chunks/{model-mtc9q228.js → model-resolver-zmhtgr1a.js} +31 -31
- package/dist/chunks/{model-r8x9m1qg.js → model-resolver-zpp9mfbs.js} +27 -27
- package/dist/chunks/{model-5akxe5k1.js → model-resolver-zqfm6xas.js} +5 -5
- package/dist/chunks/{model-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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 +362 -362
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +94 -94
- package/dist/git.js +5 -5
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- 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 +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -350
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- 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 +111 -111
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- 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 +116 -116
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- 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 +113 -113
- 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 +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +80 -80
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- 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 +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +89 -89
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- 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 +4 -4
- 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 +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/model-5hac0djz.js +0 -462
- package/dist/chunks/model-gbadjzag.js +0 -4
- package/dist/chunks/model-nnzt82h0.js +0 -26
- package/dist/chunks/model-phz3h32g.js +0 -18
- package/dist/chunks/model-qj7q8b1b.js +0 -247
- /package/dist/chunks/{model-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{model-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-dwe4spzd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./model-t550f9t1.js";
|
|
10
|
+
} from "./model-resolver-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./model-
|
|
13
|
+
} from "./model-resolver-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./model-9rqn6x4v.js";
|
|
16
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service28, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node33, exports_instruction_entry };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./model-
|
|
5
|
+
} from "./model-resolver-c4c5wrfd.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./model-
|
|
11
|
+
} from "./model-resolver-n03j43sk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./model-9rqn6x4v.js";
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./model-
|
|
3
|
+
} from "./model-resolver-nwjtzbvw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./model-9rqn6x4v.js";
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin19 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin7, exports_tavily };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./model-resolver-d0as5ky3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./model-
|
|
6
|
+
Event18,
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./model-resolver-pz6n093v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./model-
|
|
11
|
+
Service56,
|
|
12
|
+
node60
|
|
13
|
+
} from "./model-resolver-cpwgm14c.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./model-922hggd3.js";
|
|
16
|
+
} from "./model-resolver-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./model-
|
|
18
|
+
Service75,
|
|
19
|
+
node80
|
|
20
|
+
} from "./model-resolver-dfst59nt.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./model-
|
|
23
|
+
} from "./model-resolver-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./model-
|
|
26
|
+
} from "./model-resolver-p97yj8zx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./model-
|
|
30
|
+
} from "./model-resolver-6ze89g9b.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./model-j56e64zr.js";
|
|
33
|
+
} from "./model-resolver-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./model-
|
|
35
|
+
Service58,
|
|
36
|
+
Event14,
|
|
37
|
+
node62
|
|
38
|
+
} from "./model-resolver-mwmpf2dr.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./model-9rqn6x4v.js";
|
|
41
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service55,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node59,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options7 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service55 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
97
|
function decodePreferences(text) {
|
|
98
98
|
const errors = [];
|
|
@@ -108,14 +108,14 @@ function decodePreferences(text) {
|
|
|
108
108
|
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const location = yield*
|
|
114
|
-
const watcher = yield*
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const credentials = yield*
|
|
113
|
+
const location = yield* Service75;
|
|
114
|
+
const watcher = yield* Service56;
|
|
115
|
+
const bus = yield* Service79;
|
|
116
|
+
const credentials = yield* Service70;
|
|
117
117
|
const globalService = yield* Global.Service;
|
|
118
|
-
const wellknown = yield*
|
|
118
|
+
const wellknown = yield* Service58;
|
|
119
119
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
120
120
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
121
121
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -184,7 +184,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
});
|
|
185
185
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
186
186
|
return [
|
|
187
|
-
...yield* Effect.forEach(
|
|
187
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
188
188
|
new Directory({ type: "directory", path: directory })
|
|
189
189
|
];
|
|
190
190
|
});
|
|
@@ -239,8 +239,8 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
239
239
|
}, (effect) => reloadLock.withPermit(effect));
|
|
240
240
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
241
241
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
242
|
-
yield* bus.subscribe(
|
|
243
|
-
yield* bus.subscribe(
|
|
242
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
243
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
244
244
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
245
245
|
if (!wellknown.snapshot().length)
|
|
246
246
|
return Effect.void;
|
|
@@ -253,7 +253,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
253
253
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
254
254
|
const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
|
|
255
255
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
256
|
-
const candidates =
|
|
256
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
257
257
|
const existing = yield* Effect.filter(candidates, fs.isFile);
|
|
258
258
|
return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
259
259
|
});
|
|
@@ -282,7 +282,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
282
282
|
yield* requestReload;
|
|
283
283
|
return decodePreferences(updated);
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service55.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -291,13 +291,13 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
291
291
|
updatePreferences
|
|
292
292
|
});
|
|
293
293
|
}));
|
|
294
|
-
function
|
|
294
|
+
function configured8(options) {
|
|
295
295
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
296
|
+
service: Service55,
|
|
297
|
+
layer: layer21(options),
|
|
298
|
+
deps: [node60, node84, FSUtil.node, Global.node, node80, node75, node62]
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var node59 = configured8();
|
|
302
302
|
|
|
303
|
-
export { latest2,
|
|
303
|
+
export { latest2, Options7, Service55, Test2, testLayer2, layer21, configured8, node59, exports_config };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./model-
|
|
2
|
+
Service40
|
|
3
|
+
} from "./model-resolver-qfzde7bh.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./model-
|
|
6
|
+
} from "./model-resolver-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./model-
|
|
9
|
+
} from "./model-resolver-7xhhf2aw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./model-
|
|
11
|
+
Service42
|
|
12
|
+
} from "./model-resolver-9z5hcwep.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./model-9rqn6x4v.js";
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./model-
|
|
2
|
+
ID12,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./model-resolver-zpp9mfbs.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./model-
|
|
8
|
+
} from "./model-resolver-sdfkf7b9.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service67;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./model-922hggd3.js";
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./model-
|
|
6
|
+
} from "./model-resolver-atgag4yh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./model-
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./model-resolver-dfst59nt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./model-
|
|
12
|
+
Service48,
|
|
13
|
+
node52
|
|
14
|
+
} from "./model-resolver-nvsyq3ba.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./model-9rqn6x4v.js";
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node20,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service17 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service48;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service17.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [FSUtil.node, node80, node52] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service17, resolvePath2, node20, exports_file_access };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./model-
|
|
3
|
+
} from "./model-resolver-nwjtzbvw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./model-
|
|
5
|
+
ID15
|
|
6
|
+
} from "./model-resolver-sdfkf7b9.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,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./model-
|
|
2
|
+
ID9
|
|
3
|
+
} from "./model-resolver-ddd0tqrv.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./model-922hggd3.js";
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./model-
|
|
8
|
+
Info19
|
|
9
|
+
} from "./model-resolver-j7867dn5.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./model-
|
|
12
|
+
} from "./model-resolver-q8k6t814.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./model-
|
|
15
|
+
Service55
|
|
16
|
+
} from "./model-resolver-eqb5zhc6.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./model-5daktx2q.js";
|
|
19
|
+
} from "./model-resolver-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./model-9rqn6x4v.js";
|
|
22
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin37
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin37 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service55;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin31 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin37, exports_agent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./model-
|
|
3
|
+
} from "./model-resolver-28gfvtek.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./model-twg0f83k.js";
|
|
6
|
+
} from "./model-resolver-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./model-9rqn6x4v.js";
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|