@opencode/core 0.0.0-dev-20625 → 0.0.0-dev-20626
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{workspace-4bf12bpw.js → generate-00sy09sd.js} +5 -5
- package/dist/chunks/{workspace-qc4y4x1d.js → generate-02eysref.js} +24 -24
- package/dist/chunks/{workspace-nqsd8asp.js → generate-05zs1rdk.js} +43 -43
- package/dist/chunks/{workspace-0gh43fvp.js → generate-06v9ekkj.js} +30 -30
- package/dist/chunks/{workspace-86km67cx.js → generate-0atswpmv.js} +9 -9
- package/dist/chunks/{workspace-6ygyve09.js → generate-0d9njzvw.js} +28 -28
- package/dist/chunks/{workspace-0vbcp93d.js → generate-0emb60td.js} +2 -2
- package/dist/chunks/{workspace-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-49494kth.js → generate-0w5dnmke.js} +16 -16
- package/dist/chunks/{workspace-b3vk0wha.js → generate-0y0gsn1j.js} +3 -3
- package/dist/chunks/{workspace-g6cj2pz3.js → generate-12cb56mc.js} +3 -3
- package/dist/chunks/{workspace-p1f7zze4.js → generate-14abpv5c.js} +20 -20
- package/dist/chunks/{workspace-vgfxpara.js → generate-14fzmqmc.js} +88 -88
- package/dist/chunks/{workspace-axs6pdy0.js → generate-150yg2gd.js} +5 -5
- package/dist/chunks/{workspace-r8xr0va3.js → generate-1acjjqhc.js} +4 -4
- package/dist/chunks/{workspace-xh51jhwy.js → generate-1d5w9k4w.js} +21 -21
- package/dist/chunks/{workspace-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-km0c42ps.js → generate-1dz71ged.js} +11 -11
- package/dist/chunks/{workspace-g762atc6.js → generate-1nzh38e4.js} +9 -9
- package/dist/chunks/generate-1x11rq2a.js +18 -0
- package/dist/chunks/{workspace-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-nex76z7d.js → generate-2ar21jkq.js} +15 -15
- package/dist/chunks/{workspace-rvf0m9x6.js → generate-2eegacq4.js} +8 -8
- package/dist/chunks/{workspace-gamkna2f.js → generate-2r6fqtjg.js} +34 -34
- package/dist/chunks/{workspace-sgcq822w.js → generate-2wrchah9.js} +5 -5
- package/dist/chunks/{workspace-cscmnd2v.js → generate-2z4yerbz.js} +8 -8
- package/dist/chunks/{workspace-56gdpj1q.js → generate-33w4ejhs.js} +6 -6
- package/dist/chunks/{workspace-86mjrc9q.js → generate-37ycehja.js} +69 -69
- package/dist/chunks/{workspace-vaxgn10g.js → generate-39m96q4s.js} +23 -23
- package/dist/chunks/{workspace-3cegwx68.js → generate-3cegwx68.js} +2 -2
- package/dist/chunks/{workspace-s6rbynpa.js → generate-3d08qa2y.js} +5 -5
- package/dist/chunks/{workspace-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3qny4s1r.js → generate-3ngkpncc.js} +13 -13
- package/dist/chunks/{workspace-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-w8jg2tm8.js → generate-4daej8pc.js} +39 -39
- package/dist/chunks/{workspace-k3sn4jay.js → generate-4eq8w0dz.js} +4 -4
- package/dist/chunks/{workspace-atytsmf1.js → generate-4jyvzrab.js} +9 -9
- package/dist/chunks/{workspace-0cnpbvek.js → generate-4n6xr198.js} +17 -17
- package/dist/chunks/{workspace-ca6v8khj.js → generate-4nfqhbwv.js} +321 -321
- package/dist/chunks/{workspace-a3zzg5mb.js → generate-4ptgc4ev.js} +33 -33
- package/dist/chunks/{workspace-zrbek4sy.js → generate-4t46r8n6.js} +4 -4
- package/dist/chunks/{workspace-4ts7tf6z.js → generate-4ts7tf6z.js} +2 -2
- package/dist/chunks/{workspace-t13mbkgb.js → generate-4yj6yfek.js} +21 -21
- package/dist/chunks/{workspace-a8bn8zg0.js → generate-50mzsvk4.js} +4 -4
- package/dist/chunks/{workspace-jdzksevj.js → generate-53m1k2p4.js} +10 -10
- package/dist/chunks/{workspace-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-37gg4rjc.js → generate-55pxd67v.js} +8 -8
- package/dist/chunks/{workspace-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-r9htttdr.js → generate-5pmw3n0c.js} +13 -13
- package/dist/chunks/{workspace-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-mbnxefga.js → generate-63db42yp.js} +2 -2
- package/dist/chunks/{workspace-emx6shzs.js → generate-66raja0a.js} +25 -25
- package/dist/chunks/{workspace-2kapx5s0.js → generate-67aj8cse.js} +21 -21
- package/dist/chunks/{workspace-sb1pzkvh.js → generate-69t9n7ne.js} +16 -16
- package/dist/chunks/{workspace-jvddzxac.js → generate-6eb68wz8.js} +19 -19
- package/dist/chunks/{workspace-y2tx55zg.js → generate-6exvrca4.js} +5 -5
- package/dist/chunks/{workspace-1v8896a1.js → generate-6m56d8a0.js} +8 -8
- package/dist/chunks/{workspace-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{workspace-mvfsc1pv.js → generate-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-rksdhb0n.js → generate-757h9dgg.js} +15 -15
- package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-4ctbs581.js → generate-7gw9h0sc.js} +18 -18
- package/dist/chunks/{workspace-d2ffjrg3.js → generate-7nhmw1yp.js} +7 -7
- package/dist/chunks/{workspace-hd75z5fa.js → generate-7xypvt1j.js} +16 -16
- package/dist/chunks/{workspace-rrn10n85.js → generate-84532k20.js} +10 -10
- package/dist/chunks/{workspace-84h8c373.js → generate-84h8c373.js} +2 -2
- package/dist/chunks/{workspace-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{workspace-58twkbn2.js → generate-8703qa3s.js} +15 -15
- package/dist/chunks/{workspace-vrpz8t5t.js → generate-89vjf07m.js} +5 -5
- package/dist/chunks/{workspace-mh5wyt4r.js → generate-8cf4ch7y.js} +11 -11
- package/dist/chunks/{workspace-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-kaq877jq.js → generate-8sxy8sy5.js} +15 -15
- package/dist/chunks/{workspace-2g06r5p1.js → generate-91tetnyh.js} +17 -17
- package/dist/chunks/{workspace-ap1jses2.js → generate-9fnn15g3.js} +20 -20
- package/dist/chunks/{workspace-p2wa0wpq.js → generate-9zk0kc6f.js} +33 -33
- package/dist/chunks/generate-a9jymq3x.js +253 -0
- package/dist/chunks/{workspace-q1v6wmhm.js → generate-a9p6p6nr.js} +10 -10
- package/dist/chunks/{workspace-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-aaqcndx2.js → generate-af30chde.js} +45 -45
- package/dist/chunks/{workspace-kn0kwb9r.js → generate-anc9qwd0.js} +20 -20
- package/dist/chunks/{workspace-kpv8xpp3.js → generate-apddja33.js} +28 -28
- package/dist/chunks/{workspace-jktqzjpa.js → generate-b4twkq7r.js} +4 -4
- package/dist/chunks/{workspace-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-nvdeaskg.js → generate-b7cm6t9c.js} +26 -26
- package/dist/chunks/{workspace-v9t2f4tw.js → generate-b9m1sfvm.js} +22 -22
- package/dist/chunks/{workspace-8z7vm853.js → generate-bk53ycjv.js} +12 -12
- package/dist/chunks/{workspace-1acz6075.js → generate-br69n3tb.js} +13 -13
- package/dist/chunks/{workspace-bq7qaacb.js → generate-bt178j64.js} +37 -37
- package/dist/chunks/{workspace-bgnv3g07.js → generate-c68ggjv5.js} +19 -19
- package/dist/chunks/{workspace-6kkym95p.js → generate-cb5y8w29.js} +175 -175
- package/dist/chunks/{workspace-ckn890ey.js → generate-ce0tw18p.js} +32 -32
- package/dist/chunks/{workspace-7e820gef.js → generate-chz0abdh.js} +30 -30
- package/dist/chunks/{workspace-r01t9b5y.js → generate-cjwramev.js} +4 -4
- package/dist/chunks/{workspace-5xtgfte3.js → generate-cmwkp3r5.js} +8 -8
- package/dist/chunks/{workspace-6qpyh92k.js → generate-cqjm0j5h.js} +17 -17
- package/dist/chunks/{workspace-qj3j2ed4.js → generate-crx1hh5h.js} +18 -18
- package/dist/chunks/{workspace-cwa6csj7.js → generate-cwa6csj7.js} +2 -2
- package/dist/chunks/{workspace-mhnyy3p3.js → generate-d04ep358.js} +11 -11
- package/dist/chunks/{workspace-h2txwa5e.js → generate-d6f20yqx.js} +9 -9
- package/dist/chunks/{workspace-hfr420wr.js → generate-d7yzhwrd.js} +30 -30
- package/dist/chunks/{workspace-e2h0q4a9.js → generate-d8p7yyc7.js} +8 -8
- package/dist/chunks/{workspace-wqzz8241.js → generate-dbztx8wp.js} +23 -23
- package/dist/chunks/{workspace-71tv947p.js → generate-dd44dnrs.js} +15 -15
- package/dist/chunks/{workspace-xcjenepd.js → generate-deg546m4.js} +37 -37
- package/dist/chunks/{workspace-y2bx8ks4.js → generate-dn6ztdfq.js} +23 -23
- package/dist/chunks/{workspace-7w38sh68.js → generate-e1vzx0s7.js} +22 -22
- package/dist/chunks/{workspace-8gm8r8mn.js → generate-e3sn89yk.js} +17 -17
- package/dist/chunks/{workspace-7naznwf1.js → generate-e47yjvcb.js} +3 -3
- package/dist/chunks/{workspace-x07w92bc.js → generate-e68b0gvs.js} +6 -6
- package/dist/chunks/{workspace-qhjkx6qf.js → generate-e9a6z8qn.js} +22 -22
- package/dist/chunks/{workspace-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-5t0mhk5g.js → generate-efb4ct6v.js} +5 -5
- package/dist/chunks/{workspace-cqqer672.js → generate-en16kr9h.js} +17 -17
- package/dist/chunks/{workspace-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-w39jehkq.js → generate-ezk2k2nc.js} +5 -5
- package/dist/chunks/{workspace-57nggxpn.js → generate-f6dd175t.js} +36 -36
- package/dist/chunks/{workspace-f75zav2x.js → generate-f75zav2x.js} +2 -2
- package/dist/chunks/{workspace-heymn33v.js → generate-f7w5vbe4.js} +13 -13
- package/dist/chunks/{workspace-e107jb5k.js → generate-fcjdzzvk.js} +2 -2
- package/dist/chunks/{workspace-24738xn5.js → generate-fctq5jg8.js} +12 -12
- package/dist/chunks/{workspace-pghsmdqn.js → generate-ftha1bk5.js} +4 -4
- package/dist/chunks/{workspace-6n6n0wbe.js → generate-ftp5qn6j.js} +19 -19
- package/dist/chunks/{workspace-bvvmdrd3.js → generate-g2v7xwm2.js} +19 -19
- package/dist/chunks/{workspace-w19d8598.js → generate-g5w8qwbj.js} +7 -7
- package/dist/chunks/{workspace-077cgkzg.js → generate-g8ncx2kw.js} +23 -23
- package/dist/chunks/{workspace-tdx4y9zn.js → generate-gc8gxt55.js} +11 -11
- package/dist/chunks/{workspace-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-0k0tdk4v.js → generate-gttcx4jr.js} +20 -20
- package/dist/chunks/{workspace-bv2qvk3v.js → generate-gw6mp5xk.js} +48 -48
- package/dist/chunks/{workspace-3sj8yt8v.js → generate-gw7cjrad.js} +4 -4
- package/dist/chunks/{workspace-vhvtqta5.js → generate-h0czhsa2.js} +6 -6
- package/dist/chunks/{workspace-x2bhny64.js → generate-h14td4ya.js} +9 -9
- package/dist/chunks/{workspace-9jq6257y.js → generate-h4nv5sjw.js} +27 -27
- package/dist/chunks/{workspace-5xvy2j9s.js → generate-h50xep47.js} +15 -15
- package/dist/chunks/{workspace-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-hp2fw5k6.js → generate-hawpggyh.js} +27 -27
- package/dist/chunks/{workspace-9rebvyz3.js → generate-hb9ek847.js} +1 -1
- package/dist/chunks/{workspace-4jcpse7m.js → generate-hg2kdwy2.js} +20 -20
- package/dist/chunks/{workspace-fte4edzz.js → generate-hjypyshd.js} +10 -10
- package/dist/chunks/{workspace-94yy4jsn.js → generate-htyjbh6h.js} +4 -4
- package/dist/chunks/{workspace-74f6ffmn.js → generate-hvdpr3cg.js} +55 -55
- package/dist/chunks/{workspace-x3gqap9d.js → generate-j34bs4nz.js} +4 -4
- package/dist/chunks/{workspace-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-07w59vex.js → generate-j5w2yx54.js} +6 -6
- package/dist/chunks/{workspace-nfj32nd6.js → generate-j8s7qtnq.js} +9 -9
- package/dist/chunks/{workspace-h4ckqw4f.js → generate-jp3y83b8.js} +8 -8
- package/dist/chunks/{workspace-tqrjxmaf.js → generate-jpvwx58z.js} +8 -8
- package/dist/chunks/{workspace-1fhw6qp6.js → generate-jt0fm9hz.js} +32 -32
- package/dist/chunks/{workspace-gr68n6sk.js → generate-jzgb4b60.js} +7 -7
- package/dist/chunks/{workspace-h275bwc7.js → generate-k1qrnqst.js} +8 -8
- package/dist/chunks/{workspace-kb9j3d72.js → generate-kb9j3d72.js} +3 -3
- package/dist/chunks/{workspace-hns92ys1.js → generate-kctcsxwr.js} +10 -10
- package/dist/chunks/{workspace-35vpxd0z.js → generate-kskmmsb8.js} +7 -7
- package/dist/chunks/{workspace-vjthrvv1.js → generate-ktqh6cjn.js} +14 -14
- package/dist/chunks/{workspace-ty9zft9p.js → generate-kv7xr5tr.js} +20 -20
- package/dist/chunks/{workspace-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-ckf8nxjz.js → generate-m70sbz6t.js} +4 -4
- package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-yvmkmgn5.js → generate-md4xem4j.js} +23 -23
- package/dist/chunks/{workspace-kgzx153c.js → generate-me39y7pc.js} +3 -3
- package/dist/chunks/{workspace-k569he40.js → generate-mgkc0wjh.js} +7 -7
- package/dist/chunks/{workspace-8fkq3ra9.js → generate-mjgszf3v.js} +16 -16
- package/dist/chunks/{workspace-2d4jh34x.js → generate-mxg6t4px.js} +11 -11
- package/dist/chunks/{workspace-5ct8ze0w.js → generate-myd4zn31.js} +11 -11
- package/dist/chunks/{workspace-k471ddga.js → generate-n7mkwqhg.js} +47 -47
- package/dist/chunks/{workspace-6b43n2qe.js → generate-ncp0w3v9.js} +24 -24
- package/dist/chunks/{workspace-bt43sfkk.js → generate-ndtjpakn.js} +17 -17
- package/dist/chunks/{workspace-ejgp49jg.js → generate-nnf0xkcj.js} +20 -20
- package/dist/chunks/{workspace-g79x7y0t.js → generate-ns4c26md.js} +11 -11
- package/dist/chunks/{workspace-xa1y625z.js → generate-nt476c1e.js} +20 -20
- package/dist/chunks/{workspace-0dygnakk.js → generate-ntd1qsse.js} +4 -4
- package/dist/chunks/{workspace-nxm207yx.js → generate-nxm207yx.js} +1 -1
- package/dist/chunks/{workspace-0zm4vsbv.js → generate-p2jra9s9.js} +21 -21
- package/dist/chunks/{workspace-caf87exy.js → generate-p5cn45b4.js} +32 -32
- package/dist/chunks/{workspace-g38n4cbf.js → generate-paqgmmpc.js} +11 -11
- package/dist/chunks/{workspace-rd8yy9nb.js → generate-pc1a30g8.js} +86 -86
- package/dist/chunks/{workspace-bx0gyb4h.js → generate-pcj7teyq.js} +5 -5
- package/dist/chunks/{workspace-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-sfvft427.js → generate-pm693qae.js} +13 -13
- package/dist/chunks/{workspace-v2fwckm2.js → generate-pm8xe67t.js} +15 -15
- package/dist/chunks/{workspace-mq716n2q.js → generate-pp2j6nz2.js} +18 -18
- package/dist/chunks/{workspace-k30vhdc4.js → generate-pqj23b0q.js} +30 -30
- package/dist/chunks/{workspace-msr7hntd.js → generate-pyqd4v2t.js} +4 -4
- package/dist/chunks/{workspace-q0xm7vwc.js → generate-q0xm7vwc.js} +2 -2
- package/dist/chunks/{workspace-t3039at6.js → generate-q122b658.js} +29 -29
- package/dist/chunks/{workspace-se3n8wcd.js → generate-qdhbz2ew.js} +20 -20
- package/dist/chunks/{workspace-0jwsre1p.js → generate-qgn6gcr1.js} +5 -5
- package/dist/chunks/{workspace-pbp90nbc.js → generate-qn8ykj5w.js} +30 -30
- package/dist/chunks/{workspace-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{workspace-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-efbajcyc.js → generate-qxhjmwpc.js} +36 -36
- package/dist/chunks/{workspace-xyafkbt0.js → generate-qxjc9qry.js} +3 -3
- package/dist/chunks/{workspace-grtn0enx.js → generate-qycmr1fg.js} +4 -4
- package/dist/chunks/{workspace-2eaaba8k.js → generate-r93b7zqt.js} +26 -26
- package/dist/chunks/{workspace-b61vcdbg.js → generate-rav032ka.js} +9 -9
- package/dist/chunks/{workspace-2cabk1b6.js → generate-rcpb5p8s.js} +14 -14
- package/dist/chunks/{workspace-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-z0cec5bd.js → generate-rgxvve62.js} +14 -14
- package/dist/chunks/{workspace-08t9thee.js → generate-rhvrjctg.js} +5 -5
- package/dist/chunks/{workspace-t1fjxj08.js → generate-rn3rbabn.js} +15 -15
- package/dist/chunks/{workspace-f7gr38pv.js → generate-rtezw65p.js} +5 -5
- package/dist/chunks/{workspace-kzykqk6j.js → generate-s32c0mq7.js} +17 -17
- package/dist/chunks/{workspace-5gjk7y31.js → generate-s83c18hn.js} +4 -4
- package/dist/chunks/{workspace-hqf62ytx.js → generate-sa1wksxx.js} +5 -5
- package/dist/chunks/{workspace-zyk1yjk8.js → generate-scgrse2b.js} +5 -5
- package/dist/chunks/{workspace-aw1g0m68.js → generate-sdg5j0gr.js} +3 -3
- package/dist/chunks/{workspace-7504msxf.js → generate-shaj6nsr.js} +22 -22
- package/dist/chunks/{workspace-30ak4e5k.js → generate-skcnbf3c.js} +8 -8
- package/dist/chunks/{workspace-cvgbrmvq.js → generate-sm7h3s2a.js} +35 -35
- package/dist/chunks/{workspace-dwnnjgz6.js → generate-sn70zx0f.js} +45 -45
- package/dist/chunks/{workspace-rrt0a0ha.js → generate-ss358qx3.js} +3 -3
- package/dist/chunks/{workspace-kprvgbka.js → generate-stqch5en.js} +3 -3
- package/dist/chunks/{workspace-56hrvcw3.js → generate-t24wgfq5.js} +53 -53
- package/dist/chunks/{workspace-t2fc4mz5.js → generate-t2fc4mz5.js} +1 -1
- package/dist/chunks/{workspace-r3p59fwg.js → generate-t60q4fa6.js} +4 -4
- package/dist/chunks/{workspace-qvb3nf84.js → generate-t89fqycx.js} +8 -8
- package/dist/chunks/{workspace-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-z28g1vpv.js → generate-tk6ram5b.js} +32 -32
- package/dist/chunks/{workspace-s76r9yk2.js → generate-v04zxm1e.js} +13 -13
- package/dist/chunks/{workspace-6j68t7ds.js → generate-v8crwhsy.js} +1 -1
- package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-8p3g3wy0.js → generate-vmbkc7t9.js} +11 -11
- package/dist/chunks/{workspace-bx4w3v62.js → generate-vpfh5m6n.js} +44 -44
- package/dist/chunks/{workspace-bacyadyn.js → generate-vycw7md4.js} +4 -4
- package/dist/chunks/{workspace-m6f5ap24.js → generate-vyq6m5zj.js} +17 -17
- package/dist/chunks/{workspace-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/generate-w2505z9s.js +26 -0
- package/dist/chunks/{workspace-qagmmt9n.js → generate-w3s43czq.js} +35 -35
- package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-3wfp78gc.js → generate-w59cqdta.js} +6 -6
- package/dist/chunks/{workspace-cg7s6gpq.js → generate-w6r6e2t1.js} +30 -30
- package/dist/chunks/{workspace-e3gcztwa.js → generate-w9xa6jft.js} +32 -32
- package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-rfmnp9jb.js → generate-wdkjs4sn.js} +4 -4
- package/dist/chunks/{workspace-qx4ps3zc.js → generate-wek9mqa7.js} +20 -20
- package/dist/chunks/{workspace-16m64twp.js → generate-wen6mwdk.js} +19 -19
- package/dist/chunks/{workspace-3d5pf0rw.js → generate-wj7r9zev.js} +11 -11
- package/dist/chunks/{workspace-pqnryrb4.js → generate-wm6dyqg8.js} +9 -9
- package/dist/chunks/{workspace-8a6ws7jr.js → generate-wmz9gz0a.js} +9 -9
- package/dist/chunks/{workspace-1d4zkfab.js → generate-wtskapw1.js} +40 -40
- package/dist/chunks/{workspace-rhjbct0v.js → generate-wv396vej.js} +8 -8
- package/dist/chunks/{workspace-n2thn3nx.js → generate-wxyynt4w.js} +1 -1
- package/dist/chunks/{workspace-1e10y0rh.js → generate-x2r6qgb2.js} +11 -11
- package/dist/chunks/{workspace-desgj5fn.js → generate-x5x2shfn.js} +22 -22
- package/dist/chunks/{workspace-f6626pn0.js → generate-xc7geeyn.js} +14 -14
- package/dist/chunks/{workspace-v0es1rhs.js → generate-xecxzrdp.js} +2 -2
- package/dist/chunks/{workspace-kt4j6m51.js → generate-xfzkycb1.js} +3 -3
- package/dist/chunks/{workspace-xkntkrq7.js → generate-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-ywd8qmyg.js → generate-xm1mczqd.js} +1 -1
- package/dist/chunks/{workspace-8t5jjh5c.js → generate-xrhtfqv1.js} +11 -11
- package/dist/chunks/{workspace-hr5bc81f.js → generate-xtvvsfs4.js} +5 -5
- package/dist/chunks/{workspace-04792bgd.js → generate-y0h8bdjy.js} +11 -11
- package/dist/chunks/{workspace-smq3dd2v.js → generate-y0pxv80g.js} +36 -36
- package/dist/chunks/{workspace-easapccs.js → generate-y0ty5fha.js} +6 -6
- package/dist/chunks/{workspace-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-vbrdpthe.js → generate-y5dj3dxk.js} +6 -6
- package/dist/chunks/{workspace-9vprb1nh.js → generate-yeknwk6m.js} +12 -12
- package/dist/chunks/{workspace-bf3ep3zf.js → generate-yf954nqe.js} +15 -15
- package/dist/chunks/{workspace-c1ka28h1.js → generate-yks7agkx.js} +5 -5
- package/dist/chunks/{workspace-2jygvae8.js → generate-yszghjhd.js} +11 -11
- package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-k2vb740h.js → generate-z9dqbzf9.js} +9 -9
- package/dist/chunks/{workspace-bjz294g4.js → generate-zawfarhf.js} +20 -20
- package/dist/chunks/{workspace-tdj9jt6q.js → generate-zc3qgdkd.js} +22 -22
- package/dist/chunks/{workspace-bj5ap212.js → generate-zf82b8f4.js} +51 -51
- package/dist/chunks/{workspace-hgnewnvf.js → generate-zh3bn5vc.js} +3 -3
- package/dist/chunks/{workspace-ewx9y0me.js → generate-zkz1dm36.js} +7 -7
- package/dist/chunks/{workspace-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-x661k3y3.js → generate-zw2hpfmh.js} +4 -4
- package/dist/chunks/{workspace-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- 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 +102 -102
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- 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 +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/workspace-2qxg5hny.js +0 -253
- package/dist/chunks/workspace-619r8v3y.js +0 -18
- package/dist/chunks/workspace-j49cp3s0.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-8cf4ch7y.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service50,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node52
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service50 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service50, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service50.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node52 = makeGlobalNode({ service: Service50, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service50, node52, exports_environment };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
|
-
node84
|
|
8
|
-
} from "./workspace-2cabk1b6.js";
|
|
4
|
+
} from "./generate-wdkjs4sn.js";
|
|
9
5
|
import {
|
|
10
6
|
Service78,
|
|
11
|
-
login2,
|
|
12
7
|
node82
|
|
13
|
-
} from "./
|
|
8
|
+
} from "./generate-rcpb5p8s.js";
|
|
9
|
+
import {
|
|
10
|
+
Service82,
|
|
11
|
+
login2,
|
|
12
|
+
node86
|
|
13
|
+
} from "./generate-8cf4ch7y.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput3,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event8,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID5,
|
|
28
|
+
Info: () => Info8,
|
|
29
|
+
NotFoundError: () => NotFoundError5,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID5 = Pty.ID;
|
|
43
|
+
var Info8 = Pty.Info;
|
|
44
44
|
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID5
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID5
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service42 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service78;
|
|
62
|
+
const shell = yield* Service82;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID5.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service42.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node44 = makeLocationNode({
|
|
273
|
+
service: Service42,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87,
|
|
275
|
+
deps: [node87, node82, node86]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID5, Info8, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service42, node44, exports_pty, Event8 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
node60
|
|
7
|
+
} from "./generate-e9a6z8qn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service56,
|
|
17
|
+
node: () => node59,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service56 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service57;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service56.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node60] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service56, readText2, syncTextBom2, node59, exports_file_mutation };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service47
|
|
7
|
+
} from "./generate-ce0tw18p.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-y0ty5fha.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service47;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service66,
|
|
4
|
+
node69
|
|
5
|
+
} from "./generate-d7yzhwrd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
node75
|
|
19
|
-
} from "./workspace-caf87exy.js";
|
|
20
|
-
import {
|
|
21
|
-
Service66,
|
|
17
|
+
Service65,
|
|
22
18
|
node68
|
|
23
|
-
} from "./
|
|
19
|
+
} from "./generate-p5cn45b4.js";
|
|
20
|
+
import {
|
|
21
|
+
Service63,
|
|
22
|
+
node66
|
|
23
|
+
} from "./generate-x2r6qgb2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service64,
|
|
29
|
+
node67,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-qn8ykj5w.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service62,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer23,
|
|
51
|
+
node: () => node65,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID8,
|
|
62
|
+
modelID: ID7,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID8,
|
|
72
|
+
modelID: ID7,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID8,
|
|
83
|
+
modelID: ID7,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID8,
|
|
94
|
+
modelID: ID7,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID8,
|
|
106
|
+
modelID: ID7,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID8,
|
|
116
|
+
modelID: ID7,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service62 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var
|
|
269
|
-
const providers = yield*
|
|
270
|
-
const models = yield*
|
|
271
|
-
const integrations = yield*
|
|
268
|
+
var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
269
|
+
const providers = yield* Service65;
|
|
270
|
+
const models = yield* Service64;
|
|
271
|
+
const integrations = yield* Service66;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service63;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
276
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
277
277
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
278
278
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
279
279
|
const runtimeInfo = {
|
|
@@ -300,7 +300,7 @@ var layer21 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service62.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
322
|
-
layer:
|
|
323
|
-
deps: [
|
|
320
|
+
var node65 = makeLocationNode({
|
|
321
|
+
service: Service62,
|
|
322
|
+
layer: layer23,
|
|
323
|
+
deps: [node68, node67, node69, Npm.node, node66]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node65, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin19,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin19 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin19, exports_identity };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./generate-rcpb5p8s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./generate-4daej8pc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./generate-8703qa3s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make10
|
|
12
|
+
} from "./generate-73tb2d7t.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service52;
|
|
36
|
+
const formatter = yield* Service15;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service78;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin21 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make10({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin36, exports_formatter };
|