@opencode/core 0.0.0-dev-19595 → 0.0.0-dev-19596
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{persistent-pty-yzzaphg0.js → schema-02nqk1b9.js} +4 -4
- package/dist/chunks/{persistent-pty-s8d7rejh.js → schema-02nrjc1r.js} +8 -8
- package/dist/chunks/{persistent-pty-cw8m5w0x.js → schema-0artwwxx.js} +3 -3
- package/dist/chunks/{persistent-pty-9nw0mbe1.js → schema-0e0qwbc3.js} +32 -32
- package/dist/chunks/{persistent-pty-hk10kj8x.js → schema-0n4jht4c.js} +18 -18
- package/dist/chunks/{persistent-pty-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-enks4xxx.js → schema-0pb75hch.js} +5 -5
- package/dist/chunks/{persistent-pty-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-rvxgyzv0.js → schema-100j1g9v.js} +31 -31
- package/dist/chunks/{persistent-pty-2gj877a4.js → schema-14a1bm7w.js} +22 -22
- package/dist/chunks/{persistent-pty-jt82t686.js → schema-14getyrd.js} +24 -24
- package/dist/chunks/{persistent-pty-7m5f9412.js → schema-15nepkqg.js} +7 -7
- package/dist/chunks/{persistent-pty-aa476z6j.js → schema-160w9f8h.js} +4 -4
- package/dist/chunks/{persistent-pty-a8axnbpa.js → schema-16502g6j.js} +22 -22
- package/dist/chunks/{persistent-pty-b6thfyg0.js → schema-17ccpqma.js} +20 -20
- package/dist/chunks/{persistent-pty-40ykk5rq.js → schema-1cbk4m95.js} +12 -12
- package/dist/chunks/{persistent-pty-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-d1qe38wd.js → schema-1gr0tcdy.js} +4 -4
- package/dist/chunks/{persistent-pty-758t4wd9.js → schema-1pqwnjx4.js} +24 -24
- package/dist/chunks/{persistent-pty-r0cp9c3a.js → schema-1qghmjy0.js} +3 -3
- package/dist/chunks/{persistent-pty-56gdpj1q.js → schema-1ygqh575.js} +9 -9
- package/dist/chunks/{persistent-pty-06tybfx6.js → schema-219neeqh.js} +5 -5
- package/dist/chunks/{persistent-pty-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-kz70mmnm.js → schema-265kqrgy.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-7qbafv54.js → schema-2bvm5bng.js} +5 -5
- package/dist/chunks/schema-2rnk416m.js +247 -0
- package/dist/chunks/{persistent-pty-5aeq7032.js → schema-2xmxfdkw.js} +13 -13
- package/dist/chunks/{persistent-pty-a3gkz02n.js → schema-30c1nq7z.js} +6 -6
- package/dist/chunks/{persistent-pty-0axr4kr0.js → schema-33n3bzdy.js} +6 -6
- package/dist/chunks/{persistent-pty-d4eh0prg.js → schema-352w66m8.js} +9 -9
- package/dist/chunks/{persistent-pty-1nvffc7z.js → schema-35hkzk16.js} +7 -7
- package/dist/chunks/{persistent-pty-01375378.js → schema-35wynegs.js} +2 -2
- package/dist/chunks/{persistent-pty-r33ff4dw.js → schema-3a6re68j.js} +6 -6
- package/dist/chunks/{persistent-pty-44zaeaht.js → schema-3dmtdf19.js} +10 -10
- package/dist/chunks/{persistent-pty-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-zrhm0kb5.js → schema-3hf7z3yq.js} +11 -11
- package/dist/chunks/{persistent-pty-mm6h0sq5.js → schema-3p2ed7sd.js} +20 -20
- package/dist/chunks/{persistent-pty-b1gy5zdm.js → schema-3qte0bkw.js} +11 -11
- package/dist/chunks/{persistent-pty-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-rq1dwzcr.js → schema-460nzhf0.js} +13 -13
- package/dist/chunks/{persistent-pty-q5rhn9x0.js → schema-46kds8gk.js} +15 -15
- package/dist/chunks/{persistent-pty-qj8patcw.js → schema-49m0b0hg.js} +12 -12
- package/dist/chunks/{persistent-pty-s8hds3n7.js → schema-4n7x7n3b.js} +41 -41
- package/dist/chunks/{persistent-pty-hfdr1yjj.js → schema-4p8fzzdy.js} +4 -4
- package/dist/chunks/{persistent-pty-j91288an.js → schema-57kf9cn6.js} +11 -11
- package/dist/chunks/{persistent-pty-kh1txrez.js → schema-59fjh03s.js} +9 -9
- package/dist/chunks/{persistent-pty-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-83x3c1cr.js → schema-5rs2mggp.js} +11 -11
- package/dist/chunks/{persistent-pty-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → schema-607tc6va.js} +5 -5
- package/dist/chunks/{persistent-pty-9fpgstc4.js → schema-61tweh31.js} +11 -11
- package/dist/chunks/{persistent-pty-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-pdps0bse.js → schema-6756pezh.js} +12 -12
- package/dist/chunks/{persistent-pty-csdaj16z.js → schema-6bsje7ws.js} +3 -3
- package/dist/chunks/{persistent-pty-tx9qvpbt.js → schema-6kyz0a76.js} +8 -8
- package/dist/chunks/{persistent-pty-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-2wacw76k.js → schema-6sk8rnq7.js} +40 -40
- package/dist/chunks/{persistent-pty-mnqckem1.js → schema-6z8qh9hd.js} +9 -9
- package/dist/chunks/{persistent-pty-8baymvr8.js → schema-70d2s7af.js} +1 -1
- package/dist/chunks/{persistent-pty-71q4at8m.js → schema-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → schema-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-ch16p0qp.js → schema-74jczd3p.js} +6 -6
- package/dist/chunks/{persistent-pty-156rc272.js → schema-7a8p0xnb.js} +15 -15
- package/dist/chunks/{persistent-pty-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2ww59eqx.js → schema-7cdavrgt.js} +16 -16
- package/dist/chunks/{persistent-pty-9w4ppqge.js → schema-7d2a7xbs.js} +5 -5
- package/dist/chunks/{persistent-pty-yag4m0hg.js → schema-7f0264at.js} +30 -30
- package/dist/chunks/{persistent-pty-avan7d23.js → schema-7h6eczm7.js} +17 -17
- package/dist/chunks/{persistent-pty-5s1ew4p0.js → schema-7hztb8a6.js} +10 -10
- package/dist/chunks/{persistent-pty-a3sm1a4h.js → schema-7j034exa.js} +13 -13
- package/dist/chunks/{persistent-pty-r12607a7.js → schema-7vgg5bre.js} +20 -20
- package/dist/chunks/{persistent-pty-844ef7ks.js → schema-844ef7ks.js} +1 -1
- package/dist/chunks/{persistent-pty-tt6wxkxp.js → schema-88jrr0c1.js} +20 -20
- package/dist/chunks/{persistent-pty-tcezcvh9.js → schema-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-e3db9cm6.js → schema-8b5a8700.js} +28 -28
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-vj87fc1v.js → schema-8g7dzdwc.js} +11 -11
- package/dist/chunks/{persistent-pty-dmcv08zt.js → schema-8hqm76n9.js} +16 -16
- package/dist/chunks/{persistent-pty-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-tfna5j6r.js → schema-8tasdpw9.js} +17 -17
- package/dist/chunks/{persistent-pty-0nvtj8my.js → schema-8tpwn33w.js} +4 -4
- package/dist/chunks/{persistent-pty-y75c90f9.js → schema-94wn97cy.js} +6 -6
- package/dist/chunks/{persistent-pty-s2q6918b.js → schema-9776sn27.js} +10 -10
- package/dist/chunks/{persistent-pty-70znhec0.js → schema-9cdcqr3z.js} +24 -24
- package/dist/chunks/{persistent-pty-gar1hgen.js → schema-9cwdscm4.js} +6 -6
- package/dist/chunks/{persistent-pty-cjjk0ngx.js → schema-9cwgx80s.js} +17 -17
- package/dist/chunks/{persistent-pty-pbkjeet7.js → schema-9ee4bqq5.js} +18 -18
- package/dist/chunks/{persistent-pty-kfekjm9s.js → schema-9n8afz82.js} +18 -18
- package/dist/chunks/{persistent-pty-yxmjpxht.js → schema-9n9wwhvc.js} +25 -25
- package/dist/chunks/{persistent-pty-gk7f333q.js → schema-9xbky303.js} +60 -60
- package/dist/chunks/{persistent-pty-vexsgc0a.js → schema-9xdtwryq.js} +16 -16
- package/dist/chunks/{persistent-pty-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-hz420t0m.js → schema-a2mmkps9.js} +27 -27
- package/dist/chunks/{persistent-pty-4xcpnpvy.js → schema-a3dxz99s.js} +11 -11
- package/dist/chunks/{persistent-pty-16mp2rsj.js → schema-a9bb11qt.js} +5 -5
- package/dist/chunks/{persistent-pty-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-g25g5a4k.js → schema-ak553geh.js} +26 -26
- package/dist/chunks/{persistent-pty-crfr8jm1.js → schema-aqd42mcz.js} +10 -10
- package/dist/chunks/{persistent-pty-067daj8h.js → schema-aqqw58sn.js} +32 -32
- package/dist/chunks/{persistent-pty-ayn42wpr.js → schema-b11403r6.js} +4 -4
- package/dist/chunks/{persistent-pty-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-41ysy2js.js → schema-b83gcn6t.js} +25 -25
- package/dist/chunks/{persistent-pty-marnn1hp.js → schema-bdqrk2vk.js} +7 -7
- package/dist/chunks/{persistent-pty-c24ss25q.js → schema-bfn7mtpr.js} +13 -13
- package/dist/chunks/{persistent-pty-pqsh7sw8.js → schema-bnf5aq9z.js} +18 -18
- package/dist/chunks/schema-bsgewm40.js +26 -0
- package/dist/chunks/{persistent-pty-2zw4rjvd.js → schema-bswyt25e.js} +9 -9
- package/dist/chunks/{persistent-pty-jcyd57qm.js → schema-c09skazh.js} +9 -9
- package/dist/chunks/{persistent-pty-qwgwmjpf.js → schema-c1660zyq.js} +4 -4
- package/dist/chunks/{persistent-pty-hnc9qj7b.js → schema-c3s2gn8c.js} +12 -12
- package/dist/chunks/{persistent-pty-admsvzww.js → schema-c5nvra9m.js} +4 -4
- package/dist/chunks/{persistent-pty-3w2b2yj4.js → schema-c78bbtc9.js} +5 -5
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
- package/dist/chunks/schema-ckp1ht4p.js +466 -0
- package/dist/chunks/{persistent-pty-gsx0ryk4.js → schema-crptryd9.js} +9 -9
- package/dist/chunks/{persistent-pty-t7n9q6bq.js → schema-ctmr8zqa.js} +4 -4
- package/dist/chunks/{persistent-pty-jjefxv93.js → schema-cvnh4hxe.js} +11 -11
- package/dist/chunks/{persistent-pty-xbh0n0bt.js → schema-cvtmmhw6.js} +1 -1
- package/dist/chunks/{persistent-pty-74vtdart.js → schema-cwtxttrt.js} +15 -15
- package/dist/chunks/{persistent-pty-xwy7nsbm.js → schema-cxnfc116.js} +14 -14
- package/dist/chunks/{persistent-pty-57e9z27j.js → schema-cyhsea0k.js} +5 -5
- package/dist/chunks/{persistent-pty-xbh1yte2.js → schema-cyyebbpd.js} +20 -20
- package/dist/chunks/{persistent-pty-j0x671y3.js → schema-d4d34sqm.js} +17 -17
- package/dist/chunks/{persistent-pty-wzsbb5hr.js → schema-d6e8k2gz.js} +34 -34
- package/dist/chunks/{persistent-pty-4jkr53zg.js → schema-dcrj6gad.js} +20 -20
- package/dist/chunks/{persistent-pty-3ydh67fs.js → schema-dm8kv9e9.js} +47 -47
- package/dist/chunks/{persistent-pty-9zswys26.js → schema-dtsq3qdh.js} +9 -9
- package/dist/chunks/{persistent-pty-e5nv3ght.js → schema-e5nv3ght.js} +2 -2
- package/dist/chunks/{persistent-pty-qn4ba14w.js → schema-e6hmchc5.js} +5 -5
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → schema-e82z9tr0.js} +7 -7
- package/dist/chunks/{persistent-pty-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-pedsh274.js → schema-eng2bkh5.js} +6 -6
- package/dist/chunks/{persistent-pty-zb4p73ts.js → schema-eq6c3fte.js} +4 -4
- package/dist/chunks/{persistent-pty-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-wh1sxcy7.js → schema-ew8epg43.js} +8 -8
- package/dist/chunks/{persistent-pty-c1495ybz.js → schema-eyqq4r43.js} +8 -8
- package/dist/chunks/{persistent-pty-t6apg4xb.js → schema-f3fywrrk.js} +19 -19
- package/dist/chunks/{persistent-pty-rvsh4nhd.js → schema-f4ygn7kd.js} +23 -23
- package/dist/chunks/{persistent-pty-dqhps3gd.js → schema-f6agekp8.js} +11 -11
- package/dist/chunks/{persistent-pty-f828m53h.js → schema-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-gwmaab63.js → schema-fay8vjw6.js} +11 -11
- package/dist/chunks/{persistent-pty-fch79rh9.js → schema-fch79rh9.js} +1 -1
- package/dist/chunks/{persistent-pty-nc5bxtt4.js → schema-febxpxrj.js} +9 -9
- package/dist/chunks/{persistent-pty-tyqkzprt.js → schema-ff0svapt.js} +2 -2
- package/dist/chunks/{persistent-pty-sg67attt.js → schema-fnt00pdw.js} +90 -90
- package/dist/chunks/{persistent-pty-g25n9e5v.js → schema-fvwtc7m7.js} +6 -6
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-zd83r0vm.js → schema-g5rn0d52.js} +11 -11
- package/dist/chunks/{persistent-pty-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-jpej03b4.js → schema-gd8pphrc.js} +1 -1
- package/dist/chunks/{persistent-pty-8gp97p59.js → schema-gg2v66ak.js} +32 -32
- package/dist/chunks/{persistent-pty-a23yy72n.js → schema-gj03f4ek.js} +12 -12
- package/dist/chunks/{persistent-pty-n5hgnsg4.js → schema-gj5yqrt5.js} +8 -8
- package/dist/chunks/{persistent-pty-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-xta415tq.js → schema-h2ksjayj.js} +28 -28
- package/dist/chunks/{persistent-pty-205snssp.js → schema-h6ar4aba.js} +19 -19
- package/dist/chunks/{persistent-pty-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-22cd4xtf.js → schema-hhgwwrzt.js} +42 -42
- package/dist/chunks/{persistent-pty-s586x74b.js → schema-hj0g3228.js} +11 -11
- package/dist/chunks/{persistent-pty-brpq8yh8.js → schema-hjnnbnbb.js} +9 -9
- package/dist/chunks/{persistent-pty-s8zy8myc.js → schema-hkfg6fzm.js} +5 -5
- package/dist/chunks/{persistent-pty-zahra9jy.js → schema-hv9ta9e9.js} +27 -27
- package/dist/chunks/{persistent-pty-vpesspm9.js → schema-j0kcbam5.js} +17 -17
- package/dist/chunks/{persistent-pty-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-rjncv4cx.js → schema-j5dzb3vg.js} +11 -11
- package/dist/chunks/{persistent-pty-28m91z5w.js → schema-jb92a43k.js} +52 -52
- package/dist/chunks/{persistent-pty-z2d75gdc.js → schema-jj8s0vwv.js} +22 -22
- package/dist/chunks/{persistent-pty-0vt4hkwr.js → schema-jr3e8pb9.js} +5 -5
- package/dist/chunks/{persistent-pty-y71avatq.js → schema-jwcy2c2z.js} +4 -4
- package/dist/chunks/{persistent-pty-cq5jfqfc.js → schema-jxbxppp8.js} +26 -26
- package/dist/chunks/{persistent-pty-kyjj2hpk.js → schema-k5ahzgcr.js} +25 -25
- package/dist/chunks/{persistent-pty-08c87ar3.js → schema-k7ytje6f.js} +16 -16
- package/dist/chunks/{persistent-pty-496zq10v.js → schema-k7yxbrfp.js} +36 -36
- package/dist/chunks/{persistent-pty-6kckr5h4.js → schema-kdmcvb0r.js} +4 -4
- package/dist/chunks/{persistent-pty-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-nnrfkqda.js → schema-kgt4jx9n.js} +17 -17
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mfhfdr54.js → schema-mfhfdr54.js} +1 -1
- package/dist/chunks/{persistent-pty-pwxeempz.js → schema-mh093k67.js} +18 -18
- package/dist/chunks/{persistent-pty-9qxgj1yn.js → schema-mp0exg3w.js} +11 -11
- package/dist/chunks/{persistent-pty-k8jcpvvr.js → schema-mw7ftrc1.js} +47 -47
- package/dist/chunks/{persistent-pty-tvhq06z0.js → schema-mx4nfnwv.js} +3 -3
- package/dist/chunks/{persistent-pty-fhnehbw5.js → schema-mz6ae2yf.js} +1 -1
- package/dist/chunks/{persistent-pty-y1eyp4h1.js → schema-na2rb754.js} +45 -45
- package/dist/chunks/{persistent-pty-xqmeh0zh.js → schema-nkszaa5g.js} +17 -17
- package/dist/chunks/{persistent-pty-nqm8jas2.js → schema-nnaq0ssc.js} +34 -34
- package/dist/chunks/{persistent-pty-p8ad8txy.js → schema-nrzpy080.js} +32 -32
- package/dist/chunks/{persistent-pty-1j73jf0y.js → schema-nsc0z153.js} +15 -15
- package/dist/chunks/{persistent-pty-wbjq657r.js → schema-nsy21xt9.js} +41 -41
- package/dist/chunks/{persistent-pty-g8r6989n.js → schema-nvck40qe.js} +8 -8
- package/dist/chunks/{persistent-pty-s8hqqq62.js → schema-nwejh57z.js} +21 -21
- package/dist/chunks/{persistent-pty-aemcnybr.js → schema-p8ee7rnh.js} +11 -11
- package/dist/chunks/{persistent-pty-vrn1sxtn.js → schema-p8rnrv0y.js} +6 -6
- package/dist/chunks/{persistent-pty-qm01ndw7.js → schema-pdamhna9.js} +10 -10
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-y3qvm77n.js → schema-pta0m0y2.js} +10 -10
- package/dist/chunks/{persistent-pty-5765z361.js → schema-q53mw4kv.js} +11 -11
- package/dist/chunks/{persistent-pty-4bdgx2my.js → schema-qcyk0ctz.js} +14 -14
- package/dist/chunks/{persistent-pty-k165hmq5.js → schema-qdeq33kz.js} +18 -18
- package/dist/chunks/schema-qdyb70sk.js +18 -0
- package/dist/chunks/{persistent-pty-wydq2hf7.js → schema-qgtwsm4a.js} +41 -41
- package/dist/chunks/{persistent-pty-72v2qqr0.js → schema-qjkj1w27.js} +5 -5
- package/dist/chunks/{persistent-pty-07bs0vjz.js → schema-qpv0n9y2.js} +13 -13
- package/dist/chunks/{persistent-pty-0wy9zd5d.js → schema-qpxa9xfm.js} +11 -11
- package/dist/chunks/{persistent-pty-vvgctfdq.js → schema-qr42g2ex.js} +12 -12
- package/dist/chunks/{persistent-pty-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-znp8765m.js → schema-r66k216p.js} +22 -22
- package/dist/chunks/{persistent-pty-cztn7rx7.js → schema-r9asyhme.js} +11 -11
- package/dist/chunks/{persistent-pty-r9mregkx.js → schema-r9mregkx.js} +2 -2
- package/dist/chunks/{persistent-pty-x49tpfx8.js → schema-rggx3fk4.js} +8 -8
- package/dist/chunks/{persistent-pty-jav6p6ha.js → schema-s32qcjvy.js} +39 -39
- package/dist/chunks/{persistent-pty-f3ngv102.js → schema-sez5jh81.js} +4 -4
- package/dist/chunks/{persistent-pty-c5gn303e.js → schema-shh6fz4q.js} +4 -4
- package/dist/chunks/{persistent-pty-wk8vywde.js → schema-skkcpn4x.js} +17 -17
- package/dist/chunks/{persistent-pty-pmr4s4kc.js → schema-sx1n432n.js} +4 -4
- package/dist/chunks/{persistent-pty-fmcf9gbb.js → schema-sxj88q7q.js} +36 -36
- package/dist/chunks/{persistent-pty-dyznf783.js → schema-sxwejk34.js} +57 -57
- package/dist/chunks/{persistent-pty-4mdcdt6k.js → schema-szvcpp15.js} +37 -37
- package/dist/chunks/{persistent-pty-p1wf2k30.js → schema-t0x5rdq8.js} +9 -9
- package/dist/chunks/{persistent-pty-8hz2npkx.js → schema-t16yqmmz.js} +7 -7
- package/dist/chunks/{persistent-pty-9fxcdvg0.js → schema-t2tp6kph.js} +9 -9
- package/dist/chunks/{persistent-pty-pdn6mkhs.js → schema-t46k7n4n.js} +27 -27
- package/dist/chunks/{persistent-pty-g8d3gcyj.js → schema-t6vsspdg.js} +4 -4
- package/dist/chunks/{persistent-pty-w5dgsa5w.js → schema-t9qn8q8w.js} +8 -8
- package/dist/chunks/{persistent-pty-9vcfs5dg.js → schema-tax233da.js} +13 -13
- package/dist/chunks/{persistent-pty-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-km3hm7vc.js → schema-tgp4vj3e.js} +25 -25
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → schema-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-tcmfg0c6.js → schema-ttvjx6p5.js} +18 -18
- package/dist/chunks/{persistent-pty-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-858znxdh.js → schema-tz9c6nnc.js} +15 -15
- package/dist/chunks/{persistent-pty-axcfkn0b.js → schema-varphpm5.js} +28 -28
- package/dist/chunks/{persistent-pty-0kbrq2j8.js → schema-vazxaftq.js} +15 -15
- package/dist/chunks/{persistent-pty-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-rycxbs55.js → schema-vrf9z43g.js} +26 -26
- package/dist/chunks/{persistent-pty-q8nw8w0b.js → schema-vve3ffxw.js} +32 -32
- package/dist/chunks/{persistent-pty-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-9yr2yfq4.js → schema-vzm76b3t.js} +6 -6
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-yzpqraws.js → schema-w4cz4w8n.js} +2 -2
- package/dist/chunks/{persistent-pty-zy1ry69w.js → schema-w52sm2v7.js} +37 -37
- package/dist/chunks/{persistent-pty-xf4dwdmn.js → schema-w5np17bk.js} +32 -32
- package/dist/chunks/{persistent-pty-1nfpt5r1.js → schema-wavq5vqb.js} +1 -1
- package/dist/chunks/{persistent-pty-dx72tz9d.js → schema-wb1a395f.js} +26 -26
- package/dist/chunks/{persistent-pty-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-rsfa6j5g.js → schema-wpcmngey.js} +9 -9
- package/dist/chunks/{persistent-pty-qtj6hy35.js → schema-wtx5fp6w.js} +40 -40
- package/dist/chunks/{persistent-pty-81swgkk7.js → schema-x00t4nfm.js} +9 -9
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-zmjtwb5q.js → schema-xafa45y0.js} +21 -21
- package/dist/chunks/{persistent-pty-476tty53.js → schema-xcz5qpew.js} +16 -16
- package/dist/chunks/{persistent-pty-6rx7art5.js → schema-xr4pykw3.js} +16 -16
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-07yh2w3s.js → schema-y5dj3dxk.js} +6 -6
- package/dist/chunks/{persistent-pty-496ptbe5.js → schema-y9ytwzzt.js} +45 -45
- package/dist/chunks/{persistent-pty-8rr4encj.js → schema-yaj99xd7.js} +18 -18
- package/dist/chunks/{persistent-pty-1bsf6wqz.js → schema-yea1wtgt.js} +87 -87
- package/dist/chunks/{persistent-pty-xv814t3x.js → schema-yfbgkrwe.js} +11 -11
- package/dist/chunks/{persistent-pty-67z4309q.js → schema-yh4as7xh.js} +26 -26
- package/dist/chunks/{persistent-pty-mm04bz81.js → schema-yn73hxa9.js} +19 -19
- package/dist/chunks/{persistent-pty-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-dpz13x6g.js → schema-yp37mb71.js} +24 -24
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-0c4p4pyk.js → schema-yzesgjc2.js} +27 -27
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-2p4phcfp.js → schema-zdyqqjkd.js} +173 -173
- package/dist/chunks/{persistent-pty-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-svxpmbmv.js → schema-zf2yj53h.js} +17 -17
- package/dist/chunks/{persistent-pty-xqrmvh4d.js → schema-zm862yqt.js} +34 -34
- package/dist/chunks/{persistent-pty-9z190z2h.js → schema-zpbz1axx.js} +8 -8
- package/dist/chunks/{persistent-pty-tspgchm8.js → schema-zqk4v51d.js} +23 -23
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-kz993g5t.js → schema-zwv68h5q.js} +7 -7
- package/dist/chunks/{persistent-pty-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +90 -90
- package/dist/git.js +10 -10
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- 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 +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +353 -353
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- 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 +101 -101
- 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 +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- 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 +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- 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 +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +223 -223
- 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 +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- 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 +114 -114
- 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 +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +10 -10
- 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/persistent-pty-by5v678g.js +0 -18
- package/dist/chunks/persistent-pty-e6mws8mz.js +0 -26
- package/dist/chunks/persistent-pty-nn38a0fv.js +0 -247
- package/dist/chunks/persistent-pty-rt91ng8c.js +0 -466
- /package/dist/chunks/{persistent-pty-0mesazry.js → schema-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → schema-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./schema-p8ee7rnh.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
17
|
Info: () => Info21,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
29
|
var Info21 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID7.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service54.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID7, Info21, ListInput4, AddInput2, Service54, node57, exports_saved };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./schema-352w66m8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./schema-vzm76b3t.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-qdyb70sk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service55
|
|
15
|
+
} from "./schema-t9qn8q8w.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-1qghmjy0.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service50
|
|
23
|
+
} from "./schema-7cdavrgt.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service34;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service55;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service50;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service47;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
nativeSettings2,
|
|
7
7
|
mergeOverlay2,
|
|
8
8
|
mergeHeaders2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-33n3bzdy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service62,
|
|
12
|
+
node65
|
|
13
|
+
} from "./schema-8g7dzdwc.js";
|
|
14
14
|
import {
|
|
15
15
|
map2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-35wynegs.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID17,
|
|
19
19
|
VariantID2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Ref4
|
|
21
|
+
} from "./schema-c3s2gn8c.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
23
|
+
ID9,
|
|
24
|
+
Service60,
|
|
25
|
+
node63
|
|
26
|
+
} from "./schema-7f0264at.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node62
|
|
30
|
+
} from "./schema-yh4as7xh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError3,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service58,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node61,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
57
57
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
58
58
|
import { Npm } from "@opencode/util/npm";
|
|
59
59
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
60
|
-
providerID:
|
|
61
|
-
modelID:
|
|
60
|
+
providerID: ID18,
|
|
61
|
+
modelID: ID17,
|
|
62
62
|
variant: VariantID2
|
|
63
63
|
}) {
|
|
64
64
|
get message() {
|
|
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID18,
|
|
71
|
+
modelID: ID17,
|
|
72
72
|
package: Schema.String
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
78
78
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
79
79
|
|
|
80
80
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
81
|
-
providerID:
|
|
82
|
-
modelID:
|
|
81
|
+
providerID: ID18,
|
|
82
|
+
modelID: ID17,
|
|
83
83
|
package: Schema.String,
|
|
84
84
|
detail: Schema.String
|
|
85
85
|
}) {
|
|
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
92
|
-
providerID:
|
|
93
|
-
modelID:
|
|
92
|
+
providerID: ID18,
|
|
93
|
+
modelID: ID17,
|
|
94
94
|
package: Schema.String,
|
|
95
95
|
phase: InitializationPhase2,
|
|
96
96
|
detail: Schema.String
|
|
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
104
|
-
providerID:
|
|
105
|
-
modelID:
|
|
104
|
+
providerID: ID18,
|
|
105
|
+
modelID: ID17,
|
|
106
106
|
variables: Schema.Array(Schema.String)
|
|
107
107
|
}) {
|
|
108
108
|
get message() {
|
|
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID18,
|
|
115
|
+
modelID: ID17,
|
|
116
116
|
route: Schema.String
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service58 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
|
|
|
268
268
|
};
|
|
269
269
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
270
270
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
271
|
-
var
|
|
272
|
-
const catalog = yield*
|
|
273
|
-
const integrations = yield*
|
|
271
|
+
var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
272
|
+
const catalog = yield* Service59;
|
|
273
|
+
const integrations = yield* Service60;
|
|
274
274
|
const npm = yield* Npm.Service;
|
|
275
|
-
const aisdk = yield*
|
|
275
|
+
const aisdk = yield* Service62;
|
|
276
276
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
277
277
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
278
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
278
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
279
279
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
280
280
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
281
281
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -285,7 +285,7 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
285
285
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
286
286
|
return {
|
|
287
287
|
model: runtime,
|
|
288
|
-
ref:
|
|
288
|
+
ref: Ref4.make({
|
|
289
289
|
id: selected.id,
|
|
290
290
|
providerID: selected.providerID,
|
|
291
291
|
...variant === undefined ? {} : { variant }
|
|
@@ -297,7 +297,7 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
297
297
|
websocket: selected.websocket ?? false
|
|
298
298
|
};
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service58.of({
|
|
301
301
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
302
302
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
303
303
|
if (!selected)
|
|
@@ -314,10 +314,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
314
314
|
const name = packageName2(packageName);
|
|
315
315
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
service:
|
|
319
|
-
layer:
|
|
320
|
-
deps: [
|
|
317
|
+
var node61 = makeLocationNode({
|
|
318
|
+
service: Service58,
|
|
319
|
+
layer: layer20,
|
|
320
|
+
deps: [node62, node63, Npm.node, node65]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
323
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node61, exports_model_resolver };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./schema-9cdcqr3z.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node70
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service67.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node70 = makeLocationNode({ service: Service67, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service67, node70, exports_ripgrep };
|