@opencode/core 0.0.0-dev-19560 → 0.0.0-dev-19561
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +82 -82
- package/dist/chunks/{instance-z5tggqpm.js → app-0artwwxx.js} +3 -3
- package/dist/chunks/{instance-7ndm27ah.js → app-0ayjakrc.js} +53 -53
- package/dist/chunks/{instance-cyfxk05v.js → app-0bed1fzj.js} +17 -17
- package/dist/chunks/{instance-yr6smweb.js → app-0c36z3qz.js} +11 -11
- package/dist/chunks/app-0mesazry.js +4 -0
- package/dist/chunks/{instance-dby3ap50.js → app-0nwgmm4h.js} +9 -9
- package/dist/chunks/{instance-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{instance-xwdfg3dx.js → app-0pb75hch.js} +5 -5
- package/dist/chunks/{instance-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{instance-z4pn5b5y.js → app-0yxmk81s.js} +25 -25
- package/dist/chunks/{instance-wbkyxrgf.js → app-0zeytkd6.js} +5 -5
- package/dist/chunks/{instance-3rbcg6nj.js → app-13yh26v0.js} +18 -18
- package/dist/chunks/{instance-th5km1p3.js → app-19d3sct9.js} +2 -2
- package/dist/chunks/{instance-a1f3k8dh.js → app-1a0mjceb.js} +22 -22
- package/dist/chunks/{instance-j028xdjb.js → app-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instance-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{instance-8xz3zc3b.js → app-1e7h8b71.js} +16 -16
- package/dist/chunks/{instance-zsdcbzkn.js → app-1f9kgyzc.js} +28 -28
- package/dist/chunks/{instance-msq0jde0.js → app-1hc11dc4.js} +4 -4
- package/dist/chunks/{instance-czt6nj1g.js → app-1mt2ceq3.js} +7 -7
- package/dist/chunks/{instance-7ap4b03p.js → app-1wnf822w.js} +4 -4
- package/dist/chunks/{instance-z8pb3dnf.js → app-219neeqh.js} +5 -5
- package/dist/chunks/{instance-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{instance-tqgpkrg9.js → app-21spz6s2.js} +3 -3
- package/dist/chunks/{instance-mth96381.js → app-265kqrgy.js} +1 -1
- package/dist/chunks/{instance-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{instance-1gpnz6yb.js → app-2c0gfpva.js} +14 -14
- package/dist/chunks/{instance-8nm5f5q1.js → app-2e9kmw2e.js} +11 -11
- package/dist/chunks/{instance-8c5cat9p.js → app-2k6rfqm0.js} +35 -35
- package/dist/chunks/{instance-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{instance-q55tx8mb.js → app-2s388hy2.js} +31 -31
- package/dist/chunks/{instance-epfk9eef.js → app-2v2p0zkw.js} +9 -9
- package/dist/chunks/{instance-cr9wy6w1.js → app-30c1nq7z.js} +6 -6
- package/dist/chunks/{instance-rasx6tva.js → app-33n3bzdy.js} +6 -6
- package/dist/chunks/{instance-q1wsye3c.js → app-35wynegs.js} +2 -2
- package/dist/chunks/{instance-pngxbnqh.js → app-3aabf6yx.js} +24 -24
- package/dist/chunks/{instance-jk1jymwb.js → app-3f1qtj92.js} +6 -6
- package/dist/chunks/{instance-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3vg8y1ak.js → app-3n9gdh1k.js} +12 -12
- package/dist/chunks/{instance-qpyfagd9.js → app-3p1t101e.js} +11 -11
- package/dist/chunks/{instance-3qkddhf9.js → app-3p827y1v.js} +18 -18
- package/dist/chunks/{instance-k2dherqe.js → app-3q9crshv.js} +1 -1
- package/dist/chunks/{instance-9e84n160.js → app-3qamp8r0.js} +35 -35
- package/dist/chunks/{instance-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-xcdrtwcw.js → app-3z9f67a4.js} +27 -27
- package/dist/chunks/{instance-pm423p2k.js → app-488jmg72.js} +8 -8
- package/dist/chunks/{instance-zam36egm.js → app-4c7t2hb3.js} +9 -9
- package/dist/chunks/{instance-nbba76hd.js → app-4fgsg95c.js} +19 -19
- package/dist/chunks/{instance-y5ncgb6j.js → app-4m51zt69.js} +9 -9
- package/dist/chunks/{instance-58r7h64c.js → app-4s7s6hns.js} +13 -13
- package/dist/chunks/{instance-we06zyxx.js → app-4ske52ay.js} +4 -4
- package/dist/chunks/{instance-sbz3393s.js → app-4tgepgz2.js} +46 -46
- package/dist/chunks/{instance-bajakh74.js → app-4vf9gwg8.js} +4 -4
- package/dist/chunks/{instance-jxcs6xvz.js → app-4xd8swbf.js} +11 -11
- package/dist/chunks/{instance-nr4nqx3r.js → app-4xqwm4r2.js} +14 -14
- package/dist/chunks/{instance-mfqp6xfm.js → app-56gdpj1q.js} +6 -6
- package/dist/chunks/{instance-a1bz86dw.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{instance-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{instance-mydvtj77.js → app-5fasnjbz.js} +20 -20
- package/dist/chunks/{instance-h64xq93z.js → app-5msnf33t.js} +27 -27
- package/dist/chunks/{instance-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{instance-gkv26jye.js → app-5z426dhq.js} +11 -11
- package/dist/chunks/{instance-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{instance-b685mj8n.js → app-6fmew5e2.js} +7 -7
- package/dist/chunks/{instance-6h73sxmp.js → app-6h73sxmp.js} +1 -1
- package/dist/chunks/{instance-tkmwgdpd.js → app-6hh8tjw2.js} +7 -7
- package/dist/chunks/{instance-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{instance-k7azvhe8.js → app-6ytr2r1k.js} +5 -5
- package/dist/chunks/{instance-ay6drajv.js → app-7039s2ae.js} +34 -34
- package/dist/chunks/{instance-htveh2m9.js → app-70d2s7af.js} +1 -1
- package/dist/chunks/{instance-71q4at8m.js → app-71q4at8m.js} +1 -1
- package/dist/chunks/{instance-mnd9tb9p.js → app-79a0b5rg.js} +96 -96
- package/dist/chunks/{instance-hchjte0m.js → app-79by68xe.js} +9 -9
- package/dist/chunks/{instance-v8q3yec4.js → app-7bdqzs13.js} +32 -32
- package/dist/chunks/{instance-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-tkhxy7z6.js → app-7bt1mwkz.js} +32 -32
- package/dist/chunks/{instance-k21rab87.js → app-7g1vzt8j.js} +35 -35
- package/dist/chunks/{instance-9v1w22sa.js → app-7jf3rx6v.js} +13 -13
- package/dist/chunks/{instance-zx6465ex.js → app-7x2xfc77.js} +11 -11
- package/dist/chunks/{instance-zw519yra.js → app-815rpf75.js} +20 -20
- package/dist/chunks/{instance-pa8pe2x7.js → app-844ef7ks.js} +6 -6
- package/dist/chunks/{instance-az222bmv.js → app-8am9vma6.js} +24 -24
- package/dist/chunks/{instance-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instance-5mmf80mp.js → app-8de9g2wa.js} +8 -8
- package/dist/chunks/{instance-azcgtc4a.js → app-8mv32mqt.js} +50 -50
- package/dist/chunks/{instance-r837sqjd.js → app-95fq9yxk.js} +10 -10
- package/dist/chunks/{instance-jkh9vv9y.js → app-962tx2qa.js} +22 -22
- package/dist/chunks/{instance-1wkp69xd.js → app-99sec61k.js} +9 -9
- package/dist/chunks/{instance-712qpzp3.js → app-99xay3p1.js} +8 -8
- package/dist/chunks/{instance-a68v6zx7.js → app-9s9rwn5z.js} +8 -8
- package/dist/chunks/{instance-77g3db33.js → app-9v3m3k6g.js} +9 -9
- package/dist/chunks/{instance-y6f0p4jw.js → app-9vs0xtad.js} +3 -3
- package/dist/chunks/{instance-hv8h34pb.js → app-9wgnr44e.js} +8 -8
- package/dist/chunks/{instance-wycsdkc3.js → app-9y8671sk.js} +11 -11
- package/dist/chunks/{instance-5j4ntxp7.js → app-a2re09g1.js} +22 -22
- package/dist/chunks/{instance-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{instance-7b5gkxp8.js → app-as64xgvx.js} +20 -20
- package/dist/chunks/{instance-zeqhkn80.js → app-axqjetvy.js} +26 -26
- package/dist/chunks/{instance-wdq4bp78.js → app-b3f68z6w.js} +6 -6
- package/dist/chunks/{instance-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{instance-5wzpv73x.js → app-b6tnvp33.js} +16 -16
- package/dist/chunks/{instance-h3z8dn0k.js → app-b99ewpxx.js} +8 -8
- package/dist/chunks/{instance-989cxe8f.js → app-bb47nq2s.js} +17 -17
- package/dist/chunks/{instance-j65qfcye.js → app-bpccfqd3.js} +12 -12
- package/dist/chunks/{instance-cqqhcsta.js → app-btxxvpyy.js} +12 -12
- package/dist/chunks/app-by5v678g.js +18 -0
- package/dist/chunks/{instance-b0ew86wa.js → app-c25j16b6.js} +18 -18
- package/dist/chunks/{instance-7j92jdde.js → app-c5gn303e.js} +4 -4
- package/dist/chunks/{instance-69m4g4fy.js → app-cbxv00zf.js} +8 -8
- package/dist/chunks/{instance-4xhhjths.js → app-ctzssw83.js} +8 -8
- package/dist/chunks/{instance-990ev2kv.js → app-cvtmmhw6.js} +1 -1
- package/dist/chunks/{instance-a4spdbgn.js → app-d08jv58j.js} +20 -20
- package/dist/chunks/{instance-mf0cqsb6.js → app-d1r29v35.js} +5 -5
- package/dist/chunks/{instance-pjc1x023.js → app-d9yh24m3.js} +46 -46
- package/dist/chunks/{instance-jj25k7p6.js → app-dd52qhkk.js} +28 -28
- package/dist/chunks/{instance-8p4f9s12.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{instance-atkakgh2.js → app-djhgwtj8.js} +7 -7
- package/dist/chunks/{instance-9tj4409s.js → app-dpcg14ab.js} +43 -43
- package/dist/chunks/{instance-8zn8nz2a.js → app-drhmh129.js} +92 -92
- package/dist/chunks/{instance-e5xpd6yj.js → app-ds9cym46.js} +6 -6
- package/dist/chunks/{instance-x067k0ta.js → app-dwkgsnj0.js} +297 -297
- package/dist/chunks/{instance-c8sb3dx4.js → app-dx9cm0t0.js} +15 -15
- package/dist/chunks/{instance-evbgk2k8.js → app-e3mxans8.js} +5 -5
- package/dist/chunks/{instance-drgn1tc1.js → app-e5batswc.js} +23 -23
- package/dist/chunks/{instance-e5nv3ght.js → app-e5nv3ght.js} +2 -2
- package/dist/chunks/{instance-tfhyw2nj.js → app-e5teavnc.js} +9 -9
- package/dist/chunks/{instance-wmct3y1z.js → app-e7eq38wk.js} +9 -9
- package/dist/chunks/{instance-t550f9t1.js → app-eaj1djv9.js} +8 -8
- package/dist/chunks/{instance-cfadke7g.js → app-ebk5y3wp.js} +18 -18
- package/dist/chunks/{instance-4671r7vn.js → app-ee0f5b90.js} +11 -11
- package/dist/chunks/{instance-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{instance-s5bmgc6k.js → app-eymr46he.js} +35 -35
- package/dist/chunks/{instance-6wdbhf9a.js → app-ez7tesda.js} +11 -11
- package/dist/chunks/{instance-r8xr0va3.js → app-f2n192rq.js} +4 -4
- package/dist/chunks/{instance-gf2az15k.js → app-f6h44vt5.js} +6 -6
- package/dist/chunks/{instance-eck9pjqj.js → app-fen7mw99.js} +8 -8
- package/dist/chunks/{instance-v32t8jx1.js → app-ff0htmxq.js} +6 -6
- package/dist/chunks/{instance-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instance-k0dqn2qy.js → app-g1ww8e3f.js} +15 -15
- package/dist/chunks/{instance-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-kpma2b8a.js → app-gnz55c53.js} +43 -43
- package/dist/chunks/{instance-d34phyfm.js → app-gpsmm3ta.js} +29 -29
- package/dist/chunks/{instance-z0yk10rq.js → app-gq1a1j0q.js} +30 -30
- package/dist/chunks/{instance-a41c1ncm.js → app-grskzymy.js} +6 -6
- package/dist/chunks/{instance-h03wrkyp.js → app-h03wrkyp.js} +2 -2
- package/dist/chunks/{instance-2gvjmcc6.js → app-h4wmnrav.js} +27 -27
- package/dist/chunks/app-h6ka0qq8.js +26 -0
- package/dist/chunks/{instance-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-3vcjn72j.js → app-h86eetsm.js} +13 -13
- package/dist/chunks/{instance-2fz6hejr.js → app-h9dy7g3k.js} +21 -21
- package/dist/chunks/{instance-7dvjm3dp.js → app-hax2xkfs.js} +6 -6
- package/dist/chunks/{instance-f828m53h.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{instance-jwr40df7.js → app-heqg70k2.js} +20 -20
- package/dist/chunks/{instance-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-g6ybfmtd.js → app-j6kg5r8z.js} +11 -11
- package/dist/chunks/{instance-dfe8djrf.js → app-j83byb14.js} +4 -4
- package/dist/chunks/{instance-jn6ajjq2.js → app-j8v4na37.js} +174 -174
- package/dist/chunks/{instance-d6s6sv1w.js → app-j92hx5ks.js} +5 -5
- package/dist/chunks/{instance-bt5b70sq.js → app-jc17n9gv.js} +36 -36
- package/dist/chunks/{instance-gk5va808.js → app-jhvcngzp.js} +17 -17
- package/dist/chunks/{instance-q5asdkn4.js → app-jvf3yq6v.js} +4 -4
- package/dist/chunks/{instance-0z1bdv2c.js → app-k6qndfad.js} +26 -26
- package/dist/chunks/{instance-2vd2t3ny.js → app-k8f4e1q1.js} +15 -15
- package/dist/chunks/{instance-mwcck7hd.js → app-k91vn9qt.js} +13 -13
- package/dist/chunks/{instance-bf1n3tvh.js → app-kaph4dp2.js} +13 -13
- package/dist/chunks/{instance-zqexjq4g.js → app-kcvdw7hq.js} +21 -21
- package/dist/chunks/{instance-774mmb8v.js → app-kcw8n58a.js} +6 -6
- package/dist/chunks/{instance-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{instance-ae6rh24q.js → app-kkgs1rnq.js} +13 -13
- package/dist/chunks/{instance-sth5w77v.js → app-knb92ksz.js} +9 -9
- package/dist/chunks/{instance-y56ehv6b.js → app-kpvyk30t.js} +9 -9
- package/dist/chunks/{instance-7q07g5d7.js → app-kragzxm7.js} +8 -8
- package/dist/chunks/{instance-5vyhjb32.js → app-kv3ch0es.js} +44 -44
- package/dist/chunks/{instance-cfpkc3c9.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{instance-ekdcxhm1.js → app-m44y384t.js} +17 -17
- package/dist/chunks/{instance-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-3163fjgp.js → app-mc3s7fb4.js} +47 -47
- package/dist/chunks/{instance-53fk4k5k.js → app-mew188h6.js} +26 -26
- package/dist/chunks/{instance-80nc4spm.js → app-mkw2wvv0.js} +17 -17
- package/dist/chunks/{instance-w4dt659t.js → app-mz6ae2yf.js} +1 -1
- package/dist/chunks/{instance-e0qjrv0a.js → app-n863r4pp.js} +34 -34
- package/dist/chunks/{instance-j311gd59.js → app-ndqtf2h8.js} +9 -9
- package/dist/chunks/{instance-vq1yc3e1.js → app-nfbtqdky.js} +32 -32
- package/dist/chunks/{instance-ptq0xf58.js → app-ngybnnec.js} +42 -42
- package/dist/chunks/{instance-e82z9tr0.js → app-nhy5jxhy.js} +7 -7
- package/dist/chunks/{instance-6em5btvd.js → app-nk310e7d.js} +5 -5
- package/dist/chunks/{instance-wvmhx4nb.js → app-nv5vn7qx.js} +8 -8
- package/dist/chunks/{instance-ex5dzrg8.js → app-nx7mgqwr.js} +17 -17
- package/dist/chunks/{instance-rxsz3rd5.js → app-nyzamb02.js} +20 -20
- package/dist/chunks/{instance-vavfmh0d.js → app-p1wf2k30.js} +9 -9
- package/dist/chunks/{instance-v6rh28k5.js → app-p1yhy00c.js} +15 -15
- package/dist/chunks/{instance-y7n2aehx.js → app-p9bng2jk.js} +24 -24
- package/dist/chunks/{instance-nd07399z.js → app-pbfzwbsy.js} +13 -13
- package/dist/chunks/{instance-pfc0tjjp.js → app-pezvt5x4.js} +71 -71
- package/dist/chunks/{instance-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-ehtqn8cz.js → app-pkaeh3jp.js} +14 -14
- package/dist/chunks/{instance-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{instance-8d465zne.js → app-q0g9019d.js} +28 -28
- package/dist/chunks/{instance-kbj2dgab.js → app-q4fmv0xv.js} +5 -5
- package/dist/chunks/{instance-6hh53734.js → app-q8qja58b.js} +9 -9
- package/dist/chunks/{instance-nrdmrqsx.js → app-qj8eh1ht.js} +4 -4
- package/dist/chunks/{instance-vmvrpa7f.js → app-qkk52kd6.js} +2 -2
- package/dist/chunks/{instance-4qgj4wmy.js → app-qrr9kfam.js} +20 -20
- package/dist/chunks/{instance-wr1sjn0z.js → app-qrv0hc0e.js} +10 -10
- package/dist/chunks/{instance-cq9s2pzj.js → app-qs7kc60q.js} +8 -8
- package/dist/chunks/{instance-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-v49xabdw.js → app-qtfeymnv.js} +7 -7
- package/dist/chunks/{instance-gaf58hkh.js → app-r0mcpz4e.js} +10 -10
- package/dist/chunks/{instance-92twm15x.js → app-r1wvay4d.js} +55 -55
- package/dist/chunks/{instance-kpy511kd.js → app-r3ft6425.js} +17 -17
- package/dist/chunks/{instance-r9mregkx.js → app-r9mregkx.js} +2 -2
- package/dist/chunks/{instance-cpy6gm2a.js → app-rph3zd4r.js} +6 -6
- package/dist/chunks/{instance-zeh9ct20.js → app-rq775frq.js} +2 -2
- package/dist/chunks/{instance-2kccvtj4.js → app-rs3tpxgz.js} +11 -11
- package/dist/chunks/{instance-7jc459k6.js → app-s0j1fbfd.js} +4 -4
- package/dist/chunks/{instance-mvt9nceh.js → app-s1w7wtw7.js} +20 -20
- package/dist/chunks/{instance-kk2xw3y7.js → app-sbvg55hg.js} +10 -10
- package/dist/chunks/app-se2r9bmm.js +247 -0
- package/dist/chunks/{instance-36y50440.js → app-sgr3arpp.js} +41 -41
- package/dist/chunks/{instance-p27gkp7g.js → app-sgvj2xz6.js} +22 -22
- package/dist/chunks/{instance-4zvdp377.js → app-t1wwgba0.js} +28 -28
- package/dist/chunks/{instance-5mrs3756.js → app-t29fdsch.js} +28 -28
- package/dist/chunks/{instance-nyhmxcfh.js → app-t7scepzc.js} +30 -30
- package/dist/chunks/{instance-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-s8zy8myc.js → app-tb89zjsd.js} +5 -5
- package/dist/chunks/{instance-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{instance-ngqd1g3c.js → app-te6cpsjw.js} +4 -4
- package/dist/chunks/{instance-hyqhh812.js → app-tf7xy0nv.js} +20 -21
- package/dist/chunks/{instance-t6kmwkf4.js → app-tnpb702e.js} +16 -16
- package/dist/chunks/{instance-qx23bgy9.js → app-tqkfp8mb.js} +20 -20
- package/dist/chunks/{instance-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{instance-adqdhdk3.js → app-v0rnkkan.js} +22 -22
- package/dist/chunks/{instance-e0renkat.js → app-v0vna0hr.js} +36 -36
- package/dist/chunks/{instance-b09hzw3k.js → app-v2f6dcv3.js} +2 -2
- package/dist/chunks/{instance-hknnrgbc.js → app-v4tagf9s.js} +4 -4
- package/dist/chunks/{instance-3zwnvr1n.js → app-vcjpx2p6.js} +60 -60
- package/dist/chunks/{instance-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-eskh13hc.js → app-wafhz9z5.js} +16 -16
- package/dist/chunks/{instance-53d4v5pk.js → app-wavq5vqb.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{instance-8hd4v6n4.js → app-wjbb3v96.js} +4 -4
- package/dist/chunks/{instance-d0jvxa8c.js → app-wmsmh04t.js} +1 -1
- package/dist/chunks/{instance-ygpzgdt9.js → app-wmwr0kv0.js} +27 -27
- package/dist/chunks/{instance-ad0exsgz.js → app-wp14g9ps.js} +28 -28
- package/dist/chunks/{instance-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instance-285kwpzc.js → app-xaq2s33m.js} +14 -14
- package/dist/chunks/{instance-ypr31vm5.js → app-xaxvdqwz.js} +19 -19
- package/dist/chunks/{instance-we1nej8k.js → app-xfd3m1ss.js} +9 -9
- package/dist/chunks/{instance-7dzgh1k2.js → app-xg6w0apm.js} +40 -40
- package/dist/chunks/{instance-n4mt7cy9.js → app-xhgrbxjr.js} +29 -29
- package/dist/chunks/{instance-sqk862es.js → app-xrefmav4.js} +7 -10
- package/dist/chunks/{instance-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-gmg0ptw0.js → app-y47n03xn.js} +19 -19
- package/dist/chunks/{instance-kbv9saf0.js → app-y598pph1.js} +11 -11
- package/dist/chunks/{instance-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{instance-b4vf3a2b.js → app-y8j74zyv.js} +8 -8
- package/dist/chunks/{instance-j1482wbs.js → app-yk9xxxbm.js} +16 -16
- package/dist/chunks/{instance-vgt8j0sp.js → app-ymk0y6rr.js} +32 -32
- package/dist/chunks/{instance-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instance-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{instance-7g5cyyyf.js → app-ysancpsm.js} +31 -31
- package/dist/chunks/{instance-1kzqz27k.js → app-ysp9ar34.js} +43 -43
- package/dist/chunks/{instance-1e12bvff.js → app-yt5vak3w.js} +30 -30
- package/dist/chunks/{instance-qqtada7n.js → app-z01ksdxp.js} +23 -23
- package/dist/chunks/{instance-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-1p650831.js → app-z263g23a.js} +4 -4
- package/dist/chunks/{instance-wxrmx0rn.js → app-z436s2b4.js} +12 -12
- package/dist/chunks/{instance-gzz0cat6.js → app-z5ptqwzc.js} +36 -36
- package/dist/chunks/{instance-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{instance-xaj3xdtg.js → app-z88hp0aa.js} +4 -4
- package/dist/chunks/{instance-5qsb12y6.js → app-zc923k6h.js} +26 -26
- package/dist/chunks/{instance-83c75zz2.js → app-zhmtbbwy.js} +21 -21
- package/dist/chunks/{instance-p8bp9xy3.js → app-zjxmyx9h.js} +18 -18
- package/dist/chunks/{instance-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{instance-xjpk9v39.js → app-zzn8fca5.js} +5 -5
- 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 +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +90 -90
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- 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 +133 -133
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +94 -94
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +221 -221
- 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 +11 -11
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/skill.d.ts +3 -6
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +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 +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 +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/instance-42p734gx.js +0 -247
- package/dist/chunks/instance-hxa7m5za.js +0 -4
- package/dist/chunks/instance-phz3h32g.js +0 -18
- package/dist/chunks/instance-yc2kznja.js +0 -26
- /package/dist/chunks/{instance-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-paphc93g.js → app-paphc93g.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service64 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service64.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node67 = makeLocationNode({
|
|
143
|
+
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node67, exports_tool_output2 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./app-1e7h8b71.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./app-8am9vma6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./app-3p827y1v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-kkgs1rnq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./app-r1wvay4d.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service19,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-c25j16b6.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin3 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const access = yield* Service19;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin41 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin3, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-33n3bzdy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID7
|
|
7
|
+
} from "./app-btxxvpyy.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./app-yk9xxxbm.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-b6tnvp33.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured4,
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service78;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service21.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service15, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
|
+
var configured4 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service21,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node83, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node25 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service21, layer10, configured4, node25, exports_persistent_pty, Handoff2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./app-yk9xxxbm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./app-7jf3rx6v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service53 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service57;
|
|
81
|
+
const bus = yield* Service78;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service53.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node56 = makeGlobalNode({ service: Service53, layer, deps: [httpClient, node60, node83] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service53, Event11, inspect2, resolve2, node56, exports_wellknown };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-3p1t101e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./app-yk9xxxbm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./app-7g1vzt8j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-ysancpsm.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID18,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-33n3bzdy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID8.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID8.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID18.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID18.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-r1wvay4d.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin39
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin39 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin39, exports_plan };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make13,
|
|
5
|
+
exports_instructions2
|
|
6
|
+
} from "../chunks/app-mkw2wvv0.js";
|
|
7
|
+
import"../chunks/app-3fc6dm20.js";
|
|
8
|
+
import"../chunks/app-eaj1djv9.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
exports_instructions2 as CodeModeInstructions,
|
|
11
|
+
make13 as make,
|
|
12
|
+
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/app-r9mregkx.js";
|
|
6
|
+
import"../chunks/app-3w5fmr99.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_tool2 as CodeModeTool,
|
|
9
9
|
catalog2 as catalog,
|