@opencode/core 0.0.0-dev-20369 → 0.0.0-dev-20371
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/{repository-cache-pfmwbpnc.js → job-070z7q5z.js} +5 -5
- package/dist/chunks/{repository-cache-asmhed6t.js → job-08zvwfa6.js} +8 -8
- package/dist/chunks/{repository-cache-427t97hr.js → job-0bfcnrg1.js} +1 -1
- package/dist/chunks/{repository-cache-rf54a7zr.js → job-0drc8hcc.js} +11 -11
- package/dist/chunks/{repository-cache-wk5z6jzv.js → job-0jq9fyba.js} +9 -9
- package/dist/chunks/{repository-cache-rkf60bj6.js → job-0ks83ste.js} +5 -5
- package/dist/chunks/{repository-cache-pwxxk091.js → job-0ntx8wq1.js} +15 -15
- package/dist/chunks/{repository-cache-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-73tb2d7t.js → job-1bbkgx8g.js} +3 -3
- package/dist/chunks/{repository-cache-ytbkfms3.js → job-1d51n6mq.js} +182 -182
- package/dist/chunks/{repository-cache-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-9mrmz292.js → job-1q9kwsw9.js} +33 -33
- package/dist/chunks/{repository-cache-s06stbnd.js → job-1qp8cny8.js} +12 -12
- package/dist/chunks/{repository-cache-vqk8nwkc.js → job-1s7g3qea.js} +45 -45
- package/dist/chunks/{repository-cache-j9c63wzn.js → job-1vatpf3b.js} +6 -6
- package/dist/chunks/{repository-cache-hv8yjb44.js → job-1vfwrmvr.js} +3 -3
- package/dist/chunks/{repository-cache-33w4ejhs.js → job-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-cache-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{repository-cache-wht100tr.js → job-28wwj7rw.js} +18 -18
- package/dist/chunks/{repository-cache-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-2q54vq3t.js → job-2b5ph6bv.js} +11 -11
- package/dist/chunks/{repository-cache-6tb60k4h.js → job-2cephfsv.js} +4 -4
- package/dist/chunks/{repository-cache-57ez7d0k.js → job-2fgn2we9.js} +9 -9
- package/dist/chunks/{repository-cache-dat3r6mv.js → job-2kj542me.js} +17 -17
- package/dist/chunks/{repository-cache-a2654jmr.js → job-2sg81vp0.js} +10 -10
- package/dist/chunks/{repository-cache-1vxqmaxs.js → job-2yb3d34d.js} +6 -6
- package/dist/chunks/{repository-cache-qj10ksrk.js → job-2zekrh71.js} +2 -2
- package/dist/chunks/{repository-cache-zv4kd1sh.js → job-32t7nvvg.js} +9 -9
- package/dist/chunks/{repository-cache-hg4kcybh.js → job-365696rp.js} +32 -32
- package/dist/chunks/{repository-cache-vsacqhcb.js → job-37pv846m.js} +17 -17
- package/dist/chunks/{repository-cache-64gr48sc.js → job-392vgaca.js} +11 -11
- package/dist/chunks/{repository-cache-ew2yn983.js → job-3d7e55bn.js} +5 -5
- package/dist/chunks/{repository-cache-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-rpnv56mn.js → job-3gw2rwh7.js} +8 -8
- package/dist/chunks/{repository-cache-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-k6rvtcby.js → job-3kzpn2f6.js} +33 -33
- package/dist/chunks/{repository-cache-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-evbgk2k8.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{repository-cache-mb9ashqs.js → job-3y9tqqzt.js} +7 -7
- package/dist/chunks/{repository-cache-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-0bkd3x0g.js → job-40td2ptr.js} +40 -40
- package/dist/chunks/{repository-cache-45h82h9y.js → job-4gk0f1ce.js} +21 -21
- package/dist/chunks/{repository-cache-fqf5xbzx.js → job-4tqs85z2.js} +19 -19
- package/dist/chunks/{repository-cache-a37k8rrq.js → job-54jnjdgy.js} +12 -12
- package/dist/chunks/{repository-cache-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-jzcedyre.js → job-5655v4tw.js} +10 -10
- package/dist/chunks/{repository-cache-rfpzg1kb.js → job-59wxjycg.js} +8 -8
- package/dist/chunks/{repository-cache-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-ap2206v9.js → job-5mtehfab.js} +5 -5
- package/dist/chunks/{repository-cache-8grkf0eh.js → job-5prsmz6x.js} +15 -15
- package/dist/chunks/{repository-cache-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-m6yr2gq6.js → job-61j7v7zp.js} +11 -11
- package/dist/chunks/{repository-cache-dvh99x22.js → job-626p78sa.js} +21 -21
- package/dist/chunks/{repository-cache-cd0j2xk9.js → job-65pvh2pf.js} +7 -7
- package/dist/chunks/{repository-cache-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{repository-cache-d91rdxge.js → job-66jzwthx.js} +22 -22
- package/dist/chunks/{repository-cache-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-cache-smya4g4s.js → job-6nh3e7fm.js} +32 -32
- package/dist/chunks/{repository-cache-py3kkmfq.js → job-6pc27hjz.js} +6 -6
- package/dist/chunks/{repository-cache-ydgy0jv4.js → job-6sbznzgf.js} +6 -6
- package/dist/chunks/{repository-cache-cwa6csj7.js → job-79qaa2kf.js} +9 -9
- package/dist/chunks/{repository-cache-pywavm7z.js → job-79rs5pvv.js} +31 -31
- package/dist/chunks/{repository-cache-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-c651xxjb.js → job-7cdat2nm.js} +4 -4
- package/dist/chunks/{repository-cache-2k8khapm.js → job-7dqw4kz8.js} +5 -5
- package/dist/chunks/{repository-cache-kj9cewpz.js → job-7f7gk7wj.js} +26 -26
- package/dist/chunks/{repository-cache-p44d8wdy.js → job-7gvwkz6m.js} +5 -5
- package/dist/chunks/{repository-cache-k7bkg04e.js → job-7h8gt534.js} +9 -9
- package/dist/chunks/{repository-cache-jp80hny8.js → job-7qzz6k6n.js} +33 -33
- package/dist/chunks/{repository-cache-0a0hvk85.js → job-7s4xyb9b.js} +21 -21
- package/dist/chunks/{repository-cache-eeaf82dq.js → job-7sbn2nrf.js} +8 -8
- package/dist/chunks/{repository-cache-agsg4cpk.js → job-7vnkjmkt.js} +39 -39
- package/dist/chunks/{repository-cache-t07jxw78.js → job-81111kpe.js} +18 -18
- package/dist/chunks/{repository-cache-w1eejvng.js → job-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-eksppc5n.js → job-86sw97n2.js} +55 -55
- package/dist/chunks/{repository-cache-scakzs5b.js → job-89j8qhap.js} +13 -13
- package/dist/chunks/{repository-cache-fzvt39wb.js → job-89thx78j.js} +3 -3
- package/dist/chunks/{repository-cache-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-e2hjzebn.js → job-8gxqpgph.js} +4 -4
- package/dist/chunks/{repository-cache-wrs9pw8e.js → job-8refj9rj.js} +28 -28
- package/dist/chunks/{repository-cache-vca4nb65.js → job-939twzwa.js} +33 -33
- package/dist/chunks/{repository-cache-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-cache-7jkezq9t.js → job-97knfzv3.js} +11 -11
- package/dist/chunks/{repository-cache-zeg8wypa.js → job-9ffrtm6a.js} +19 -19
- package/dist/chunks/{repository-cache-xjt7eya3.js → job-9ymrmzwn.js} +17 -17
- package/dist/chunks/{repository-cache-rbg03t47.js → job-a00e1vjd.js} +13 -13
- package/dist/chunks/{repository-cache-bgz93gp7.js → job-a39qz51m.js} +46 -46
- package/dist/chunks/{repository-cache-za7gw4wk.js → job-a4pdvehx.js} +6 -6
- package/dist/chunks/{repository-cache-a23pvya7.js → job-a5xkvzcq.js} +3 -3
- package/dist/chunks/{repository-cache-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-xqk27j46.js → job-abgca53t.js} +6 -6
- package/dist/chunks/{repository-cache-q2jytm9w.js → job-ahnwgsjc.js} +14 -14
- package/dist/chunks/{repository-cache-z45tr6e4.js → job-aqqfnkfr.js} +20 -20
- package/dist/chunks/{repository-cache-2h357dj2.js → job-av2hk3b3.js} +11 -11
- package/dist/chunks/{repository-cache-wzz0kxab.js → job-awaee7qt.js} +9 -9
- package/dist/chunks/{repository-cache-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-sc5pc2yp.js → job-b6pqbech.js} +26 -26
- package/dist/chunks/{repository-cache-3ddydpdy.js → job-bqepa4bz.js} +11 -11
- package/dist/chunks/{repository-cache-1667m5cp.js → job-bqh4ek6f.js} +8 -8
- package/dist/chunks/{repository-cache-2stw3wyk.js → job-bra8fq5c.js} +3 -3
- package/dist/chunks/{repository-cache-xw2wg1y5.js → job-bv3vnfn9.js} +10 -10
- package/dist/chunks/{repository-cache-c9sa8xnx.js → job-bv4yq929.js} +20 -20
- package/dist/chunks/{repository-cache-47m3nr6v.js → job-bvtbh1zd.js} +24 -24
- package/dist/chunks/{repository-cache-jysawejs.js → job-c8vx28sk.js} +25 -25
- package/dist/chunks/{repository-cache-xj33k3cs.js → job-cb97g57e.js} +15 -15
- package/dist/chunks/{repository-cache-5cvf39ct.js → job-cgz7w10m.js} +11 -11
- package/dist/chunks/{repository-cache-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cache-80sa0j8b.js → job-ckxv70fd.js} +43 -43
- package/dist/chunks/{repository-cache-pmxw3e6e.js → job-cs3bgcz8.js} +5 -5
- package/dist/chunks/{repository-cache-wd2p6tkx.js → job-cscnhd06.js} +19 -19
- package/dist/chunks/{repository-cache-y16p1w2y.js → job-csmvz898.js} +9 -9
- package/dist/chunks/{repository-cache-gejnakz3.js → job-cx8d1p1r.js} +22 -22
- package/dist/chunks/{repository-cache-z0aj456m.js → job-d858xzj7.js} +4 -4
- package/dist/chunks/{repository-cache-z69xn9rw.js → job-dd80ran9.js} +11 -11
- package/dist/chunks/{repository-cache-291xmebt.js → job-dfy0dep3.js} +13 -13
- package/dist/chunks/{repository-cache-bwhecd05.js → job-djk93v3m.js} +36 -36
- package/dist/chunks/{repository-cache-0sbc344g.js → job-dnhgeb65.js} +23 -23
- package/dist/chunks/{repository-cache-3011g7h6.js → job-dp3p8yg5.js} +3 -3
- package/dist/chunks/{repository-cache-xfkkasph.js → job-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-cache-ras1rzfd.js → job-dw8ejfa5.js} +4 -4
- package/dist/chunks/{repository-cache-e38jm44f.js → job-e3892a5g.js} +15 -15
- package/dist/chunks/{repository-cache-t550f9t1.js → job-eaj1djv9.js} +8 -8
- package/dist/chunks/{repository-cache-ecfe7b91.js → job-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-cache-jbkekqyw.js → job-eewk93g1.js} +11 -11
- package/dist/chunks/{repository-cache-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-3ky3469x.js → job-ehs9p6c6.js} +4 -4
- package/dist/chunks/{repository-cache-ge53arp8.js → job-ep9rxn62.js} +48 -48
- package/dist/chunks/{repository-cache-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-qt26wktx.js → job-exe90egw.js} +23 -23
- package/dist/chunks/{repository-cache-kf2m36k8.js → job-exr3ztv0.js} +22 -22
- package/dist/chunks/{repository-cache-y55db347.js → job-eybnxx9x.js} +34 -34
- package/dist/chunks/{repository-cache-32ymn5e1.js → job-eyz64kwr.js} +6 -6
- package/dist/chunks/{repository-cache-cex2j2jp.js → job-ez72xzmx.js} +24 -24
- package/dist/chunks/{repository-cache-2q8xkfgn.js → job-f72hpyzs.js} +10 -10
- package/dist/chunks/{repository-cache-yakvhztc.js → job-f97tesgw.js} +36 -36
- package/dist/chunks/{repository-cache-6zc7rmqw.js → job-fd6p76xn.js} +15 -15
- package/dist/chunks/{repository-cache-dvkyzkrt.js → job-fkg44zq1.js} +30 -30
- package/dist/chunks/{repository-cache-yyhxvm28.js → job-fknfzssq.js} +54 -54
- package/dist/chunks/{repository-cache-m8cyjv6r.js → job-g2py15eg.js} +18 -18
- package/dist/chunks/{repository-cache-s0xttw3k.js → job-g35x6qc6.js} +22 -22
- package/dist/chunks/{repository-cache-g5agzp2h.js → job-g5agzp2h.js} +2 -2
- package/dist/chunks/{repository-cache-g1wy4zv9.js → job-g7hz4x51.js} +20 -20
- package/dist/chunks/{repository-cache-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-r4nnjac8.js → job-gjf2r0cw.js} +47 -47
- package/dist/chunks/{repository-cache-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/job-gyce5qg1.js +18 -0
- package/dist/chunks/{repository-cache-nfcr1yw4.js → job-h2r7bbkd.js} +8 -8
- package/dist/chunks/{repository-cache-6rm5yzkt.js → job-h6310vsd.js} +4 -4
- package/dist/chunks/{repository-cache-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-cvjg7bv4.js → job-h77n0n1v.js} +91 -91
- package/dist/chunks/{repository-cache-yrennevv.js → job-hbxj6d7m.js} +19 -19
- package/dist/chunks/{repository-cache-eqkxs06z.js → job-hdab2k61.js} +6 -6
- package/dist/chunks/{repository-cache-2p22eq26.js → job-ht26072f.js} +20 -20
- package/dist/chunks/{repository-cache-sntmbee3.js → job-hxsn41ry.js} +5 -5
- package/dist/chunks/{repository-cache-7psgveam.js → job-hygdzndk.js} +23 -23
- package/dist/chunks/{repository-cache-zmkzffe7.js → job-j4526dn8.js} +32 -32
- package/dist/chunks/{repository-cache-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-t9zs3egg.js → job-j83byb14.js} +4 -4
- package/dist/chunks/{repository-cache-nng2ktcm.js → job-jca4demv.js} +2 -2
- package/dist/chunks/{repository-cache-bgxcxs0p.js → job-jv01nqvq.js} +5 -5
- package/dist/chunks/{repository-cache-g190xswt.js → job-jw80jp6b.js} +4 -4
- package/dist/chunks/{repository-cache-stpnd7xz.js → job-jyyhspxb.js} +28 -28
- package/dist/chunks/{repository-cache-nzks3jc8.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-cache-231d6nsc.js → job-k8d8jhfq.js} +9 -9
- package/dist/chunks/{repository-cache-j7yag5py.js → job-kps8mm0h.js} +25 -25
- package/dist/chunks/{repository-cache-be6nvhda.js → job-krkftj6y.js} +3 -3
- package/dist/chunks/{repository-cache-pp6ma3n4.js → job-ks5ytj7w.js} +32 -32
- package/dist/chunks/{repository-cache-nceekcwx.js → job-kt2qxt1q.js} +22 -22
- package/dist/chunks/{repository-cache-r33ff4dw.js → job-kxpygcw9.js} +6 -6
- package/dist/chunks/{repository-cache-syxkcnbr.js → job-m1b0y4ms.js} +69 -69
- package/dist/chunks/{repository-cache-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-gs7k0xe7.js → job-m7gqy8fq.js} +3 -3
- package/dist/chunks/{repository-cache-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-3gme9a8b.js → job-may0v2nw.js} +7 -7
- package/dist/chunks/{repository-cache-qst67tj6.js → job-mffs11ds.js} +9 -9
- package/dist/chunks/{repository-cache-zqq2pk5b.js → job-mfkmvaxb.js} +26 -26
- package/dist/chunks/{repository-cache-kt7sr4py.js → job-mvt89ew9.js} +11 -11
- package/dist/chunks/{repository-cache-5gm763qm.js → job-mwg87ph2.js} +13 -13
- package/dist/chunks/{repository-cache-g24mhrgs.js → job-mz9987p5.js} +11 -11
- package/dist/chunks/{repository-cache-21x0kyec.js → job-n2111k47.js} +25 -25
- package/dist/chunks/{repository-cache-h6df3pyv.js → job-n4gep9mb.js} +12 -12
- package/dist/chunks/job-n99wrmcv.js +252 -0
- package/dist/chunks/{repository-cache-qp7ve9d0.js → job-ndjhpbp9.js} +20 -20
- package/dist/chunks/{repository-cache-wtrdp2zm.js → job-nepqcnnp.js} +16 -16
- package/dist/chunks/{repository-cache-z5crsmww.js → job-njp0gf2a.js} +13 -13
- package/dist/chunks/{repository-cache-z34ds6ds.js → job-nr1759yc.js} +26 -26
- package/dist/chunks/{repository-cache-2kc95tmw.js → job-nr4cbwsz.js} +11 -11
- package/dist/chunks/{repository-cache-dv1qgsyq.js → job-p37cw4rj.js} +6 -6
- package/dist/chunks/{repository-cache-xk59rbx9.js → job-p4re4qw3.js} +5 -5
- package/dist/chunks/{repository-cache-dvs6yr4k.js → job-p55v1mgs.js} +30 -30
- package/dist/chunks/{repository-cache-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-ewtw6aeq.js → job-pk4fzd2r.js} +13 -13
- package/dist/chunks/{repository-cache-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-hdpxa6fd.js → job-prwaxg3a.js} +4 -4
- package/dist/chunks/{repository-cache-0wdkc2wa.js → job-pt44024h.js} +8 -8
- package/dist/chunks/{repository-cache-7w99qc9d.js → job-q3t37ft6.js} +3 -3
- package/dist/chunks/{repository-cache-w7mpr4xf.js → job-q7e7h3jc.js} +34 -34
- package/dist/chunks/{repository-cache-c965vwdg.js → job-q7tsf30m.js} +18 -18
- package/dist/chunks/{repository-cache-n20df6db.js → job-q81jybvn.js} +37 -37
- package/dist/chunks/{repository-cache-mgmaefw5.js → job-q8n9d2sh.js} +8 -8
- package/dist/chunks/{repository-cache-keyj6cah.js → job-q9xgy8ym.js} +17 -17
- package/dist/chunks/{repository-cache-4bcse622.js → job-qs9pxh57.js} +89 -89
- package/dist/chunks/{repository-cache-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-p53sd9ee.js → job-qssv3dx8.js} +24 -24
- package/dist/chunks/{repository-cache-gx2j0qm7.js → job-qwjvyef7.js} +10 -10
- package/dist/chunks/{repository-cache-wjqqpmpn.js → job-qwvk0c2d.js} +10 -10
- package/dist/chunks/{repository-cache-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-08cc3crx.js → job-rj1bbv9j.js} +12 -12
- package/dist/chunks/{repository-cache-k8hpw67k.js → job-rnx2ffb5.js} +5 -5
- package/dist/chunks/{repository-cache-v5dkyp31.js → job-ryr25ayn.js} +4 -4
- package/dist/chunks/{repository-cache-r5gzwt7x.js → job-rznxkf9m.js} +14 -14
- package/dist/chunks/{repository-cache-tap5zb78.js → job-s1yd2jbk.js} +21 -21
- package/dist/chunks/{repository-cache-syf57q56.js → job-s30fyz93.js} +4 -4
- package/dist/chunks/{repository-cache-x8xh44zn.js → job-s4dvknn7.js} +39 -39
- package/dist/chunks/job-s6gm95me.js +26 -0
- package/dist/chunks/{repository-cache-a2crq8zj.js → job-s83zsfm2.js} +20 -20
- package/dist/chunks/{repository-cache-1sp2eg82.js → job-se32ht20.js} +11 -11
- package/dist/chunks/{repository-cache-6f36mv2g.js → job-sekmtqhk.js} +25 -25
- package/dist/chunks/{repository-cache-f7rj482f.js → job-sjjwhc07.js} +8 -8
- package/dist/chunks/{repository-cache-jdgxkak0.js → job-t0jhd4bp.js} +44 -44
- package/dist/chunks/{repository-cache-q68wa7tn.js → job-t1va49jq.js} +1 -1
- package/dist/chunks/{repository-cache-djgvgpsy.js → job-t3ceny3k.js} +10 -10
- package/dist/chunks/{repository-cache-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-wewgh3cc.js → job-tc6qcdy5.js} +5 -5
- package/dist/chunks/{repository-cache-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-p6x3ebhz.js → job-tdse14yb.js} +16 -16
- package/dist/chunks/{repository-cache-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-bbkf9pcq.js → job-tfs9ggmd.js} +17 -17
- package/dist/chunks/{repository-cache-1kgp9mnr.js → job-tpa1ymwm.js} +23 -23
- package/dist/chunks/{repository-cache-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-cache-qby9dwvd.js → job-tx9w5tca.js} +8 -8
- package/dist/chunks/{repository-cache-c8mkc70c.js → job-ty0kmg92.js} +15 -15
- package/dist/chunks/{repository-cache-2hh6b730.js → job-v1390g52.js} +25 -25
- package/dist/chunks/{repository-cache-z42hbx87.js → job-v3g267jc.js} +10 -10
- package/dist/chunks/{repository-cache-kcmnest9.js → job-v6rsc0ja.js} +18 -18
- package/dist/chunks/{repository-cache-cgg1386b.js → job-vae58e1e.js} +16 -16
- package/dist/chunks/{repository-cache-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-thtyfg4s.js → job-vf6wxnqf.js} +43 -43
- package/dist/chunks/{repository-cache-y3sv3n32.js → job-vhpph6c8.js} +19 -19
- package/dist/chunks/{repository-cache-2n1w6jqq.js → job-vt818j22.js} +32 -32
- package/dist/chunks/{repository-cache-wr4ecj30.js → job-vvb7z6kn.js} +14 -14
- package/dist/chunks/{repository-cache-n8zdancj.js → job-vyhg5b8v.js} +1 -1
- package/dist/chunks/{repository-cache-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-cache-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-cache-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-5yrkbczz.js → job-wna4f359.js} +35 -35
- package/dist/chunks/{repository-cache-n1ka8r9d.js → job-wq4mmp7m.js} +4 -4
- package/dist/chunks/{repository-cache-ckc7wkyg.js → job-wrce431g.js} +32 -32
- package/dist/chunks/{repository-cache-pfqe37c4.js → job-wrm0d5m3.js} +25 -25
- package/dist/chunks/{repository-cache-50zetvfx.js → job-ww0zfs5y.js} +12 -12
- package/dist/chunks/{repository-cache-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-cache-hz6g7x4z.js → job-x248gk1b.js} +8 -8
- package/dist/chunks/{repository-cache-qjsj8s2h.js → job-x4wpewa3.js} +18 -18
- package/dist/chunks/{repository-cache-ve9ds9se.js → job-x94yaj2b.js} +23 -23
- package/dist/chunks/{repository-cache-qbvmjyzb.js → job-xbaejtq7.js} +9 -9
- package/dist/chunks/{repository-cache-maeqbeqr.js → job-xd0g28fh.js} +9 -9
- package/dist/chunks/{repository-cache-wb7w4rth.js → job-xdsb90pv.js} +11 -11
- package/dist/chunks/{repository-cache-qg0jgkcp.js → job-xk747vep.js} +9 -9
- package/dist/chunks/{repository-cache-xkntkrq7.js → job-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-cache-fknpd3nq.js → job-xy1g38wv.js} +17 -17
- package/dist/chunks/{repository-cache-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-ewgkfh1g.js → job-y268xf5j.js} +5 -5
- package/dist/chunks/{repository-cache-g13d9vgq.js → job-y49vnmvd.js} +26 -26
- package/dist/chunks/{repository-cache-afed7ext.js → job-y5df08dr.js} +12 -12
- package/dist/chunks/{repository-cache-mpk0rfs5.js → job-y6bex35g.js} +4 -4
- package/dist/chunks/{repository-cache-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{repository-cache-0thxwbsq.js → job-yaf95dqt.js} +11 -11
- package/dist/chunks/{repository-cache-aw9cnddb.js → job-yeqhe88k.js} +9 -9
- package/dist/chunks/{repository-cache-2cmv458r.js → job-ykczf8eq.js} +5 -5
- package/dist/chunks/{repository-cache-j6k053yf.js → job-ymph2q1s.js} +4 -4
- package/dist/chunks/{repository-cache-r8xr0va3.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-cache-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-cache-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-cache-kxdk9anj.js → job-ys4a075p.js} +20 -20
- package/dist/chunks/{repository-cache-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-cache-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-cache-hw7qarbm.js → job-zcsv6hgt.js} +4 -4
- package/dist/chunks/{repository-cache-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cache-vwm97rz7.js → job-zjxkp4nz.js} +6 -6
- package/dist/chunks/{repository-cache-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/job-zscfgz3n.js +507 -0
- package/dist/chunks/{repository-cache-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- 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 +124 -124
- 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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- 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 +84 -84
- 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 +3 -3
- 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 +4 -4
- 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 +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +122 -122
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- 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 +88 -88
- 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 +97 -97
- 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 +126 -126
- 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 +103 -103
- 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 +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +106 -106
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +7 -7
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-cache-031k76aj.js +0 -252
- package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-cache-njf7bbrt.js +0 -507
- package/dist/chunks/repository-cache-vbty6caj.js +0 -26
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-2cephfsv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./job-qwvk0c2d.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service34,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node37
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service34 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service74;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service34.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node37 = makeLocationNode({
|
|
188
|
+
service: Service34,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node78]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service34, node37, exports_websearch3, Event6 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-s1yd2jbk.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-86sw97n2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin17
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin17 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin23 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID18.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID18.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin23 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID18.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID18.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID18.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin23 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin17, exports_agent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-q3t37ft6.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-eyz64kwr.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-wq4mmp7m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-s30fyz93.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./job-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./job-sekmtqhk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./job-86sw97n2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service34
|
|
14
|
+
} from "./job-wrm0d5m3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
22
|
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
26
|
+
description: () => description2,
|
|
27
27
|
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -36,26 +36,26 @@ var httpErrors = new Map([
|
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
42
|
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin20 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service72;
|
|
54
|
+
const websearch = yield* Service34;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
56
|
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
58
|
+
description: description2,
|
|
59
59
|
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export { name3, NO_RESULTS2,
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin20, exports_websearch };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-yaf95dqt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-2cephfsv.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./job-fkg44zq1.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-y6bex35g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-p55v1mgs.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service46
|
|
21
|
+
} from "./job-sjjwhc07.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-6nh3e7fm.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ID3,
|
|
29
|
+
Input14,
|
|
30
30
|
Response2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-wrm0d5m3.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/opencode.ts
|
|
34
34
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var methodID = MethodID2.make("device");
|
|
|
44
44
|
var RemoteResponse = Schema.Struct({
|
|
45
45
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
46
46
|
websearch: Schema.Struct({
|
|
47
|
-
providerID:
|
|
47
|
+
providerID: ID3
|
|
48
48
|
}).pipe(Schema.optional),
|
|
49
49
|
mcp: Schema.Struct({
|
|
50
50
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
96
96
|
}
|
|
97
97
|
function oauth(http) {
|
|
98
98
|
return {
|
|
99
|
-
integrationID:
|
|
99
|
+
integrationID: ID10.make("opencode"),
|
|
100
100
|
method: {
|
|
101
101
|
id: methodID,
|
|
102
102
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var OpencodePlugin2 = define({
|
|
|
163
163
|
const bus = yield* Service83;
|
|
164
164
|
const client = yield* HttpClient.HttpClient;
|
|
165
165
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
166
|
-
const managed = yield*
|
|
166
|
+
const managed = yield* Service46;
|
|
167
167
|
const scope = yield* Scope.Scope;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
|
|
|
212
212
|
providers.update(providerID, (provider) => {
|
|
213
213
|
if (source && source.provider !== provider)
|
|
214
214
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
215
|
-
provider.integrationID =
|
|
215
|
+
provider.integrationID = ID10.make("opencode");
|
|
216
216
|
if (item.canonical !== undefined)
|
|
217
217
|
provider.canonical = item.canonical;
|
|
218
218
|
if (item.name !== undefined)
|
|
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
|
|
|
282
282
|
sourceConnection: snapshot.connection
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
-
const item = providers.get(
|
|
285
|
+
const item = providers.get(ID9.opencode);
|
|
286
286
|
if (!item)
|
|
287
287
|
return;
|
|
288
288
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
|
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
yield* ctx.model.transform((models) => {
|
|
297
|
-
const item = models.provider.get(
|
|
297
|
+
const item = models.provider.get(ID9.opencode);
|
|
298
298
|
if (!item)
|
|
299
299
|
return;
|
|
300
300
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
329
329
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
330
330
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
331
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
331
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
332
332
|
query: input.query,
|
|
333
333
|
providerID: descriptor.providerID
|
|
334
334
|
}));
|
|
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
|
|
|
383
383
|
});
|
|
384
384
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
385
385
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
386
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
386
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
387
387
|
});
|
|
388
388
|
yield* guard(snapshot);
|
|
389
|
-
yield* bus.subscribe(
|
|
389
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
390
390
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
391
391
|
})
|
|
392
392
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-yaf95dqt.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin10,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin10 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin16 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin16 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin10, exports_firecrawl };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-2cephfsv.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
17
|
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node6 = makeGlobalNode({ service:
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer4, node6, exports_sdk };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./job-2kj542me.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service19
|
|
6
|
+
} from "./job-h77n0n1v.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service19;
|
|
24
|
+
const jobs = yield* Service67;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
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 Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, 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(Service10, 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 Service9.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(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node10, exports_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|