@opencode/core 0.0.0-dev-21662 → 0.0.0-dev-21670
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{mime-034tev2y.js → reference-034tev2y.js} +2 -2
- package/dist/chunks/reference-07cvc9wn.js +257 -0
- package/dist/chunks/{mime-m5y7mrec.js → reference-0aabztd5.js} +37 -37
- package/dist/chunks/{mime-7hkznkk2.js → reference-0dnn63dc.js} +22 -22
- package/dist/chunks/{mime-makr7g9p.js → reference-0f0dnca3.js} +20 -20
- package/dist/chunks/{mime-dw8r8nqw.js → reference-0j8er3xh.js} +13 -13
- package/dist/chunks/{mime-dywpt2jz.js → reference-0jz5fbss.js} +21 -21
- package/dist/chunks/{mime-7hy4mxk4.js → reference-0m83bapc.js} +5 -5
- package/dist/chunks/{mime-18efg9pm.js → reference-0ndnbbn0.js} +11 -11
- package/dist/chunks/{mime-j2e1pdqh.js → reference-0r8en8zz.js} +10 -10
- package/dist/chunks/{mime-jf0x0mkb.js → reference-108gkaby.js} +13 -13
- package/dist/chunks/{mime-4en5cy3a.js → reference-14vqzes2.js} +18 -18
- package/dist/chunks/{mime-cvh6tqsr.js → reference-1711wf45.js} +12 -12
- package/dist/chunks/{mime-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
- package/dist/chunks/{mime-b5hjsjtc.js → reference-1hyje1p9.js} +25 -25
- package/dist/chunks/{mime-nvxqht09.js → reference-1njtx4es.js} +3 -3
- package/dist/chunks/{mime-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
- package/dist/chunks/{mime-q1akkz19.js → reference-1yzxt8mn.js} +11 -11
- package/dist/chunks/{mime-dxknpyv9.js → reference-233jjx4c.js} +17 -17
- package/dist/chunks/{mime-etb6jfd1.js → reference-27va4m0r.js} +32 -32
- package/dist/chunks/{mime-9bbgn1zx.js → reference-297fdtb1.js} +11 -11
- package/dist/chunks/{mime-a5qzt3rb.js → reference-2f1cs0mb.js} +2 -2
- package/dist/chunks/{mime-fwg6t5aa.js → reference-2fem2qqn.js} +5 -5
- package/dist/chunks/{mime-78t3ejb4.js → reference-2fg4fkaj.js} +18 -18
- package/dist/chunks/{mime-xa6jjthr.js → reference-2hpggya2.js} +1 -1
- package/dist/chunks/{mime-3ryz99p0.js → reference-2jq4ff38.js} +4 -4
- package/dist/chunks/{mime-pw6tpjg0.js → reference-2n0ty02m.js} +51 -51
- package/dist/chunks/{mime-h5frkgzc.js → reference-2nzqa2tq.js} +30 -30
- package/dist/chunks/{mime-at840swy.js → reference-2rd3d0hp.js} +11 -11
- package/dist/chunks/{mime-agbrqsyc.js → reference-2t8maz45.js} +28 -28
- package/dist/chunks/{mime-wwf2h3h9.js → reference-2ww2ff7e.js} +21 -21
- package/dist/chunks/{mime-2z1j29yd.js → reference-2z1j29yd.js} +1 -1
- package/dist/chunks/{mime-h7w2c8gt.js → reference-307hjk8t.js} +13 -13
- package/dist/chunks/{mime-35y8wyjz.js → reference-31wms35x.js} +8 -8
- package/dist/chunks/{mime-przv10k5.js → reference-39r9rzhd.js} +4 -4
- package/dist/chunks/{mime-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3x352axd.js → reference-3k8j9mz0.js} +34 -34
- package/dist/chunks/{mime-1hshenye.js → reference-3kfn2j5q.js} +4 -4
- package/dist/chunks/{mime-ms6fca56.js → reference-3wn85t44.js} +46 -46
- package/dist/chunks/{mime-jjby1v15.js → reference-3x8kzqev.js} +19 -19
- package/dist/chunks/{mime-zeg0rdj0.js → reference-4arsphjq.js} +56 -56
- package/dist/chunks/{mime-86vkr6ja.js → reference-4ezxaq78.js} +18 -18
- package/dist/chunks/{mime-ec8872rv.js → reference-4kfy9c2m.js} +34 -34
- package/dist/chunks/{mime-qht88apq.js → reference-4shcznxh.js} +23 -23
- package/dist/chunks/{mime-de78d3b2.js → reference-4svb63hy.js} +35 -35
- package/dist/chunks/{mime-4v008n1t.js → reference-4v008n1t.js} +1 -1
- package/dist/chunks/{mime-4xvmh7wp.js → reference-4xvmh7wp.js} +3 -3
- package/dist/chunks/{mime-rgw8zdkq.js → reference-54gv86a9.js} +8 -8
- package/dist/chunks/{mime-xgp4rgab.js → reference-5djjexeq.js} +1 -1
- package/dist/chunks/{mime-w2eysc6j.js → reference-5enarcya.js} +6 -6
- package/dist/chunks/{mime-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-z1a2w6sk.js → reference-5r9a3vh3.js} +26 -26
- package/dist/chunks/{mime-p7vhpwh8.js → reference-5zrxpy3q.js} +5 -5
- package/dist/chunks/{mime-fmc8gber.js → reference-61g7nd3s.js} +10 -10
- package/dist/chunks/{mime-way9x9na.js → reference-69w1p6yk.js} +24 -24
- package/dist/chunks/{mime-bdkfqjh1.js → reference-6ayjbyaf.js} +3 -3
- package/dist/chunks/{mime-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
- package/dist/chunks/{mime-k8ha6td9.js → reference-6gym6y7m.js} +32 -32
- package/dist/chunks/{mime-9975mbgd.js → reference-6nnfvszr.js} +21 -21
- package/dist/chunks/{mime-antc3kt1.js → reference-6pe7vn7p.js} +18 -18
- package/dist/chunks/{mime-cn524wvf.js → reference-6perv44c.js} +14 -14
- package/dist/chunks/{mime-6pjqjmy2.js → reference-6pjqjmy2.js} +1 -1
- package/dist/chunks/{mime-40d1e0p0.js → reference-6sw2gn8c.js} +43 -43
- package/dist/chunks/{mime-76cb1hcw.js → reference-76cb1hcw.js} +1 -1
- package/dist/chunks/{mime-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-3483qh8f.js → reference-7bnde8q6.js} +16 -16
- package/dist/chunks/{mime-ay6kp039.js → reference-7vw4nys1.js} +4 -4
- package/dist/chunks/{mime-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
- package/dist/chunks/{mime-wvv9pwzq.js → reference-7yj30c8s.js} +17 -17
- package/dist/chunks/{mime-3xr2c3vg.js → reference-867cczcy.js} +45 -45
- package/dist/chunks/{mime-dz78pxbz.js → reference-8cj6s5zj.js} +28 -28
- package/dist/chunks/{mime-tq360aqh.js → reference-8hky2e3x.js} +21 -21
- package/dist/chunks/{mime-qhz1719s.js → reference-8k73trgp.js} +29 -29
- package/dist/chunks/{mime-mr6kd87r.js → reference-8p8nexw9.js} +13 -13
- package/dist/chunks/{mime-vxawy97t.js → reference-8taff695.js} +17 -17
- package/dist/chunks/{mime-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
- package/dist/chunks/{mime-91rj84md.js → reference-91rj84md.js} +1 -1
- package/dist/chunks/{mime-es3s6s73.js → reference-953xbrr3.js} +5 -5
- package/dist/chunks/{mime-2c6wxkce.js → reference-954vrfjz.js} +14 -14
- package/dist/chunks/{mime-998yhzzq.js → reference-998yhzzq.js} +3 -3
- package/dist/chunks/{mime-cs9nhmnc.js → reference-9fq5cvaf.js} +25 -25
- package/dist/chunks/{mime-c2q4mep3.js → reference-9szkry8c.js} +7 -7
- package/dist/chunks/{mime-e3ynzpwe.js → reference-9v02bs0k.js} +5 -5
- package/dist/chunks/{mime-csp3r2wr.js → reference-9vyw5bnv.js} +19 -19
- package/dist/chunks/{mime-367y2685.js → reference-9y617mgq.js} +9 -9
- package/dist/chunks/{mime-3fddq23p.js → reference-9yyv8yy4.js} +19 -19
- package/dist/chunks/reference-a610t88q.js +18 -0
- package/dist/chunks/{mime-2bpj5bas.js → reference-a6p3qmva.js} +82 -82
- package/dist/chunks/{mime-fbjqxkhq.js → reference-acdmrrd1.js} +8 -8
- package/dist/chunks/{mime-f6h5pjek.js → reference-armekrg6.js} +22 -22
- package/dist/chunks/{mime-1pt7st65.js → reference-avb4hb8j.js} +27 -27
- package/dist/chunks/{mime-h6chhj6a.js → reference-aygxzdnw.js} +34 -34
- package/dist/chunks/{mime-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
- package/dist/chunks/{mime-57b792pb.js → reference-azarmemk.js} +44 -44
- package/dist/chunks/{mime-b0mv4wxm.js → reference-b0mv4wxm.js} +2 -2
- package/dist/chunks/{mime-qesqfwsz.js → reference-b2sv8bpc.js} +5 -5
- package/dist/chunks/{mime-5nnwax6m.js → reference-b6vsg801.js} +5 -5
- package/dist/chunks/{mime-shhwk7r4.js → reference-bceb57s2.js} +16 -16
- package/dist/chunks/{mime-fb9p315s.js → reference-bhkt8v4f.js} +20 -20
- package/dist/chunks/{mime-rrad2nt9.js → reference-bjhzkqyk.js} +4 -4
- package/dist/chunks/{mime-xrpfz6f8.js → reference-bqwdyg2t.js} +9 -9
- package/dist/chunks/{mime-12yp6zfs.js → reference-c3yk3agv.js} +44 -44
- package/dist/chunks/{mime-c9kxtag3.js → reference-c7s7jw20.js} +30 -30
- package/dist/chunks/{mime-hvqk9px9.js → reference-c8819f4b.js} +23 -23
- package/dist/chunks/{mime-d2887f8n.js → reference-c9t2ty9q.js} +4 -4
- package/dist/chunks/{mime-gfhhve88.js → reference-ce5fknq2.js} +5 -5
- package/dist/chunks/{mime-ab5qny6w.js → reference-cmb5kt6z.js} +33 -33
- package/dist/chunks/{mime-faz434mq.js → reference-cmj7s95h.js} +66 -66
- package/dist/chunks/{mime-c99z4cs7.js → reference-cqcd4edx.js} +13 -13
- package/dist/chunks/{mime-s7kyse9r.js → reference-d2dx6a7h.js} +9 -9
- package/dist/chunks/{mime-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
- package/dist/chunks/{mime-9tvpxs1q.js → reference-d8p3t516.js} +4 -4
- package/dist/chunks/{mime-esezyxfc.js → reference-d8qd4w10.js} +11 -11
- package/dist/chunks/{mime-1ta8vatk.js → reference-d8t680bk.js} +4 -4
- package/dist/chunks/{mime-1dgpftbk.js → reference-dcqpnb0y.js} +7 -7
- package/dist/chunks/{mime-cwd8eagc.js → reference-dewmw27y.js} +4 -4
- package/dist/chunks/{mime-k1ahy816.js → reference-dgc6zgst.js} +5 -5
- package/dist/chunks/{mime-jx89vj1k.js → reference-dh62xe4r.js} +3 -3
- package/dist/chunks/{mime-9562mf0m.js → reference-dqgvvwe0.js} +9 -9
- package/dist/chunks/{mime-zc6v1jhv.js → reference-dt1dewz5.js} +16 -16
- package/dist/chunks/{mime-sjsbybqr.js → reference-dy4pv8et.js} +12 -12
- package/dist/chunks/{mime-e834z07m.js → reference-e834z07m.js} +1 -1
- package/dist/chunks/{mime-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-7ymw8hcc.js → reference-eq9cyptm.js} +42 -42
- package/dist/chunks/{mime-m37sd98t.js → reference-eqmd2tfz.js} +7 -7
- package/dist/chunks/{mime-dsxwdbtx.js → reference-f67dkjq4.js} +21 -21
- package/dist/chunks/{mime-gx9515g0.js → reference-f8vd2a9b.js} +11 -11
- package/dist/chunks/{mime-1jt66y4q.js → reference-f9sbv1za.js} +48 -48
- package/dist/chunks/{mime-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
- package/dist/chunks/reference-ffm6r77t.js +26 -0
- package/dist/chunks/{mime-mdrzmmdf.js → reference-fgak986r.js} +26 -26
- package/dist/chunks/{mime-8f1s63js.js → reference-g04rf8w6.js} +5 -5
- package/dist/chunks/{mime-g5h9c0rr.js → reference-g5h9c0rr.js} +2 -2
- package/dist/chunks/{mime-h99fb420.js → reference-g5j8m9ve.js} +16 -16
- package/dist/chunks/{mime-fb07bnzr.js → reference-g9chkspz.js} +15 -15
- package/dist/chunks/{mime-b3a0a1dt.js → reference-gbmf93tw.js} +11 -11
- package/dist/chunks/{mime-ss9hm05n.js → reference-gf5n06h2.js} +14 -14
- package/dist/chunks/{mime-gkww2qs4.js → reference-gfpxj5hf.js} +8 -8
- package/dist/chunks/{mime-h0ra2w7t.js → reference-ghb7106v.js} +32 -32
- package/dist/chunks/{mime-5sm65pen.js → reference-gxjyhf1s.js} +50 -50
- package/dist/chunks/{mime-yks697c0.js → reference-h5z6qxf3.js} +20 -20
- package/dist/chunks/{mime-grfdtbby.js → reference-hjzm8qgk.js} +33 -33
- package/dist/chunks/{mime-gbppfq5v.js → reference-hxs3jcbh.js} +3 -3
- package/dist/chunks/{mime-j113cymg.js → reference-j113cymg.js} +1 -1
- package/dist/chunks/{mime-mvm1cxx8.js → reference-j1kmhe03.js} +38 -34
- package/dist/chunks/{mime-8x9y3wj0.js → reference-jcqm84fr.js} +9 -9
- package/dist/chunks/{mime-cp2r97hh.js → reference-jh20twgm.js} +7 -7
- package/dist/chunks/{mime-9p9xqj3m.js → reference-jneg3k74.js} +6 -6
- package/dist/chunks/{mime-xn6a1j0y.js → reference-jq4rj68g.js} +11 -11
- package/dist/chunks/{mime-be4ky1jx.js → reference-jvdzp9ms.js} +4 -4
- package/dist/chunks/{mime-1f869mtq.js → reference-jx68n2v7.js} +1 -1
- package/dist/chunks/{mime-6g5dn60k.js → reference-k3562rys.js} +10 -10
- package/dist/chunks/{mime-k814nvkf.js → reference-k814nvkf.js} +1 -1
- package/dist/chunks/{mime-tw8z5tpz.js → reference-kcty1ace.js} +18 -18
- package/dist/chunks/{mime-8j2dev17.js → reference-kg4y9gc0.js} +35 -35
- package/dist/chunks/{mime-8jmzjr3t.js → reference-kkntnx2q.js} +5 -5
- package/dist/chunks/{mime-ytr2aw5s.js → reference-kndrgbcf.js} +8 -8
- package/dist/chunks/{mime-fc77mr6m.js → reference-kw46yrg2.js} +27 -27
- package/dist/chunks/{mime-m1714858.js → reference-m1714858.js} +1 -1
- package/dist/chunks/{mime-kcw2mt0q.js → reference-m8vnyr1s.js} +9 -9
- package/dist/chunks/{mime-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-a4ed5y5r.js → reference-ma8ws105.js} +17 -17
- package/dist/chunks/{mime-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{mime-yywe7zex.js → reference-mg6b5d3z.js} +13 -13
- package/dist/chunks/{mime-vfaknrr0.js → reference-mpzxhqjk.js} +18 -18
- package/dist/chunks/{mime-n0p0277s.js → reference-n0p0277s.js} +1 -1
- package/dist/chunks/{mime-vp7nbskz.js → reference-n3axp0yc.js} +14 -14
- package/dist/chunks/{mime-cmrd856v.js → reference-n49wygsy.js} +8 -8
- package/dist/chunks/{mime-099h1hwj.js → reference-n4fp6f8d.js} +6 -6
- package/dist/chunks/{mime-afg4vg0a.js → reference-n61v90z4.js} +48 -48
- package/dist/chunks/{mime-fch85cg6.js → reference-n8d8y6qz.js} +10 -10
- package/dist/chunks/{mime-dcw54xmr.js → reference-n9e2wk5v.js} +6 -6
- package/dist/chunks/{mime-770pw0s1.js → reference-nah043kf.js} +4 -4
- package/dist/chunks/{mime-dahs8mrh.js → reference-nazbq7w0.js} +14 -14
- package/dist/chunks/{mime-jqc4b6as.js → reference-ncg31dbj.js} +18 -18
- package/dist/chunks/{mime-fs4v9sqg.js → reference-ngd7ekm8.js} +7 -7
- package/dist/chunks/{mime-c5k488xh.js → reference-nsgvs482.js} +14 -14
- package/dist/chunks/{mime-p015t6z3.js → reference-p015t6z3.js} +2 -2
- package/dist/chunks/{mime-dehah0wg.js → reference-p330xe03.js} +14 -14
- package/dist/chunks/{mime-9tgdekzb.js → reference-p6q4m3qk.js} +43 -43
- package/dist/chunks/{mime-p6vdpmm7.js → reference-p8x9nhrm.js} +9 -9
- package/dist/chunks/{mime-j686yndx.js → reference-pfg6nwxg.js} +26 -26
- package/dist/chunks/{mime-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{mime-w24tx78k.js → reference-pscgdtph.js} +11 -11
- package/dist/chunks/{mime-wv25cjfq.js → reference-pvz0z9yn.js} +22 -22
- package/dist/chunks/{mime-j9d5v112.js → reference-q0tfq5t2.js} +6 -6
- package/dist/chunks/{mime-1ynsyetg.js → reference-q0wzr35k.js} +25 -25
- package/dist/chunks/{mime-vgk61ywp.js → reference-q46y00v4.js} +9 -9
- package/dist/chunks/{mime-0gewffq4.js → reference-q91r7fzh.js} +12 -12
- package/dist/chunks/{mime-99s58nzh.js → reference-qcypp6s5.js} +9 -9
- package/dist/chunks/{mime-daavfx2n.js → reference-qg6w8app.js} +13 -13
- package/dist/chunks/{mime-qjgzc4b4.js → reference-qjgzc4b4.js} +1 -1
- package/dist/chunks/{mime-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
- package/dist/chunks/{mime-khq36pg9.js → reference-r5majfkb.js} +13 -13
- package/dist/chunks/{mime-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
- package/dist/chunks/{mime-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
- package/dist/chunks/{mime-shxxcw0f.js → reference-rw71ew34.js} +4 -4
- package/dist/chunks/{mime-12a87htm.js → reference-ry7kp2db.js} +8 -8
- package/dist/chunks/{mime-w2cw001h.js → reference-s04fhkcw.js} +3 -3
- package/dist/chunks/{mime-q9qe5dt4.js → reference-s6whas8k.js} +12 -12
- package/dist/chunks/{mime-vgatjcfj.js → reference-s9hxxgb8.js} +84 -84
- package/dist/chunks/{mime-c4970w7t.js → reference-sbegqkxp.js} +6 -6
- package/dist/chunks/{mime-2trgpvge.js → reference-scpsh37c.js} +15 -15
- package/dist/chunks/{mime-mh7750nv.js → reference-sfgqhxwc.js} +2 -2
- package/dist/chunks/{mime-3yh7bp88.js → reference-snm2qmq7.js} +20 -20
- package/dist/chunks/{mime-jw539tsy.js → reference-snm52sr2.js} +18 -18
- package/dist/chunks/{mime-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
- package/dist/chunks/{mime-xvt56c4d.js → reference-st4p3zbh.js} +35 -35
- package/dist/chunks/{mime-egmw08v6.js → reference-sv2aw4yq.js} +5 -5
- package/dist/chunks/{mime-mtgfg349.js → reference-svjkc6ey.js} +24 -24
- package/dist/chunks/{mime-845h38vz.js → reference-sy87a8wb.js} +33 -33
- package/dist/chunks/{mime-sdw0stpz.js → reference-t1s8rtrn.js} +15 -15
- package/dist/chunks/{mime-avyq2sch.js → reference-t7w9mbga.js} +3 -3
- package/dist/chunks/{mime-ks4dhf3r.js → reference-tarnqw0m.js} +17 -17
- package/dist/chunks/{mime-8sxdqgb0.js → reference-tasvem1v.js} +6 -6
- package/dist/chunks/{mime-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
- package/dist/chunks/{mime-3nnrz6f6.js → reference-tmc7xdjs.js} +4 -4
- package/dist/chunks/{mime-dkq45v8d.js → reference-tnqzh63d.js} +8 -8
- package/dist/chunks/{mime-tw8zr1ps.js → reference-tw8zr1ps.js} +1 -1
- package/dist/chunks/{mime-twv2r8f4.js → reference-twv2r8f4.js} +2 -2
- package/dist/chunks/{mime-2r3n53wq.js → reference-v0aazhy0.js} +11 -11
- package/dist/chunks/{mime-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
- package/dist/chunks/{mime-yz0kavm7.js → reference-v3htpbcn.js} +16 -16
- package/dist/chunks/{mime-2yvtks3w.js → reference-v75htaq3.js} +6 -6
- package/dist/chunks/{mime-x6e5q3s7.js → reference-v8e5qm2c.js} +11 -11
- package/dist/chunks/{mime-8dvrnm31.js → reference-v919ewzn.js} +36 -36
- package/dist/chunks/{mime-rrpm1tdr.js → reference-vbf812b9.js} +25 -25
- package/dist/chunks/{mime-vd3b3yk9.js → reference-vd3b3yk9.js} +1 -1
- package/dist/chunks/{mime-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-xs1m5cpe.js → reference-vjtgj0yq.js} +4 -4
- package/dist/chunks/{mime-dvn6w1q7.js → reference-vq537ftf.js} +19 -19
- package/dist/chunks/reference-vrjhymqn.js +523 -0
- package/dist/chunks/{mime-aex04x02.js → reference-vry4t0gh.js} +4 -4
- package/dist/chunks/{mime-hy03mgxa.js → reference-w05t22bp.js} +26 -26
- package/dist/chunks/{mime-6fpyxm8h.js → reference-w0jjrdy3.js} +11 -11
- package/dist/chunks/{mime-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-n39q19g8.js → reference-w7zjqt6n.js} +4 -4
- package/dist/chunks/{mime-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
- package/dist/chunks/{mime-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{mime-c37dr9s5.js → reference-wdn14rh7.js} +33 -33
- package/dist/chunks/{mime-ngeq0yak.js → reference-whkc4da7.js} +4 -4
- package/dist/chunks/{mime-rbg5ajna.js → reference-wjd1k730.js} +9 -9
- package/dist/chunks/{mime-e6zvexf0.js → reference-wmwmhrgq.js} +10 -10
- package/dist/chunks/{mime-wr3re1en.js → reference-wr3re1en.js} +1 -1
- package/dist/chunks/{mime-tx9renrs.js → reference-wskggc81.js} +6 -6
- package/dist/chunks/{mime-3kdbrncp.js → reference-x3mp4vcj.js} +5 -5
- package/dist/chunks/{mime-z44n2dnr.js → reference-x7sq7g0m.js} +23 -23
- package/dist/chunks/{mime-3rn14jrq.js → reference-xapnwa6c.js} +18 -18
- package/dist/chunks/{mime-bstexjd6.js → reference-xd9cc171.js} +5 -5
- package/dist/chunks/{mime-st7p3hwb.js → reference-xffzfxwd.js} +2 -2
- package/dist/chunks/{mime-2qc2a76n.js → reference-xhjrc3ew.js} +11 -11
- package/dist/chunks/{mime-v7qwy7k6.js → reference-xm8ddap8.js} +11 -11
- package/dist/chunks/{mime-p0ncpex0.js → reference-xmgbg1w1.js} +23 -23
- package/dist/chunks/{mime-kfye5h0a.js → reference-xmpvkfqb.js} +5 -5
- package/dist/chunks/{mime-nefyg2qe.js → reference-xmry5mjf.js} +22 -23
- package/dist/chunks/{mime-rcbjwvze.js → reference-xpve62cf.js} +4 -4
- package/dist/chunks/{mime-pbrndjvt.js → reference-xvcq0a37.js} +12 -12
- package/dist/chunks/{mime-326newke.js → reference-y3wdcfp2.js} +4 -4
- package/dist/chunks/{mime-4rs84ng6.js → reference-y45mmnaw.js} +14 -14
- package/dist/chunks/{mime-0akmrmk7.js → reference-y5mjzf8n.js} +20 -20
- package/dist/chunks/{mime-9mcfgtzv.js → reference-y5zyg2mm.js} +189 -189
- package/dist/chunks/{mime-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
- package/dist/chunks/{mime-6gm6bk7h.js → reference-yd0qn0bb.js} +23 -23
- package/dist/chunks/{mime-tqx9c315.js → reference-ydsespw1.js} +8 -8
- package/dist/chunks/{mime-hymmg9xs.js → reference-ygvq11bn.js} +26 -26
- package/dist/chunks/{mime-b8fewz8c.js → reference-yhkv4e77.js} +10 -10
- package/dist/chunks/{mime-g7tvh7ca.js → reference-ym0fp58v.js} +14 -14
- package/dist/chunks/{mime-8e1vzrak.js → reference-ymb3jxsn.js} +12 -12
- package/dist/chunks/{mime-wsjhra5c.js → reference-yrj74tq8.js} +11 -11
- package/dist/chunks/{mime-sjefdf1p.js → reference-yx5z65v3.js} +10 -10
- package/dist/chunks/{mime-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-z38nccrw.js → reference-z38nccrw.js} +1 -1
- package/dist/chunks/{mime-92xjtyzm.js → reference-z9y71txf.js} +3 -3
- package/dist/chunks/{mime-7zghsshh.js → reference-zkeee37c.js} +24 -24
- package/dist/chunks/{mime-zkg84ctx.js → reference-zkg84ctx.js} +1 -1
- package/dist/chunks/reference-zm25mbzg.js +58 -0
- package/dist/chunks/{mime-nsm09qdn.js → reference-ztd79bjn.js} +23 -23
- package/dist/chunks/{mime-avb6j7af.js → reference-ztj6qd7j.js} +44 -44
- package/dist/chunks/{mime-nvq2cp9b.js → reference-zv31yxkj.js} +6 -6
- package/dist/chunks/{mime-9ben7srh.js → reference-zvk4dyfv.js} +14 -14
- package/dist/chunks/{mime-q8g6wzn7.js → reference-zzh4dnpm.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- 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 +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 +72 -72
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -360
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -357
- package/dist/location.js +91 -91
- 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 +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +113 -113
- 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-context-caps.js +97 -0
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -170
- 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 +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- 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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +139 -139
- 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 +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- 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 +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/mime-1s6zx0v5.js +0 -257
- package/dist/chunks/mime-ezna1kdx.js +0 -18
- package/dist/chunks/mime-x49m95er.js +0 -523
- package/dist/chunks/mime-ypydzh1y.js +0 -26
- /package/dist/chunks/{mime-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5fjb7ams.js → reference-5fjb7ams.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a058387c.js → reference-a058387c.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./reference-c3yk3agv.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service58
|
|
13
|
+
} from "./reference-zkeee37c.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./reference-n3axp0yc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./reference-2n0ty02m.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service68,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-4ezxaq78.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service60,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-armekrg6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service50
|
|
37
|
+
} from "./reference-3wn85t44.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./reference-s9hxxgb8.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./reference-ngd7ekm8.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./reference-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin47,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name10 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input10 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin47 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service24;
|
|
124
|
+
const jobs = yield* Service44;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service58;
|
|
127
|
+
const access = yield* Service68;
|
|
128
|
+
const shell = yield* Service50;
|
|
129
|
+
const shellSelect = yield* Service60;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service69;
|
|
132
|
+
const config = yield* Service52;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin14 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin14 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name10,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin14 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name10,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input10,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin14 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name10,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name10];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin47, exports_shell2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-jvdzp9ms.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
Event9
|
|
7
|
+
} from "./reference-2fg4fkaj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin41,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin41 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service85;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service54;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin41, exports_plugin };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
11
|
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node36
|
|
16
16
|
});
|
|
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* ()
|
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
370
|
return Service32.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var node36 = makeGlobalNode({ service: Service32, layer:
|
|
375
|
+
var node36 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export { Service32, makeLayer2,
|
|
377
|
+
export { Service32, makeLayer2, layer14, node36, exports_model_transport };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./reference-0f0dnca3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./reference-c3yk3agv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service14,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-61g7nd3s.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make3
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service52;
|
|
35
|
+
const managed = yield* Service14;
|
|
36
|
+
const watcher = yield* Service53;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-jvdzp9ms.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service47,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node49
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node49 = makeLocationNode({
|
|
75
|
+
service: Service47,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError5, ExecutionError2, Service47, layer20, node49, exports_command4, Event7 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-armekrg6.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan3,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan3, scanPortable2, exports_parse };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./reference-c3yk3agv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./reference-armekrg6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin6
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin6 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const shell = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin18 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin6, exports_shell };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./reference-8taff695.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-aygxzdnw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service52
|
|
10
|
+
} from "./reference-c3yk3agv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service58
|
|
13
|
+
} from "./reference-zkeee37c.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-q0tfq5t2.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service52;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service58);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|