@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./generate-67aj8cse.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./generate-rcpb5p8s.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./generate-4daej8pc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service82,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-8cf4ch7y.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./generate-14fzmqmc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make11
|
|
20
|
+
} from "./generate-y0h8bdjy.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin39
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin39 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service52;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin31 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service78;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service82;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service76;
|
|
62
|
+
const subagents = yield* make11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin31 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin39, exports_command2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./generate-jp3y83b8.js";
|
|
10
10
|
import {
|
|
11
11
|
Info10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-t2fc4mz5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./generate-ezk2k2nc.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-qgn6gcr1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info12
|
|
21
|
+
} from "./generate-pcj7teyq.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-ftha1bk5.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -102,7 +102,7 @@ function normalize2(input) {
|
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info12, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gw6mp5xk.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-xm1mczqd.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-e47yjvcb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./generate-bk53ycjv.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service59,
|
|
16
|
+
node62
|
|
17
|
+
} from "./generate-kctcsxwr.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service48,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node50,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service48 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service59;
|
|
110
|
+
return Service48.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node50 = makeGlobalNode({
|
|
171
|
+
service: Service48,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node62]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node50, exports_repository_cache };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info26,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-ss358qx3.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-me39y7pc.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-wdkjs4sn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./generate-dbztx8wp.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service36,
|
|
24
|
+
node38
|
|
25
|
+
} from "./generate-j5w2yx54.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-kb9j3d72.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node37
|
|
34
|
+
} from "./generate-wek9mqa7.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./generate-ntd1qsse.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-en16kr9h.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./generate-69t9n7ne.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node58
|
|
51
|
+
} from "./generate-yszghjhd.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./generate-y0ty5fha.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service75,
|
|
68
|
+
node79
|
|
69
|
+
} from "./generate-xc7geeyn.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
71
|
+
Service58,
|
|
72
72
|
node61
|
|
73
|
-
} from "./
|
|
73
|
+
} from "./generate-yf954nqe.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service33,
|
|
76
|
+
node36
|
|
77
|
+
} from "./generate-f6dd175t.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./generate-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service29,
|
|
83
|
+
node32
|
|
84
|
+
} from "./generate-xrhtfqv1.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./generate-7xypvt1j.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./generate-2z4yerbz.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service69,
|
|
93
|
+
node72
|
|
94
|
+
} from "./generate-rav032ka.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service19,
|
|
100
|
+
node22
|
|
101
|
+
} from "./generate-t24wgfq5.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service50,
|
|
104
|
+
node52
|
|
105
|
+
} from "./generate-t89fqycx.js";
|
|
106
106
|
import {
|
|
107
107
|
make14
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./generate-w6r6e2t1.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./generate-vmbkc7t9.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./generate-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID16,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info26,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput5;
|
|
152
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service33;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service29;
|
|
163
|
+
const store = yield* Service75;
|
|
164
|
+
const instances = yield* Service36;
|
|
165
|
+
const moves = yield* Service19;
|
|
166
|
+
const jobs = yield* Service58;
|
|
167
|
+
const environments = yield* Service50;
|
|
168
|
+
const locations = yield* Service69;
|
|
169
169
|
const sessions = yield* make14();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service18.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service36, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node21 = Node.makeGlobalNode({
|
|
331
|
+
service: Service18,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
334
|
node61,
|
|
335
|
-
|
|
335
|
+
node52,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
node85,
|
|
339
|
-
node57,
|
|
340
|
-
node38,
|
|
341
|
-
llmClient2,
|
|
342
|
-
node63,
|
|
343
|
-
node60,
|
|
344
|
-
node58,
|
|
345
|
-
node32,
|
|
346
|
-
node33,
|
|
347
338
|
node83,
|
|
339
|
+
node36,
|
|
340
|
+
node32,
|
|
341
|
+
llmClient2,
|
|
342
|
+
node79,
|
|
343
|
+
node38,
|
|
344
|
+
node37,
|
|
345
|
+
node22,
|
|
346
|
+
node23,
|
|
347
|
+
node72,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node58
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin30,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin30 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin30, exports_tool_input_repair };
|