@opencode/core 0.0.0-dev-21530 → 0.0.0-dev-21541
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{schema-aj7mw0zk.js → workspace-034tev2y.js} +2 -2
- package/dist/chunks/{schema-v9ktrhzk.js → workspace-074m64dp.js} +20 -20
- package/dist/chunks/{schema-yc36fn85.js → workspace-07sqsv9w.js} +7 -7
- package/dist/chunks/{schema-0gdmqesm.js → workspace-0gdmqesm.js} +1 -1
- package/dist/chunks/{schema-8bc2ahr8.js → workspace-0ss1ygn7.js} +3 -3
- package/dist/chunks/{schema-2yr926wd.js → workspace-0tjpvapw.js} +10 -10
- package/dist/chunks/{schema-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{schema-8hdppygf.js → workspace-0xx3ns2v.js} +18 -18
- package/dist/chunks/{schema-q5eftdkn.js → workspace-0z8yhdqv.js} +67 -67
- package/dist/chunks/{schema-6jk406cr.js → workspace-132rhf2q.js} +21 -20
- package/dist/chunks/{schema-few1k6py.js → workspace-15wxq0kj.js} +8 -8
- package/dist/chunks/{schema-0tn9bjc5.js → workspace-1bzs4kqq.js} +21 -21
- package/dist/chunks/{schema-27w5k9zf.js → workspace-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-x9xt4rzp.js → workspace-1fnk0qcx.js} +13 -13
- package/dist/chunks/{schema-6pc27hjz.js → workspace-1p07q0wb.js} +8 -8
- package/dist/chunks/{schema-e6748pxh.js → workspace-1rd0hf05.js} +18 -18
- package/dist/chunks/{schema-tp3t781r.js → workspace-2ahabfrv.js} +4 -4
- package/dist/chunks/{schema-prjrmqps.js → workspace-2b6qkcs0.js} +50 -50
- package/dist/chunks/{schema-25gmhyge.js → workspace-2ec29r6m.js} +4 -4
- package/dist/chunks/{schema-t8w5j2tp.js → workspace-2egnw719.js} +14 -14
- package/dist/chunks/{schema-1mx78vzr.js → workspace-2phre6gr.js} +21 -22
- package/dist/chunks/{schema-7n76hb68.js → workspace-2xebcxdz.js} +14 -14
- package/dist/chunks/{schema-zhpk82ba.js → workspace-36cygfdp.js} +8 -8
- package/dist/chunks/{schema-wbt9zsn3.js → workspace-38phfjcn.js} +9 -9
- package/dist/chunks/{schema-dzz2f3za.js → workspace-3b7e46vg.js} +22 -22
- package/dist/chunks/{schema-0bg0bx69.js → workspace-3byrw2k0.js} +9 -9
- package/dist/chunks/{schema-kdnmkssn.js → workspace-3chvherp.js} +4 -4
- package/dist/chunks/{schema-yds4b9yz.js → workspace-3eyct666.js} +34 -34
- package/dist/chunks/{schema-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
- package/dist/chunks/{schema-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-addxnjmp.js → workspace-3y377wv9.js} +4 -4
- package/dist/chunks/{schema-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-ks795mkk.js → workspace-47xvp063.js} +13 -13
- package/dist/chunks/{schema-rztgzzkf.js → workspace-4gx1jjxq.js} +45 -45
- package/dist/chunks/{schema-ecz00bat.js → workspace-4jhg1r7p.js} +13 -13
- package/dist/chunks/{schema-hfjg8gb5.js → workspace-4myb3554.js} +18 -18
- package/dist/chunks/{schema-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
- package/dist/chunks/{schema-rkg4v3e5.js → workspace-5fec3t3w.js} +4 -4
- package/dist/chunks/{schema-vep9yay1.js → workspace-5g57z1ma.js} +4 -4
- package/dist/chunks/{schema-jpypjf72.js → workspace-5ggmzyjq.js} +32 -32
- package/dist/chunks/{schema-gd5ks2q2.js → workspace-5gwxr4wz.js} +24 -24
- package/dist/chunks/{schema-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-ysy9ysqp.js → workspace-5tgqe19z.js} +55 -55
- package/dist/chunks/{schema-gtz7nked.js → workspace-5x8rsm2f.js} +24 -24
- package/dist/chunks/{schema-6827pfxn.js → workspace-6827pfxn.js} +1 -1
- package/dist/chunks/{schema-mt5v9ry9.js → workspace-6gzxrv04.js} +16 -16
- package/dist/chunks/{schema-kbwg7qyy.js → workspace-6h1z9x2t.js} +20 -20
- package/dist/chunks/{schema-9m5m65a4.js → workspace-6n72fwwd.js} +26 -26
- package/dist/chunks/{schema-jfh9q8qf.js → workspace-6s9zvkg6.js} +11 -11
- package/dist/chunks/{schema-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{schema-fwd7f3n7.js → workspace-73a41k9m.js} +40 -40
- package/dist/chunks/{schema-krb84gwz.js → workspace-76475ja5.js} +28 -28
- package/dist/chunks/{schema-n44fvqa5.js → workspace-76skp782.js} +11 -11
- package/dist/chunks/{schema-775gj3j1.js → workspace-775gj3j1.js} +2 -2
- package/dist/chunks/{schema-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/workspace-7jmfkexa.js +26 -0
- package/dist/chunks/{schema-3qm998m2.js → workspace-7ycdgr6s.js} +15 -15
- package/dist/chunks/{schema-h6r4200x.js → workspace-7zyx6fzq.js} +21 -21
- package/dist/chunks/{schema-1g5hkw1w.js → workspace-80ea5f6r.js} +34 -34
- package/dist/chunks/{schema-w1eejvng.js → workspace-84txncab.js} +5 -5
- package/dist/chunks/{schema-qvfnp1sk.js → workspace-8dh2j701.js} +24 -24
- package/dist/chunks/{schema-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
- package/dist/chunks/{schema-bswnba0x.js → workspace-8mr27nf4.js} +4 -4
- package/dist/chunks/{schema-8mywswrd.js → workspace-8mywswrd.js} +1 -1
- package/dist/chunks/{schema-jh9qevh8.js → workspace-8x4e5kq0.js} +18 -18
- package/dist/chunks/{schema-wvyymv1h.js → workspace-8xnx0mnd.js} +8 -8
- package/dist/chunks/{schema-56j2d20k.js → workspace-8yp4rne4.js} +11 -11
- package/dist/chunks/{schema-be7qvw84.js → workspace-91p1v22t.js} +8 -8
- package/dist/chunks/{schema-9brafa5j.js → workspace-98bt88c5.js} +12 -12
- package/dist/chunks/{schema-dvj9ct8m.js → workspace-998yhzzq.js} +3 -3
- package/dist/chunks/{schema-sf2p74k8.js → workspace-9dmx38dk.js} +17 -17
- package/dist/chunks/{schema-r41txaew.js → workspace-9nygwmwc.js} +15 -15
- package/dist/chunks/{schema-sxswpjsy.js → workspace-9qj6rkp4.js} +3 -3
- package/dist/chunks/{schema-bnbbr2d0.js → workspace-9sbtww25.js} +36 -36
- package/dist/chunks/{schema-9wev2pgg.js → workspace-9wev2pgg.js} +1 -1
- package/dist/chunks/{schema-r2kbwwh1.js → workspace-9z8cn46p.js} +4 -4
- package/dist/chunks/{schema-3t0ybcrp.js → workspace-a058387c.js} +4 -2
- package/dist/chunks/{schema-wk0f6cnb.js → workspace-a94rjkpn.js} +7 -7
- package/dist/chunks/{schema-vsgt0m8t.js → workspace-aar2av7x.js} +6 -6
- package/dist/chunks/{schema-2gta2q4r.js → workspace-abc6j8jm.js} +35 -35
- package/dist/chunks/{schema-4axgq110.js → workspace-ae239eb7.js} +34 -34
- package/dist/chunks/{schema-kmvrn13k.js → workspace-ansnh6at.js} +10 -10
- package/dist/chunks/{schema-kjxerx4y.js → workspace-aq552fny.js} +190 -190
- package/dist/chunks/{schema-cmp3rkz8.js → workspace-ayabmdkg.js} +26 -27
- package/dist/chunks/{schema-8vcf4cwr.js → workspace-ayjs7tqn.js} +3 -3
- package/dist/chunks/{schema-586k1tpv.js → workspace-b10f7vcz.js} +6 -6
- package/dist/chunks/{schema-b11a7tx7.js → workspace-b11a7tx7.js} +1 -1
- package/dist/chunks/{schema-qs4w04g8.js → workspace-bbyyxdtc.js} +18 -18
- package/dist/chunks/{schema-zctrycv6.js → workspace-be4f7z37.js} +93 -97
- package/dist/chunks/{schema-r01t9b5y.js → workspace-bqszwq89.js} +4 -4
- package/dist/chunks/{schema-qg6wj6c5.js → workspace-bry36w7y.js} +20 -20
- package/dist/chunks/{schema-nxc81nce.js → workspace-bwq0z05b.js} +25 -27
- package/dist/chunks/{schema-r0dp87ge.js → workspace-bxxa49vs.js} +28 -28
- package/dist/chunks/workspace-by5v678g.js +18 -0
- package/dist/chunks/{schema-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
- package/dist/chunks/{schema-b7az7nzg.js → workspace-c3jpadc8.js} +5 -5
- package/dist/chunks/{schema-02ve1zyw.js → workspace-c48qrqrp.js} +17 -17
- package/dist/chunks/{schema-8ce0521a.js → workspace-c7kxmbtf.js} +17 -17
- package/dist/chunks/{schema-47rxzzmb.js → workspace-cah5dkv9.js} +11 -11
- package/dist/chunks/{schema-dqj1x724.js → workspace-cbartrqj.js} +16 -16
- package/dist/chunks/{schema-phstrbs2.js → workspace-cmwkp3r5.js} +8 -8
- package/dist/chunks/{schema-cr9hweqv.js → workspace-cr9hweqv.js} +2 -2
- package/dist/chunks/{schema-se052hy2.js → workspace-css516a4.js} +3 -3
- package/dist/chunks/{schema-c765mh8b.js → workspace-d4he2qe1.js} +9 -9
- package/dist/chunks/{schema-vxqrmefd.js → workspace-daz98v5x.js} +28 -28
- package/dist/chunks/{schema-t0jwwps0.js → workspace-db8n8p1c.js} +35 -35
- package/dist/chunks/{schema-v1d51sdw.js → workspace-dbe25myc.js} +11 -11
- package/dist/chunks/{schema-tqw72dge.js → workspace-dex2drwj.js} +12 -12
- package/dist/chunks/{schema-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-3t06g8dq.js → workspace-dq407baf.js} +6 -6
- package/dist/chunks/{schema-1afj0k1v.js → workspace-drdx3kxz.js} +13 -13
- package/dist/chunks/{schema-bb2erevm.js → workspace-dtmbvn3g.js} +5 -5
- package/dist/chunks/{schema-xqyrxmej.js → workspace-e2t3pw6w.js} +17 -17
- package/dist/chunks/{schema-xb2raker.js → workspace-e4n1ebq2.js} +3 -3
- package/dist/chunks/{schema-9fp5cy9e.js → workspace-e6g20fz5.js} +30 -30
- package/dist/chunks/{schema-sykc9y4a.js → workspace-e89xj288.js} +5 -5
- package/dist/chunks/{schema-m71k82xx.js → workspace-ea9zv6cw.js} +10 -10
- package/dist/chunks/{schema-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-v6gqda18.js → workspace-efxx8rk8.js} +13 -13
- package/dist/chunks/{schema-vc0tgat8.js → workspace-eg33xqqg.js} +46 -46
- package/dist/chunks/{schema-mych7xnr.js → workspace-etgqrbqm.js} +26 -26
- package/dist/chunks/{schema-4g2jt153.js → workspace-etj2j5tt.js} +24 -24
- package/dist/chunks/{schema-n2ew48d4.js → workspace-ewxdsezr.js} +32 -32
- package/dist/chunks/{schema-ap73x2p1.js → workspace-f3crtseh.js} +4 -4
- package/dist/chunks/{schema-fcy631f0.js → workspace-fcy631f0.js} +1 -1
- package/dist/chunks/{schema-9hwaqfsw.js → workspace-fcyg4h47.js} +7 -11
- package/dist/chunks/{schema-pp9nj0b2.js → workspace-ffq1c2je.js} +18 -18
- package/dist/chunks/{schema-1dxbsdj5.js → workspace-ffvkjqdt.js} +9 -9
- package/dist/chunks/{schema-8mc7s0wd.js → workspace-fk85bsrp.js} +11 -11
- package/dist/chunks/{schema-md39vkm3.js → workspace-fstg4fsa.js} +17 -17
- package/dist/chunks/{schema-tmmkgp6g.js → workspace-fx7mmp1n.js} +23 -23
- package/dist/chunks/{schema-ygxsryh2.js → workspace-g1z83s7x.js} +47 -47
- package/dist/chunks/{schema-4w411070.js → workspace-g6h99m46.js} +1 -1
- package/dist/chunks/{schema-5yqngkrh.js → workspace-g9ay48z2.js} +5 -5
- package/dist/chunks/{schema-zv150g5a.js → workspace-g9vnk3jz.js} +19 -20
- package/dist/chunks/{schema-bjx4q2dn.js → workspace-gcb5g84z.js} +43 -43
- package/dist/chunks/{schema-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-4c8ty7y6.js → workspace-ggk6kvmh.js} +21 -21
- package/dist/chunks/{schema-ys6xw3x7.js → workspace-gky04n8p.js} +19 -19
- package/dist/chunks/{schema-gegxtyrp.js → workspace-gm6mk2m9.js} +12 -12
- package/dist/chunks/{schema-j8qhg9bw.js → workspace-gmce5qqj.js} +1 -1
- package/dist/chunks/{schema-cs5q1j33.js → workspace-gn585jta.js} +5 -5
- package/dist/chunks/{schema-q490b428.js → workspace-gs67eedh.js} +36 -33
- package/dist/chunks/{schema-cm7rzrpy.js → workspace-gv7ndrzx.js} +4 -4
- package/dist/chunks/{schema-tc11merm.js → workspace-gwaf4cyv.js} +10 -10
- package/dist/chunks/{schema-rxxgwrt9.js → workspace-h6tfspxq.js} +11 -11
- package/dist/chunks/{schema-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-dta6adxg.js → workspace-h7jf40e2.js} +15 -15
- package/dist/chunks/{schema-syv4x271.js → workspace-h8vwnyd8.js} +4 -2
- package/dist/chunks/{schema-3ewed21c.js → workspace-h90v2x9d.js} +4 -4
- package/dist/chunks/{schema-gymq2tgt.js → workspace-hcgv7z9w.js} +9 -9
- package/dist/chunks/{schema-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
- package/dist/chunks/{schema-9fshpcpc.js → workspace-hhn6cs7f.js} +25 -25
- package/dist/chunks/{schema-4tsfkw9e.js → workspace-hp24smfg.js} +11 -11
- package/dist/chunks/{schema-8hej200e.js → workspace-j6jn98s4.js} +6 -6
- package/dist/chunks/{schema-atzyg80d.js → workspace-j6p3x2qe.js} +48 -48
- package/dist/chunks/{schema-g6kecgse.js → workspace-j90sh0vw.js} +78 -78
- package/dist/chunks/{schema-qnk07h1p.js → workspace-je188k40.js} +12 -12
- package/dist/chunks/{schema-gt4kt70v.js → workspace-jjrctdmw.js} +13 -13
- package/dist/chunks/{schema-2vs2nh1n.js → workspace-jvf3yq6v.js} +4 -4
- package/dist/chunks/{schema-hba2d548.js → workspace-jyhwqdka.js} +18 -18
- package/dist/chunks/{schema-knevfgda.js → workspace-k0a3z2qz.js} +4 -4
- package/dist/chunks/{schema-jn3svvm7.js → workspace-k4814axw.js} +17 -17
- package/dist/chunks/{schema-ysbkpfh3.js → workspace-kc8eh7pk.js} +32 -32
- package/dist/chunks/{schema-15esv6g5.js → workspace-kccjhh93.js} +5 -5
- package/dist/chunks/{schema-3qb95gy8.js → workspace-keqvyq2w.js} +4 -4
- package/dist/chunks/{schema-cbmrewd6.js → workspace-kgjxwjg5.js} +21 -21
- package/dist/chunks/{schema-1w2wqhfv.js → workspace-khmqacep.js} +4 -4
- package/dist/chunks/{schema-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
- package/dist/chunks/{schema-xtxypabt.js → workspace-m22m6tzf.js} +12 -12
- package/dist/chunks/{schema-y38m9zb5.js → workspace-m28avgzz.js} +7 -7
- package/dist/chunks/{schema-mpd49xq9.js → workspace-m6fea7hh.js} +8 -8
- package/dist/chunks/{schema-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-247gbw12.js → workspace-maers0pd.js} +3 -3
- package/dist/chunks/{schema-maspj1v3.js → workspace-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-thq5mtmm.js → workspace-mcqdwfqb.js} +8 -8
- package/dist/chunks/{schema-cjrse1k0.js → workspace-mshsb7tz.js} +15 -15
- package/dist/chunks/{schema-sxzvkvgj.js → workspace-mx9vqzsb.js} +6 -6
- package/dist/chunks/{schema-eh1n47qm.js → workspace-mzmvkc7j.js} +28 -28
- package/dist/chunks/{schema-r5wxxd2p.js → workspace-n56c0sd4.js} +42 -42
- package/dist/chunks/{schema-apm2b389.js → workspace-n5d3v4c5.js} +3 -3
- package/dist/chunks/{schema-z18fegx4.js → workspace-n6mrmtb3.js} +2 -10
- package/dist/chunks/{schema-ajmz7z9n.js → workspace-n8mct725.js} +2 -2
- package/dist/chunks/{schema-zjznsnv6.js → workspace-n8nk40tj.js} +23 -23
- package/dist/chunks/{schema-x13wf28v.js → workspace-ncqfdwrq.js} +13 -13
- package/dist/chunks/{schema-d3cjz2rg.js → workspace-neqjwg63.js} +34 -34
- package/dist/chunks/{schema-grqp3cmb.js → workspace-nvxqht09.js} +3 -3
- package/dist/chunks/{schema-7j1zf1qw.js → workspace-nzg504jb.js} +15 -15
- package/dist/chunks/{schema-w2bpkvh3.js → workspace-p1apbq8w.js} +11 -11
- package/dist/chunks/{schema-ykw333za.js → workspace-p8dm3ep0.js} +5 -5
- package/dist/chunks/{schema-p33ckn3v.js → workspace-pbjcynf2.js} +11 -11
- package/dist/chunks/{schema-pgqyayq7.js → workspace-pcs4hp0r.js} +11 -11
- package/dist/chunks/{schema-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{schema-42kdbcte.js → workspace-pmpp0nb4.js} +26 -26
- package/dist/chunks/{schema-stbcvrcx.js → workspace-pwrxqpxd.js} +18 -18
- package/dist/chunks/{schema-kxf3nz33.js → workspace-pzzw2hqw.js} +3 -3
- package/dist/chunks/{schema-shrrr7kk.js → workspace-q40yvqvp.js} +10 -10
- package/dist/chunks/{schema-r335j1fq.js → workspace-q8rwc74j.js} +26 -26
- package/dist/chunks/{schema-sxz6gkc3.js → workspace-qa3qhgw8.js} +7 -7
- package/dist/chunks/{schema-aq5y8b9e.js → workspace-qby9dwvd.js} +8 -8
- package/dist/chunks/{schema-0jwsre1p.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{schema-88tf66q2.js → workspace-qhd9gkgf.js} +9 -9
- package/dist/chunks/{schema-02mvvr71.js → workspace-qp7m8750.js} +3 -3
- package/dist/chunks/{schema-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-044xr5hv.js → workspace-qssh8sag.js} +49 -49
- package/dist/chunks/{schema-ftrv57z3.js → workspace-qv9b3h9n.js} +31 -31
- package/dist/chunks/{schema-3ghrgbf8.js → workspace-r29avfkz.js} +6 -6
- package/dist/chunks/{schema-7zafwtqv.js → workspace-r4fxfztp.js} +33 -33
- package/dist/chunks/{schema-b8y1c3zn.js → workspace-r6k9he64.js} +14 -14
- package/dist/chunks/{schema-bmheq9zx.js → workspace-r9s8agc4.js} +34 -34
- package/dist/chunks/{schema-vnt3yn01.js → workspace-rdp8b27p.js} +19 -19
- package/dist/chunks/{schema-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-zxxfwhgr.js → workspace-rmja0r51.js} +10 -10
- package/dist/chunks/{schema-7ph0n1vg.js → workspace-rqgw4wbf.js} +45 -45
- package/dist/chunks/{schema-bnjeam3m.js → workspace-rzp7a2t4.js} +11 -11
- package/dist/chunks/{schema-1svhfytg.js → workspace-s1sewrz2.js} +24 -24
- package/dist/chunks/{schema-38a6f3y0.js → workspace-s1v8awss.js} +3 -3
- package/dist/chunks/{schema-xyd93zwz.js → workspace-s305gxse.js} +34 -34
- package/dist/chunks/{schema-7q165t4g.js → workspace-s4gy3dj7.js} +16 -16
- package/dist/chunks/{schema-m1rbdz0y.js → workspace-s6ckz0hn.js} +14 -14
- package/dist/chunks/{schema-6qbhemwa.js → workspace-s8ch1s93.js} +34 -35
- package/dist/chunks/{schema-7vdznjcr.js → workspace-sb9g34e0.js} +8 -8
- package/dist/chunks/{schema-gtt9vv4e.js → workspace-srp09zfw.js} +11 -11
- package/dist/chunks/{schema-qymj231q.js → workspace-st7p3hwb.js} +9 -12
- package/dist/chunks/workspace-stn147wg.js +257 -0
- package/dist/chunks/{schema-yxxhm6wn.js → workspace-t18r7gq3.js} +45 -45
- package/dist/chunks/{schema-kn8ed5j7.js → workspace-t2s68hp7.js} +13 -13
- package/dist/chunks/{schema-k8naqxk9.js → workspace-t3hn50w1.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → workspace-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{schema-a2950d4b.js → workspace-tr7gnt89.js} +11 -11
- package/dist/chunks/{schema-phwvtd3y.js → workspace-tvgxg3g6.js} +4 -4
- package/dist/chunks/{schema-tyytaxap.js → workspace-tyytaxap.js} +1 -1
- package/dist/chunks/{schema-7ec2v9ed.js → workspace-tzprbfj6.js} +10 -10
- package/dist/chunks/{schema-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
- package/dist/chunks/{schema-60bb96q1.js → workspace-va6mm9z7.js} +9 -9
- package/dist/chunks/{schema-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-nnsw46vg.js → workspace-vm8sweqc.js} +4 -4
- package/dist/chunks/{schema-zdjfzqgx.js → workspace-vsv97a0e.js} +24 -24
- package/dist/chunks/{schema-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-qsr7754b.js → workspace-w0rc49da.js} +30 -30
- package/dist/chunks/{schema-wh6zw745.js → workspace-w2h15q85.js} +5 -5
- package/dist/chunks/{schema-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-b82aynba.js → workspace-wb9ff8bn.js} +23 -23
- package/dist/chunks/{schema-5hzj2gnj.js → workspace-wbnh8gjc.js} +5 -5
- package/dist/chunks/{schema-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{schema-ywt8jp22.js → workspace-wjr9rjd7.js} +6 -6
- package/dist/chunks/{schema-zdvv5291.js → workspace-wjst284m.js} +4 -4
- package/dist/chunks/{schema-sy3r6n62.js → workspace-x683dpmx.js} +32 -32
- package/dist/chunks/{schema-y56ehv6b.js → workspace-xf8yqmad.js} +9 -9
- package/dist/chunks/{schema-40ac0r3r.js → workspace-xg0qp6eg.js} +11 -11
- package/dist/chunks/{schema-8nbq5p6s.js → workspace-xghm9m12.js} +15 -15
- package/dist/chunks/{schema-k6kw0x3x.js → workspace-xjzqkwqn.js} +13 -13
- package/dist/chunks/{schema-atz56vhv.js → workspace-xv7z1ba5.js} +21 -21
- package/dist/chunks/{schema-4w9ygdqj.js → workspace-xy9gzbcy.js} +18 -18
- package/dist/chunks/{schema-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-kxbkpg81.js → workspace-y6e8h1xc.js} +21 -21
- package/dist/chunks/{schema-cbywt2p6.js → workspace-y6rf4qat.js} +34 -34
- package/dist/chunks/{schema-x5by4g9q.js → workspace-y76gxhjg.js} +337 -337
- package/dist/chunks/{schema-kjd40bgk.js → workspace-y7nndgyc.js} +9 -9
- package/dist/chunks/{schema-b1vpyjsr.js → workspace-yefhp8xd.js} +11 -11
- package/dist/chunks/{schema-tvcjbwgd.js → workspace-yfattsqw.js} +17 -17
- package/dist/chunks/{schema-8dj74pby.js → workspace-ynmknp8q.js} +11 -11
- package/dist/chunks/{schema-phdpwmhe.js → workspace-ynrxtasp.js} +20 -23
- package/dist/chunks/{schema-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-5acb438f.js → workspace-z34erevr.js} +9 -9
- package/dist/chunks/{schema-kjqvt6c0.js → workspace-z71n2avg.js} +4 -4
- package/dist/chunks/{schema-qb6nzafx.js → workspace-zaq7yc5h.js} +4 -3
- package/dist/chunks/{schema-kgjy8mzn.js → workspace-zcfdnc2q.js} +28 -30
- package/dist/chunks/{schema-70xh0458.js → workspace-zet3czjw.js} +19 -19
- package/dist/chunks/{schema-ycefwdcs.js → workspace-zfm65xnk.js} +8 -8
- package/dist/chunks/{schema-tnj6rg6w.js → workspace-zqt4wd7s.js} +13 -13
- package/dist/chunks/{schema-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-bkrhp30v.js → workspace-zx59jank.js} +6 -7
- package/dist/chunks/{schema-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +133 -133
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/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 +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -218
- 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 +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/persistent-pty/daemon.d.ts +39 -21
- package/dist/types/session/history.d.ts +0 -5
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session.d.ts +38 -38
- package/dist/types/v1/config/migrate.d.ts +2 -28
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/schema-2xehkjwm.js +0 -257
- package/dist/chunks/schema-9sh4wc5j.js +0 -18
- package/dist/chunks/schema-v0yck56n.js +0 -26
- /package/dist/chunks/{schema-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → workspace-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e3qxr5gk.js → workspace-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-m6fea7hh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-tvgxg3g6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID18,
|
|
9
|
+
Event20,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./workspace-76475ja5.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-3y377wv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-daz98v5x.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID11,
|
|
24
|
+
Service71
|
|
25
|
+
} from "./workspace-gs67eedh.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID10
|
|
28
|
+
} from "./workspace-80ea5f6r.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./workspace-b10f7vcz.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make9(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service84;
|
|
77
|
+
const providers = yield* Service71;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID11.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID11.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID11.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID11.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID11.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make8(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID11.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID11.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make8(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make8(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID11.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID11.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make8(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID11.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make9();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID10.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make9, AzurePlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service53
|
|
7
|
+
} from "./workspace-x683dpmx.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-nvxqht09.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-j6jn98s4.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-998yhzzq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service53;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID8.make(from),
|
|
91
|
+
to: ID8.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./workspace-daz98v5x.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service81,
|
|
18
|
+
UnavailableError: () => UnavailableError4,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer26,
|
|
21
|
+
node: () => node85
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,19 +31,19 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service81 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer26 = Layer.effect(Service81, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service82;
|
|
45
45
|
let hosted;
|
|
46
|
-
const findConnection = (provider) => integrations.get(
|
|
46
|
+
const findConnection = (provider) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
|
|
47
47
|
const models = Effect.fn("Voice.models")(function* () {
|
|
48
48
|
const host = hosted;
|
|
49
49
|
const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
|
|
@@ -70,13 +70,13 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
70
70
|
if (hosted?.models.includes(input.model))
|
|
71
71
|
return yield* hosted.session(input);
|
|
72
72
|
const connection = yield* findConnection(engine.provider);
|
|
73
|
-
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
73
|
+
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
|
|
74
74
|
if (credential?.type !== "key")
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new UnavailableError4({
|
|
76
76
|
service: engine.provider,
|
|
77
77
|
message: missingKeyMessage[engine.provider]
|
|
78
78
|
});
|
|
79
|
-
const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
79
|
+
const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
|
|
80
80
|
return { transport };
|
|
81
81
|
});
|
|
82
82
|
const instruct = Effect.fn("Voice.instruct")(function* (input) {
|
|
@@ -84,7 +84,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
84
84
|
return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
|
|
85
85
|
return yield* hosted.instruct(input);
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service81.of({
|
|
88
88
|
models,
|
|
89
89
|
session,
|
|
90
90
|
instruct,
|
|
@@ -93,10 +93,10 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
}));
|
|
96
|
-
var
|
|
97
|
-
service:
|
|
98
|
-
layer:
|
|
99
|
-
deps: [
|
|
96
|
+
var node85 = makeLocationNode({
|
|
97
|
+
service: Service81,
|
|
98
|
+
layer: layer26,
|
|
99
|
+
deps: [node86, requestExecutor2]
|
|
100
100
|
});
|
|
101
101
|
var missingKeyMessage = {
|
|
102
102
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -104,4 +104,4 @@ var missingKeyMessage = {
|
|
|
104
104
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
export { InvalidRequestError2,
|
|
107
|
+
export { InvalidRequestError2, UnavailableError4, Service81, layer26, node85, exports_voice };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-maers0pd.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-e4n1ebq2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./workspace-qssh8sag.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./workspace-5x8rsm2f.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./workspace-6gzxrv04.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service46
|
|
19
|
+
} from "./workspace-t18r7gq3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-xy9gzbcy.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-t2s68hp7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./workspace-eg33xqqg.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./workspace-be4f7z37.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-3chvherp.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input7,
|
|
53
|
-
Plugin: () =>
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
55
|
name: () => name7
|
|
56
56
|
});
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin42 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service51;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service73;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service63;
|
|
129
|
+
const shellSelect = yield* Service76;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service46;
|
|
132
|
+
const config = yield* Service67;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -211,7 +211,7 @@ var Plugin26 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export { name7, DEFAULT_TIMEOUT_MS2, Input7,
|
|
269
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin42, exports_shell2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./workspace-38phfjcn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./workspace-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9wev2pgg.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./workspace-qby9dwvd.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-j6jn98s4.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./workspace-132rhf2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-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* Service45;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
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* Service40;
|
|
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);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service80;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
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 })));
|