@opencode/core 0.0.0-dev-19529 → 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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{credential-3gdxf9my.js → model-resolver-031kg769.js} +18 -18
- package/dist/chunks/{credential-rf48t08f.js → model-resolver-05k3a4yp.js} +2 -2
- package/dist/chunks/{credential-4y66k410.js → model-resolver-0ajdgxne.js} +5 -5
- package/dist/chunks/{credential-xbwpbga0.js → model-resolver-0dy66kxe.js} +11 -11
- package/dist/chunks/{credential-wayj738j.js → model-resolver-0fnjefvz.js} +39 -39
- package/dist/chunks/{credential-6anwy9fs.js → model-resolver-0gaj4617.js} +6 -6
- package/dist/chunks/{credential-ps0k9z1z.js → model-resolver-0gjxn4me.js} +35 -35
- package/dist/chunks/{credential-65a5j36j.js → model-resolver-0hxph87b.js} +11 -11
- package/dist/chunks/model-resolver-0mesazry.js +4 -0
- package/dist/chunks/{credential-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-qtkzm0vp.js → model-resolver-0r684n0p.js} +8 -8
- package/dist/chunks/{credential-6qbmmse8.js → model-resolver-13h6pnmt.js} +50 -50
- package/dist/chunks/{credential-f2n192rq.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{credential-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-k6q20m6t.js → model-resolver-1j5g3f90.js} +32 -32
- package/dist/chunks/{credential-bzy4s6e0.js → model-resolver-1snz0n3v.js} +83 -83
- package/dist/chunks/{credential-1ygqh575.js → model-resolver-1ygqh575.js} +2 -2
- package/dist/chunks/{credential-b3v47ypf.js → model-resolver-20erkkh9.js} +16 -16
- package/dist/chunks/{credential-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{credential-2402vzrj.js → model-resolver-2402vzrj.js} +1 -1
- package/dist/chunks/{credential-6f89xh0p.js → model-resolver-28gfvtek.js} +47 -47
- package/dist/chunks/{credential-29x78va6.js → model-resolver-29x78va6.js} +2 -2
- package/dist/chunks/{credential-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-3hjzpa7c.js → model-resolver-2rcpqfm0.js} +9 -9
- package/dist/chunks/{credential-w9hf3j60.js → model-resolver-2xbd7nbt.js} +20 -20
- package/dist/chunks/{credential-37vne506.js → model-resolver-33yp9811.js} +9 -9
- package/dist/chunks/{credential-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-yf17ygct.js → model-resolver-3h8hqytd.js} +13 -13
- package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-bpqahvg7.js → model-resolver-4334gj7r.js} +8 -8
- package/dist/chunks/{credential-vs4ph552.js → model-resolver-43thsgmw.js} +20 -20
- package/dist/chunks/{credential-w8z81xec.js → model-resolver-44xcyhkw.js} +16 -16
- package/dist/chunks/{credential-87deq66t.js → model-resolver-4jk0qxj4.js} +4 -4
- package/dist/chunks/{credential-fs6bp36w.js → model-resolver-4q81s1cb.js} +5 -5
- package/dist/chunks/{credential-t2q9as2k.js → model-resolver-4s08xxae.js} +5 -5
- package/dist/chunks/{credential-ycxn0eaf.js → model-resolver-4t19f8k2.js} +32 -32
- package/dist/chunks/{credential-1q5awywt.js → model-resolver-4v4bfvma.js} +5 -5
- package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
- package/dist/chunks/{credential-a2zg7mdw.js → model-resolver-4xe2p835.js} +11 -11
- package/dist/chunks/{credential-6ghnv2dz.js → model-resolver-52p5p480.js} +33 -33
- package/dist/chunks/{credential-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{credential-n9ke8tjh.js → model-resolver-5d4cs5xf.js} +11 -11
- package/dist/chunks/{credential-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-dc6tzc5b.js → model-resolver-5faec82q.js} +7 -7
- package/dist/chunks/{credential-fb0qyvep.js → model-resolver-5kh0wb3v.js} +13 -13
- package/dist/chunks/{credential-5843mwj1.js → model-resolver-5s8kkgq1.js} +89 -89
- package/dist/chunks/{credential-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-fschjpvb.js → model-resolver-5z63511r.js} +9 -9
- package/dist/chunks/{credential-kmgatmpx.js → model-resolver-61b2qq6z.js} +22 -22
- package/dist/chunks/{credential-137edvbp.js → model-resolver-65mwty8e.js} +7 -7
- package/dist/chunks/{credential-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{credential-h51gdt4r.js → model-resolver-66e7kvmh.js} +15 -15
- package/dist/chunks/{credential-zfcp8yb0.js → model-resolver-6jswab00.js} +3 -3
- package/dist/chunks/{credential-jg4wsava.js → model-resolver-6jzjxba3.js} +15 -15
- package/dist/chunks/{credential-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-vx1b4c7n.js → model-resolver-6n5283ys.js} +14 -14
- package/dist/chunks/{credential-tj0j24wc.js → model-resolver-6yxmp89e.js} +10 -10
- package/dist/chunks/{credential-rb5q7yxt.js → model-resolver-6ze89g9b.js} +5 -5
- package/dist/chunks/{credential-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-57kf9cn6.js → model-resolver-71t2waba.js} +11 -11
- package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-7dqw4kz8.js → model-resolver-7dqw4kz8.js} +1 -1
- package/dist/chunks/{credential-f1zbxv7x.js → model-resolver-7xhhf2aw.js} +6 -6
- package/dist/chunks/{credential-csf2jhsg.js → model-resolver-88sz8qcd.js} +4 -4
- package/dist/chunks/{credential-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-e518rnqz.js → model-resolver-8efzajgs.js} +15 -15
- package/dist/chunks/{credential-trn0ebkj.js → model-resolver-8h4a5z95.js} +2 -2
- package/dist/chunks/{credential-ggh4w9bp.js → model-resolver-8nghd9xh.js} +4 -4
- package/dist/chunks/{credential-7tjcxw0h.js → model-resolver-8xp7je32.js} +15 -15
- package/dist/chunks/{credential-zkcb3wjz.js → model-resolver-9a40xa2n.js} +33 -33
- package/dist/chunks/{credential-qy4w3bxg.js → model-resolver-9avrpg3p.js} +22 -22
- package/dist/chunks/{credential-shh6fz4q.js → model-resolver-9e3vcssh.js} +4 -4
- package/dist/chunks/{credential-7qr38kzh.js → model-resolver-9h8yyxwx.js} +18 -18
- package/dist/chunks/model-resolver-9heqp6jx.js +247 -0
- package/dist/chunks/{credential-s8evpm24.js → model-resolver-9s6q7dfh.js} +6 -6
- package/dist/chunks/{credential-2bt6bea8.js → model-resolver-9tw56fnr.js} +9 -9
- package/dist/chunks/{credential-5tc6z34b.js → model-resolver-9z5hcwep.js} +16 -16
- package/dist/chunks/{credential-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/model-resolver-aed8g19c.js +26 -0
- package/dist/chunks/{credential-1xhwvcn8.js → model-resolver-aeex8way.js} +24 -24
- package/dist/chunks/{credential-xy7r7wb6.js → model-resolver-aexrjf4q.js} +24 -24
- package/dist/chunks/{credential-5rhtwdx6.js → model-resolver-afrwk4ch.js} +8 -8
- package/dist/chunks/{credential-kn9ky0zj.js → model-resolver-aryerr4z.js} +32 -32
- package/dist/chunks/{credential-h727evg8.js → model-resolver-atgag4yh.js} +38 -38
- package/dist/chunks/{credential-6nvz1bm7.js → model-resolver-b0xvdmck.js} +11 -11
- package/dist/chunks/{credential-3jp54z3r.js → model-resolver-b3wkxfg9.js} +1 -1
- package/dist/chunks/{credential-2hkwsqj8.js → model-resolver-b5nae5wy.js} +34 -34
- package/dist/chunks/{credential-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-h7tghspc.js → model-resolver-b7pbz13w.js} +23 -23
- package/dist/chunks/{credential-w4whswvt.js → model-resolver-bdv0prqb.js} +18 -18
- package/dist/chunks/{credential-c2jb4sd6.js → model-resolver-bs3vba9y.js} +19 -19
- package/dist/chunks/{credential-zgsse2vy.js → model-resolver-c4c5wrfd.js} +1 -1
- package/dist/chunks/{credential-1e9w7pgh.js → model-resolver-c68b4qab.js} +10 -10
- package/dist/chunks/{credential-824g01v9.js → model-resolver-cnr77sqv.js} +10 -10
- package/dist/chunks/{credential-y4tdvyse.js → model-resolver-cpwgm14c.js} +18 -18
- package/dist/chunks/{credential-6bsje7ws.js → model-resolver-csdaj16z.js} +3 -3
- package/dist/chunks/{credential-ep4amt4t.js → model-resolver-ctmnhs0f.js} +278 -278
- package/dist/chunks/{credential-4f3mwee9.js → model-resolver-d0as5ky3.js} +4 -4
- package/dist/chunks/{credential-xpj3gpes.js → model-resolver-d8dbj37k.js} +9 -9
- package/dist/chunks/{credential-eraanh1f.js → model-resolver-da6kr1wx.js} +6 -6
- package/dist/chunks/{credential-p8dxdehy.js → model-resolver-ddd0tqrv.js} +21 -21
- package/dist/chunks/{credential-qq11w61w.js → model-resolver-dfe8djrf.js} +4 -4
- package/dist/chunks/{credential-g59fyfvz.js → model-resolver-dfst59nt.js} +16 -16
- package/dist/chunks/{credential-ajpz4c85.js → model-resolver-dj2gndk9.js} +16 -16
- package/dist/chunks/{credential-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{credential-784ptbr4.js → model-resolver-dr6k78h1.js} +12 -12
- package/dist/chunks/{credential-f0q7zmqq.js → model-resolver-drwkn14p.js} +24 -24
- package/dist/chunks/{credential-fs1f3z87.js → model-resolver-dwe4spzd.js} +3 -3
- package/dist/chunks/{credential-mgxxs7qr.js → model-resolver-e2tc44kv.js} +9 -9
- package/dist/chunks/{credential-dpk4wwe7.js → model-resolver-e5z2yc0m.js} +15 -15
- package/dist/chunks/{credential-52brkwct.js → model-resolver-e9wvc5tf.js} +3 -3
- package/dist/chunks/{credential-gzfav7zd.js → model-resolver-ebbn7jdz.js} +8 -8
- package/dist/chunks/{credential-m1bsv6jj.js → model-resolver-eqb5zhc6.js} +39 -39
- package/dist/chunks/{credential-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-bn33stbn.js → model-resolver-f486cjd7.js} +9 -9
- package/dist/chunks/{credential-pmv4bga1.js → model-resolver-fat0n13h.js} +6 -6
- package/dist/chunks/{credential-j320jmqx.js → model-resolver-fg61w092.js} +18 -18
- package/dist/chunks/{credential-k54dv39c.js → model-resolver-frynmqdf.js} +4 -4
- package/dist/chunks/{credential-z8gz5v71.js → model-resolver-fw6f7ywv.js} +17 -17
- package/dist/chunks/{credential-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-az27rkrd.js → model-resolver-fy0w211v.js} +3 -3
- package/dist/chunks/{credential-rw56aqa4.js → model-resolver-fyekc6s2.js} +11 -11
- package/dist/chunks/{credential-g500fjm7.js → model-resolver-fz9at2d6.js} +1 -1
- package/dist/chunks/{credential-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-fkd2ewj5.js → model-resolver-gha63455.js} +12 -12
- package/dist/chunks/{credential-m7ze9y9x.js → model-resolver-gkdyp9ys.js} +6 -6
- package/dist/chunks/{credential-55wx515q.js → model-resolver-gkytqtkj.js} +12 -12
- package/dist/chunks/{credential-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-a402s24a.js → model-resolver-h2fnwfb0.js} +11 -11
- package/dist/chunks/{credential-h7y0pvw8.js → model-resolver-h5knn3sc.js} +5 -5
- package/dist/chunks/{credential-bcw3k3x0.js → model-resolver-h6nde2e3.js} +13 -13
- package/dist/chunks/{credential-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-znsaqkh0.js → model-resolver-h7dmbe3e.js} +6 -6
- package/dist/chunks/{credential-gy4p1xkh.js → model-resolver-h8frrzh0.js} +1 -1
- package/dist/chunks/{credential-32k62b7w.js → model-resolver-hahgrcae.js} +18 -18
- package/dist/chunks/{credential-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{credential-kfef4ady.js → model-resolver-hfkyrasj.js} +54 -54
- package/dist/chunks/{credential-nhy5jxhy.js → model-resolver-hjt4xg1x.js} +4 -4
- package/dist/chunks/{credential-xw0r27ex.js → model-resolver-hn57h045.js} +4 -4
- package/dist/chunks/{credential-aybmp5ad.js → model-resolver-j3h8c2cp.js} +20 -20
- package/dist/chunks/{credential-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-f32czd11.js → model-resolver-j7867dn5.js} +8 -8
- package/dist/chunks/{credential-j6s0ns1m.js → model-resolver-j8b7kmqb.js} +23 -23
- package/dist/chunks/{credential-h2bhmd9t.js → model-resolver-jakagae6.js} +25 -25
- package/dist/chunks/{credential-kyktj0vd.js → model-resolver-jd00bmkr.js} +6 -6
- package/dist/chunks/{credential-yt0fqk68.js → model-resolver-jwbqhvyy.js} +5 -5
- package/dist/chunks/{credential-30e04pyd.js → model-resolver-jyfdqx07.js} +18 -18
- package/dist/chunks/{credential-kead0yev.js → model-resolver-k06qmaw9.js} +19 -19
- package/dist/chunks/{credential-vj2t5vfg.js → model-resolver-k58qhvzp.js} +10 -10
- package/dist/chunks/{credential-mxfg1vns.js → model-resolver-kck439bj.js} +30 -30
- package/dist/chunks/{credential-fnjg1z38.js → model-resolver-kew454ha.js} +26 -26
- package/dist/chunks/{credential-88fd6wt9.js → model-resolver-kfz2kx3w.js} +10 -10
- package/dist/chunks/{credential-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-nnn8deah.js → model-resolver-knyfvgyf.js} +18 -18
- package/dist/chunks/{credential-tj02xv2p.js → model-resolver-kp92jgaq.js} +26 -26
- package/dist/chunks/{credential-j7knmneh.js → model-resolver-kt2k2fvy.js} +16 -16
- package/dist/chunks/{credential-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{credential-y4zgnm30.js → model-resolver-m9199dx3.js} +43 -43
- package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-jbjr1a4g.js → model-resolver-marnn1hp.js} +9 -9
- package/dist/chunks/{credential-kp963v2v.js → model-resolver-mb9syhn1.js} +23 -23
- package/dist/chunks/{credential-7t3evy4q.js → model-resolver-mcdc48yx.js} +9 -9
- package/dist/chunks/{credential-gfpqwj54.js → model-resolver-mdenrfp6.js} +43 -43
- package/dist/chunks/{credential-rc3vhjpg.js → model-resolver-mfka0yjk.js} +8 -8
- package/dist/chunks/{credential-vkt5fbj2.js → model-resolver-mgp54d0b.js} +8 -8
- package/dist/chunks/{credential-mhkvc446.js → model-resolver-mhkvc446.js} +1 -1
- package/dist/chunks/{credential-thqjg0hd.js → model-resolver-mjvxm5h6.js} +4 -4
- package/dist/chunks/{credential-f3hm7x99.js → model-resolver-mn7ssvtj.js} +8 -8
- package/dist/chunks/{credential-jfqtm2ew.js → model-resolver-mtq6xxnx.js} +7 -7
- package/dist/chunks/{credential-g9d49rzx.js → model-resolver-mwmpf2dr.js} +20 -20
- package/dist/chunks/{credential-anjj55s4.js → model-resolver-n03j43sk.js} +3 -3
- package/dist/chunks/{credential-1eft6v2a.js → model-resolver-n2bk7ja5.js} +7 -7
- package/dist/chunks/{credential-0qbfsv0x.js → model-resolver-n2dbyk7b.js} +4 -4
- package/dist/chunks/{credential-dx6t9n3e.js → model-resolver-n4d4r70p.js} +47 -47
- package/dist/chunks/{credential-mche7wjp.js → model-resolver-n562g2hd.js} +4 -4
- package/dist/chunks/{credential-04k593ph.js → model-resolver-nabxe85v.js} +37 -37
- package/dist/chunks/{credential-4mp12xfm.js → model-resolver-ndade498.js} +14 -14
- package/dist/chunks/{credential-hy1g3bgf.js → model-resolver-nghrh7na.js} +1 -1
- package/dist/chunks/{credential-rsb1fe67.js → model-resolver-njysne83.js} +5 -5
- package/dist/chunks/{credential-k2v7tfaw.js → model-resolver-nn5tgv9e.js} +23 -23
- package/dist/chunks/{credential-025stnsb.js → model-resolver-nv7590vc.js} +4 -4
- package/dist/chunks/{credential-383y241e.js → model-resolver-nvsyq3ba.js} +48 -48
- package/dist/chunks/{credential-cnyg1n0p.js → model-resolver-nw25ebmp.js} +13 -13
- package/dist/chunks/{credential-g1r5npbb.js → model-resolver-nwjtzbvw.js} +10 -10
- package/dist/chunks/{credential-adtgbey4.js → model-resolver-p15qfr9z.js} +11 -11
- package/dist/chunks/{credential-34ytdzas.js → model-resolver-p1pr2h1d.js} +1 -1
- package/dist/chunks/{credential-pgt8aa90.js → model-resolver-p2vh9553.js} +4 -4
- package/dist/chunks/{credential-v0rc55wa.js → model-resolver-p6s3kjn1.js} +11 -11
- package/dist/chunks/{credential-sazt4qeq.js → model-resolver-p96r38ce.js} +21 -21
- package/dist/chunks/{credential-4y8npecy.js → model-resolver-p97yj8zx.js} +24 -24
- package/dist/chunks/{credential-s3939hvd.js → model-resolver-pch53j0k.js} +3 -3
- package/dist/chunks/{credential-jrrn2k62.js → model-resolver-pck3w1ab.js} +4 -4
- package/dist/chunks/{credential-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-vd0a34xb.js → model-resolver-pka8c3mw.js} +6 -6
- package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{credential-fqjr7ce9.js → model-resolver-pz6n093v.js} +28 -28
- package/dist/chunks/{credential-3nswzzay.js → model-resolver-q78vsr09.js} +12 -12
- package/dist/chunks/{credential-zpn9qnw3.js → model-resolver-q8k6t814.js} +4 -4
- package/dist/chunks/{credential-90dkwxdw.js → model-resolver-qfzde7bh.js} +6 -6
- package/dist/chunks/{credential-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-tyzndn2s.js → model-resolver-qvq5ww91.js} +21 -21
- package/dist/chunks/{credential-t2pqv1sz.js → model-resolver-r3aj5peb.js} +20 -20
- package/dist/chunks/{credential-h8wfmpj2.js → model-resolver-r5wr7fgd.js} +17 -17
- package/dist/chunks/{credential-r9mregkx.js → model-resolver-r9mregkx.js} +2 -2
- package/dist/chunks/{credential-mdcergxs.js → model-resolver-rjxbe5xz.js} +10 -10
- package/dist/chunks/{credential-zeh9ct20.js → model-resolver-rq775frq.js} +2 -2
- package/dist/chunks/{credential-8yey56tc.js → model-resolver-rsj9vhs1.js} +24 -24
- package/dist/chunks/{credential-4faqw2br.js → model-resolver-rwa5eky2.js} +28 -28
- package/dist/chunks/{credential-108vvwmb.js → model-resolver-s24p5rny.js} +31 -31
- package/dist/chunks/{credential-s4enseaf.js → model-resolver-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-qzj2vqtz.js → model-resolver-s6z2946v.js} +17 -17
- package/dist/chunks/{credential-yyfky2bj.js → model-resolver-s95j2a00.js} +1 -1
- package/dist/chunks/{credential-zh5vq5ax.js → model-resolver-sbqaqa2h.js} +15 -15
- package/dist/chunks/{credential-vkxpz7g2.js → model-resolver-sdbkfcvv.js} +4 -4
- package/dist/chunks/{credential-njr1pezb.js → model-resolver-sdfkf7b9.js} +6 -6
- package/dist/chunks/{credential-ck93fedy.js → model-resolver-sp6z5kbv.js} +30 -30
- package/dist/chunks/{credential-cxfsjqk4.js → model-resolver-sr987mfq.js} +14 -14
- package/dist/chunks/{credential-bdx9dffp.js → model-resolver-swjfbv5x.js} +32 -32
- package/dist/chunks/{credential-5kptn8c0.js → model-resolver-t0x5rdq8.js} +9 -9
- package/dist/chunks/{credential-2qp6y8xf.js → model-resolver-t2vpa3bp.js} +5 -5
- package/dist/chunks/{credential-0gdmqesm.js → model-resolver-t550f9t1.js} +4 -4
- package/dist/chunks/{credential-mc5fskgh.js → model-resolver-t8cy7fff.js} +11 -11
- package/dist/chunks/{credential-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{credential-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-m5kafssk.js → model-resolver-txefqv94.js} +58 -58
- package/dist/chunks/{credential-w90cbs64.js → model-resolver-txnj3dzg.js} +4 -4
- package/dist/chunks/{credential-pym3tcck.js → model-resolver-txtwx9zc.js} +22 -22
- package/dist/chunks/{credential-ff0svapt.js → model-resolver-tyqkzprt.js} +2 -2
- package/dist/chunks/{credential-92hfss88.js → model-resolver-tyswbbjp.js} +25 -25
- package/dist/chunks/{credential-jv01nqvq.js → model-resolver-v5hpcsb0.js} +5 -5
- package/dist/chunks/{credential-pgy0xeev.js → model-resolver-v71jvb7r.js} +5 -5
- package/dist/chunks/{credential-deerssnd.js → model-resolver-v8xf7pck.js} +20 -20
- package/dist/chunks/{credential-qfvgma3d.js → model-resolver-vb7d7sbc.js} +30 -30
- package/dist/chunks/{credential-vparcg9p.js → model-resolver-vcrpr27f.js} +7 -7
- package/dist/chunks/{credential-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-xzv329k9.js → model-resolver-vq838htm.js} +9 -9
- package/dist/chunks/{credential-axmvebxj.js → model-resolver-vsp1fds9.js} +4 -4
- package/dist/chunks/{credential-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-w4zny49r.js → model-resolver-w4zny49r.js} +1 -1
- package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{credential-6gbp1941.js → model-resolver-wg7eakzt.js} +4 -4
- package/dist/chunks/{credential-tcjd441j.js → model-resolver-wn02ky47.js} +8 -8
- package/dist/chunks/{credential-j7m6ehyz.js → model-resolver-wpv7jc2z.js} +15 -15
- package/dist/chunks/{credential-phwwwv48.js → model-resolver-wq487jqz.js} +15 -15
- package/dist/chunks/{credential-djmr82th.js → model-resolver-x0kc6c96.js} +20 -20
- package/dist/chunks/{credential-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-c5r41xyy.js → model-resolver-x21rsz6v.js} +16 -16
- package/dist/chunks/{credential-4jsr3np4.js → model-resolver-x8y7wgxd.js} +9 -9
- package/dist/chunks/{credential-jwx4y25k.js → model-resolver-xhmq8qgk.js} +9 -9
- package/dist/chunks/{credential-k7ckb9zr.js → model-resolver-xnbrvajn.js} +9 -9
- package/dist/chunks/{credential-cbc0s4e1.js → model-resolver-xsx6sc1v.js} +168 -168
- package/dist/chunks/{credential-0k50dt3x.js → model-resolver-y0vt1sxg.js} +10 -10
- package/dist/chunks/{credential-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{credential-356gzxb5.js → model-resolver-yaga2gvt.js} +16 -16
- package/dist/chunks/{credential-a2e86qtx.js → model-resolver-yjwqdqt2.js} +25 -25
- package/dist/chunks/{credential-vqeat92e.js → model-resolver-ymbkr1tg.js} +43 -43
- package/dist/chunks/{credential-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-vv2ntgne.js → model-resolver-yvegcnp8.js} +29 -29
- package/dist/chunks/{credential-th5km1p3.js → model-resolver-yyb7tjpc.js} +5 -5
- package/dist/chunks/{credential-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-1y31sz3y.js → model-resolver-z1vbyafm.js} +10 -10
- package/dist/chunks/{credential-jvc6geyb.js → model-resolver-z6qpxre5.js} +20 -20
- package/dist/chunks/{credential-jjsk41ar.js → model-resolver-z8pjpgj2.js} +22 -22
- package/dist/chunks/{credential-8dmhhx1w.js → model-resolver-zaz4910g.js} +24 -24
- package/dist/chunks/{credential-tv8vkxw9.js → model-resolver-zckvtzsb.js} +8 -8
- package/dist/chunks/{credential-x6we754t.js → model-resolver-zf9fe0vx.js} +40 -40
- package/dist/chunks/{credential-3pwgdhn9.js → model-resolver-zjxwcf81.js} +12 -12
- package/dist/chunks/{credential-3c04bhmx.js → model-resolver-zjzag8dm.js} +12 -12
- package/dist/chunks/{credential-5vbbbddv.js → model-resolver-zmhtgr1a.js} +22 -22
- package/dist/chunks/{credential-e9h89vp0.js → model-resolver-zpp9mfbs.js} +24 -24
- package/dist/chunks/{credential-5x0qqm75.js → model-resolver-zqfm6xas.js} +5 -5
- package/dist/chunks/{credential-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-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 +78 -78
- 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 +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +69 -69
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- 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 +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- 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 +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +350 -350
- package/dist/location.js +83 -83
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +85 -85
- 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 +105 -105
- 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 +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 +1 -1
- 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 +4 -4
- 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 +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- 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 +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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +81 -81
- package/dist/plugin/vcs/hg.js +81 -81
- package/dist/plugin/warming.js +111 -111
- 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 +2 -2
- 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 +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +89 -89
- 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 +84 -84
- 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 +213 -213
- 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 +9 -9
- 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 +85 -85
- 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 +122 -122
- 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 +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- 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 +93 -93
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- 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 +90 -90
- package/package.json +8 -8
- package/dist/chunks/credential-6kdq0pjd.js +0 -4
- package/dist/chunks/credential-n7dsh0d3.js +0 -26
- package/dist/chunks/credential-p2h6zvwc.js +0 -18
- package/dist/chunks/credential-rjd8bv89.js +0 -247
- /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-j935v87r.js → model-resolver-j935v87r.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./model-resolver-eqb5zhc6.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin29
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service55;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin45 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin29, exports_websearch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info19 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command4 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-d0as5ky3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node69
|
|
9
|
+
} from "./model-resolver-k58qhvzp.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-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: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -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 Service58 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ 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(Service58, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service64;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service66, 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(Event14.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service58.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(Service66, 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(Event14.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(Service66, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event14.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 node62 = makeGlobalNode({ service: Service58, layer, deps: [httpClient, node69, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service58, Event14, inspect2, resolve3, node62, exports_wellknown };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-vcrpr27f.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-c4c5wrfd.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-sdfkf7b9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./model-resolver-yjwqdqt2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./model-resolver-eqb5zhc6.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service66;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service55);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-sdfkf7b9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID14
|
|
7
|
+
} from "./model-resolver-6yxmp89e.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 [ID14.make("gpt-5-chat-latest"), ID14.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,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-d0as5ky3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./model-resolver-dfst59nt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./model-resolver-aeex8way.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service57,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node61
|
|
20
|
+
} from "./model-resolver-66e7kvmh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service59,
|
|
23
|
+
node63
|
|
24
|
+
} from "./model-resolver-4334gj7r.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node58
|
|
28
|
+
} from "./model-resolver-0r684n0p.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-csdaj16z.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node59
|
|
36
|
+
} from "./model-resolver-eqb5zhc6.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-resolver-gha63455.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError8,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node57
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError8 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service75;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service57;
|
|
94
|
+
const environment = yield* Service60;
|
|
95
|
+
const hooks = yield* Service59;
|
|
96
|
+
const environments = yield* Service54;
|
|
97
|
+
const config = yield* Service55;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError8({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError8({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node57 = makeLocationNode({
|
|
320
|
+
service: Service53,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node80,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node61,
|
|
327
|
+
node64,
|
|
328
|
+
node63,
|
|
329
|
+
node58,
|
|
330
|
+
node59,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError8, RETENTION2, DIRECTORY2, Service53, cleanup2, node57, exports_shell4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9z5hcwep.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-dwe4spzd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-d0as5ky3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node68
|
|
12
|
+
} from "./model-resolver-s6z2946v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node43
|
|
16
|
+
} from "./model-resolver-qfzde7bh.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./model-resolver-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./model-resolver-hn57h045.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-7xhhf2aw.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service50,
|
|
32
|
+
node54
|
|
33
|
+
} from "./model-resolver-gkytqtkj.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-wg7eakzt.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-jyfdqx07.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service37,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer17,
|
|
50
|
+
node: () => node41,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer17 = Layer.effect(Service37, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service50;
|
|
70
|
+
const instances = yield* Service40;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service63;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make17({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service37.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node41 = makeGlobalNode({
|
|
132
|
+
service: Service37,
|
|
133
|
+
layer: layer17,
|
|
134
|
+
deps: [node54, node43, node84, node85, node68]
|
|
135
135
|
});
|
|
136
|
-
var noopLayer2 = Layer.succeed(
|
|
136
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service27, Service27.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service37, terminal2, layer17, node41, noopLayer2, exports_execution };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -45,7 +45,7 @@ function render2(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update2(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
51
|
${render2(current)}`;
|
|
@@ -113,18 +113,18 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make19({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
123
|
initial: render2,
|
|
124
|
-
changed:
|
|
124
|
+
changed: update2,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2,
|
|
130
|
+
export { render2, update2, make14, exports_instructions3 };
|