@opencode/core 0.0.0-dev-20365 → 0.0.0-dev-20368
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/{instruction-discovery-eht2pxda.js → reference-00zfhxmf.js} +34 -34
- package/dist/chunks/{instruction-discovery-zckc2zz5.js → reference-01rnkbd0.js} +11 -11
- package/dist/chunks/{instruction-discovery-s8d7rejh.js → reference-02nrjc1r.js} +8 -8
- package/dist/chunks/{instruction-discovery-34aseb2t.js → reference-042pe1mc.js} +11 -11
- package/dist/chunks/{instruction-discovery-ys989rq2.js → reference-07br9k15.js} +48 -48
- package/dist/chunks/{instruction-discovery-qecqrgvf.js → reference-0cswr742.js} +18 -18
- package/dist/chunks/{instruction-discovery-ab9238g2.js → reference-0ft9cg2j.js} +6 -6
- package/dist/chunks/{instruction-discovery-a2nkfp8g.js → reference-0jpfm16a.js} +22 -22
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-t8bsretr.js → reference-0rsrt5zk.js} +3 -3
- package/dist/chunks/{instruction-discovery-rrkyb7d2.js → reference-139grr7s.js} +17 -17
- package/dist/chunks/{instruction-discovery-qwjmgwmn.js → reference-166kng33.js} +8 -8
- package/dist/chunks/{instruction-discovery-q3hw20gb.js → reference-16ynv89z.js} +11 -11
- package/dist/chunks/{instruction-discovery-qfcm5wty.js → reference-1bfe16ws.js} +26 -26
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-pp173efe.js → reference-1dh04bw7.js} +11 -11
- package/dist/chunks/{instruction-discovery-a2ew8a62.js → reference-1g7epwpd.js} +7 -7
- package/dist/chunks/{instruction-discovery-f58gpcny.js → reference-1nzh38e4.js} +9 -9
- package/dist/chunks/{instruction-discovery-ywfr5f7y.js → reference-1p7vd7k0.js} +22 -22
- package/dist/chunks/{instruction-discovery-10bghtad.js → reference-1pab0y9d.js} +33 -33
- package/dist/chunks/{instruction-discovery-ezpw8a83.js → reference-1qxvqq93.js} +15 -15
- package/dist/chunks/{instruction-discovery-e3y7q9w0.js → reference-1w3qez5w.js} +16 -16
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → reference-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-xfyk0vde.js → reference-21g2k5h0.js} +18 -18
- package/dist/chunks/{instruction-discovery-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-z2ay98k6.js → reference-260n4hdp.js} +8 -8
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-7w99qc9d.js → reference-2f04pwep.js} +3 -3
- package/dist/chunks/{instruction-discovery-b42kd364.js → reference-2kyyj8xa.js} +23 -23
- package/dist/chunks/{instruction-discovery-9wdq8f39.js → reference-2wbch7sf.js} +20 -20
- package/dist/chunks/{instruction-discovery-rcc95wnw.js → reference-3340n1nd.js} +15 -15
- package/dist/chunks/{instruction-discovery-wargq46t.js → reference-3bxd3j1q.js} +8 -8
- package/dist/chunks/{instruction-discovery-1gdh9z1g.js → reference-3e2kzjfs.js} +12 -12
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-bw9zjykr.js → reference-3ppptnan.js} +6 -6
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-rr7h7dn4.js → reference-3sy817ya.js} +23 -23
- package/dist/chunks/{instruction-discovery-vp7acvqa.js → reference-3t6ehjrr.js} +17 -17
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-z1d7ddxf.js → reference-3v2fvqfd.js} +6 -6
- package/dist/chunks/{instruction-discovery-tfgcfrdz.js → reference-3wpn9sh3.js} +24 -24
- package/dist/chunks/{instruction-discovery-vg5xy7fh.js → reference-3wpv8ytq.js} +9 -9
- package/dist/chunks/{instruction-discovery-jg0vs890.js → reference-3ybfhc1x.js} +5 -5
- package/dist/chunks/{instruction-discovery-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{instruction-discovery-pgxbze3j.js → reference-44sx4v5c.js} +39 -39
- package/dist/chunks/{instruction-discovery-mw6tp84c.js → reference-4r36fkdq.js} +11 -11
- package/dist/chunks/{instruction-discovery-z9ntxpz7.js → reference-4srk58w8.js} +9 -9
- package/dist/chunks/{instruction-discovery-wbkyxrgf.js → reference-510m7gjw.js} +5 -5
- package/dist/chunks/{instruction-discovery-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{instruction-discovery-2fgn2we9.js → reference-57ez7d0k.js} +9 -9
- package/dist/chunks/{instruction-discovery-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-q0d7s5js.js → reference-5fanhak1.js} +5 -5
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-1bvhx7th.js → reference-5v7h0m3g.js} +6 -6
- package/dist/chunks/{instruction-discovery-pa8pe2x7.js → reference-5xtgfte3.js} +8 -8
- package/dist/chunks/{instruction-discovery-fsz30s44.js → reference-5yts36ct.js} +1 -1
- package/dist/chunks/{instruction-discovery-ss2kacyw.js → reference-631f6jmb.js} +17 -17
- package/dist/chunks/{instruction-discovery-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-s7b01nm3.js → reference-6brb3ydz.js} +6 -6
- package/dist/chunks/{instruction-discovery-gpmqmegr.js → reference-6cneqzas.js} +17 -17
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-py3kkmfq.js → reference-6pc27hjz.js} +6 -6
- package/dist/chunks/{instruction-discovery-151rgrdh.js → reference-6xb9xar3.js} +6 -6
- package/dist/chunks/{instruction-discovery-e7dwzs0g.js → reference-71ae86ge.js} +4 -4
- package/dist/chunks/{instruction-discovery-z5extsze.js → reference-74fa380e.js} +3 -3
- package/dist/chunks/{instruction-discovery-k5fc4sd6.js → reference-796w904k.js} +16 -16
- package/dist/chunks/{instruction-discovery-7t71radz.js → reference-79cntjbh.js} +8 -8
- package/dist/chunks/{instruction-discovery-fyhkcpzz.js → reference-7a87smht.js} +6 -6
- package/dist/chunks/{instruction-discovery-6y0jnxwh.js → reference-7an2zr3c.js} +14 -14
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-8m5hcdr3.js → reference-7sw46e0q.js} +13 -13
- package/dist/chunks/{instruction-discovery-z1axqdyk.js → reference-7wcwe48s.js} +17 -17
- package/dist/chunks/{instruction-discovery-aqr5jswe.js → reference-7zeyjkbe.js} +4 -4
- package/dist/chunks/{instruction-discovery-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{instruction-discovery-36s4nkqj.js → reference-87szygx8.js} +87 -87
- package/dist/chunks/{instruction-discovery-7j2qha59.js → reference-8aaqm6qj.js} +8 -8
- package/dist/chunks/{instruction-discovery-z5bzs6kf.js → reference-8b69yyv4.js} +8 -8
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-6z1zkmte.js → reference-8f2n1xr2.js} +5 -5
- package/dist/chunks/{instruction-discovery-nw1axpkg.js → reference-8kg5m582.js} +34 -34
- package/dist/chunks/{instruction-discovery-espax8zg.js → reference-8wbxkt1z.js} +4 -4
- package/dist/chunks/{instruction-discovery-gfvb90ym.js → reference-94ek1h2f.js} +2 -2
- package/dist/chunks/{instruction-discovery-jfetez9m.js → reference-9b4bv5f3.js} +21 -21
- package/dist/chunks/{instruction-discovery-yfnmz5ms.js → reference-9dcx0t51.js} +7 -7
- package/dist/chunks/reference-9fsn2a6t.js +252 -0
- package/dist/chunks/{instruction-discovery-cd1294k6.js → reference-9nxs0dtz.js} +11 -11
- package/dist/chunks/{instruction-discovery-ndbev1fk.js → reference-a1213hw5.js} +15 -15
- package/dist/chunks/{instruction-discovery-vb79pq1b.js → reference-a15efetj.js} +37 -37
- package/dist/chunks/{instruction-discovery-dymd75nb.js → reference-a7kwy4c1.js} +5 -5
- package/dist/chunks/{instruction-discovery-f29mbr7f.js → reference-a81kfqvn.js} +4 -4
- package/dist/chunks/{instruction-discovery-cv5gvdp9.js → reference-a9w6ff6t.js} +29 -29
- package/dist/chunks/{instruction-discovery-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-mpk0rfs5.js → reference-addxnjmp.js} +4 -4
- package/dist/chunks/{instruction-discovery-jf9anmv7.js → reference-afed7ext.js} +12 -12
- package/dist/chunks/{instruction-discovery-a3t8nhns.js → reference-akpmqyxp.js} +26 -26
- package/dist/chunks/{instruction-discovery-9mgdqk3f.js → reference-anb3p609.js} +54 -54
- package/dist/chunks/{instruction-discovery-bhq1jhw6.js → reference-ar2zeb49.js} +5 -5
- package/dist/chunks/{instruction-discovery-h52c3x43.js → reference-asw2re3m.js} +8 -8
- package/dist/chunks/{instruction-discovery-acnjys95.js → reference-atwm5pvn.js} +24 -24
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-bfp5tavp.js → reference-bemmtghz.js} +10 -10
- package/dist/chunks/{instruction-discovery-vtdeafhw.js → reference-br6q4meh.js} +5 -5
- package/dist/chunks/{instruction-discovery-sppx2cm3.js → reference-c3h0gj9a.js} +15 -15
- package/dist/chunks/{instruction-discovery-cj1he048.js → reference-c4qd2t8a.js} +24 -24
- package/dist/chunks/{instruction-discovery-cbzddc70.js → reference-c6b8rasb.js} +5 -5
- package/dist/chunks/{instruction-discovery-7vf0xt57.js → reference-c7b2m6fb.js} +24 -24
- package/dist/chunks/{instruction-discovery-2rt4b4vk.js → reference-cfv2hvrv.js} +22 -22
- package/dist/chunks/{instruction-discovery-a8vp0knq.js → reference-chnshf5d.js} +7 -7
- package/dist/chunks/{instruction-discovery-54tcyq79.js → reference-ckecvw8r.js} +2 -2
- package/dist/chunks/{instruction-discovery-cdk3gs1h.js → reference-cp9438d3.js} +10 -10
- package/dist/chunks/{instruction-discovery-0f9afca0.js → reference-cr07tj7n.js} +5 -5
- package/dist/chunks/{instruction-discovery-x4ewwgt8.js → reference-czs4devj.js} +23 -23
- package/dist/chunks/{instruction-discovery-9vtsvkk2.js → reference-d1c553ec.js} +6 -6
- package/dist/chunks/{instruction-discovery-1y283654.js → reference-d858xzj7.js} +4 -4
- package/dist/chunks/{instruction-discovery-fwwk8vbp.js → reference-depwzj9d.js} +9 -9
- package/dist/chunks/reference-dez8vmgp.js +507 -0
- package/dist/chunks/{instruction-discovery-tn0aqsam.js → reference-dj9sq318.js} +5 -5
- package/dist/chunks/{instruction-discovery-d4he2qe1.js → reference-djszqvmq.js} +9 -9
- package/dist/chunks/{instruction-discovery-0fnrp01p.js → reference-dprgptw6.js} +31 -31
- package/dist/chunks/{instruction-discovery-p25pce50.js → reference-dqwatsve.js} +30 -30
- package/dist/chunks/{instruction-discovery-xfkkasph.js → reference-drwq78ky.js} +4 -4
- package/dist/chunks/{instruction-discovery-3rxyecnx.js → reference-e2v1jf5m.js} +22 -22
- package/dist/chunks/{instruction-discovery-xhbqa4nv.js → reference-e3t9f1ge.js} +45 -45
- package/dist/chunks/{instruction-discovery-fr5dej3b.js → reference-ea9448jf.js} +21 -21
- package/dist/chunks/{instruction-discovery-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{instruction-discovery-5cr7r7hg.js → reference-ecjyjz8w.js} +12 -12
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-nysmp4a2.js → reference-eh5brr6k.js} +43 -43
- package/dist/chunks/{instruction-discovery-6619bm8v.js → reference-eka80jh0.js} +16 -16
- package/dist/chunks/{instruction-discovery-6n88yxkj.js → reference-ep6z9mt6.js} +8 -8
- package/dist/chunks/{instruction-discovery-0jd5421x.js → reference-erycay7t.js} +32 -32
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-22yhfxxr.js → reference-ey47svxm.js} +19 -19
- package/dist/chunks/{instruction-discovery-pse00pgs.js → reference-eygkpf76.js} +13 -13
- package/dist/chunks/{instruction-discovery-4x987a9f.js → reference-f9kj06qm.js} +15 -15
- package/dist/chunks/{instruction-discovery-armsaks0.js → reference-fdjebd74.js} +23 -23
- package/dist/chunks/{instruction-discovery-nq7qbqzc.js → reference-fhs97t90.js} +9 -9
- package/dist/chunks/{instruction-discovery-6pjjjzvh.js → reference-fms3wttt.js} +4 -4
- package/dist/chunks/{instruction-discovery-ns0djxc8.js → reference-g4x060ga.js} +11 -11
- package/dist/chunks/{instruction-discovery-38dw6rw7.js → reference-gafg8g7a.js} +6 -6
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-rk1r2hx8.js → reference-gg3hnhsj.js} +1 -1
- package/dist/chunks/{instruction-discovery-bacyfq49.js → reference-gjvcgz1y.js} +35 -35
- package/dist/chunks/{instruction-discovery-f4161tt7.js → reference-gsm9w5gv.js} +32 -32
- package/dist/chunks/{instruction-discovery-zee1rnkq.js → reference-gst7axd9.js} +4 -4
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-grrqevyk.js → reference-h0f5mnzz.js} +16 -16
- package/dist/chunks/{instruction-discovery-7ntmn10c.js → reference-h3k68wsb.js} +19 -19
- package/dist/chunks/{instruction-discovery-3sm268de.js → reference-h3tvvjet.js} +25 -25
- package/dist/chunks/{instruction-discovery-xje8bwn9.js → reference-h6qwv4aw.js} +26 -26
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-0w8rebe2.js → reference-h971pwhf.js} +11 -11
- package/dist/chunks/{instruction-discovery-w2kn7s6g.js → reference-hbedddsn.js} +11 -11
- package/dist/chunks/{instruction-discovery-yt3hy1g9.js → reference-hbyhqfhs.js} +5 -5
- package/dist/chunks/{instruction-discovery-estn5yqz.js → reference-hgg8amch.js} +176 -176
- package/dist/chunks/{instruction-discovery-yk46zzns.js → reference-hkv5p9ne.js} +3 -3
- package/dist/chunks/{instruction-discovery-6ymymyv8.js → reference-htjw9qza.js} +6 -6
- package/dist/chunks/{instruction-discovery-vyqn3nqs.js → reference-hyftv91s.js} +9 -9
- package/dist/chunks/{instruction-discovery-sqbb0ctm.js → reference-j34dxvpb.js} +5 -5
- package/dist/chunks/{instruction-discovery-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-bvtmakpj.js → reference-j993bjzs.js} +12 -12
- package/dist/chunks/{instruction-discovery-1p5qk5ef.js → reference-jdrzz5kz.js} +38 -38
- package/dist/chunks/{instruction-discovery-mfnm4q8d.js → reference-jhrpy0h8.js} +24 -24
- package/dist/chunks/{instruction-discovery-xst8czg1.js → reference-jken0ejx.js} +25 -25
- package/dist/chunks/{instruction-discovery-drbbyxqc.js → reference-jkzjr3ma.js} +31 -31
- package/dist/chunks/{instruction-discovery-g0k6w0zm.js → reference-jpx3jw6j.js} +22 -22
- package/dist/chunks/{instruction-discovery-q9hsaf9y.js → reference-jqw8ttv0.js} +16 -16
- package/dist/chunks/{instruction-discovery-gthj2xdw.js → reference-jxz16j3e.js} +28 -28
- package/dist/chunks/{instruction-discovery-1cge6xys.js → reference-k115rg6b.js} +13 -13
- package/dist/chunks/{instruction-discovery-avae2qkj.js → reference-k2a504bc.js} +14 -14
- package/dist/chunks/{instruction-discovery-k3c624dm.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-cf8tr9ph.js → reference-k6rqs0s8.js} +6 -6
- package/dist/chunks/{instruction-discovery-ver2fgbz.js → reference-k7d46rr6.js} +4 -4
- package/dist/chunks/{instruction-discovery-5kvqrqtt.js → reference-kb6gw2zp.js} +4 -4
- package/dist/chunks/{instruction-discovery-f38y7jqd.js → reference-kdhn56cv.js} +36 -36
- package/dist/chunks/reference-kmfs87yw.js +26 -0
- package/dist/chunks/{instruction-discovery-cvbv1j0h.js → reference-kt609s0t.js} +5 -5
- package/dist/chunks/{instruction-discovery-18szcvs2.js → reference-ktd0gbm4.js} +3 -3
- package/dist/chunks/{instruction-discovery-tdm1h4wf.js → reference-kz7w9h4r.js} +18 -18
- package/dist/chunks/{instruction-discovery-w3seyqvg.js → reference-kzacwcn9.js} +27 -27
- package/dist/chunks/{instruction-discovery-9gjc8sm6.js → reference-m165mn98.js} +18 -18
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-k2h4r4s0.js → reference-magykp64.js} +4 -4
- package/dist/chunks/{instruction-discovery-v5kct8vj.js → reference-mc9ss0y5.js} +15 -15
- package/dist/chunks/{instruction-discovery-myy2c2wb.js → reference-mcfy26hj.js} +26 -26
- package/dist/chunks/{instruction-discovery-r5x6zcsm.js → reference-mhkvc446.js} +3 -3
- package/dist/chunks/{instruction-discovery-q4ha1nt6.js → reference-n1j0qfw4.js} +5 -5
- package/dist/chunks/{instruction-discovery-jmz48h02.js → reference-n3j9v3wj.js} +14 -14
- package/dist/chunks/{instruction-discovery-k57zg0v1.js → reference-n9kfxdp9.js} +20 -20
- package/dist/chunks/{instruction-discovery-86bba7p5.js → reference-ngbzmknx.js} +9 -9
- package/dist/chunks/{instruction-discovery-kbnbj767.js → reference-np6nr2kx.js} +20 -20
- package/dist/chunks/{instruction-discovery-cf9ytn19.js → reference-nscc21qe.js} +22 -22
- package/dist/chunks/{instruction-discovery-hwt60xw2.js → reference-paqwx8q6.js} +16 -16
- package/dist/chunks/{instruction-discovery-frcg5mp6.js → reference-pck83k06.js} +21 -21
- package/dist/chunks/reference-pf31ssb9.js +18 -0
- package/dist/chunks/{instruction-discovery-kxw03s6f.js → reference-phdse2cz.js} +10 -10
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-hr5bc81f.js → reference-pw9v3g6d.js} +8 -8
- package/dist/chunks/{instruction-discovery-ze1t0k39.js → reference-pxey72j3.js} +36 -36
- package/dist/chunks/{instruction-discovery-3r66stpx.js → reference-pyj25zwj.js} +3 -3
- package/dist/chunks/{instruction-discovery-2a57fqez.js → reference-q3bp0eqq.js} +28 -28
- package/dist/chunks/{instruction-discovery-cyfct4w8.js → reference-q4b4mt0k.js} +89 -89
- package/dist/chunks/{instruction-discovery-6128t9ck.js → reference-qb2p9zbg.js} +44 -44
- package/dist/chunks/{instruction-discovery-ery46gwm.js → reference-qcfhqezt.js} +15 -15
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{instruction-discovery-22kdfrga.js → reference-qmdmhxrm.js} +10 -10
- package/dist/chunks/{instruction-discovery-kdx8jt08.js → reference-qn0j8a2m.js} +17 -17
- package/dist/chunks/{instruction-discovery-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-jrfr1c68.js → reference-qxvtm6f6.js} +21 -21
- package/dist/chunks/{instruction-discovery-5x736p1g.js → reference-r1nzxzk3.js} +11 -11
- package/dist/chunks/{instruction-discovery-pnbbez7v.js → reference-r45e0rbq.js} +20 -20
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-nwqgzwhr.js → reference-s7932dae.js} +11 -11
- package/dist/chunks/{instruction-discovery-nng2ktcm.js → reference-s8610hey.js} +2 -2
- package/dist/chunks/{instruction-discovery-btr3megd.js → reference-ses91yzc.js} +8 -8
- package/dist/chunks/{instruction-discovery-2zr3ta4f.js → reference-sv2rsgqy.js} +25 -25
- package/dist/chunks/{instruction-discovery-mwben6dq.js → reference-sz9xv9xn.js} +30 -30
- package/dist/chunks/{instruction-discovery-m12n5y3f.js → reference-t1keb6et.js} +45 -45
- package/dist/chunks/{instruction-discovery-9t7c31ty.js → reference-t9cv2z2y.js} +14 -14
- package/dist/chunks/{instruction-discovery-bfs5k0e6.js → reference-t9yx3vxp.js} +20 -20
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-ppxvzr57.js → reference-tjb59763.js} +43 -43
- package/dist/chunks/{instruction-discovery-4975qbqg.js → reference-tkr7t7pv.js} +11 -11
- package/dist/chunks/{instruction-discovery-0yt0caxe.js → reference-tm9580sr.js} +10 -10
- package/dist/chunks/{instruction-discovery-dxb4fe6m.js → reference-tt79120p.js} +17 -17
- package/dist/chunks/{instruction-discovery-xy09cv4h.js → reference-tvf9c7hb.js} +33 -33
- package/dist/chunks/{instruction-discovery-79xc4wqz.js → reference-tvk85ejt.js} +22 -22
- package/dist/chunks/{instruction-discovery-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-kqs3y8v2.js → reference-tzpv42kz.js} +8 -8
- package/dist/chunks/{instruction-discovery-7xme8kcs.js → reference-v1egv9yp.js} +30 -30
- package/dist/chunks/{instruction-discovery-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-va34hpv2.js → reference-vgj5jbet.js} +3 -3
- package/dist/chunks/{instruction-discovery-bct739vz.js → reference-vncycja5.js} +4 -4
- package/dist/chunks/{instruction-discovery-3snnmqxx.js → reference-vrke23k5.js} +65 -65
- package/dist/chunks/{instruction-discovery-rdmnr4g1.js → reference-vsa42d0b.js} +35 -35
- package/dist/chunks/{instruction-discovery-cyga4fvd.js → reference-vt1m752q.js} +15 -15
- package/dist/chunks/{instruction-discovery-y90pccxx.js → reference-vyn1hvw5.js} +20 -20
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-rr0ej4qw.js → reference-w0ct177m.js} +43 -43
- package/dist/chunks/{instruction-discovery-srr58gm6.js → reference-w0y7f2dx.js} +5 -5
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-r4xhx5yy.js → reference-w8bax687.js} +12 -12
- package/dist/chunks/{instruction-discovery-qyz68xr4.js → reference-wak1n191.js} +10 -10
- package/dist/chunks/{instruction-discovery-hz0q9sdq.js → reference-wb6eeyna.js} +8 -8
- package/dist/chunks/{instruction-discovery-psazpmmj.js → reference-wd3x2cqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-mzywpf3p.js → reference-wgtcm0m7.js} +4 -4
- package/dist/chunks/{instruction-discovery-g01nxz4d.js → reference-wsxhr7mz.js} +1 -1
- package/dist/chunks/{instruction-discovery-qqgfay4a.js → reference-wzw60d3c.js} +4 -4
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{instruction-discovery-ytvsh58e.js → reference-x54c8ekp.js} +13 -13
- package/dist/chunks/{instruction-discovery-9fxqd1sf.js → reference-xe8wrm2v.js} +9 -9
- package/dist/chunks/{instruction-discovery-dmqcgk4z.js → reference-xkntkrq7.js} +5 -5
- package/dist/chunks/{instruction-discovery-xbgsntj0.js → reference-xtk3c0wk.js} +24 -24
- package/dist/chunks/{instruction-discovery-h6b02349.js → reference-xvp1j2dc.js} +5 -5
- package/dist/chunks/{instruction-discovery-8xgekn8b.js → reference-y1022pqf.js} +20 -20
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-qrfkxqda.js → reference-y5jzt5h7.js} +2 -2
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-a00me6k7.js → reference-ydqd2mjj.js} +11 -11
- package/dist/chunks/{instruction-discovery-f312cjwv.js → reference-yf019c59.js} +30 -30
- package/dist/chunks/{instruction-discovery-hw07rkan.js → reference-yfn15sv3.js} +4 -4
- package/dist/chunks/{instruction-discovery-ych4f45t.js → reference-ygwjbdqw.js} +17 -17
- package/dist/chunks/{instruction-discovery-6ax496g1.js → reference-yn5hrsx6.js} +51 -51
- package/dist/chunks/{instruction-discovery-r8xr0va3.js → reference-yp2x3t23.js} +4 -4
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-5g55xj2w.js → reference-yzmt9s1b.js} +19 -19
- package/dist/chunks/{instruction-discovery-bjtzbw4r.js → reference-z07pqspn.js} +3 -3
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-32ymn5e1.js → reference-z3zp24an.js} +6 -6
- package/dist/chunks/{instruction-discovery-z63w68vq.js → reference-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-4k9r34b0.js → reference-zhjy7jmn.js} +4 -4
- package/dist/chunks/{instruction-discovery-6mmqkzfc.js → reference-zn9yn8hw.js} +55 -55
- package/dist/chunks/{instruction-discovery-hhz91wcw.js → reference-znpmv816.js} +6 -6
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-gyzv7h5b.js → reference-zsc4zr95.js} +11 -11
- package/dist/chunks/{instruction-discovery-187m32rh.js → reference-zwtn2b75.js} +14 -14
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → reference-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 +85 -85
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- 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 +128 -128
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +226 -226
- 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 +15 -15
- 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 +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 +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 +69 -69
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +103 -103
- 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 +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +5 -5
- 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 +5 -5
- 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 +72 -72
- 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 +352 -352
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +97 -97
- 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 +95 -95
- 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 +128 -128
- 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 +4 -4
- 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 +4 -4
- 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 +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 +155 -155
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- 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 +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 +5 -5
- 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 +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/instruction-discovery-64egkh2c.js +0 -252
- package/dist/chunks/instruction-discovery-7fj5dwt0.js +0 -18
- package/dist/chunks/instruction-discovery-g49e3836.js +0 -507
- package/dist/chunks/instruction-discovery-gk619p5m.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-vgj5jbet.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-7zeyjkbe.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service69,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service69 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service69.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info25({
|
|
80
|
+
id: input.id ?? ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID11, OAuth3, Key3, Value2, Event16, Info25, Service69, node73, exports_credential };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-7zeyjkbe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./reference-paqwx8q6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node58
|
|
12
|
+
} from "./reference-jhrpy0h8.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service52,
|
|
18
18
|
args2,
|
|
19
19
|
node54
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-qxvtm6f6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service75,
|
|
23
|
+
node79
|
|
24
|
+
} from "./reference-166kng33.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service48,
|
|
27
|
+
node50
|
|
28
|
+
} from "./reference-8aaqm6qj.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-2f04pwep.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service49,
|
|
35
|
+
node51
|
|
36
|
+
} from "./reference-w0ct177m.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./reference-w8bax687.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service47,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node49
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service47 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service52;
|
|
95
|
+
const environment = yield* Service56;
|
|
96
|
+
const hooks = yield* Service75;
|
|
97
|
+
const environments = yield* Service48;
|
|
98
|
+
const config = yield* Service49;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service47.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node49 = makeLocationNode({
|
|
329
|
+
service: Service47,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node84,
|
|
334
334
|
Global.node,
|
|
335
335
|
node54,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
336
|
+
node58,
|
|
337
|
+
node79,
|
|
338
|
+
node50,
|
|
339
|
+
node51,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
5
|
Service67,
|
|
6
6
|
node71
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-0rsrt5zk.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-2f04pwep.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node63
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service60 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,7 +86,7 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
90
|
const kv = yield* Service67;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service60.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service60, make18);
|
|
362
|
+
var node63 = makeGlobalNode({ service: Service60, layer, deps: [node71] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service60, make18, node63, exports_job };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node55
|
|
7
|
+
} from "./reference-qb2p9zbg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service42,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer17,
|
|
20
|
+
node: () => node44
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service42 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service53;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer8 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service42.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node44 = makeLocationNode({
|
|
74
|
+
service: Service42,
|
|
75
|
+
layer: layer17,
|
|
76
|
+
deps: [node55, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service42, layer17, node44, exports_generate2 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./reference-w0ct177m.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./reference-jhrpy0h8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./reference-t9cv2z2y.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service71
|
|
19
|
+
} from "./reference-zn9yn8hw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-m165mn98.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service52,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-qxvtm6f6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service47
|
|
37
|
+
} from "./reference-t1keb6et.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./reference-q4b4mt0k.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./reference-k7d46rr6.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./reference-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin43 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service20;
|
|
123
|
+
const jobs = yield* Service60;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service56;
|
|
126
|
+
const access = yield* Service16;
|
|
127
|
+
const shell = yield* Service47;
|
|
128
|
+
const shellSelect = yield* Service52;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service71;
|
|
131
|
+
const config = yield* Service49;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin19 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name8,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin19 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name8,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input8,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin19 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name8,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name8];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin43, exports_shell2 };
|