@opencode/core 0.0.0-dev-21056 → 0.0.0-dev-21059
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{form-xc5q4635.js → agent-07y8yssa.js} +13 -13
- package/dist/chunks/{form-eq84fw80.js → agent-08fthye5.js} +45 -45
- package/dist/chunks/{form-md48st27.js → agent-09dwq0k8.js} +11 -11
- package/dist/chunks/{form-vn2rg10d.js → agent-0datvkzx.js} +27 -27
- package/dist/chunks/{form-1m4afec7.js → agent-0dq5ytza.js} +4 -4
- package/dist/chunks/{form-sg80mhsz.js → agent-0mp3yd4y.js} +11 -11
- package/dist/chunks/{form-nsggt6bk.js → agent-0v56fe9p.js} +8 -8
- package/dist/chunks/{form-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-5gw4qxnr.js → agent-0vk3wfpr.js} +5 -5
- package/dist/chunks/{form-aa8ad63g.js → agent-10mgaypy.js} +14 -14
- package/dist/chunks/{form-ghpxedsq.js → agent-120mm9fe.js} +21 -21
- package/dist/chunks/{form-scbwr62e.js → agent-13egsp17.js} +18 -18
- package/dist/chunks/{form-4rxk4s51.js → agent-176qrfyr.js} +11 -11
- package/dist/chunks/{form-f2n192rq.js → agent-1acjjqhc.js} +4 -4
- package/dist/chunks/{form-ywt8jp22.js → agent-1ffvrpkg.js} +6 -6
- package/dist/chunks/{form-g5qayb98.js → agent-1hj14pj4.js} +23 -23
- package/dist/chunks/{form-5v3dh65r.js → agent-1k68ks32.js} +1 -1
- package/dist/chunks/{form-0gypk62h.js → agent-1mh1r30f.js} +18 -18
- package/dist/chunks/{form-jm30c9hq.js → agent-1zgm74j7.js} +4 -4
- package/dist/chunks/{form-9mv5neg2.js → agent-25zgp73e.js} +29 -29
- package/dist/chunks/{form-z7wjcsc2.js → agent-26c5b08v.js} +22 -22
- package/dist/chunks/{form-cvykycyf.js → agent-2cz1eswr.js} +4 -4
- package/dist/chunks/{form-zq2dpeyp.js → agent-2dw3jvkf.js} +37 -37
- package/dist/chunks/{form-gbh65n66.js → agent-2ryng5r3.js} +4 -4
- package/dist/chunks/{form-ktccht67.js → agent-2tba787a.js} +9 -9
- package/dist/chunks/{form-31xfzrxg.js → agent-31xfzrxg.js} +2 -2
- package/dist/chunks/{form-1dqjdm82.js → agent-3770a3t0.js} +13 -13
- package/dist/chunks/{form-xkqcsmy8.js → agent-3aqvrwqh.js} +3 -3
- package/dist/chunks/{form-fq26d1sh.js → agent-3dacjcw5.js} +5 -5
- package/dist/chunks/{form-c83m7t30.js → agent-3e3ts2k0.js} +3 -3
- package/dist/chunks/{form-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-mdd2m0z3.js → agent-3ke0h2vq.js} +24 -24
- package/dist/chunks/{form-pb9ytg2c.js → agent-3nt2w26v.js} +1 -1
- package/dist/chunks/{form-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-amk0skfj.js → agent-3v1rmssb.js} +23 -23
- package/dist/chunks/{form-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-s8p93pn6.js → agent-3zst7r5n.js} +4 -4
- package/dist/chunks/{form-h84nxchg.js → agent-40ze75wf.js} +33 -33
- package/dist/chunks/{form-abza8qdr.js → agent-43m0923n.js} +20 -20
- package/dist/chunks/{form-yra4mjqj.js → agent-475aaysq.js} +8 -8
- package/dist/chunks/{form-y11brde6.js → agent-4at5033j.js} +21 -21
- package/dist/chunks/{form-qqxx7jtk.js → agent-4cx4cnzf.js} +19 -19
- package/dist/chunks/{form-afvw2z2s.js → agent-4py5fpra.js} +39 -39
- package/dist/chunks/{form-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{form-wh6zw745.js → agent-57myy5jh.js} +5 -5
- package/dist/chunks/{form-0nych2mn.js → agent-58dzcpvt.js} +11 -11
- package/dist/chunks/{form-k4dzxsgh.js → agent-598gff9k.js} +29 -29
- package/dist/chunks/{form-jmpkbkgh.js → agent-59pb1bst.js} +88 -88
- package/dist/chunks/{form-m39w2evq.js → agent-5ffyefh4.js} +26 -26
- package/dist/chunks/{form-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-1h0y1afe.js → agent-5sq35qhm.js} +20 -20
- package/dist/chunks/{form-7b61459q.js → agent-6fcpqzzd.js} +4 -4
- package/dist/chunks/{form-rzyrpfxb.js → agent-6g1cr3nb.js} +13 -13
- package/dist/chunks/{form-fpecnkgp.js → agent-6g7e4dd5.js} +5 -5
- package/dist/chunks/{form-4hhgvnax.js → agent-6hk8xqds.js} +4 -4
- package/dist/chunks/{form-yprxz05b.js → agent-6k0cajn2.js} +20 -20
- package/dist/chunks/{form-5jzxxy29.js → agent-6r7wd4s9.js} +20 -20
- package/dist/chunks/{form-ebs300h9.js → agent-6tw9cd06.js} +16 -16
- package/dist/chunks/{form-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-gdjmt365.js → agent-70acndry.js} +47 -47
- package/dist/chunks/{form-r4yqrmdq.js → agent-70y17xeh.js} +5 -5
- package/dist/chunks/{form-5hsq30f6.js → agent-71byd0nn.js} +34 -34
- package/dist/chunks/{form-92swnv4m.js → agent-73kdj4zj.js} +8 -8
- package/dist/chunks/{form-smxpbhh2.js → agent-76gx3gef.js} +45 -45
- package/dist/chunks/{form-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{form-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-we028rk3.js → agent-7j2vym7r.js} +24 -24
- package/dist/chunks/{form-h4ndeedy.js → agent-7j38m80p.js} +22 -22
- package/dist/chunks/{form-rcfq2fyt.js → agent-7mq7nmkg.js} +12 -12
- package/dist/chunks/{form-53f7afnf.js → agent-7q9429tc.js} +16 -16
- package/dist/chunks/{form-2fva7j8r.js → agent-7zpkz1ag.js} +32 -32
- package/dist/chunks/{form-hzwk08ya.js → agent-84mt6kxk.js} +10 -10
- package/dist/chunks/{form-w1eejvng.js → agent-84txncab.js} +5 -5
- package/dist/chunks/agent-8920dkqx.js +253 -0
- package/dist/chunks/{form-9anabrsm.js → agent-8jjtjp8k.js} +54 -54
- package/dist/chunks/{form-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-5hwcexqa.js → agent-8ytc3qm4.js} +22 -22
- package/dist/chunks/{form-91qna3x0.js → agent-91qna3x0.js} +3 -3
- package/dist/chunks/{form-wpx4gzz2.js → agent-9656bada.js} +31 -31
- package/dist/chunks/{form-rgh00m86.js → agent-9ejc3kek.js} +11 -11
- package/dist/chunks/{form-drk6xwjx.js → agent-9j3abkkx.js} +3 -3
- package/dist/chunks/{form-43e2rsb3.js → agent-9t0y1ztz.js} +3 -3
- package/dist/chunks/{form-q9wtn0es.js → agent-9wpgc5d2.js} +17 -17
- package/dist/chunks/{form-hbm6e8t2.js → agent-9yxrcrk2.js} +22 -22
- package/dist/chunks/{form-k68ke2bn.js → agent-a3vhmvx0.js} +53 -53
- package/dist/chunks/{form-qp0mb5x1.js → agent-a49by44p.js} +20 -20
- package/dist/chunks/{form-jsxy3aak.js → agent-acgt48p6.js} +29 -29
- package/dist/chunks/{form-f9mm3zn5.js → agent-an57bb0v.js} +11 -11
- package/dist/chunks/{form-jefbb03d.js → agent-ap7erzbb.js} +42 -42
- package/dist/chunks/{form-sq1tv70q.js → agent-axn1dk7m.js} +18 -18
- package/dist/chunks/{form-xgg5jmv3.js → agent-azndqj98.js} +16 -16
- package/dist/chunks/{form-hdkng2sj.js → agent-b3f8fkhc.js} +5 -5
- package/dist/chunks/{form-8gkcv90v.js → agent-b8n2r79a.js} +25 -25
- package/dist/chunks/{form-wp6gr4w3.js → agent-b8s5yqvg.js} +11 -11
- package/dist/chunks/{form-5r1bq3xb.js → agent-b99nrxjj.js} +23 -23
- package/dist/chunks/{form-8998nv06.js → agent-bb86f272.js} +11 -11
- package/dist/chunks/{form-vqp5rvg2.js → agent-bbgs6xmq.js} +16 -16
- package/dist/chunks/{form-ctz7jbry.js → agent-bh0zzf2s.js} +8 -8
- package/dist/chunks/{form-sh0hqzfg.js → agent-btjxhes9.js} +12 -12
- package/dist/chunks/{form-k4yyvv17.js → agent-bv8c7vet.js} +11 -11
- package/dist/chunks/{form-n0zxahqz.js → agent-bxdp1qj4.js} +37 -37
- package/dist/chunks/{form-gkmwv4ke.js → agent-c1ezcj9p.js} +13 -13
- package/dist/chunks/{form-rj3eygr5.js → agent-c41wscbt.js} +2 -2
- package/dist/chunks/{form-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
- package/dist/chunks/{form-e8xabe72.js → agent-c96shp8w.js} +7 -7
- package/dist/chunks/{form-agpdhjxs.js → agent-c9e0ykqz.js} +28 -28
- package/dist/chunks/{form-4kx1mebd.js → agent-cnw0s3pm.js} +11 -11
- package/dist/chunks/{form-vs9744ez.js → agent-cp2e2e5x.js} +15 -15
- package/dist/chunks/{form-zwb87n4v.js → agent-d3x6x8ct.js} +23 -23
- package/dist/chunks/{form-t6yga7mn.js → agent-desw8mjx.js} +27 -27
- package/dist/chunks/{form-6dcqwygt.js → agent-df900zta.js} +15 -15
- package/dist/chunks/{form-5gzka0qa.js → agent-dn7ydhqs.js} +332 -332
- package/dist/chunks/{form-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
- package/dist/chunks/{form-vktwk5kv.js → agent-dvep9rg9.js} +9 -9
- package/dist/chunks/{form-b5pcwx3b.js → agent-dwm3anjr.js} +30 -30
- package/dist/chunks/{form-qymcxhzz.js → agent-e314xmzp.js} +2 -2
- package/dist/chunks/{form-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-vjabz57c.js → agent-emtj3tbf.js} +16 -16
- package/dist/chunks/{form-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
- package/dist/chunks/{form-39r0hfe8.js → agent-f5gzyxsv.js} +9 -9
- package/dist/chunks/{form-hk0rgc6d.js → agent-fbeb1wa5.js} +11 -11
- package/dist/chunks/{form-wsj0w0mv.js → agent-fbq8j98h.js} +14 -14
- package/dist/chunks/{form-qgn6gcr1.js → agent-fcrkznn8.js} +5 -5
- package/dist/chunks/{form-3yxrmzra.js → agent-fkhcryxm.js} +9 -9
- package/dist/chunks/{form-06wf3t83.js → agent-fn4x26t7.js} +4 -4
- package/dist/chunks/{form-gn5zqh62.js → agent-fr4rxre2.js} +32 -32
- package/dist/chunks/{form-cwa6csj7.js → agent-ft3hqk2c.js} +9 -9
- package/dist/chunks/{form-t04neh10.js → agent-fx9jxwhh.js} +6 -6
- package/dist/chunks/{form-khmqacep.js → agent-fxaymqdw.js} +4 -4
- package/dist/chunks/{form-4cask09z.js → agent-g6ncrc2a.js} +14 -14
- package/dist/chunks/{form-9wsxw2fw.js → agent-g8pbgkrs.js} +17 -17
- package/dist/chunks/{form-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-g1xp79vn.js → agent-gftv0dff.js} +19 -19
- package/dist/chunks/{form-0r3c1bmw.js → agent-gj71zhbs.js} +5 -5
- package/dist/chunks/{form-g2fkb42c.js → agent-gwkjka7r.js} +10 -10
- package/dist/chunks/{form-7b4m8qnh.js → agent-gza6rqz1.js} +9 -9
- package/dist/chunks/{form-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-h71w788e.js → agent-h71w788e.js} +2 -2
- package/dist/chunks/{form-x9rba73f.js → agent-hfbyhya8.js} +10 -10
- package/dist/chunks/{form-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-7w913k7t.js → agent-hk5w54gx.js} +9 -9
- package/dist/chunks/{form-k1f52h9q.js → agent-hmf6h8tj.js} +14 -14
- package/dist/chunks/{form-y3cajcwy.js → agent-hrcr6mwe.js} +11 -11
- package/dist/chunks/{form-gy73by6h.js → agent-hy5rne45.js} +27 -27
- package/dist/chunks/{form-mtpeagzc.js → agent-hzrfc1p4.js} +3 -3
- package/dist/chunks/{form-pf7swax9.js → agent-j0mtf0c9.js} +54 -54
- package/dist/chunks/{form-smb0a5xb.js → agent-j4mjvx72.js} +29 -29
- package/dist/chunks/{form-h1xp1v3c.js → agent-j55ztwk7.js} +27 -27
- package/dist/chunks/{form-fe91w0vx.js → agent-j6gr24hv.js} +13 -13
- package/dist/chunks/{form-tc59g35x.js → agent-j88gsrc2.js} +6 -6
- package/dist/chunks/{form-9a7kxymn.js → agent-jfrhrggt.js} +32 -32
- package/dist/chunks/{form-mt70e7nm.js → agent-k6q0jycv.js} +36 -36
- package/dist/chunks/{form-yhrg5rh5.js → agent-k8z8vrp8.js} +5 -5
- package/dist/chunks/{form-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-p9tj0t7z.js → agent-kzcb1jca.js} +5 -5
- package/dist/chunks/{form-kj1apabk.js → agent-m341j4am.js} +22 -22
- package/dist/chunks/{form-ef7sefg3.js → agent-m48ydh7z.js} +50 -50
- package/dist/chunks/{form-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{form-kqh3wzdw.js → agent-me8drbfe.js} +31 -31
- package/dist/chunks/{form-t5acvayd.js → agent-mjc8m2em.js} +36 -36
- package/dist/chunks/{form-6k9x50em.js → agent-mvnt7d01.js} +15 -15
- package/dist/chunks/{form-nxtvghd9.js → agent-mw9nhf2x.js} +3 -3
- package/dist/chunks/{form-3nfgarsn.js → agent-mxabp7zc.js} +24 -24
- package/dist/chunks/{form-gqtdsdt7.js → agent-mxvxcxwy.js} +4 -4
- package/dist/chunks/{form-8a9bdsjh.js → agent-n3df6fgn.js} +66 -66
- package/dist/chunks/{form-qpb8gnty.js → agent-n52ad204.js} +17 -17
- package/dist/chunks/{form-yjpft9tp.js → agent-n7gz7dkb.js} +19 -19
- package/dist/chunks/agent-n95b3jav.js +18 -0
- package/dist/chunks/{form-ev7yx7rh.js → agent-nhfjry95.js} +27 -27
- package/dist/chunks/{form-8dj74pby.js → agent-npw39rc8.js} +8 -8
- package/dist/chunks/{form-2scksz81.js → agent-npza5r50.js} +22 -22
- package/dist/chunks/{form-tj6ck4g6.js → agent-ns8hhn76.js} +11 -11
- package/dist/chunks/{form-y7m3bmgm.js → agent-p59b6n5j.js} +11 -11
- package/dist/chunks/{form-t6wskrdm.js → agent-p68t7hkv.js} +193 -193
- package/dist/chunks/{form-y4x76mtf.js → agent-p68x8en9.js} +19 -19
- package/dist/chunks/{form-jxw20gqk.js → agent-pdz643x3.js} +12 -12
- package/dist/chunks/{form-g686f6pq.js → agent-phz50fbd.js} +9 -9
- package/dist/chunks/{form-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{form-nffbc6ps.js → agent-pnzf6mjf.js} +1 -1
- package/dist/chunks/{form-x1g3ar2b.js → agent-pqk7fwvb.js} +9 -9
- package/dist/chunks/{form-5yky707k.js → agent-pxnnf3sj.js} +10 -10
- package/dist/chunks/{form-rkprpv83.js → agent-py3kkmfq.js} +2 -2
- package/dist/chunks/{form-8fwg2sew.js → agent-pz17d9xg.js} +5 -5
- package/dist/chunks/{form-b141wqtp.js → agent-q159fzra.js} +20 -20
- package/dist/chunks/{form-2n2xmxxy.js → agent-q519ga1a.js} +47 -47
- package/dist/chunks/{form-8gwvx2zf.js → agent-q88xdd0q.js} +15 -15
- package/dist/chunks/{form-drf1yszw.js → agent-qbas706v.js} +25 -25
- package/dist/chunks/{form-eppts6fp.js → agent-qe7caw4f.js} +32 -32
- package/dist/chunks/{form-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-6qzrsqm2.js → agent-qnmgnxnk.js} +33 -33
- package/dist/chunks/{form-sxfhfr8n.js → agent-qpqsqxka.js} +22 -22
- package/dist/chunks/{form-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{form-4zrme1de.js → agent-qwean1e1.js} +16 -16
- package/dist/chunks/{form-ed1g29hy.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{form-yrk407yr.js → agent-r365gfv3.js} +24 -24
- package/dist/chunks/{form-sxzvkvgj.js → agent-r5wgqceq.js} +6 -6
- package/dist/chunks/{form-vf2z1tm7.js → agent-r8eecgca.js} +21 -21
- package/dist/chunks/{form-zac62jp8.js → agent-rc0eda3w.js} +7 -7
- package/dist/chunks/{form-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-0gdmqesm.js → agent-rhjbct0v.js} +4 -4
- package/dist/chunks/{form-x1rzw1tj.js → agent-rrd63aa5.js} +26 -26
- package/dist/chunks/{form-2vs2nh1n.js → agent-rwm5vee1.js} +4 -4
- package/dist/chunks/{form-ryr25ayn.js → agent-ryr25ayn.js} +1 -1
- package/dist/chunks/{form-x390daxx.js → agent-s5bmn3fh.js} +35 -35
- package/dist/chunks/{form-64bnfsgg.js → agent-sgz82gsd.js} +19 -19
- package/dist/chunks/{form-akbddyr6.js → agent-sqgae8e7.js} +17 -17
- package/dist/chunks/{form-6w65dy4w.js → agent-st9476f7.js} +25 -25
- package/dist/chunks/{form-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{form-rkg4v3e5.js → agent-sz15zhhw.js} +9 -9
- package/dist/chunks/{form-tb8cc3q5.js → agent-t59vet7a.js} +9 -9
- package/dist/chunks/{form-hng1cgat.js → agent-t5yst9z9.js} +13 -13
- package/dist/chunks/{form-zvq27828.js → agent-t7rvx3z8.js} +5 -5
- package/dist/chunks/{form-a4mbvygq.js → agent-t9157dv5.js} +23 -23
- package/dist/chunks/{form-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-89znhe33.js → agent-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-0cg871e2.js → agent-tdqj5rj9.js} +5 -5
- package/dist/chunks/{form-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{form-rtg907x2.js → agent-tf2nhsz8.js} +9 -9
- package/dist/chunks/{form-gmprqjvy.js → agent-tgvn7qv7.js} +11 -11
- package/dist/chunks/{form-rert0e01.js → agent-tkb22qbm.js} +2 -2
- package/dist/chunks/{form-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{form-cmwkp3r5.js → agent-tpw6cwsb.js} +8 -8
- package/dist/chunks/{form-nbtrgnjj.js → agent-tvktx62v.js} +6 -6
- package/dist/chunks/{form-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{form-jpbcjddy.js → agent-v0v9zhgd.js} +32 -32
- package/dist/chunks/{form-5xxj70nj.js → agent-v2mxr9ph.js} +34 -34
- package/dist/chunks/{form-8xjcxybm.js → agent-v73vpk9k.js} +10 -10
- package/dist/chunks/{form-wngp4gtt.js → agent-v7m0z00c.js} +16 -16
- package/dist/chunks/{form-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{form-127b9nq3.js → agent-vjjaysxc.js} +2 -2
- package/dist/chunks/agent-vmbjch0v.js +26 -0
- package/dist/chunks/{form-208m9g5p.js → agent-vn5kn1xa.js} +3 -3
- package/dist/chunks/{form-xet2j094.js → agent-vqd49qwt.js} +59 -59
- package/dist/chunks/{form-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-457z7jt0.js → agent-w1eqcter.js} +33 -33
- package/dist/chunks/{form-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-gjswpdrn.js → agent-w8frm7c7.js} +5 -5
- package/dist/chunks/{form-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{form-4vwczy25.js → agent-wgahhr0x.js} +6 -6
- package/dist/chunks/{form-kqk0xaah.js → agent-wjtwcy2c.js} +13 -13
- package/dist/chunks/{form-jdcspryj.js → agent-ww5bxnkm.js} +23 -23
- package/dist/chunks/{form-r4c0bnz8.js → agent-x05pdjgt.js} +11 -11
- package/dist/chunks/{form-gfgv4jym.js → agent-x2p9rnd2.js} +44 -44
- package/dist/chunks/{form-t3rpkjaz.js → agent-x39k8923.js} +17 -17
- package/dist/chunks/{form-8bkvq3rv.js → agent-x4fsxtvp.js} +18 -18
- package/dist/chunks/{form-j31rstgq.js → agent-x6ekcm9n.js} +4 -4
- package/dist/chunks/{form-drwq78ky.js → agent-xfkkasph.js} +4 -4
- package/dist/chunks/{form-hcg28tba.js → agent-xp6nq9tj.js} +92 -92
- package/dist/chunks/{form-06szj819.js → agent-xryj725v.js} +5 -5
- package/dist/chunks/{form-nza4bhrq.js → agent-xx5ebepc.js} +5 -5
- package/dist/chunks/{form-4sqaep4n.js → agent-y06egy23.js} +15 -15
- package/dist/chunks/{form-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-9pkqejgm.js → agent-y4j9axvr.js} +4 -4
- package/dist/chunks/{form-y71avatq.js → agent-y71avatq.js} +1 -1
- package/dist/chunks/{form-k4z5awvr.js → agent-y7p2skpd.js} +17 -17
- package/dist/chunks/{form-zv8cwpd2.js → agent-ycw2k4m5.js} +11 -11
- package/dist/chunks/{form-7gmkp606.js → agent-yesqerhw.js} +3 -3
- package/dist/chunks/{form-hv6pheye.js → agent-yf1wa02y.js} +18 -18
- package/dist/chunks/{form-5s9m1zwe.js → agent-ykn3eabp.js} +38 -38
- package/dist/chunks/{form-8zp79j7j.js → agent-yrcj3v3g.js} +4 -4
- package/dist/chunks/{form-84qk9gsz.js → agent-yynp9xvp.js} +43 -43
- package/dist/chunks/{form-wj76ss2k.js → agent-z0aj456m.js} +4 -4
- package/dist/chunks/{form-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-mcehh85s.js → agent-z9tz5eek.js} +6 -6
- package/dist/chunks/{form-56k16gap.js → agent-zfm7v8bv.js} +14 -14
- package/dist/chunks/{form-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-d9m13e9r.js → agent-zvj6924a.js} +6 -6
- package/dist/chunks/{form-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-ra4n65wq.js → agent-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +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 +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +101 -101
- 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 +357 -357
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -354
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +167 -167
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/form-9zdhvgqs.js +0 -18
- package/dist/chunks/form-dfpckm2y.js +0 -253
- package/dist/chunks/form-wvhg3a55.js +0 -26
- /package/dist/chunks/{form-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./form-wsj0w0mv.js";
|
|
5
|
-
import {
|
|
6
|
-
Event21,
|
|
7
2
|
Service83,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-fbq8j98h.js";
|
|
5
|
+
import {
|
|
6
|
+
Event18,
|
|
7
|
+
Service77,
|
|
8
|
+
node80
|
|
9
|
+
} from "./agent-9656bada.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service53,
|
|
12
|
+
node56
|
|
13
|
+
} from "./agent-mxabp7zc.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node82
|
|
20
|
+
} from "./agent-btjxhes9.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-6tw9cd06.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-v73vpk9k.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service54,
|
|
37
|
+
Event13,
|
|
38
|
+
node57
|
|
39
|
+
} from "./agent-3v1rmssb.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./agent-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options8,
|
|
49
|
+
Service: () => Service52,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer21,
|
|
54
|
+
node: () => node55,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options8 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service52 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service52, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service79;
|
|
102
|
+
const watcher = yield* Service53;
|
|
103
|
+
const bus = yield* Service83;
|
|
104
|
+
const credentials = yield* Service77;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service54;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -186,7 +186,7 @@ var layer22 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
188
188
|
return [
|
|
189
|
-
...yield* Effect.forEach(
|
|
189
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
190
190
|
new Directory({ type: "directory", path: directory })
|
|
191
191
|
];
|
|
192
192
|
});
|
|
@@ -254,8 +254,8 @@ var layer22 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var layer22 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
268
268
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
269
269
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
270
270
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
271
|
-
const candidates =
|
|
271
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
272
272
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
273
273
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
274
274
|
`;
|
|
@@ -283,7 +283,7 @@ var layer22 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service52.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer22 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured8(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
301
|
-
layer:
|
|
300
|
+
service: Service52,
|
|
301
|
+
layer: layer21(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node56,
|
|
304
|
+
node86,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node82,
|
|
308
|
+
node80,
|
|
309
|
+
node57,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node55 = configured8();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options8, Service52, Test2, testLayer2, layer21, configured8, node55, exports_config };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
node85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-3dacjcw5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./agent-btjxhes9.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make12
|
|
16
|
+
} from "./agent-zvj6924a.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service21,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node24
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service21 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service21.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node24 = makeLocationNode({
|
|
61
|
+
service: Service21,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node82, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service21, node24, exports_strategies };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./agent-nhfjry95.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./agent-vqd49qwt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service28
|
|
14
|
+
} from "./agent-5ffyefh4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin14,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin14 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service78;
|
|
54
|
+
const websearch = yield* Service28;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin14, exports_websearch };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-40ze75wf.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-k6q0jycv.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./agent-a3vhmvx0.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-vn5kn1xa.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin42
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service52;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -202,4 +202,4 @@ function configuredProviders(entries) {
|
|
|
202
202
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin42, exports_provider };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-fbq8j98h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node56
|
|
7
|
+
} from "./agent-mxabp7zc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service12,
|
|
10
|
+
node14
|
|
11
|
+
} from "./agent-hy5rne45.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./agent-hfbyhya8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service39
|
|
17
|
+
} from "./agent-n95b3jav.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node21,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./agent-m341j4am.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service7,
|
|
24
|
+
node9
|
|
25
|
+
} from "./agent-tpw6cwsb.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-dn7ydhqs.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make8,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-hmf6h8tj.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service3,
|
|
38
|
+
node5
|
|
39
|
+
} from "./agent-6g1cr3nb.js";
|
|
40
40
|
import {
|
|
41
41
|
Service6,
|
|
42
42
|
node8
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./agent-h71w788e.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./agent-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer4,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node4
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,13 +137,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
146
|
-
const bus = yield*
|
|
140
|
+
const managed = yield* Service15;
|
|
141
|
+
const registry = yield* Service39;
|
|
142
|
+
const sdk = yield* Service3;
|
|
143
|
+
const instance = yield* Service7;
|
|
144
|
+
const sources = yield* Service12;
|
|
145
|
+
const modules = yield* make8();
|
|
146
|
+
const bus = yield* Service83;
|
|
147
147
|
const updates = yield* Service6;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node21,
|
|
224
|
+
node5,
|
|
224
225
|
node9,
|
|
225
|
-
|
|
226
|
-
node6,
|
|
226
|
+
node14,
|
|
227
227
|
node8,
|
|
228
|
-
|
|
228
|
+
node86,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node56,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer4,
|
|
240
|
+
export { layer4, node4, exports_supervisor };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-x39k8923.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./agent-btjxhes9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service67,
|
|
13
|
+
node70
|
|
14
|
+
} from "./agent-vqd49qwt.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
|
+
node: () => node29,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service26 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service79;
|
|
55
|
+
const permission = yield* Service67;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service26.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [FSUtil.node, node82, node70] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service26, resolvePath2, node29, exports_file_access };
|