@opencode/core 0.0.0-dev-20363 → 0.0.0-dev-20364
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{model-resolver-kd9s81d6.js → websearch-038px63b.js} +20 -20
- package/dist/chunks/{model-resolver-fwfvrmc2.js → websearch-0bjxfv7y.js} +4 -4
- package/dist/chunks/{model-resolver-m101sbdj.js → websearch-0c6d2bcx.js} +9 -9
- package/dist/chunks/{model-resolver-cepnprts.js → websearch-0fmckw5j.js} +21 -21
- package/dist/chunks/{model-resolver-04shvbr1.js → websearch-0j9wf475.js} +9 -9
- package/dist/chunks/{model-resolver-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-kdhg8fn5.js → websearch-0srz3rb7.js} +10 -10
- package/dist/chunks/{model-resolver-35me4pqp.js → websearch-0ypjagag.js} +43 -43
- package/dist/chunks/{model-resolver-7fpqa9rm.js → websearch-12zefq54.js} +13 -13
- package/dist/chunks/{model-resolver-f2n192rq.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-m1t05dsh.js → websearch-1adv04an.js} +1 -1
- package/dist/chunks/{model-resolver-1bbkgx8g.js → websearch-1bbkgx8g.js} +1 -1
- package/dist/chunks/{model-resolver-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-hqmtd9gn.js → websearch-1mxp06n2.js} +18 -18
- package/dist/chunks/{model-resolver-7nnscm86.js → websearch-1xx922hh.js} +20 -20
- package/dist/chunks/{model-resolver-4dcsf2r8.js → websearch-1y0s9zry.js} +8 -8
- package/dist/chunks/{model-resolver-1ygqh575.js → websearch-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-gp4df2gz.js → websearch-220kn1r0.js} +3 -3
- package/dist/chunks/{model-resolver-cpy6gm2a.js → websearch-23pqda6t.js} +6 -6
- package/dist/chunks/{model-resolver-j3s2z371.js → websearch-24dd53tp.js} +9 -9
- package/dist/chunks/{model-resolver-sg94zqbj.js → websearch-276jgmgv.js} +26 -26
- package/dist/chunks/{model-resolver-b9e5m5kw.js → websearch-27zn6a7k.js} +16 -16
- package/dist/chunks/{model-resolver-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-f5snpwwp.js → websearch-2av1ykjg.js} +8 -8
- package/dist/chunks/{model-resolver-g0s9wgrg.js → websearch-2ekw0rzc.js} +32 -32
- package/dist/chunks/{model-resolver-my6ay15n.js → websearch-2g184g7f.js} +16 -16
- package/dist/chunks/{model-resolver-g87rxxst.js → websearch-2kshkexn.js} +23 -23
- package/dist/chunks/{model-resolver-xt9rxswa.js → websearch-2p50zhn3.js} +4 -4
- package/dist/chunks/{model-resolver-1mjwcf4w.js → websearch-2p8k3371.js} +6 -6
- package/dist/chunks/{model-resolver-ga76bh3d.js → websearch-2y3tt2xr.js} +63 -63
- package/dist/chunks/{model-resolver-0ehkc6b3.js → websearch-31yjpdzq.js} +7 -7
- package/dist/chunks/{model-resolver-n3vygs5b.js → websearch-32ymn5e1.js} +6 -6
- package/dist/chunks/{model-resolver-cp17smcp.js → websearch-346nngnc.js} +36 -36
- package/dist/chunks/{model-resolver-08yw13zg.js → websearch-353vmrjg.js} +23 -23
- package/dist/chunks/{model-resolver-166cxnzt.js → websearch-398v765q.js} +22 -22
- package/dist/chunks/{model-resolver-vxv26dz1.js → websearch-3eyay8p2.js} +50 -50
- package/dist/chunks/{model-resolver-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-c75ppnt9.js → websearch-3p2rzh20.js} +25 -25
- package/dist/chunks/{model-resolver-c0xnxeca.js → websearch-3p9kjnm5.js} +27 -27
- package/dist/chunks/{model-resolver-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3w2b2yj4.js → websearch-3w0fmcng.js} +5 -5
- package/dist/chunks/{model-resolver-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-31v28kev.js → websearch-4dyr3fmv.js} +5 -5
- package/dist/chunks/{model-resolver-tx9w5tca.js → websearch-4e8vs6eh.js} +8 -8
- package/dist/chunks/{model-resolver-7zrz2ht7.js → websearch-4frsnb5p.js} +9 -9
- package/dist/chunks/{model-resolver-s30fyz93.js → websearch-4j4tgtq5.js} +4 -4
- package/dist/chunks/{model-resolver-ahwzhwa3.js → websearch-4nzfxfae.js} +5 -5
- package/dist/chunks/{model-resolver-28fee37h.js → websearch-4p9wqfgr.js} +28 -28
- package/dist/chunks/{model-resolver-1jtc7t2n.js → websearch-4rt6ttzx.js} +17 -17
- package/dist/chunks/{model-resolver-qpym6rz7.js → websearch-4zj0d0rt.js} +317 -317
- package/dist/chunks/{model-resolver-bf6sfhxg.js → websearch-50nd1cm7.js} +23 -23
- package/dist/chunks/{model-resolver-nz2kpe5e.js → websearch-53p07668.js} +26 -26
- package/dist/chunks/{model-resolver-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-6pzm3pmc.js → websearch-5anqrvtz.js} +15 -15
- package/dist/chunks/{model-resolver-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-m3ma28tp.js → websearch-5dt9rsmr.js} +48 -48
- package/dist/chunks/{model-resolver-kan6af9e.js → websearch-5jt4heav.js} +18 -18
- package/dist/chunks/{model-resolver-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-gbs6jbhw.js → websearch-5vz7x68a.js} +6 -6
- package/dist/chunks/{model-resolver-wq4mmp7m.js → websearch-5xpznt2d.js} +4 -4
- package/dist/chunks/{model-resolver-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-et0bpsn8.js → websearch-67d8jfya.js} +52 -52
- package/dist/chunks/{model-resolver-28rwb4xv.js → websearch-6a6qd33v.js} +13 -13
- package/dist/chunks/{model-resolver-b23z4qnb.js → websearch-6cr2frtn.js} +7 -7
- package/dist/chunks/{model-resolver-ef43s285.js → websearch-6cs6c98e.js} +32 -32
- package/dist/chunks/{model-resolver-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
- package/dist/chunks/{model-resolver-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-m6cmkatr.js → websearch-6n58c19x.js} +43 -43
- package/dist/chunks/{model-resolver-6pc27hjz.js → websearch-6pc27hjz.js} +2 -2
- package/dist/chunks/{model-resolver-kf4rtjcm.js → websearch-70dm097c.js} +11 -11
- package/dist/chunks/{model-resolver-2kewd2va.js → websearch-73m34ham.js} +9 -9
- package/dist/chunks/{model-resolver-r2m716tb.js → websearch-79qaa2kf.js} +9 -9
- package/dist/chunks/{model-resolver-cm63mksd.js → websearch-7ajg12sz.js} +12 -12
- package/dist/chunks/{model-resolver-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qskvc41q.js → websearch-7d5xv1hr.js} +10 -10
- package/dist/chunks/websearch-7fj5dwt0.js +18 -0
- package/dist/chunks/{model-resolver-5cmxdwv8.js → websearch-7w99qc9d.js} +3 -3
- package/dist/chunks/{model-resolver-8s79h2zs.js → websearch-7yftpyd9.js} +25 -25
- package/dist/chunks/{model-resolver-gv9h81mr.js → websearch-7z58nj57.js} +9 -9
- package/dist/chunks/{model-resolver-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-vqyyvx1k.js → websearch-8czzn1ew.js} +10 -10
- package/dist/chunks/{model-resolver-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-66gm3q6y.js → websearch-8p5mx2as.js} +4 -4
- package/dist/chunks/{model-resolver-gbzb20p6.js → websearch-8pxgk0ph.js} +8 -8
- package/dist/chunks/{model-resolver-v9k22ypw.js → websearch-9217e98b.js} +2 -2
- package/dist/chunks/{model-resolver-wgvqggrf.js → websearch-92qr6xp8.js} +4 -4
- package/dist/chunks/{model-resolver-94ek1h2f.js → websearch-94ek1h2f.js} +2 -2
- package/dist/chunks/{model-resolver-2e7f4xd3.js → websearch-95hjyvtz.js} +23 -23
- package/dist/chunks/{model-resolver-7f1fjr73.js → websearch-9a8jwsrm.js} +37 -37
- package/dist/chunks/{model-resolver-e23sc63z.js → websearch-9bf5sqn1.js} +4 -4
- package/dist/chunks/{model-resolver-9hn6k4tm.js → websearch-9hn6k4tm.js} +1 -1
- package/dist/chunks/{model-resolver-3ppptnan.js → websearch-9r15s34d.js} +6 -6
- package/dist/chunks/{model-resolver-9q2chv03.js → websearch-9rq7qx54.js} +3 -3
- package/dist/chunks/{model-resolver-beb0xpyw.js → websearch-a4fr3d9q.js} +10 -10
- package/dist/chunks/{model-resolver-f1vyadhg.js → websearch-a7dpx7re.js} +9 -9
- package/dist/chunks/{model-resolver-wcjgahxv.js → websearch-a89ymz6e.js} +10 -10
- package/dist/chunks/{model-resolver-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-5qkfabj9.js → websearch-akvkypve.js} +27 -27
- package/dist/chunks/{model-resolver-dfe8djrf.js → websearch-an7cqtb7.js} +4 -4
- package/dist/chunks/{model-resolver-kg0ttabr.js → websearch-ax7tp4yb.js} +17 -17
- package/dist/chunks/{model-resolver-5ghb1wcz.js → websearch-ay804b8n.js} +15 -15
- package/dist/chunks/{model-resolver-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-0t1a536w.js → websearch-bvtcxwtv.js} +12 -12
- package/dist/chunks/{model-resolver-3g9hx9d8.js → websearch-by247pp1.js} +48 -48
- package/dist/chunks/{model-resolver-5dzgzdgv.js → websearch-c0qwn38y.js} +27 -27
- package/dist/chunks/{model-resolver-2veb1275.js → websearch-c6zbmz56.js} +19 -19
- package/dist/chunks/{model-resolver-6pjg54et.js → websearch-c9swe8p3.js} +15 -15
- package/dist/chunks/{model-resolver-57p4zcxx.js → websearch-ca3pr54h.js} +18 -18
- package/dist/chunks/{model-resolver-4ff0zxak.js → websearch-cbhxcmc1.js} +30 -30
- package/dist/chunks/{model-resolver-r938b5ge.js → websearch-cbw88k9g.js} +29 -29
- package/dist/chunks/{model-resolver-zfhy6jfb.js → websearch-cgcc68fq.js} +8 -8
- package/dist/chunks/{model-resolver-ckecvw8r.js → websearch-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-zzd4ahet.js → websearch-cn8dv2v1.js} +22 -22
- package/dist/chunks/{model-resolver-7z7t5xg0.js → websearch-cp5367at.js} +8 -8
- package/dist/chunks/{model-resolver-4m9kpkhr.js → websearch-cq5xts3d.js} +21 -21
- package/dist/chunks/{model-resolver-z4fx9cvt.js → websearch-ctj5zx4b.js} +7 -7
- package/dist/chunks/{model-resolver-fdvr1ndy.js → websearch-cywvz9br.js} +9 -9
- package/dist/chunks/{model-resolver-p44d8wdy.js → websearch-d2aac7k2.js} +5 -5
- package/dist/chunks/{model-resolver-sfae06wy.js → websearch-d5jrffvq.js} +13 -13
- package/dist/chunks/{model-resolver-1gtysh3b.js → websearch-db8k9zw6.js} +11 -11
- package/dist/chunks/{model-resolver-dmqcgk4z.js → websearch-dmqcgk4z.js} +2 -2
- package/dist/chunks/{model-resolver-y6bex35g.js → websearch-dnxkq42g.js} +4 -4
- package/dist/chunks/{model-resolver-c48kjqxw.js → websearch-dpzcxc98.js} +27 -27
- package/dist/chunks/{model-resolver-drwq78ky.js → websearch-drwq78ky.js} +1 -1
- package/dist/chunks/{model-resolver-p0h2zwcj.js → websearch-dz3wwjp4.js} +13 -13
- package/dist/chunks/{model-resolver-vynr67b8.js → websearch-dz6ws2fj.js} +17 -17
- package/dist/chunks/{model-resolver-hy7m1jes.js → websearch-e0eyc163.js} +11 -11
- package/dist/chunks/{model-resolver-fg989vxx.js → websearch-e71g85fj.js} +13 -13
- package/dist/chunks/{model-resolver-r475mjjc.js → websearch-e892khxg.js} +20 -20
- package/dist/chunks/{model-resolver-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-j5qm3aa4.js → websearch-eds2zs3s.js} +34 -34
- package/dist/chunks/{model-resolver-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-fc1e038s.js → websearch-f81r1vb3.js} +13 -13
- package/dist/chunks/{model-resolver-qp883ga4.js → websearch-fbyf8q2e.js} +44 -44
- package/dist/chunks/{model-resolver-fcrkznn8.js → websearch-fcrkznn8.js} +1 -1
- package/dist/chunks/{model-resolver-9n3n2vac.js → websearch-feem3tsn.js} +16 -16
- package/dist/chunks/{model-resolver-0c6c0zmn.js → websearch-fgt6t0vg.js} +16 -16
- package/dist/chunks/{model-resolver-4mwtbdcy.js → websearch-fnmd0fbf.js} +23 -23
- package/dist/chunks/{model-resolver-df54n7py.js → websearch-fprafx3g.js} +12 -12
- package/dist/chunks/{model-resolver-vkt5fbj2.js → websearch-g2y161wv.js} +8 -8
- package/dist/chunks/{model-resolver-g5agzp2h.js → websearch-g5agzp2h.js} +2 -2
- package/dist/chunks/{model-resolver-qfnwxhdd.js → websearch-g6cszjk9.js} +11 -11
- package/dist/chunks/{model-resolver-qe3aawgt.js → websearch-g6kz14de.js} +3 -3
- package/dist/chunks/{model-resolver-qsf3p1yr.js → websearch-g8pnae5e.js} +7 -7
- package/dist/chunks/{model-resolver-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-prn2zde5.js → websearch-gmw7h0g0.js} +16 -16
- package/dist/chunks/{model-resolver-x7pmfb8f.js → websearch-gsx4bp2s.js} +9 -9
- package/dist/chunks/{model-resolver-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-29qym6xz.js → websearch-h9pnpq88.js} +4 -4
- package/dist/chunks/{model-resolver-7zdrdht4.js → websearch-ha607pgt.js} +6 -6
- package/dist/chunks/{model-resolver-cqy5fkq0.js → websearch-hbhenm16.js} +23 -23
- package/dist/chunks/{model-resolver-1ep2by6j.js → websearch-hc158ykg.js} +33 -33
- package/dist/chunks/{model-resolver-yjptyezs.js → websearch-hcz3zddy.js} +5 -5
- package/dist/chunks/{model-resolver-0bfcnrg1.js → websearch-hd8vw2pw.js} +1 -1
- package/dist/chunks/{model-resolver-5gb54438.js → websearch-hkw46htp.js} +11 -11
- package/dist/chunks/{model-resolver-ftdzjz2b.js → websearch-hxtet8kv.js} +8 -8
- package/dist/chunks/{model-resolver-00bdd51n.js → websearch-hzbdrxwe.js} +7 -7
- package/dist/chunks/{model-resolver-6rq2rdm3.js → websearch-j1ekrec0.js} +31 -31
- package/dist/chunks/{model-resolver-aads351p.js → websearch-j2p7y48b.js} +1 -1
- package/dist/chunks/{model-resolver-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-vm8x5jsh.js → websearch-j7x2yn3t.js} +24 -24
- package/dist/chunks/{model-resolver-gnnmkja3.js → websearch-ja2zj2c0.js} +34 -34
- package/dist/chunks/{model-resolver-gdj9fwxj.js → websearch-jcrrk3kb.js} +21 -21
- package/dist/chunks/{model-resolver-a2ew8a62.js → websearch-jfqtm2ew.js} +4 -4
- package/dist/chunks/websearch-jj1z2dhd.js +252 -0
- package/dist/chunks/{model-resolver-v850jb5g.js → websearch-jr3b2gvy.js} +11 -11
- package/dist/chunks/{model-resolver-magykp64.js → websearch-jw80jp6b.js} +4 -4
- package/dist/chunks/{model-resolver-ynz18txh.js → websearch-k3bw1sn3.js} +3 -3
- package/dist/chunks/{model-resolver-k3c624dm.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-d4wmmjrt.js → websearch-k93z6qzn.js} +20 -20
- package/dist/chunks/{model-resolver-w8s93tvm.js → websearch-kbp4225x.js} +17 -17
- package/dist/chunks/{model-resolver-k7tpzzsk.js → websearch-kz6k2e9e.js} +22 -22
- package/dist/chunks/{model-resolver-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-23ypespv.js → websearch-m9wxg17a.js} +17 -17
- package/dist/chunks/{model-resolver-x9zyqvt6.js → websearch-mf1w9jz9.js} +24 -24
- package/dist/chunks/{model-resolver-tm4vaxsf.js → websearch-mh97fagg.js} +17 -17
- package/dist/chunks/{model-resolver-j2g46p4m.js → websearch-mjrftjf4.js} +16 -16
- package/dist/chunks/{model-resolver-50p21jsy.js → websearch-mtwraztm.js} +11 -11
- package/dist/chunks/{model-resolver-b00xvs8t.js → websearch-mxr1v1s0.js} +8 -8
- package/dist/chunks/{model-resolver-e08max4g.js → websearch-n7f32xww.js} +3 -3
- package/dist/chunks/{model-resolver-r88fpew6.js → websearch-nbckkxgt.js} +9 -9
- package/dist/chunks/{model-resolver-2y34zzjz.js → websearch-ndqtf2h8.js} +6 -6
- package/dist/chunks/{model-resolver-wdyvcfat.js → websearch-nhgfcksv.js} +25 -25
- package/dist/chunks/{model-resolver-vmgq4x8b.js → websearch-nng2ktcm.js} +2 -2
- package/dist/chunks/{model-resolver-1tw0n30a.js → websearch-nr5t8xf9.js} +13 -13
- package/dist/chunks/{model-resolver-zw9m0b6f.js → websearch-p0szy2by.js} +22 -22
- package/dist/chunks/{model-resolver-dj1dwqym.js → websearch-pctwzd1v.js} +3 -3
- package/dist/chunks/{model-resolver-30krspkn.js → websearch-pcxghkgz.js} +4 -4
- package/dist/chunks/{model-resolver-g8stq3ct.js → websearch-pesdkjj5.js} +15 -15
- package/dist/chunks/{model-resolver-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-gst7axd9.js → websearch-q5asdkn4.js} +4 -4
- package/dist/chunks/{model-resolver-6rq91kkb.js → websearch-q68392kb.js} +22 -22
- package/dist/chunks/{model-resolver-d3qasn01.js → websearch-qc8nte2e.js} +6 -6
- package/dist/chunks/{model-resolver-c1jg21sb.js → websearch-qcgtzhhm.js} +11 -11
- package/dist/chunks/{model-resolver-4n607a2z.js → websearch-qdbakdjh.js} +5 -5
- package/dist/chunks/{model-resolver-jtdedrsn.js → websearch-qdg7esgd.js} +18 -18
- package/dist/chunks/{model-resolver-j47s30d1.js → websearch-qk0x0sk0.js} +5 -5
- package/dist/chunks/{model-resolver-eq302p8g.js → websearch-qm2t0qjn.js} +13 -13
- package/dist/chunks/{model-resolver-r1tct7zd.js → websearch-qnekv1ws.js} +11 -11
- package/dist/chunks/{model-resolver-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-85ja8bjp.js → websearch-qt3x64j7.js} +17 -17
- package/dist/chunks/{model-resolver-y5c83qxw.js → websearch-qxkhg7xp.js} +5 -5
- package/dist/chunks/{model-resolver-54ma36ye.js → websearch-r94pvvab.js} +4 -4
- package/dist/chunks/{model-resolver-rwectdn3.js → websearch-rbar20vn.js} +17 -17
- package/dist/chunks/{model-resolver-eqhdj52w.js → websearch-rbgspyrk.js} +20 -20
- package/dist/chunks/{model-resolver-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-g4x4az7d.js → websearch-rh0dsed9.js} +6 -6
- package/dist/chunks/{model-resolver-54gavh75.js → websearch-rhp1qkby.js} +88 -88
- package/dist/chunks/{model-resolver-gse0ck6f.js → websearch-rhpygmjn.js} +3 -3
- package/dist/chunks/{model-resolver-655b29a3.js → websearch-rnn7zy7b.js} +21 -21
- package/dist/chunks/{model-resolver-hkw89x8s.js → websearch-rvb988rt.js} +3 -3
- package/dist/chunks/{model-resolver-dxmvrbpm.js → websearch-ry88pbpy.js} +29 -29
- package/dist/chunks/{model-resolver-pgfqyy1c.js → websearch-s19tbb4q.js} +26 -26
- package/dist/chunks/{model-resolver-7k895je9.js → websearch-s39hhjzg.js} +25 -25
- package/dist/chunks/{model-resolver-59ps16wq.js → websearch-s3p9b0fg.js} +9 -9
- package/dist/chunks/{model-resolver-8k0g7am2.js → websearch-s7mc561m.js} +11 -11
- package/dist/chunks/{model-resolver-eaj1djv9.js → websearch-s8d7rejh.js} +6 -6
- package/dist/chunks/{model-resolver-2hg7qvzt.js → websearch-sznyev98.js} +5 -5
- package/dist/chunks/{model-resolver-bzpc8ntm.js → websearch-t0tmk7bb.js} +17 -17
- package/dist/chunks/{model-resolver-yv77sh0a.js → websearch-t1bbtf4n.js} +5 -5
- package/dist/chunks/{model-resolver-sx2mqjyc.js → websearch-t29c64m8.js} +23 -23
- package/dist/chunks/{model-resolver-h46w06ap.js → websearch-t4k7v3dt.js} +6 -6
- package/dist/chunks/{model-resolver-774mep86.js → websearch-t7mjb19w.js} +2 -2
- package/dist/chunks/{model-resolver-q0gq5wzg.js → websearch-t8fnexag.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-qb6wrr0k.js → websearch-tfr0n87e.js} +35 -35
- package/dist/chunks/{model-resolver-4g0mdtwh.js → websearch-tjh59d1t.js} +14 -14
- package/dist/chunks/{model-resolver-bw2q4erb.js → websearch-tttmn9xj.js} +36 -36
- package/dist/chunks/{model-resolver-m5389yyj.js → websearch-tvcy2d8k.js} +5 -5
- package/dist/chunks/{model-resolver-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-gd38j8rb.js → websearch-tx4rpkmp.js} +174 -174
- package/dist/chunks/{model-resolver-zmqb8676.js → websearch-v2tqbhv1.js} +5 -5
- package/dist/chunks/{model-resolver-bzx9a2az.js → websearch-v8vkj13s.js} +24 -24
- package/dist/chunks/{model-resolver-86qzxe6p.js → websearch-vbfgae2j.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-fvhcjjbk.js → websearch-vfze4e7p.js} +11 -11
- package/dist/chunks/{model-resolver-ep6z9mt6.js → websearch-vhvgae7m.js} +8 -8
- package/dist/chunks/{model-resolver-gmjq4p6e.js → websearch-vy4zg7qh.js} +5 -5
- package/dist/chunks/{model-resolver-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-ctwrx9qj.js → websearch-w04gwn7v.js} +14 -14
- package/dist/chunks/{model-resolver-v5g0yskm.js → websearch-w0tzqy3y.js} +2 -2
- package/dist/chunks/{model-resolver-0703wr40.js → websearch-w2xqxfyd.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd3x2cqz.js → websearch-wd3x2cqz.js} +2 -2
- package/dist/chunks/{model-resolver-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-y64m485r.js → websearch-wj97vxvf.js} +8 -8
- package/dist/chunks/{model-resolver-qy439gdh.js → websearch-wk33t37p.js} +12 -12
- package/dist/chunks/{model-resolver-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-0np6v5dx.js → websearch-xb4vskyg.js} +43 -43
- package/dist/chunks/{model-resolver-cp5p8nw7.js → websearch-xj0pm4a7.js} +23 -23
- package/dist/chunks/{model-resolver-x2y5scjf.js → websearch-xs0f1de6.js} +12 -12
- package/dist/chunks/{model-resolver-159a3x2j.js → websearch-xywyz3br.js} +38 -38
- package/dist/chunks/{model-resolver-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-ghdxkhwt.js → websearch-yfazxzvf.js} +30 -30
- package/dist/chunks/{model-resolver-8w6zmm29.js → websearch-ygnr1sws.js} +8 -8
- package/dist/chunks/{model-resolver-mrrz849e.js → websearch-yjybsv52.js} +11 -11
- package/dist/chunks/{model-resolver-8dhmwpck.js → websearch-ypznjkd7.js} +11 -11
- package/dist/chunks/{model-resolver-dcgx96r3.js → websearch-yqzb4qk7.js} +23 -23
- package/dist/chunks/{model-resolver-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-2aet7wja.js → websearch-yvvvp4gn.js} +8 -8
- package/dist/chunks/{model-resolver-z07pqspn.js → websearch-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-awc5gjgd.js → websearch-z4gwm7ej.js} +19 -19
- package/dist/chunks/{model-resolver-468xcx49.js → websearch-z4y1yx3e.js} +8 -8
- package/dist/chunks/{model-resolver-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-9pwyx6vy.js → websearch-zag1vqwr.js} +8 -8
- package/dist/chunks/{model-resolver-7vckzw94.js → websearch-zbcsc03z.js} +9 -9
- package/dist/chunks/{model-resolver-24bjdznb.js → websearch-zbtey4zf.js} +25 -25
- package/dist/chunks/{model-resolver-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-x9vnjyzm.js → websearch-zfpwxvs5.js} +22 -22
- package/dist/chunks/{model-resolver-2zf1ybhy.js → websearch-zm89c310.js} +3 -3
- package/dist/chunks/{model-resolver-f4bg3nw3.js → websearch-zr12skm3.js} +84 -84
- package/dist/chunks/{model-resolver-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/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 +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-ap5sg23v.js +0 -252
- package/dist/chunks/model-resolver-phz3h32g.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-t7mjb19w.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-feem3tsn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin2 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
34
|
const location = yield* Service80;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin2, exports_git };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-t7mjb19w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service61,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node64,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service61;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service61, node64, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service59,
|
|
6
|
+
node62
|
|
7
|
+
} from "./websearch-fbyf8q2e.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node21
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer9 = Layer.effect(Service18, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service59;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service18.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node21 = makeLocationNode({
|
|
74
|
+
service: Service18,
|
|
75
|
+
layer: layer9,
|
|
76
|
+
deps: [node62, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service18, layer9, node21, exports_generate };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-w2xqxfyd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-67d8jfya.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info7 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service44 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service44.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node47 = makeLocationNode({
|
|
112
|
+
service: Service44,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service44, node47, exports_skill5, Event8 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./websearch-cbw88k9g.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-g6kz14de.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-t7mjb19w.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service75,
|
|
13
|
+
node79
|
|
14
|
+
} from "./websearch-3p9kjnm5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID11,
|
|
17
|
+
Service74,
|
|
18
|
+
node78
|
|
19
|
+
} from "./websearch-rnn7zy7b.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-32ymn5e1.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-4j4tgtq5.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-z4y1yx3e.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node75
|
|
35
|
+
} from "./websearch-w04gwn7v.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./websearch-67d8jfya.js";
|
|
39
39
|
import {
|
|
40
40
|
make13
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./websearch-a7dpx7re.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service63,
|
|
44
|
+
node66
|
|
45
|
+
} from "./websearch-mf1w9jz9.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service41,
|
|
48
|
+
node44
|
|
49
|
+
} from "./websearch-dz3wwjp4.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service48,
|
|
52
|
+
node51
|
|
53
|
+
} from "./websearch-s39hhjzg.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service39,
|
|
56
|
+
node42
|
|
57
|
+
} from "./websearch-ry88pbpy.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service31,
|
|
60
|
+
node34
|
|
61
|
+
} from "./websearch-2kshkexn.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service33,
|
|
64
|
+
node36
|
|
65
|
+
} from "./websearch-ca3pr54h.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service32,
|
|
68
|
+
node35
|
|
69
|
+
} from "./websearch-rbgspyrk.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service37,
|
|
72
|
+
node41
|
|
73
|
+
} from "./websearch-ay804b8n.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service34,
|
|
76
|
+
node37
|
|
77
|
+
} from "./websearch-hc158ykg.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service55,
|
|
80
|
+
node58
|
|
81
|
+
} from "./websearch-f81r1vb3.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./websearch-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service30,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node33
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service30 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service74;
|
|
99
|
+
const builtins = yield* Service41;
|
|
100
|
+
const model = yield* Service75;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
102
|
+
const discovery = yield* Service63;
|
|
103
|
+
const entries = yield* Service37;
|
|
104
104
|
const location = yield* Service80;
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
105
|
+
const mcpInstructions = yield* Service31;
|
|
106
|
+
const mcpTools = yield* Service39;
|
|
107
|
+
const models = yield* Service55;
|
|
108
|
+
const request = yield* Service34;
|
|
109
|
+
const referenceInstructions = yield* Service33;
|
|
110
|
+
const skillInstructions = yield* Service32;
|
|
111
|
+
const store = yield* Service71;
|
|
112
|
+
const registry = yield* Service48;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID11.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service30.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node33 = makeLocationNode({
|
|
195
|
+
service: Service30,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node78,
|
|
199
|
+
node79,
|
|
200
200
|
node88,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
node44,
|
|
202
|
+
node66,
|
|
203
|
+
node41,
|
|
204
204
|
node84,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
node34,
|
|
206
|
+
node42,
|
|
207
|
+
node36,
|
|
208
|
+
node58,
|
|
209
|
+
node37,
|
|
210
|
+
node75,
|
|
211
|
+
node35,
|
|
212
|
+
node51
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service30, node33, exports_context };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
render2,
|
|
3
3
|
update2,
|
|
4
4
|
make13,
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
5
|
+
exports_instructions5
|
|
6
|
+
} from "../chunks/websearch-a7dpx7re.js";
|
|
7
|
+
import"../chunks/websearch-3fc6dm20.js";
|
|
8
|
+
import"../chunks/websearch-s8d7rejh.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
exports_instructions5 as CodeModeInstructions,
|
|
11
11
|
make13 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update2 as update
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/websearch-k3c624dm.js";
|
|
6
|
+
import"../chunks/websearch-m3fdjcah.js";
|
|
7
|
+
import"../chunks/websearch-3w5fmr99.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|