@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./websearch-rnn7zy7b.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./websearch-3p9kjnm5.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./websearch-346nngnc.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-7w99qc9d.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./websearch-dz6ws2fj.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./websearch-67d8jfya.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./websearch-rhp1qkby.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-8pxgk0ph.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input12 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin36 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service58;
|
|
94
|
+
const agents = yield* Service74;
|
|
95
|
+
const config = yield* Service65;
|
|
96
|
+
const permission = yield* Service70;
|
|
97
|
+
const models = yield* Service75;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin49 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin49 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin49 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin36, exports_subagent };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service61,
|
|
3
|
+
node64,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-zbcsc03z.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./websearch-9r15s34d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service22
|
|
12
|
+
} from "./websearch-dpzcxc98.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-jj1z2dhd.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service61, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service22);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node59.replace(Layer.succeed(Service56, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node64.replace(Layer.succeed(Service61, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make17
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make17 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make17, exports_run_coordinator };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-w2xqxfyd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./websearch-7d5xv1hr.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service38,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-7fj5dwt0.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./websearch-tx4rpkmp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service38,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service68;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service38.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node18 = Node.makeLocationNode({
|
|
226
|
+
service: Service38,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node18, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./websearch-67d8jfya.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin43,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin43 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service70;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin38 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin43, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./websearch-346nngnc.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin31
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service65;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin22 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin31, exports_websearch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-t7mjb19w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info14,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info14 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info14, exports_lsp };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node8 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node8, exports_discovery };
|