@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service74,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service74 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer27 = Layer.effect(Service74, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service74.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node77 = makeLocationNode({ service: Service74, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer27, node77, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node71
|
|
4
|
+
} from "./filesystem-9s1sgp6t.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-8n9x2wf6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service61,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node64
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service61 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service68;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make20 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service61.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make20 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service61, make19);
|
|
358
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node71] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service61, make19, node64, exports_job };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info9
|
|
7
|
+
} from "./filesystem-mv3hx7wz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
14
14
|
__export(exports_agent3, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent3,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info6
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info9)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info6 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info6, exports_agent3 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID9 = Session.ID;
|
|
5
|
+
var Info19 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info19, SessionSchema2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service42,
|
|
17
|
+
node46
|
|
18
|
+
} from "./filesystem-7tyngnxg.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service39,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node42
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info10 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service39 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service85;
|
|
53
|
+
const cache = yield* Service42;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info10.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info10.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service39.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node42 = makeLocationNode({
|
|
116
|
+
service: Service39,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node89, node46]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info10, Service39, node42, exports_reference2, Event8 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-3yjxsfxn.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin5 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin35 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin35 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin5, exports_tavily };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./filesystem-bmd3gdvw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node71
|
|
8
|
+
} from "./filesystem-9s1sgp6t.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service44,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event9 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service44 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service85;
|
|
70
|
+
const kv = yield* Service68;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service44.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node48 = makeLocationNode({
|
|
188
|
+
service: Service44,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node89, node71]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service44, node48, exports_websearch3, Event9 };
|