@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-w2xqxfyd.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-dnxkq42g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./websearch-yfazxzvf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./websearch-cbhxcmc1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service76
|
|
16
|
+
} from "./websearch-cbw88k9g.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./websearch-353vmrjg.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service76;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./websearch-zfpwxvs5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service32,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node35
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service32 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service44;
|
|
67
|
+
return Service32.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
70
|
return make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node35 = makeLocationNode({ service: Service32, layer, deps: [node47] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service32, node35, exports_instructions3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-cbw88k9g.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-3p9kjnm5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -509,4 +509,4 @@ var PROTOCOLS = {
|
|
|
509
509
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
510
510
|
};
|
|
511
511
|
|
|
512
|
-
export {
|
|
512
|
+
export { resolve4, exports_variant };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID10,
|
|
3
|
+
Info24,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-7w99qc9d.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-g6kz14de.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-w2xqxfyd.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-wj97vxvf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service56,
|
|
24
|
+
node59
|
|
25
|
+
} from "./websearch-9r15s34d.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node60
|
|
34
|
+
} from "./websearch-v8vkj13s.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./websearch-5xpznt2d.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./websearch-ay804b8n.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./websearch-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node40
|
|
47
|
+
} from "./websearch-fgt6t0vg.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node71
|
|
51
|
+
} from "./websearch-s7mc561m.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./websearch-32ymn5e1.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service71,
|
|
68
|
+
node75
|
|
69
|
+
} from "./websearch-w04gwn7v.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service58,
|
|
72
|
+
node61
|
|
73
|
+
} from "./websearch-dz6ws2fj.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service53,
|
|
76
|
+
node57
|
|
77
|
+
} from "./websearch-tttmn9xj.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./websearch-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service35,
|
|
83
|
+
node38
|
|
84
|
+
} from "./websearch-vfze4e7p.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./websearch-mjrftjf4.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./websearch-2av1ykjg.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service61,
|
|
93
|
+
node64
|
|
94
|
+
} from "./websearch-zbcsc03z.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service36,
|
|
100
|
+
node39
|
|
101
|
+
} from "./websearch-3eyay8p2.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service43,
|
|
104
|
+
node46
|
|
105
|
+
} from "./websearch-yvvvp4gn.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make15
|
|
108
|
+
} from "./websearch-ja2zj2c0.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./websearch-mtwraztm.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./websearch-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID10,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info24,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service29,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node32
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service29 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service81;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service53;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service35;
|
|
163
|
+
const store = yield* Service71;
|
|
164
|
+
const instances = yield* Service56;
|
|
165
|
+
const moves = yield* Service36;
|
|
166
|
+
const jobs = yield* Service58;
|
|
167
|
+
const environments = yield* Service43;
|
|
168
|
+
const locations = yield* Service61;
|
|
169
|
+
const sessions = yield* make15();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service29.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node32 = Node.makeGlobalNode({
|
|
331
|
+
service: Service29,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node61,
|
|
335
|
+
node46,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
338
|
node85,
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
node57,
|
|
340
|
+
node38,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node75,
|
|
343
|
+
node59,
|
|
344
|
+
node60,
|
|
345
|
+
node39,
|
|
346
|
+
node40,
|
|
347
|
+
node64,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node71
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service29, node32, exports_session };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-5dt9rsmr.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
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
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID11,
|
|
19
|
+
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node78
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID11 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID11.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info25 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info25.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID11.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service74.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID11.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID11.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID11, Name3, defaultID2, Color2, Info25, Service74, node78, exports_agent4, Event15 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-6cr2frtn.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-j2p7y48b.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|