@opencode/core 0.0.0-dev-19442 → 0.0.0-dev-19443
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +3 -3
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{formatter-07770t2t.js → aisdk-native-036scx05.js} +6 -6
- package/dist/chunks/{formatter-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-dge3x2p3.js → aisdk-native-0s5esgd1.js} +17 -17
- package/dist/chunks/{formatter-7zph4ccs.js → aisdk-native-11c6haq0.js} +29 -29
- package/dist/chunks/{formatter-f2rbzmx2.js → aisdk-native-18j3d1k5.js} +14 -14
- package/dist/chunks/{formatter-1acjjqhc.js → aisdk-native-1acjjqhc.js} +1 -1
- package/dist/chunks/{formatter-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-9fwp41vh.js → aisdk-native-1e9w7pgh.js} +10 -10
- package/dist/chunks/{formatter-jbtsx043.js → aisdk-native-1rbex5rt.js} +26 -26
- package/dist/chunks/{formatter-tdhe5xga.js → aisdk-native-1y1z8jnb.js} +11 -11
- package/dist/chunks/{formatter-1ygqh575.js → aisdk-native-1ygqh575.js} +2 -2
- package/dist/chunks/{formatter-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-z63w68vq.js → aisdk-native-29x78va6.js} +6 -6
- package/dist/chunks/{formatter-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-ymyxwevk.js → aisdk-native-2dx5zcey.js} +15 -15
- package/dist/chunks/{formatter-eecr541e.js → aisdk-native-2fktr2jd.js} +5 -5
- package/dist/chunks/{formatter-78v47nsk.js → aisdk-native-2qp6y8xf.js} +5 -5
- package/dist/chunks/{formatter-51pnjp32.js → aisdk-native-2srt5kyc.js} +9 -9
- package/dist/chunks/{formatter-9tjnx8ba.js → aisdk-native-2vt4z936.js} +7 -7
- package/dist/chunks/{formatter-tvejcd1c.js → aisdk-native-36sz8rgh.js} +25 -25
- package/dist/chunks/{formatter-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3x8gcmrs.js → aisdk-native-3jqe0tdq.js} +9 -9
- package/dist/chunks/{formatter-fy5dbkry.js → aisdk-native-3mn8z65d.js} +17 -17
- package/dist/chunks/{formatter-1z802faq.js → aisdk-native-3n70k9za.js} +5 -5
- package/dist/chunks/{formatter-bwatdc02.js → aisdk-native-3r8ddj3n.js} +13 -13
- package/dist/chunks/{formatter-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-kfw23kb1.js → aisdk-native-3yjctv3v.js} +34 -34
- package/dist/chunks/{formatter-y20mwvjq.js → aisdk-native-414xncdy.js} +4 -4
- package/dist/chunks/{formatter-xh0q5d19.js → aisdk-native-4622e55f.js} +36 -36
- package/dist/chunks/{formatter-xx38zygr.js → aisdk-native-4cnyw18s.js} +15 -15
- package/dist/chunks/{formatter-wr7ps67x.js → aisdk-native-4dg124c5.js} +5 -5
- package/dist/chunks/{formatter-3k6sfp50.js → aisdk-native-4p37gy4n.js} +6 -6
- package/dist/chunks/{formatter-w9nng7hv.js → aisdk-native-5346cs1n.js} +4 -4
- package/dist/chunks/{formatter-22mjh9ty.js → aisdk-native-5ak1qtzr.js} +82 -82
- package/dist/chunks/{formatter-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-r1p8h42q.js → aisdk-native-5frevzdr.js} +7 -7
- package/dist/chunks/{formatter-6ck2t1rv.js → aisdk-native-5kptn8c0.js} +9 -9
- package/dist/chunks/{formatter-syd2ek2m.js → aisdk-native-5pkey55m.js} +20 -20
- package/dist/chunks/{formatter-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-3sztcym1.js → aisdk-native-5wbzy8nn.js} +4 -4
- package/dist/chunks/{formatter-0z4ganrk.js → aisdk-native-5yxh3d48.js} +174 -174
- package/dist/chunks/{formatter-n7epfj1e.js → aisdk-native-60fp49e0.js} +6 -6
- package/dist/chunks/{formatter-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{formatter-n3me71ma.js → aisdk-native-693j9t8q.js} +20 -20
- package/dist/chunks/{formatter-nbcf758j.js → aisdk-native-69jxqepe.js} +20 -20
- package/dist/chunks/{formatter-p688bkc5.js → aisdk-native-69r9223c.js} +7 -7
- package/dist/chunks/{formatter-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-4nc4g32g.js → aisdk-native-6q02yaaj.js} +13 -13
- package/dist/chunks/{formatter-jtbqtm0k.js → aisdk-native-6rffdb5j.js} +7 -7
- package/dist/chunks/{formatter-8zy8t8gf.js → aisdk-native-6rv39ce1.js} +66 -66
- package/dist/chunks/{formatter-r78rzmsw.js → aisdk-native-6t8gs0b1.js} +17 -17
- package/dist/chunks/{formatter-aefq2yfw.js → aisdk-native-6waq3m7r.js} +45 -45
- package/dist/chunks/{formatter-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{formatter-4k602d3g.js → aisdk-native-734nr2zp.js} +20 -20
- package/dist/chunks/{formatter-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-4r64zwvk.js → aisdk-native-7cgxkbdr.js} +17 -17
- package/dist/chunks/{formatter-zae39fg2.js → aisdk-native-7fyjb6zr.js} +10 -10
- package/dist/chunks/{formatter-yjgtw0qv.js → aisdk-native-7vypmzqc.js} +41 -41
- package/dist/chunks/{formatter-n5jxhyy6.js → aisdk-native-7yk2c6c5.js} +23 -23
- package/dist/chunks/{formatter-86cj3c8h.js → aisdk-native-7yzm6pxz.js} +28 -28
- package/dist/chunks/{formatter-1g7m4r41.js → aisdk-native-7z99814y.js} +12 -12
- package/dist/chunks/{formatter-fdv30zvt.js → aisdk-native-806j49yq.js} +7 -7
- package/dist/chunks/{formatter-bfajmyfy.js → aisdk-native-83028rk2.js} +3 -3
- package/dist/chunks/{formatter-cyqm2h3q.js → aisdk-native-846a88cc.js} +4 -4
- package/dist/chunks/{formatter-zm73fw82.js → aisdk-native-87k8zj6p.js} +16 -16
- package/dist/chunks/{formatter-pypsba0w.js → aisdk-native-89mk6zq8.js} +47 -47
- package/dist/chunks/{formatter-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-ebk5sng0.js → aisdk-native-8e9d62j8.js} +10 -10
- package/dist/chunks/{formatter-07g5132y.js → aisdk-native-8evvv6w2.js} +22 -22
- package/dist/chunks/{formatter-zav06jzw.js → aisdk-native-8gxqpgph.js} +4 -4
- package/dist/chunks/{formatter-tcent856.js → aisdk-native-8mr4zjz5.js} +20 -20
- package/dist/chunks/{formatter-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-27cvmr0a.js → aisdk-native-8y4y6bqe.js} +7 -7
- package/dist/chunks/{formatter-5686k794.js → aisdk-native-91bz4edj.js} +7 -7
- package/dist/chunks/{formatter-t1bhcjx3.js → aisdk-native-96yt6zt0.js} +1 -1
- package/dist/chunks/{formatter-x4j2hrja.js → aisdk-native-9b4wwscp.js} +3 -3
- package/dist/chunks/{formatter-efcedsnh.js → aisdk-native-9ctd387c.js} +27 -27
- package/dist/chunks/{formatter-b42np7pe.js → aisdk-native-9yq1xq8h.js} +32 -32
- package/dist/chunks/{formatter-v9btxpfp.js → aisdk-native-a161dj2k.js} +4 -4
- package/dist/chunks/{formatter-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-63bkm2xc.js → aisdk-native-a2phgqwc.js} +38 -38
- package/dist/chunks/{formatter-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-pd900gms.js → aisdk-native-abzhw57t.js} +26 -26
- package/dist/chunks/{formatter-dghgjkkt.js → aisdk-native-aj8kkpvr.js} +4 -4
- package/dist/chunks/{formatter-cr07tj7n.js → aisdk-native-avm8jn6n.js} +5 -5
- package/dist/chunks/{formatter-pys7r5ft.js → aisdk-native-azdr1ew2.js} +18 -18
- package/dist/chunks/{formatter-kyrbgmgz.js → aisdk-native-b1hwkhhg.js} +4 -4
- package/dist/chunks/{formatter-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-bajakh74.js → aisdk-native-bajakh74.js} +4 -4
- package/dist/chunks/{formatter-msq0jde0.js → aisdk-native-bccb6npm.js} +4 -4
- package/dist/chunks/aisdk-native-befyamhm.js +22 -0
- package/dist/chunks/{formatter-5zn8m59m.js → aisdk-native-bh0q3qw2.js} +24 -24
- package/dist/chunks/{formatter-gwf61436.js → aisdk-native-bhwxr1kx.js} +26 -26
- package/dist/chunks/{formatter-gxr5v7wk.js → aisdk-native-bs7hmeg3.js} +18 -18
- package/dist/chunks/{formatter-npfjnfyw.js → aisdk-native-c0wenar5.js} +14 -14
- package/dist/chunks/{formatter-vfbvz2sn.js → aisdk-native-c7aqkwyx.js} +11 -11
- package/dist/chunks/{formatter-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-m3ts4v0j.js → aisdk-native-ck004xzv.js} +14 -14
- package/dist/chunks/{formatter-rbp9pwyt.js → aisdk-native-cmaw1yhg.js} +24 -24
- package/dist/chunks/{formatter-q542kxb4.js → aisdk-native-cv1ed7e8.js} +10 -10
- package/dist/chunks/{formatter-b6r1f5rm.js → aisdk-native-cwcv96xt.js} +24 -24
- package/dist/chunks/{formatter-qfnbjkve.js → aisdk-native-d6eq99k8.js} +11 -11
- package/dist/chunks/{formatter-3a3nm9ck.js → aisdk-native-dfra2488.js} +32 -32
- package/dist/chunks/{formatter-wndmtb1p.js → aisdk-native-dhpx4bgt.js} +6 -6
- package/dist/chunks/{formatter-z9bbcn2s.js → aisdk-native-dkxen2ne.js} +18 -18
- package/dist/chunks/{formatter-y6f0p4jw.js → aisdk-native-dv250zvr.js} +3 -3
- package/dist/chunks/{formatter-vjtcf3cg.js → aisdk-native-e0y88b7s.js} +34 -34
- package/dist/chunks/{formatter-14s5dwzm.js → aisdk-native-e5v436ga.js} +24 -24
- package/dist/chunks/{formatter-nhy5jxhy.js → aisdk-native-e82z9tr0.js} +7 -7
- package/dist/chunks/{formatter-j5hcmc17.js → aisdk-native-e9kjg0vc.js} +5 -5
- package/dist/chunks/{formatter-ran1x3dp.js → aisdk-native-e9nzppwt.js} +20 -20
- package/dist/chunks/{formatter-vwc53vnk.js → aisdk-native-efy942t1.js} +12 -12
- package/dist/chunks/{formatter-v6kh18tr.js → aisdk-native-er56z9m3.js} +4 -4
- package/dist/chunks/{formatter-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-5mpmxcn3.js → aisdk-native-f4mtjk0y.js} +9 -9
- package/dist/chunks/{formatter-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-hef2fv9c.js → aisdk-native-f8m2xdzz.js} +15 -15
- package/dist/chunks/{formatter-n5zjdcc0.js → aisdk-native-f8q7mv7a.js} +1 -1
- package/dist/chunks/{formatter-9cetqcc0.js → aisdk-native-f9ek4kpk.js} +3 -3
- package/dist/chunks/{formatter-wvx822mk.js → aisdk-native-fae6jabp.js} +32 -32
- package/dist/chunks/{formatter-0jwsre1p.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{formatter-2jxkcfxh.js → aisdk-native-fdgvvs2b.js} +18 -18
- package/dist/chunks/{formatter-rra39r6b.js → aisdk-native-fdrns0k3.js} +20 -20
- package/dist/chunks/{formatter-1fa9ans5.js → aisdk-native-fgh0kbhd.js} +1 -1
- package/dist/chunks/{formatter-hp5e6fgb.js → aisdk-native-fgwez2sf.js} +13 -13
- package/dist/chunks/{formatter-phhzch1s.js → aisdk-native-fgwkmjw7.js} +5 -5
- package/dist/chunks/{formatter-kwk5x0cs.js → aisdk-native-fnx83s2r.js} +46 -46
- package/dist/chunks/{formatter-d07z2d7y.js → aisdk-native-fv3xc2ec.js} +15 -15
- package/dist/chunks/{formatter-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-fmmn8x74.js → aisdk-native-fygdb7h7.js} +3 -3
- package/dist/chunks/{formatter-9v9evep5.js → aisdk-native-g0tknpy6.js} +21 -21
- package/dist/chunks/{formatter-wkkxymjz.js → aisdk-native-g9h0cv9w.js} +16 -16
- package/dist/chunks/{formatter-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-5730y88m.js → aisdk-native-gpr0mnvy.js} +9 -9
- package/dist/chunks/{formatter-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-dg40m71b.js → aisdk-native-gw96jgh3.js} +23 -23
- package/dist/chunks/{formatter-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-83jsjxge.js → aisdk-native-h393hsdx.js} +34 -34
- package/dist/chunks/{formatter-knaweb83.js → aisdk-native-h3e3s5sa.js} +11 -11
- package/dist/chunks/{formatter-mzzxvvcj.js → aisdk-native-h509qmsw.js} +18 -18
- package/dist/chunks/{formatter-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-b95h3j77.js → aisdk-native-h7zq2bwb.js} +11 -11
- package/dist/chunks/{formatter-b0awdqvx.js → aisdk-native-hdzt82x2.js} +7 -7
- package/dist/chunks/{formatter-hdgeqy3n.js → aisdk-native-hm95npdb.js} +28 -28
- package/dist/chunks/{formatter-mjxbdjmk.js → aisdk-native-hmb9mprx.js} +4 -4
- package/dist/chunks/{formatter-x0wwt8km.js → aisdk-native-hn5yzyh1.js} +17 -17
- package/dist/chunks/{formatter-kgwny488.js → aisdk-native-hzssdtqa.js} +1 -1
- package/dist/chunks/{formatter-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-0t7gmehk.js → aisdk-native-j5j4zr0n.js} +10 -10
- package/dist/chunks/{formatter-paphc93g.js → aisdk-native-j935v87r.js} +2 -2
- package/dist/chunks/{formatter-eq23s0y6.js → aisdk-native-jk9a1ysw.js} +5 -5
- package/dist/chunks/{formatter-qssq5wvh.js → aisdk-native-k16ay38w.js} +1 -1
- package/dist/chunks/{formatter-dr3wacvp.js → aisdk-native-k7zvybbz.js} +13 -13
- package/dist/chunks/{formatter-68mqsjbx.js → aisdk-native-k8zhydtp.js} +37 -37
- package/dist/chunks/{formatter-2qbzv385.js → aisdk-native-kap7d8ny.js} +13 -13
- package/dist/chunks/{formatter-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{formatter-hf8cnsjw.js → aisdk-native-ksz0h0wp.js} +1 -1
- package/dist/chunks/{formatter-dt849bc4.js → aisdk-native-m27pyyd3.js} +6 -6
- package/dist/chunks/{formatter-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-mhkvc446.js → aisdk-native-mhkvc446.js} +1 -1
- package/dist/chunks/{formatter-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{formatter-76n9k95k.js → aisdk-native-mr2e4527.js} +32 -32
- package/dist/chunks/{formatter-bmb9q18h.js → aisdk-native-mt76ms35.js} +20 -20
- package/dist/chunks/{formatter-35ybfb31.js → aisdk-native-mtx2vye4.js} +25 -25
- package/dist/chunks/{formatter-79renbpq.js → aisdk-native-mw1247dj.js} +4 -4
- package/dist/chunks/{formatter-xz285jew.js → aisdk-native-mwzwsk9n.js} +11 -11
- package/dist/chunks/{formatter-8014eh36.js → aisdk-native-mxncjdsk.js} +43 -43
- package/dist/chunks/{formatter-6jex2xta.js → aisdk-native-n76fdqym.js} +5 -5
- package/dist/chunks/{formatter-d8sdrn5j.js → aisdk-native-n7w9w4s7.js} +11 -11
- package/dist/chunks/{formatter-z7nszk6n.js → aisdk-native-nfxyqc0v.js} +6 -6
- package/dist/chunks/{formatter-cfdfryy5.js → aisdk-native-nrq08cvv.js} +31 -31
- package/dist/chunks/{formatter-z5249fh5.js → aisdk-native-nrtb1g45.js} +21 -21
- package/dist/chunks/{formatter-nf8etk0h.js → aisdk-native-ntbmwyv9.js} +16 -16
- package/dist/chunks/{formatter-41f61ev5.js → aisdk-native-nzzy63ds.js} +9 -9
- package/dist/chunks/{formatter-ya3pk50a.js → aisdk-native-p0x1x402.js} +4 -4
- package/dist/chunks/{formatter-kq1kcxwx.js → aisdk-native-p0y1ktg0.js} +56 -56
- package/dist/chunks/{formatter-743vzpe1.js → aisdk-native-p4qt1y8s.js} +12 -12
- package/dist/chunks/{formatter-cn9ts38g.js → aisdk-native-p5948bz6.js} +23 -23
- package/dist/chunks/{formatter-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-9yp3h48g.js → aisdk-native-ppg1r0zn.js} +29 -29
- package/dist/chunks/{formatter-g2y161wv.js → aisdk-native-pw9v3g6d.js} +8 -8
- package/dist/chunks/{formatter-2ye3w4c6.js → aisdk-native-q3dfwa13.js} +3 -3
- package/dist/chunks/aisdk-native-q509s3k3.js +18 -0
- package/dist/chunks/{formatter-zwwmew6a.js → aisdk-native-q56zp3pb.js} +8 -8
- package/dist/chunks/{formatter-77nagcj1.js → aisdk-native-q5j1bp2v.js} +4 -4
- package/dist/chunks/{formatter-vak1nh3a.js → aisdk-native-q6sd8jqx.js} +8 -8
- package/dist/chunks/{formatter-m31d5xjk.js → aisdk-native-q9d5c5bg.js} +25 -25
- package/dist/chunks/{formatter-amm4215g.js → aisdk-native-qa4pd714.js} +15 -15
- package/dist/chunks/{formatter-844q5q2y.js → aisdk-native-qdjwk6et.js} +12 -12
- package/dist/chunks/{formatter-rk0rec3h.js → aisdk-native-qg6emqy4.js} +9 -9
- package/dist/chunks/{formatter-qyj995fp.js → aisdk-native-qm66azdk.js} +11 -11
- package/dist/chunks/{formatter-mq24hmwn.js → aisdk-native-qnecgmg3.js} +39 -39
- package/dist/chunks/{formatter-pmr4s4kc.js → aisdk-native-qq11w61w.js} +4 -4
- package/dist/chunks/{formatter-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-24g3tesp.js → aisdk-native-qtmhg6c3.js} +26 -26
- package/dist/chunks/{formatter-acsnj85b.js → aisdk-native-qwt0xknm.js} +6 -6
- package/dist/chunks/aisdk-native-qyzw8b7h.js +247 -0
- package/dist/chunks/{formatter-szy17rma.js → aisdk-native-r4qygam9.js} +2 -2
- package/dist/chunks/{formatter-7s02b6me.js → aisdk-native-r9babyk8.js} +1 -1
- package/dist/chunks/{formatter-r9mregkx.js → aisdk-native-r9mregkx.js} +2 -2
- package/dist/chunks/{formatter-4gyv9dcq.js → aisdk-native-rc7zsjvb.js} +26 -26
- package/dist/chunks/{formatter-g97k7hqe.js → aisdk-native-rgy7ctyq.js} +6 -6
- package/dist/chunks/{formatter-66gmdr70.js → aisdk-native-rkc71d60.js} +26 -26
- package/dist/chunks/{formatter-8ppq07x6.js → aisdk-native-rmdyxgmk.js} +8 -8
- package/dist/chunks/{formatter-jm6wy66x.js → aisdk-native-rmgpmqvg.js} +282 -282
- package/dist/chunks/{formatter-7stj2g6t.js → aisdk-native-rw0xhzfz.js} +9 -9
- package/dist/chunks/{formatter-tyq6zn03.js → aisdk-native-rwxhg8cn.js} +43 -43
- package/dist/chunks/{formatter-9e77hs8e.js → aisdk-native-rxmwyzz4.js} +13 -13
- package/dist/chunks/{formatter-yrznvahk.js → aisdk-native-s4enseaf.js} +2 -2
- package/dist/chunks/{formatter-mjymc32g.js → aisdk-native-s8j6jbjj.js} +21 -21
- package/dist/chunks/{formatter-xypf59mt.js → aisdk-native-sx0kmj3h.js} +3 -3
- package/dist/chunks/{formatter-tjv8j3ty.js → aisdk-native-syvyg8jx.js} +18 -18
- package/dist/chunks/{formatter-0hc60vqt.js → aisdk-native-t138kpbp.js} +6 -6
- package/dist/chunks/{formatter-p33ejz0k.js → aisdk-native-t23qze4t.js} +1 -1
- package/dist/chunks/{formatter-hrmdcqyf.js → aisdk-native-t2w7qj2h.js} +13 -13
- package/dist/chunks/{formatter-t550f9t1.js → aisdk-native-t550f9t1.js} +1 -1
- package/dist/chunks/{formatter-j6qbcxka.js → aisdk-native-t5kb7xrj.js} +17 -17
- package/dist/chunks/{formatter-hv4dbmz4.js → aisdk-native-t7z3zppm.js} +2 -2
- package/dist/chunks/{formatter-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{formatter-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-rx5z47at.js → aisdk-native-tm0ysbqm.js} +30 -30
- package/dist/chunks/{formatter-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-4a4wm3fd.js → aisdk-native-tzgha2eb.js} +10 -10
- package/dist/chunks/{formatter-jfkc9b5n.js → aisdk-native-v4b36nj3.js} +2 -2
- package/dist/chunks/{formatter-wf6rfhw9.js → aisdk-native-v4jjqebk.js} +13 -13
- package/dist/chunks/{formatter-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-1ga0n8k4.js → aisdk-native-vnxf3xq1.js} +47 -47
- package/dist/chunks/{formatter-rtfynwzt.js → aisdk-native-vsq8jhd6.js} +59 -59
- package/dist/chunks/{formatter-fban3jjy.js → aisdk-native-vvv3thrh.js} +12 -12
- package/dist/chunks/{formatter-qba6esk9.js → aisdk-native-vxwzppst.js} +9 -9
- package/dist/chunks/{formatter-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-zetmaeve.js → aisdk-native-w2187ed2.js} +24 -24
- package/dist/chunks/{formatter-vh2brwev.js → aisdk-native-w3hwtebh.js} +11 -11
- package/dist/chunks/{formatter-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-dkfqzx94.js → aisdk-native-w48scv8w.js} +9 -9
- package/dist/chunks/{formatter-z8vercf0.js → aisdk-native-w4v2becs.js} +7 -7
- package/dist/chunks/{formatter-x93xphn0.js → aisdk-native-w6v733tr.js} +27 -27
- package/dist/chunks/{formatter-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-gzbxtshv.js → aisdk-native-wgrkr345.js} +86 -86
- package/dist/chunks/{formatter-n07qvca3.js → aisdk-native-wsk9egft.js} +9 -9
- package/dist/chunks/{formatter-yvxd7hem.js → aisdk-native-wspyg160.js} +15 -15
- package/dist/chunks/{formatter-3ythc6yv.js → aisdk-native-x0511brf.js} +4 -4
- package/dist/chunks/{formatter-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-dv1qgsyq.js → aisdk-native-x3et2xth.js} +8 -8
- package/dist/chunks/{formatter-jnjr1yzt.js → aisdk-native-x3hrgzzj.js} +35 -35
- package/dist/chunks/{formatter-phasdpa1.js → aisdk-native-x47ex9qk.js} +17 -17
- package/dist/chunks/{formatter-2j72yz8b.js → aisdk-native-x5f4ydnm.js} +10 -10
- package/dist/chunks/{formatter-d8vv29gg.js → aisdk-native-x5tmsv1z.js} +28 -28
- package/dist/chunks/{formatter-cj7ef3kd.js → aisdk-native-x90ekrdb.js} +6 -6
- package/dist/chunks/{formatter-2p4d45ss.js → aisdk-native-xbp5vre2.js} +37 -37
- package/dist/chunks/{formatter-fhs97t90.js → aisdk-native-xekzrwwc.js} +8 -8
- package/dist/chunks/{formatter-w19rq0qz.js → aisdk-native-xfqaw5jk.js} +32 -32
- package/dist/chunks/{formatter-tkd28t9z.js → aisdk-native-xhh24fr8.js} +8 -8
- package/dist/chunks/{formatter-0996nyz8.js → aisdk-native-xhmq8qgk.js} +9 -9
- package/dist/chunks/{formatter-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-2fepy6kp.js → aisdk-native-y4h9daa2.js} +27 -27
- package/dist/chunks/{formatter-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-r1wdcgzk.js → aisdk-native-yddgxcp4.js} +5 -5
- package/dist/chunks/{formatter-1e1eh5br.js → aisdk-native-yep2bc9q.js} +11 -11
- package/dist/chunks/{formatter-2xp9zh4w.js → aisdk-native-yhy3dzz1.js} +11 -11
- package/dist/chunks/{formatter-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-xz9wm8d3.js → aisdk-native-yxq4x6j1.js} +8 -8
- package/dist/chunks/{formatter-xejpdtff.js → aisdk-native-yzahj7qk.js} +44 -44
- package/dist/chunks/{formatter-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-zcjdhcyr.js → aisdk-native-z2kjg3n2.js} +12 -12
- package/dist/chunks/{formatter-2ee8pmxs.js → aisdk-native-z69s9t6b.js} +5 -5
- package/dist/chunks/{formatter-8gbdh1kt.js → aisdk-native-z9g8v05p.js} +29 -29
- package/dist/chunks/{formatter-17exey95.js → aisdk-native-zbpnfvtq.js} +24 -24
- package/dist/chunks/{formatter-8d321qp1.js → aisdk-native-zebk3f7x.js} +27 -27
- package/dist/chunks/{formatter-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-0gegznas.js → aisdk-native-zkqp0xtw.js} +23 -23
- package/dist/chunks/{formatter-tmr90kjh.js → aisdk-native-zmz8tvp3.js} +8 -8
- package/dist/chunks/{formatter-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-nt0xtg2m.js → aisdk-native-zrtmhd6x.js} +30 -30
- package/dist/chunks/{formatter-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +131 -131
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- 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/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/formatter-1x11rq2a.js +0 -18
- package/dist/chunks/formatter-2ma3xmgy.js +0 -247
- package/dist/chunks/formatter-gkc9xmpb.js +0 -22
- /package/dist/chunks/{formatter-0mesazry.js → aisdk-native-0mesazry.js} +0 -0
- /package/dist/chunks/{formatter-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-native-7z99814y.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID12,
|
|
20
|
+
Info: () => Info16,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node74,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID12 = Form.ID;
|
|
39
|
+
var Info16 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID12
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID12
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID12
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID12,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer23 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service78;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID12.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service69.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node74 = makeLocationNode({ service: Service69, layer: layer23, deps: [node83] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID12, Info16, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer23, node74, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,114 +1,114 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-83028rk2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID10,
|
|
7
|
+
Service56,
|
|
8
|
+
node61
|
|
9
|
+
} from "./aisdk-native-9ctd387c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node71
|
|
13
|
+
} from "./aisdk-native-hm95npdb.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-t550f9t1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
make14
|
|
19
|
+
} from "./aisdk-native-t2w7qj2h.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service34,
|
|
22
|
+
node38
|
|
23
|
+
} from "./aisdk-native-abzhw57t.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node79
|
|
27
|
+
} from "./aisdk-native-3mn8z65d.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service32,
|
|
30
|
+
node36
|
|
31
|
+
} from "./aisdk-native-v4jjqebk.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-3jqe0tdq.js";
|
|
35
35
|
import {
|
|
36
36
|
provenance2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-native-bccb6npm.js";
|
|
38
38
|
import {
|
|
39
39
|
entriesForRunner2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-native-mwzwsk9n.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
42
|
+
Service54,
|
|
43
|
+
node59
|
|
44
|
+
} from "./aisdk-native-ck004xzv.js";
|
|
45
|
+
import {
|
|
46
|
+
Service39,
|
|
47
|
+
node43
|
|
48
|
+
} from "./aisdk-native-36sz8rgh.js";
|
|
45
49
|
import {
|
|
46
50
|
Service30,
|
|
47
51
|
node34
|
|
48
|
-
} from "./
|
|
52
|
+
} from "./aisdk-native-dfra2488.js";
|
|
49
53
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
54
|
+
Service29,
|
|
55
|
+
node33
|
|
56
|
+
} from "./aisdk-native-nrtb1g45.js";
|
|
53
57
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
58
|
+
Service33,
|
|
59
|
+
node37
|
|
60
|
+
} from "./aisdk-native-g9h0cv9w.js";
|
|
57
61
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
62
|
+
Service26,
|
|
63
|
+
node30
|
|
64
|
+
} from "./aisdk-native-azdr1ew2.js";
|
|
61
65
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
} from "./
|
|
66
|
+
Service24,
|
|
67
|
+
node29
|
|
68
|
+
} from "./aisdk-native-yhy3dzz1.js";
|
|
65
69
|
import {
|
|
66
|
-
|
|
70
|
+
Service27,
|
|
67
71
|
node31
|
|
68
|
-
} from "./
|
|
69
|
-
import {
|
|
70
|
-
Service23,
|
|
71
|
-
node27
|
|
72
|
-
} from "./formatter-rx5z47at.js";
|
|
72
|
+
} from "./aisdk-native-tm0ysbqm.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service52,
|
|
75
|
+
node57
|
|
76
|
+
} from "./aisdk-native-k7zvybbz.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/session/context.ts
|
|
82
82
|
var exports_context = {};
|
|
83
83
|
__export(exports_context, {
|
|
84
|
-
Service: () =>
|
|
84
|
+
Service: () => Service23,
|
|
85
85
|
SessionContext: () => exports_context,
|
|
86
|
-
node: () =>
|
|
86
|
+
node: () => node28
|
|
87
87
|
});
|
|
88
88
|
import { Model } from "@opencode/schema/model";
|
|
89
89
|
import { Context, Effect, Layer } from "effect";
|
|
90
90
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
91
|
-
class
|
|
91
|
+
class Service23 extends Context.Service()("@opencode/SessionContext") {
|
|
92
92
|
}
|
|
93
|
-
var layer = Layer.effect(
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const builtins = yield*
|
|
96
|
-
const catalog = yield*
|
|
93
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
94
|
+
const agents = yield* Service56;
|
|
95
|
+
const builtins = yield* Service32;
|
|
96
|
+
const catalog = yield* Service66;
|
|
97
97
|
const db = (yield* Service80).db;
|
|
98
|
-
const discovery = yield*
|
|
99
|
-
const entries = yield*
|
|
100
|
-
const location = yield*
|
|
101
|
-
const mcpInstructions = yield*
|
|
102
|
-
const mcpTools = yield*
|
|
103
|
-
const models = yield*
|
|
104
|
-
const request = yield*
|
|
105
|
-
const referenceInstructions = yield*
|
|
106
|
-
const skillInstructions = yield*
|
|
107
|
-
const store = yield*
|
|
108
|
-
const registry = yield*
|
|
98
|
+
const discovery = yield* Service34;
|
|
99
|
+
const entries = yield* Service24;
|
|
100
|
+
const location = yield* Service74;
|
|
101
|
+
const mcpInstructions = yield* Service29;
|
|
102
|
+
const mcpTools = yield* Service30;
|
|
103
|
+
const models = yield* Service52;
|
|
104
|
+
const request = yield* Service27;
|
|
105
|
+
const referenceInstructions = yield* Service33;
|
|
106
|
+
const skillInstructions = yield* Service26;
|
|
107
|
+
const store = yield* Service54;
|
|
108
|
+
const registry = yield* Service39;
|
|
109
109
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
110
110
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
111
|
-
const agent = yield* agents.get(
|
|
111
|
+
const agent = yield* agents.get(ID10.make("title"));
|
|
112
112
|
if (!agent)
|
|
113
113
|
return;
|
|
114
114
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
161
161
|
agent: { ...agent, info: agent.info },
|
|
162
162
|
instructions: combine2([
|
|
163
163
|
loaded.builtins,
|
|
164
|
-
|
|
164
|
+
make14(loaded.tools.codeModeCatalog),
|
|
165
165
|
loaded.discovery,
|
|
166
166
|
loaded.skills,
|
|
167
167
|
loaded.references,
|
|
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
183
183
|
tools: selection.tools
|
|
184
184
|
};
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return Service23.of({ select, load, resolveModel, selectTitle, request });
|
|
187
187
|
}));
|
|
188
188
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node28 = makeLocationNode({
|
|
190
|
+
service: Service23,
|
|
191
191
|
layer,
|
|
192
192
|
deps: [
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
node61,
|
|
194
|
+
node71,
|
|
195
195
|
node85,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
node36,
|
|
197
|
+
node38,
|
|
198
|
+
node29,
|
|
199
|
+
node79,
|
|
200
|
+
node33,
|
|
201
|
+
node34,
|
|
202
|
+
node37,
|
|
203
|
+
node57,
|
|
198
204
|
node31,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
node23,
|
|
203
|
-
node54,
|
|
204
|
-
node27,
|
|
205
|
-
node62,
|
|
206
|
-
node24,
|
|
207
|
-
node34
|
|
205
|
+
node59,
|
|
206
|
+
node30,
|
|
207
|
+
node43
|
|
208
208
|
]
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { Service23, node28, exports_context };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-5wbzy8nn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Service77
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-fdgvvs2b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID11,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-qtmhg6c3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID18
|
|
14
|
+
} from "./aisdk-native-m27pyyd3.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID11.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -69,7 +69,7 @@ var XAIPlugin2 = define({
|
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
71
|
const credentials = yield* Service77;
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID11.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info6,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-7yzm6pxz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./aisdk-native-6waq3m7r.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin4,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin4 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info6.make({
|
|
431
|
+
id: ID4.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info6.make({
|
|
438
|
+
id: ID4.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service71;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin4, exports_skill };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin14
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin14 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin13 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin14, exports_mcp_codemode_exclusion };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node7, bound2, exports_instance2 };
|