@opencode/core 0.0.0-dev-21112 → 0.0.0-dev-21115
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{job-y5rf7nzv.js → filesystem-0br3sbwn.js} +4 -4
- package/dist/chunks/{job-ygdna4kr.js → filesystem-0bwnrbmb.js} +5 -5
- package/dist/chunks/{job-mccdgat0.js → filesystem-0hggy7w0.js} +7 -7
- package/dist/chunks/{job-d38556p2.js → filesystem-0ptcjm3n.js} +31 -31
- package/dist/chunks/{job-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{job-ck327ev6.js → filesystem-17dj978g.js} +13 -13
- package/dist/chunks/{job-bvd5z42w.js → filesystem-19skgejj.js} +33 -33
- package/dist/chunks/{job-r8xr0va3.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-kq1kh5hf.js → filesystem-1h7vnna9.js} +26 -26
- package/dist/chunks/{job-jhc0stxs.js → filesystem-1hvznjfa.js} +8 -8
- package/dist/chunks/{job-81q2xnhg.js → filesystem-21zphryg.js} +20 -20
- package/dist/chunks/{job-swymws4c.js → filesystem-28g3h2p9.js} +18 -18
- package/dist/chunks/{job-dxxdd5gf.js → filesystem-29890e08.js} +11 -11
- package/dist/chunks/{job-8kvx9d9a.js → filesystem-2b90fqtz.js} +25 -25
- package/dist/chunks/{job-1y283654.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{job-wg81ww38.js → filesystem-2ryng5r3.js} +4 -4
- package/dist/chunks/{job-9r4f3n38.js → filesystem-2skmtqcp.js} +40 -40
- package/dist/chunks/{job-9cememrc.js → filesystem-2tba787a.js} +13 -13
- package/dist/chunks/{job-hfqcc610.js → filesystem-31tn9gew.js} +1 -1
- package/dist/chunks/{job-31xfzrxg.js → filesystem-31xfzrxg.js} +2 -2
- package/dist/chunks/{job-vmc6r1cj.js → filesystem-36sqq72v.js} +13 -13
- package/dist/chunks/{job-v3xkyz7p.js → filesystem-3b7fp0n4.js} +29 -29
- package/dist/chunks/{job-9csbzq3k.js → filesystem-3cdadc0g.js} +331 -331
- package/dist/chunks/{job-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-xt4njr3s.js → filesystem-3g8j9he4.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{job-p5jqnpch.js → filesystem-3jht15wj.js} +5 -5
- package/dist/chunks/{job-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-hmf5dsnm.js → filesystem-3yjxsfxn.js} +11 -11
- package/dist/chunks/{job-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{job-2358bwaq.js → filesystem-47hh6670.js} +43 -43
- package/dist/chunks/{job-pe2b4pg4.js → filesystem-4jr2t3r5.js} +19 -19
- package/dist/chunks/{job-wk5z6jzv.js → filesystem-4nj4bn9q.js} +5 -5
- package/dist/chunks/{job-42g932k2.js → filesystem-4nram3bh.js} +34 -34
- package/dist/chunks/{job-rcph0yae.js → filesystem-4pg70dfd.js} +17 -17
- package/dist/chunks/{job-0qyq0657.js → filesystem-4qsm04pf.js} +11 -11
- package/dist/chunks/{job-98h8vcmf.js → filesystem-4qv1jwt6.js} +15 -15
- package/dist/chunks/{job-jk42ka2z.js → filesystem-50mm2e4j.js} +13 -13
- package/dist/chunks/{job-8tayx2nk.js → filesystem-52tysmw0.js} +4 -4
- package/dist/chunks/{job-nxm9x0fe.js → filesystem-54e3zbs2.js} +37 -37
- package/dist/chunks/{job-0wjm486e.js → filesystem-54e68rcj.js} +17 -17
- package/dist/chunks/{job-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/filesystem-5c3dk14k.js +257 -0
- package/dist/chunks/{job-1pxz8ven.js → filesystem-5fykfdj7.js} +5 -5
- package/dist/chunks/{job-nz36rv7r.js → filesystem-5g0r8mw0.js} +75 -75
- package/dist/chunks/{job-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{job-5f78e0bk.js → filesystem-5mbhh97n.js} +15 -15
- package/dist/chunks/{job-cs1fz2ym.js → filesystem-5spw73f5.js} +33 -33
- package/dist/chunks/{job-yn9v0zkv.js → filesystem-5yah39qj.js} +14 -14
- package/dist/chunks/{job-1dxcywt8.js → filesystem-6195sx0d.js} +1 -1
- package/dist/chunks/{job-5802gy43.js → filesystem-6d555efv.js} +12 -12
- package/dist/chunks/{job-dp9jtaaz.js → filesystem-6dft0n0z.js} +13 -13
- package/dist/chunks/{job-rkprpv83.js → filesystem-6pc27hjz.js} +6 -6
- package/dist/chunks/{job-s1f6gdw2.js → filesystem-6rn9tjsv.js} +19 -19
- package/dist/chunks/{job-r21rn0zz.js → filesystem-6v1na7aa.js} +19 -19
- package/dist/chunks/{job-4meka6v1.js → filesystem-6vfdg03v.js} +92 -92
- package/dist/chunks/{job-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{job-waj06c1d.js → filesystem-6xpza5js.js} +14 -14
- package/dist/chunks/{job-tx9w5tca.js → filesystem-73kdj4zj.js} +8 -8
- package/dist/chunks/{job-67690ebn.js → filesystem-7411t0rb.js} +23 -23
- package/dist/chunks/{job-775gj3j1.js → filesystem-775gj3j1.js} +2 -2
- package/dist/chunks/{job-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-yfq0f3ty.js → filesystem-7bmsykhc.js} +5 -5
- package/dist/chunks/{job-xh9n323v.js → filesystem-7tn6cq86.js} +10 -10
- package/dist/chunks/{job-44nt178b.js → filesystem-7ttm26fm.js} +39 -39
- package/dist/chunks/{job-fwb3fm18.js → filesystem-7twy6p59.js} +33 -33
- package/dist/chunks/{job-ez6t5hx2.js → filesystem-7tyngnxg.js} +23 -23
- package/dist/chunks/{job-kq0z1tjb.js → filesystem-7y32s7nh.js} +11 -11
- package/dist/chunks/{job-ay56yawg.js → filesystem-82dp36an.js} +30 -30
- package/dist/chunks/{job-w1eejvng.js → filesystem-84txncab.js} +5 -5
- package/dist/chunks/{job-t2rny1q8.js → filesystem-8860rs9w.js} +29 -29
- package/dist/chunks/{job-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{job-3k0ta86q.js → filesystem-8g8s565e.js} +16 -16
- package/dist/chunks/{job-2395y7e1.js → filesystem-8jrs9qj5.js} +8 -8
- package/dist/chunks/{job-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{job-pt1ss6jy.js → filesystem-8n9x2wf6.js} +3 -3
- package/dist/chunks/{job-t8gxprjd.js → filesystem-90441yjw.js} +31 -31
- package/dist/chunks/{job-91qna3x0.js → filesystem-91qna3x0.js} +3 -3
- package/dist/chunks/{job-eqdqwaa8.js → filesystem-94ggxbym.js} +8 -8
- package/dist/chunks/{job-3bbkcze6.js → filesystem-9530x2tr.js} +28 -28
- package/dist/chunks/{job-gp792ppf.js → filesystem-9b791780.js} +21 -21
- package/dist/chunks/{job-xxa9ptsg.js → filesystem-9gym5b9t.js} +8 -8
- package/dist/chunks/{job-x2prm6ae.js → filesystem-9hvksth9.js} +4 -4
- package/dist/chunks/{job-744z4pjx.js → filesystem-9rd6b9g5.js} +11 -11
- package/dist/chunks/{job-tqa9g821.js → filesystem-9s1sgp6t.js} +10 -10
- package/dist/chunks/{job-6v23mrsw.js → filesystem-a5rre0n2.js} +11 -11
- package/dist/chunks/{job-er2q2s93.js → filesystem-aacha31a.js} +12 -12
- package/dist/chunks/{job-08zhq3v6.js → filesystem-ae3qby2d.js} +3 -3
- package/dist/chunks/{job-qvb3nf84.js → filesystem-ahd542yp.js} +8 -8
- package/dist/chunks/{job-pa6wp5yh.js → filesystem-am46xzge.js} +16 -16
- package/dist/chunks/{job-zv29qtws.js → filesystem-aq1qqrws.js} +8 -8
- package/dist/chunks/{job-8a0tbawn.js → filesystem-aqcmm3nt.js} +17 -17
- package/dist/chunks/{job-hk4kyacq.js → filesystem-arhbgn6d.js} +23 -23
- package/dist/chunks/{job-rkx677gg.js → filesystem-avxg4bz6.js} +5 -5
- package/dist/chunks/{job-fn5wdjwd.js → filesystem-b13z9rmw.js} +6 -6
- package/dist/chunks/{job-6n5tmcsn.js → filesystem-b56cbvtn.js} +24 -24
- package/dist/chunks/{job-0w52vqev.js → filesystem-b8f4q0tg.js} +2 -2
- package/dist/chunks/{job-faj2svbs.js → filesystem-bdm4x938.js} +9 -9
- package/dist/chunks/{job-zqy5zsvc.js → filesystem-bdttsgpp.js} +8 -8
- package/dist/chunks/{job-m8cz1ghn.js → filesystem-bgqqx5zr.js} +11 -11
- package/dist/chunks/{job-ywt8jp22.js → filesystem-bjx1sjef.js} +9 -9
- package/dist/chunks/{job-tsrjfj85.js → filesystem-bken5pff.js} +8 -8
- package/dist/chunks/{job-1bfrgapb.js → filesystem-bmd3gdvw.js} +12 -12
- package/dist/chunks/{job-f5r4rnzc.js → filesystem-bq69xjnm.js} +14 -14
- package/dist/chunks/{job-tfskcm3z.js → filesystem-c3whw6mq.js} +49 -49
- package/dist/chunks/{job-rj3eygr5.js → filesystem-c41wscbt.js} +2 -2
- package/dist/chunks/{job-rm21d51n.js → filesystem-c4n1rcnv.js} +5 -5
- package/dist/chunks/{job-6cav1d9v.js → filesystem-c5ar4wn8.js} +33 -33
- package/dist/chunks/{job-da185en6.js → filesystem-c653ykz4.js} +9 -9
- package/dist/chunks/{job-sa8ekw3f.js → filesystem-c8ax2afj.js} +2 -2
- package/dist/chunks/{job-gdc55jvc.js → filesystem-cctqj699.js} +4 -4
- package/dist/chunks/{job-p6y63wrz.js → filesystem-cgywp1fk.js} +4 -4
- package/dist/chunks/{job-s2navjnm.js → filesystem-ck0axc3h.js} +21 -21
- package/dist/chunks/{job-33a8026s.js → filesystem-cnt075nt.js} +6 -6
- package/dist/chunks/{job-k0qzeszc.js → filesystem-cnz0t7gv.js} +50 -50
- package/dist/chunks/{job-cwa6csj7.js → filesystem-d4he2qe1.js} +9 -9
- package/dist/chunks/{job-m9n427xj.js → filesystem-d5v0ynkb.js} +23 -23
- package/dist/chunks/{job-nd4tfyg0.js → filesystem-d7x0sh0y.js} +9 -9
- package/dist/chunks/{job-ad1gt5z6.js → filesystem-d9zk1kzb.js} +12 -12
- package/dist/chunks/{job-6ek5mamz.js → filesystem-dm9jh1jc.js} +4 -4
- package/dist/chunks/{job-6f203fky.js → filesystem-dpe3qaa2.js} +21 -21
- package/dist/chunks/{job-y71avatq.js → filesystem-dpkg50ah.js} +4 -4
- package/dist/chunks/{job-dqxsqydv.js → filesystem-dqxsqydv.js} +1 -1
- package/dist/chunks/{job-drwq78ky.js → filesystem-drwq78ky.js} +1 -1
- package/dist/chunks/{job-ye9cngvp.js → filesystem-e3bjvath.js} +313 -313
- package/dist/chunks/{job-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{job-jxty7jvr.js → filesystem-ef4sbe81.js} +13 -13
- package/dist/chunks/{job-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{job-pc0k0p8h.js → filesystem-egxbfeba.js} +13 -13
- package/dist/chunks/{job-c1fqxshp.js → filesystem-es1vcfrp.js} +3 -3
- package/dist/chunks/{job-2txft6xz.js → filesystem-eshq8zc9.js} +29 -29
- package/dist/chunks/{job-zvy6w0zs.js → filesystem-exd3eysm.js} +6 -6
- package/dist/chunks/{job-rzcz91ek.js → filesystem-ezj8x98p.js} +22 -22
- package/dist/chunks/{job-afdssyjb.js → filesystem-f73rjn58.js} +4 -4
- package/dist/chunks/{job-fcy631f0.js → filesystem-fcy631f0.js} +1 -1
- package/dist/chunks/{job-pfvte5ex.js → filesystem-fjawchmc.js} +23 -23
- package/dist/chunks/{job-54jctmtt.js → filesystem-ftwe0wjn.js} +25 -25
- package/dist/chunks/{job-hvg55y1m.js → filesystem-fyh9zv7n.js} +11 -11
- package/dist/chunks/{job-vqq02yr7.js → filesystem-g72rcnd5.js} +11 -11
- package/dist/chunks/{job-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-t79xkb5x.js → filesystem-gdn0pcxg.js} +9 -9
- package/dist/chunks/{job-jxrsvt8d.js → filesystem-ge8cn2g4.js} +14 -14
- package/dist/chunks/{job-802megp1.js → filesystem-gj0f7hmv.js} +11 -11
- package/dist/chunks/{job-cgzvyhvv.js → filesystem-gprpxr1a.js} +3 -3
- package/dist/chunks/{job-mjtg0kct.js → filesystem-grebtwqa.js} +3 -3
- package/dist/chunks/{job-7ehe1q82.js → filesystem-gw6vzxdc.js} +85 -85
- package/dist/chunks/{job-zwe6tn9h.js → filesystem-gz7stbg7.js} +28 -28
- package/dist/chunks/{job-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/filesystem-hgb5t0z4.js +26 -0
- package/dist/chunks/{job-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{job-khmqacep.js → filesystem-hq3c8me3.js} +4 -4
- package/dist/chunks/{job-s74x8zwn.js → filesystem-hr3qq9f0.js} +12 -12
- package/dist/chunks/{job-kya4n3gt.js → filesystem-hvhy7z48.js} +45 -45
- package/dist/chunks/{job-ee0kfng7.js → filesystem-hxbvn061.js} +4 -4
- package/dist/chunks/{job-d2wek193.js → filesystem-hxnvgzay.js} +28 -28
- package/dist/chunks/{job-z0dmr40s.js → filesystem-jekssrtq.js} +5 -5
- package/dist/chunks/{job-190jc4zy.js → filesystem-jhwg2zyb.js} +26 -26
- package/dist/chunks/{job-r38b4gm7.js → filesystem-jjwvvtts.js} +9 -9
- package/dist/chunks/{job-wzhq9xxz.js → filesystem-kbkr9xqm.js} +11 -11
- package/dist/chunks/{job-782zrs06.js → filesystem-kecqjjhm.js} +5 -5
- package/dist/chunks/{job-kf8xxjz9.js → filesystem-kf6ef46w.js} +3 -3
- package/dist/chunks/{job-tk518f6g.js → filesystem-kkc1286b.js} +181 -181
- package/dist/chunks/{job-e04mjppw.js → filesystem-kv4nafzy.js} +20 -20
- package/dist/chunks/{job-qmgn8zg7.js → filesystem-kvycfk4x.js} +2 -2
- package/dist/chunks/{job-kwb1v3vj.js → filesystem-kwb1v3vj.js} +1 -1
- package/dist/chunks/{job-gx4kjbww.js → filesystem-kwc5mqtp.js} +20 -20
- package/dist/chunks/{job-7n3gnz9r.js → filesystem-m1tssyfj.js} +19 -19
- package/dist/chunks/{job-re0zn3g0.js → filesystem-m4hvwz78.js} +45 -45
- package/dist/chunks/{job-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/{job-8jxeyxc9.js → filesystem-mg7ax2mm.js} +5 -5
- package/dist/chunks/{job-bte6ngej.js → filesystem-mhxr1bqn.js} +30 -30
- package/dist/chunks/{job-pdb8rjdp.js → filesystem-mp3jz30m.js} +18 -18
- package/dist/chunks/{job-1g3z0azh.js → filesystem-mp8xt2b6.js} +15 -15
- package/dist/chunks/{job-bmr56wjg.js → filesystem-mv3hx7wz.js} +4 -4
- package/dist/chunks/{job-hder4p07.js → filesystem-mx270ras.js} +55 -55
- package/dist/chunks/{job-4j4tgtq5.js → filesystem-n1n192bv.js} +4 -4
- package/dist/chunks/{job-gt0x4809.js → filesystem-n83pc6nt.js} +17 -17
- package/dist/chunks/{job-vscxjy0v.js → filesystem-nd88y20t.js} +51 -51
- package/dist/chunks/{job-4s76bvka.js → filesystem-nx34addm.js} +28 -28
- package/dist/chunks/{job-84mtzs8k.js → filesystem-nx4m0zkv.js} +14 -14
- package/dist/chunks/{job-a3tzcvmz.js → filesystem-nzam4yy8.js} +32 -32
- package/dist/chunks/{job-ph29776d.js → filesystem-p184cp8z.js} +24 -24
- package/dist/chunks/{job-jxpbf905.js → filesystem-p2m78kzx.js} +27 -27
- package/dist/chunks/{job-p4mj4rdp.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{job-am8zjywx.js → filesystem-p830xjpf.js} +4 -4
- package/dist/chunks/{job-32w60ewp.js → filesystem-pcf1k9th.js} +6 -6
- package/dist/chunks/{job-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{job-z9g794zs.js → filesystem-pm7qxhdn.js} +16 -16
- package/dist/chunks/{job-1v130mpx.js → filesystem-pn51f503.js} +33 -33
- package/dist/chunks/{job-yjsx3ryv.js → filesystem-pnpark4m.js} +11 -11
- package/dist/chunks/{job-247t7n51.js → filesystem-px0t714r.js} +45 -45
- package/dist/chunks/{job-nfnb91wf.js → filesystem-q39jr00q.js} +15 -15
- package/dist/chunks/{job-8a524ch7.js → filesystem-qe1s42gn.js} +7 -7
- package/dist/chunks/{job-qgn6gcr1.js → filesystem-qgn6gcr1.js} +1 -1
- package/dist/chunks/{job-7sbkp4xb.js → filesystem-qm0v3jhh.js} +5 -5
- package/dist/chunks/{job-rxn86gf6.js → filesystem-qnanp676.js} +13 -13
- package/dist/chunks/{job-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{job-9pg1zzvb.js → filesystem-qnfp6tbh.js} +20 -20
- package/dist/chunks/{job-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{job-4e4k5cgw.js → filesystem-qt6dmeqv.js} +22 -22
- package/dist/chunks/{job-b039cdhy.js → filesystem-qtydkzp2.js} +13 -13
- package/dist/chunks/{job-sxcaecc0.js → filesystem-r2z489rp.js} +3 -3
- package/dist/chunks/{job-y7sdd497.js → filesystem-r6vbntqp.js} +28 -28
- package/dist/chunks/{job-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{job-rrz44tnd.js → filesystem-rfvwjc43.js} +14 -14
- package/dist/chunks/{job-eaj1djv9.js → filesystem-rhjbct0v.js} +8 -8
- package/dist/chunks/{job-95vmf0cx.js → filesystem-rk4ytr24.js} +32 -32
- package/dist/chunks/{job-sjhrg4z8.js → filesystem-rm41ckhw.js} +19 -19
- package/dist/chunks/{job-866j0qgd.js → filesystem-rprbf42d.js} +11 -11
- package/dist/chunks/{job-3zxgx73k.js → filesystem-rqvp8wbx.js} +26 -26
- package/dist/chunks/{job-e9w0xgk5.js → filesystem-rv9gmw75.js} +51 -51
- package/dist/chunks/{job-tpg09gg7.js → filesystem-s34pyban.js} +33 -33
- package/dist/chunks/{job-d1rddd69.js → filesystem-s38be59g.js} +9 -9
- package/dist/chunks/{job-yyc2c3pa.js → filesystem-sez3r76e.js} +18 -18
- package/dist/chunks/{job-q54p6b31.js → filesystem-sg5keyww.js} +14 -14
- package/dist/chunks/{job-p3tsgby1.js → filesystem-spbssw6h.js} +5 -5
- package/dist/chunks/{job-0ks9zhpr.js → filesystem-sq924wt0.js} +44 -44
- package/dist/chunks/{job-vcbrf7nh.js → filesystem-ssccxh5t.js} +47 -47
- package/dist/chunks/{job-syv4x271.js → filesystem-syv4x271.js} +1 -1
- package/dist/chunks/{job-y4qwpzs9.js → filesystem-szea9bb9.js} +3 -3
- package/dist/chunks/{job-rwsg7th0.js → filesystem-t2xadz2n.js} +24 -24
- package/dist/chunks/{job-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{job-q9en3hpz.js → filesystem-tetb2eh9.js} +16 -16
- package/dist/chunks/{job-1248teyj.js → filesystem-tjkhcpzj.js} +6 -6
- package/dist/chunks/{job-rert0e01.js → filesystem-tkb22qbm.js} +2 -2
- package/dist/chunks/{job-tm0kqsz3.js → filesystem-tm0kqsz3.js} +1 -1
- package/dist/chunks/{job-x8mwr189.js → filesystem-tr05qqqw.js} +27 -27
- package/dist/chunks/{job-dq407baf.js → filesystem-tt8gc4fv.js} +6 -6
- package/dist/chunks/{job-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{job-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/filesystem-v1faaxn9.js +18 -0
- package/dist/chunks/{job-0bf787b1.js → filesystem-v5fjrhee.js} +8 -8
- package/dist/chunks/{job-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{job-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{job-tpw005b1.js → filesystem-vpwnda87.js} +11 -11
- package/dist/chunks/{job-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{job-gwaf4cyv.js → filesystem-wj7gfkjw.js} +10 -10
- package/dist/chunks/{job-696t2cy7.js → filesystem-wqh2nmj8.js} +13 -13
- package/dist/chunks/{job-2ygtdfg2.js → filesystem-ws55xcqv.js} +29 -29
- package/dist/chunks/{job-d88k20pt.js → filesystem-x0js5z9m.js} +14 -14
- package/dist/chunks/{job-9ahf605z.js → filesystem-x5dpmst1.js} +5 -5
- package/dist/chunks/{job-vfz1kjtz.js → filesystem-x655svz3.js} +29 -29
- package/dist/chunks/{job-zw2hpfmh.js → filesystem-x661k3y3.js} +4 -4
- package/dist/chunks/{job-b8s6fp5j.js → filesystem-x70h8yxe.js} +21 -21
- package/dist/chunks/{job-e2f548m5.js → filesystem-xdzjfc6h.js} +19 -19
- package/dist/chunks/{job-b39124se.js → filesystem-xhsyhkgy.js} +8 -8
- package/dist/chunks/{job-1zj7cxje.js → filesystem-xnj3z44z.js} +44 -44
- package/dist/chunks/{job-7kvnyt6p.js → filesystem-xpcyt536.js} +5 -5
- package/dist/chunks/{job-4yxncqzk.js → filesystem-xzbcv6sc.js} +11 -11
- package/dist/chunks/{job-vhdxrt7h.js → filesystem-y1eegr9d.js} +27 -27
- package/dist/chunks/{job-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-3ga9zd2f.js → filesystem-y2gb4wfj.js} +4 -4
- package/dist/chunks/{job-1v8dj1h2.js → filesystem-y4ecwc5f.js} +25 -25
- package/dist/chunks/{job-gbqsrtzy.js → filesystem-yf1vvm7e.js} +34 -34
- package/dist/chunks/{job-bkp4f76d.js → filesystem-ygb8ps8p.js} +9 -9
- package/dist/chunks/{job-8hmjtt7t.js → filesystem-yjk0grsx.js} +13 -13
- package/dist/chunks/{job-6xcd06cn.js → filesystem-yt27412q.js} +3 -3
- package/dist/chunks/{job-nm4299rz.js → filesystem-yx0rmv9r.js} +8 -8
- package/dist/chunks/{job-9k0qe3x2.js → filesystem-yxez6nsc.js} +24 -24
- package/dist/chunks/{job-5hr13e4c.js → filesystem-yzyjrx0r.js} +8 -8
- package/dist/chunks/{job-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-9mbkb3sc.js → filesystem-z1scnmev.js} +9 -9
- package/dist/chunks/{job-78jnw47a.js → filesystem-zcsvtq6v.js} +7 -7
- package/dist/chunks/{job-tegs1ycp.js → filesystem-zdwe30dy.js} +6 -6
- package/dist/chunks/{job-qrytbsaj.js → filesystem-zgt4m87r.js} +34 -34
- package/dist/chunks/{job-66r9f6z1.js → filesystem-zk8c4w5t.js} +5 -5
- package/dist/chunks/{job-spec05k6.js → filesystem-zkab28hs.js} +2 -2
- package/dist/chunks/{job-z0gr4p3m.js → filesystem-zp71cjem.js} +34 -34
- package/dist/chunks/{job-xnb4btwz.js → filesystem-zq3xyeg8.js} +14 -14
- package/dist/chunks/{job-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-zxq2ej10.js → filesystem-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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +106 -106
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- 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 +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/job-619r8v3y.js +0 -18
- package/dist/chunks/job-67mv0zeb.js +0 -26
- package/dist/chunks/job-mgh2a7gf.js +0 -257
- /package/dist/chunks/{job-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{job-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{job-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{job-pyv0edze.js → filesystem-pyv0edze.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-b8f4q0tg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service53,
|
|
10
|
+
node57
|
|
11
|
+
} from "./filesystem-6xpza5js.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./filesystem-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service52,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node56,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service52 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service82;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service53;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service82;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service52.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service52.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service82;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service52, layer: layer23(options), deps: [node86, node57] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node56 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service52, ripgrepLayer2, fffLayer2, layer23, configured8, node56, exports_search };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node5, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-36sqq72v.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./filesystem-bdm4x938.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./filesystem-zdwe30dy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-v1faaxn9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service70
|
|
15
|
+
} from "./filesystem-73kdj4zj.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-tjkhcpzj.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service33
|
|
23
|
+
} from "./filesystem-mhxr1bqn.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service58;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service70;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service33;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service47;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node76
|
|
10
|
+
} from "./filesystem-s34pyban.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-x661k3y3.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-8860rs9w.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID12,
|
|
41
|
+
Info: () => Info22,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
|
+
node: () => node75
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
|
+
var ID12 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info22 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID12,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service73;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info22.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service72.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node75 = makeLocationNode({
|
|
633
|
+
service: Service72,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node76, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node75, exports_integration, Event18 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service36
|
|
4
|
+
} from "./filesystem-c3whw6mq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./filesystem-a5rre0n2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin28
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin28 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service36;
|
|
27
|
+
const output = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin16 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin28, exports_tool_output };
|