@opencode/core 0.0.0-dev-156 → 0.0.0-dev-158
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{bus-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{bus-9bd53j63.js → formatter-03v86jt2.js} +17 -17
- package/dist/chunks/{bus-pqbgj65r.js → formatter-0ah4y9r0.js} +6 -6
- package/dist/chunks/{bus-vrbg0dwy.js → formatter-0dyf8jqq.js} +50 -50
- package/dist/chunks/{bus-daedf1v4.js → formatter-0fgefsmm.js} +11 -11
- package/dist/chunks/{bus-6ka7bmw9.js → formatter-0gb5rjdd.js} +21 -21
- package/dist/chunks/{bus-jks5nrr0.js → formatter-0n41t4zq.js} +15 -15
- package/dist/chunks/{bus-fxew75b5.js → formatter-10vw2nd8.js} +4 -4
- package/dist/chunks/{bus-8jztxfpf.js → formatter-11hfp36g.js} +4 -4
- package/dist/chunks/{bus-xfgzn115.js → formatter-1543h8d7.js} +9 -9
- package/dist/chunks/{bus-9jc8095f.js → formatter-1628er8f.js} +12 -12
- package/dist/chunks/{bus-q8xgfnz9.js → formatter-19qgrets.js} +4 -4
- package/dist/chunks/{bus-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-k43xtnnt.js → formatter-1gnb2fcg.js} +30 -30
- package/dist/chunks/{bus-9f4wf6j5.js → formatter-1k41bg7a.js} +21 -21
- package/dist/chunks/{bus-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-204s3925.js → formatter-204s3925.js} +1 -1
- package/dist/chunks/{bus-f4ytg5tz.js → formatter-22ajefah.js} +16 -16
- package/dist/chunks/{bus-g9p8xacw.js → formatter-24jfnbzz.js} +20 -20
- package/dist/chunks/{bus-xp5sds52.js → formatter-28hr9nbt.js} +45 -45
- package/dist/chunks/{bus-bxx0c1dy.js → formatter-2eqy3gj5.js} +11 -11
- package/dist/chunks/{bus-dd60zzyr.js → formatter-2pxa8g39.js} +10 -10
- package/dist/chunks/{bus-npk3kpff.js → formatter-2q4pnacr.js} +5 -5
- package/dist/chunks/{bus-eh53sddq.js → formatter-33nja2we.js} +14 -14
- package/dist/chunks/{bus-41v2khpa.js → formatter-394cy0eq.js} +15 -15
- package/dist/chunks/{bus-4vm076ke.js → formatter-3ga08nvd.js} +11 -11
- package/dist/chunks/{bus-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-t2z71z34.js → formatter-3n5jkvcw.js} +5 -5
- package/dist/chunks/{bus-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-zndqqzj0.js → formatter-3qx04rj6.js} +11 -11
- package/dist/chunks/formatter-3zat5gdw.js +26 -0
- package/dist/chunks/{bus-arz3ggyk.js → formatter-408rv1ek.js} +70 -70
- package/dist/chunks/{bus-1vjx8yj7.js → formatter-43d5xc6d.js} +19 -19
- package/dist/chunks/{bus-b2sk618g.js → formatter-45ggea5m.js} +31 -31
- package/dist/chunks/{bus-9xdmq0rj.js → formatter-46ka2acm.js} +3 -3
- package/dist/chunks/{bus-tem644mg.js → formatter-485n4jd3.js} +21 -21
- package/dist/chunks/{bus-1g7c6e54.js → formatter-4dn49050.js} +20 -20
- package/dist/chunks/{bus-x0zbzfsq.js → formatter-4h077zh3.js} +14 -14
- package/dist/chunks/{bus-mtta6bjz.js → formatter-4mppp49g.js} +3 -3
- package/dist/chunks/{bus-px66bgmz.js → formatter-4pev1txy.js} +9 -9
- package/dist/chunks/{bus-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-pvyyw61m.js → formatter-51s5kn8z.js} +18 -18
- package/dist/chunks/{bus-yxp0z5jy.js → formatter-52eavcth.js} +24 -24
- package/dist/chunks/{bus-1mnh31fd.js → formatter-56xn1hkj.js} +28 -28
- package/dist/chunks/{bus-yqxh7jnf.js → formatter-5cn8xe5s.js} +18 -18
- package/dist/chunks/{bus-40za9wsf.js → formatter-5enarcya.js} +6 -6
- package/dist/chunks/{bus-zccp9y9w.js → formatter-5ff5nded.js} +16 -16
- package/dist/chunks/{bus-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-j1c7w7ee.js → formatter-5rf46hdm.js} +26 -26
- package/dist/chunks/{bus-d7tcj48j.js → formatter-5ryxmec5.js} +6 -6
- package/dist/chunks/{bus-pbdpbvt7.js → formatter-5vtsbcft.js} +11 -11
- package/dist/chunks/{bus-1d0dfj83.js → formatter-5yg7bvsq.js} +28 -28
- package/dist/chunks/{bus-pgccxgxx.js → formatter-61a4qrs4.js} +5 -5
- package/dist/chunks/{bus-dd3g87t8.js → formatter-6cycb20b.js} +32 -32
- package/dist/chunks/{bus-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-pake3c8t.js → formatter-6q4pe2tt.js} +11 -11
- package/dist/chunks/{bus-axtmazh5.js → formatter-6qazmz99.js} +5 -5
- package/dist/chunks/{bus-sp8z89es.js → formatter-6qzks2cs.js} +21 -21
- package/dist/chunks/{bus-wese96kb.js → formatter-6rr0vdf1.js} +11 -11
- package/dist/chunks/{bus-yx414ezz.js → formatter-6v3s9y2a.js} +23 -23
- package/dist/chunks/{bus-hwwdr0w7.js → formatter-6vygy4ry.js} +13 -13
- package/dist/chunks/{bus-4tw0vbcd.js → formatter-71wc3kpp.js} +30 -30
- package/dist/chunks/{bus-vq1ppevj.js → formatter-7a1enj4j.js} +8 -8
- package/dist/chunks/{bus-3nxj7ahj.js → formatter-7a3gzg35.js} +8 -8
- package/dist/chunks/{bus-1ge64ajd.js → formatter-7a92ptrh.js} +21 -21
- package/dist/chunks/{bus-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-vfpqjtjs.js → formatter-7jgy946c.js} +7 -7
- package/dist/chunks/{bus-q68sayk5.js → formatter-7jhpt6w3.js} +26 -26
- package/dist/chunks/{bus-trhfn8g8.js → formatter-7m2ptj4e.js} +17 -17
- package/dist/chunks/{bus-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-3ghe7v75.js → formatter-7zczqtrc.js} +11 -11
- package/dist/chunks/{bus-nq9yeqc2.js → formatter-8a2eg3tn.js} +5 -5
- package/dist/chunks/{bus-6s5ywbch.js → formatter-8k57btrj.js} +13 -13
- package/dist/chunks/{bus-vdszap64.js → formatter-8m1jxte5.js} +20 -20
- package/dist/chunks/{bus-a2rnws1g.js → formatter-8sm9cepf.js} +7 -7
- package/dist/chunks/{bus-cj06yg0x.js → formatter-8vhprsgd.js} +19 -19
- package/dist/chunks/{bus-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-fjrrbk94.js → formatter-8x6dz44a.js} +8 -8
- package/dist/chunks/{bus-sq4s6wq1.js → formatter-8zkf5cgt.js} +6 -6
- package/dist/chunks/{bus-90zstvax.js → formatter-90zstvax.js} +1 -1
- package/dist/chunks/{bus-mctkcdhf.js → formatter-928cg9e5.js} +20 -20
- package/dist/chunks/{bus-cggra6hh.js → formatter-932fxf16.js} +13 -13
- package/dist/chunks/{bus-xw8eq9f1.js → formatter-96te9d4b.js} +5 -5
- package/dist/chunks/{bus-mmx1mfjr.js → formatter-9axz1114.js} +4 -4
- package/dist/chunks/{bus-wrd39zd3.js → formatter-9qcg53ez.js} +9 -9
- package/dist/chunks/{bus-xwjtqyd6.js → formatter-a52hhzb9.js} +23 -23
- package/dist/chunks/formatter-a885h41h.js +257 -0
- package/dist/chunks/{bus-tg1vr1qt.js → formatter-aedwt843.js} +8 -8
- package/dist/chunks/{bus-eb1az9va.js → formatter-aj89322e.js} +5 -5
- package/dist/chunks/{bus-12vfgjr7.js → formatter-aprzax25.js} +24 -24
- package/dist/chunks/{bus-rabz4gbz.js → formatter-av82cvsk.js} +184 -184
- package/dist/chunks/{bus-w64yv1ej.js → formatter-avpbktef.js} +12 -12
- package/dist/chunks/{bus-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-b6vsg801.js → formatter-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-t2ghqwsf.js → formatter-b954wvww.js} +6 -6
- package/dist/chunks/{bus-3y9dj9y0.js → formatter-bf446n6z.js} +9 -9
- package/dist/chunks/{bus-2q05k1q4.js → formatter-bj9smzzw.js} +5 -5
- package/dist/chunks/{bus-61ennm6n.js → formatter-bjhzkqyk.js} +4 -4
- package/dist/chunks/{bus-3g9btxms.js → formatter-bmvsb49w.js} +20 -20
- package/dist/chunks/{bus-b27pwksx.js → formatter-bqm8vams.js} +17 -17
- package/dist/chunks/{bus-c1x0s21d.js → formatter-bsh8r5kc.js} +9 -9
- package/dist/chunks/{bus-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-dxktja5e.js → formatter-bvjg0ay9.js} +11 -11
- package/dist/chunks/{bus-e4qxz956.js → formatter-bxe49cp6.js} +12 -12
- package/dist/chunks/{bus-2mbjfaxd.js → formatter-c5kjsz6q.js} +4 -4
- package/dist/chunks/{bus-55hqm2w5.js → formatter-c5zneedc.js} +45 -45
- package/dist/chunks/{bus-gh72g965.js → formatter-cfa85z7t.js} +31 -31
- package/dist/chunks/{bus-qjmkmgef.js → formatter-cgn6nf8q.js} +2 -2
- package/dist/chunks/{bus-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-k16jq3jq.js → formatter-d0d9kmtc.js} +27 -27
- package/dist/chunks/{bus-ssfehs1z.js → formatter-d2887f8n.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-zfyb5tr4.js → formatter-d8p3t516.js} +4 -4
- package/dist/chunks/{bus-vape2eed.js → formatter-d9jhw6m8.js} +8 -8
- package/dist/chunks/{bus-e7rs1ym5.js → formatter-daz8d7a2.js} +7 -7
- package/dist/chunks/{bus-3naygyk9.js → formatter-df6rebg4.js} +54 -54
- package/dist/chunks/{bus-8dsbdaxx.js → formatter-dht0teee.js} +8 -8
- package/dist/chunks/{bus-cyh1m4bh.js → formatter-djt3gtf7.js} +24 -24
- package/dist/chunks/{bus-0vngay7z.js → formatter-dm6ksgvz.js} +8 -8
- package/dist/chunks/{bus-kz1rnmfp.js → formatter-dqkdjpwm.js} +80 -80
- package/dist/chunks/{bus-kc5j4g2a.js → formatter-dr3tmh6a.js} +12 -12
- package/dist/chunks/{bus-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{bus-58avzxmh.js → formatter-dxb8mgza.js} +10 -10
- package/dist/chunks/{bus-d0jq61v3.js → formatter-dxx03d8y.js} +17 -17
- package/dist/chunks/{bus-nwxgvres.js → formatter-dyqb2r8n.js} +3 -3
- package/dist/chunks/{bus-j81g92s0.js → formatter-e2ne77ac.js} +6 -6
- package/dist/chunks/{bus-e834z07m.js → formatter-e834z07m.js} +1 -1
- package/dist/chunks/{bus-zf6pcqjf.js → formatter-exxfv8pa.js} +18 -18
- package/dist/chunks/{bus-80tdcfqk.js → formatter-ezm560et.js} +21 -21
- package/dist/chunks/{bus-hpp5z55g.js → formatter-f46kh10v.js} +13 -13
- package/dist/chunks/{bus-70ysbda5.js → formatter-fe32wyxe.js} +21 -21
- package/dist/chunks/{bus-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-4mvq7p36.js → formatter-fghrgnwr.js} +9 -9
- package/dist/chunks/{bus-w11ey1wa.js → formatter-fng6wk28.js} +11 -11
- package/dist/chunks/{bus-tx88d9rw.js → formatter-fw94v8hy.js} +9 -9
- package/dist/chunks/{bus-smgwq7yn.js → formatter-fwsczgrj.js} +11 -11
- package/dist/chunks/{bus-xejvhz9r.js → formatter-fzfqydht.js} +13 -13
- package/dist/chunks/{bus-vdpte8t6.js → formatter-g1mxmsmn.js} +9 -9
- package/dist/chunks/{bus-xnh55p1t.js → formatter-g7esga4v.js} +4 -4
- package/dist/chunks/{bus-2yv57mdk.js → formatter-g8jkqxma.js} +40 -40
- package/dist/chunks/{bus-nxvcq4k6.js → formatter-g9rrt98n.js} +4 -4
- package/dist/chunks/{bus-26p0bz8p.js → formatter-g9w27t38.js} +4 -4
- package/dist/chunks/{bus-nz8nyvy3.js → formatter-g9wm4gaf.js} +34 -34
- package/dist/chunks/{bus-jyse5na0.js → formatter-ga1rq104.js} +20 -20
- package/dist/chunks/{bus-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
- package/dist/chunks/{bus-vv3msfxn.js → formatter-grfya7tj.js} +13 -13
- package/dist/chunks/{bus-v8xpr2tt.js → formatter-gtz8ev1y.js} +11 -11
- package/dist/chunks/{bus-6a8sgxfm.js → formatter-gy6xyr2j.js} +22 -22
- package/dist/chunks/{bus-gfrhbt09.js → formatter-gzq9abr2.js} +45 -45
- package/dist/chunks/{bus-115favz0.js → formatter-h1pm2szr.js} +37 -37
- package/dist/chunks/{bus-hr4y9snp.js → formatter-haf3v3hy.js} +5 -5
- package/dist/chunks/{bus-hdfrs5mg.js → formatter-hdfrs5mg.js} +2 -2
- package/dist/chunks/{bus-318j3scp.js → formatter-hhp2fdnq.js} +13 -13
- package/dist/chunks/{bus-d09bby1r.js → formatter-hkv4p8qn.js} +21 -21
- package/dist/chunks/{bus-392vc6at.js → formatter-hmr6cy4x.js} +22 -22
- package/dist/chunks/{bus-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-0kwc83wc.js → formatter-hy59nt95.js} +6 -6
- package/dist/chunks/{bus-0d6fyknv.js → formatter-j6wmqcnw.js} +10 -10
- package/dist/chunks/{bus-0b5bk359.js → formatter-j7v80qje.js} +12 -12
- package/dist/chunks/{bus-jfaecv01.js → formatter-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-qfr9hezr.js → formatter-jvta4zhp.js} +8 -8
- package/dist/chunks/{bus-qgts2pf7.js → formatter-jy1r7v62.js} +32 -32
- package/dist/chunks/{bus-3a094sm8.js → formatter-jyhg77x6.js} +10 -10
- package/dist/chunks/formatter-k62y2wy8.js +18 -0
- package/dist/chunks/{bus-k814nvkf.js → formatter-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-8tr79gj6.js → formatter-k9dfpmz2.js} +22 -22
- package/dist/chunks/{bus-1exzjqhg.js → formatter-kddgr42t.js} +10 -10
- package/dist/chunks/{bus-e15nhmy1.js → formatter-knjx9f3g.js} +26 -26
- package/dist/chunks/{bus-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-xgqp9xjz.js → formatter-kykpneqp.js} +27 -27
- package/dist/chunks/{bus-bf1yga48.js → formatter-kyy1rfta.js} +11 -11
- package/dist/chunks/{bus-vxe31t1e.js → formatter-m0kgc17n.js} +4 -4
- package/dist/chunks/{bus-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{bus-kmfd77se.js → formatter-m6ha5htp.js} +329 -329
- package/dist/chunks/{bus-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-202bxvr4.js → formatter-me7kxg3j.js} +8 -8
- package/dist/chunks/{bus-50abynqw.js → formatter-mk6v4p35.js} +11 -11
- package/dist/chunks/{bus-wpz3wcrg.js → formatter-mvfz5wz8.js} +28 -28
- package/dist/chunks/{bus-tw8176pt.js → formatter-mvyy6qpx.js} +32 -32
- package/dist/chunks/{bus-11g23rvp.js → formatter-n2ppx7kr.js} +12 -12
- package/dist/chunks/{bus-rjnacbrz.js → formatter-n7bnkb3p.js} +9 -9
- package/dist/chunks/{bus-5jkfxevk.js → formatter-n7pbqev4.js} +1 -1
- package/dist/chunks/{bus-145v42dh.js → formatter-n7s957jj.js} +8 -8
- package/dist/chunks/{bus-zy3ny4fv.js → formatter-na9deryv.js} +4 -4
- package/dist/chunks/{bus-nah043kf.js → formatter-nah043kf.js} +1 -1
- package/dist/chunks/{bus-c7vhk5p1.js → formatter-njz5cw42.js} +2 -2
- package/dist/chunks/{bus-2awfp899.js → formatter-nk8ph50s.js} +23 -23
- package/dist/chunks/{bus-zg0jbn27.js → formatter-nrtygxmh.js} +6 -6
- package/dist/chunks/{bus-7bn21fbf.js → formatter-ntxfz25d.js} +11 -11
- package/dist/chunks/{bus-p015t6z3.js → formatter-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-jnexj6w3.js → formatter-p1njj0by.js} +9 -9
- package/dist/chunks/{bus-ftcx6fze.js → formatter-p4yppz28.js} +22 -22
- package/dist/chunks/{bus-v9ez2kgh.js → formatter-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-91ptfphb.js → formatter-p8047wat.js} +6 -6
- package/dist/chunks/{bus-pqtyhvbg.js → formatter-p8rfhtpq.js} +32 -32
- package/dist/chunks/{bus-ymz7p2c9.js → formatter-pakndkhn.js} +3 -3
- package/dist/chunks/{bus-pbbktnbz.js → formatter-pbbktnbz.js} +4 -4
- package/dist/chunks/{bus-rx70pj7b.js → formatter-pf9gr1ec.js} +5 -5
- package/dist/chunks/{bus-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{bus-yp1da822.js → formatter-pqf7d7qx.js} +44 -44
- package/dist/chunks/{bus-prq7xxp2.js → formatter-prq7xxp2.js} +2 -2
- package/dist/chunks/{bus-c2sed5cq.js → formatter-pyzjd10w.js} +3 -3
- package/dist/chunks/{bus-aca3fdkj.js → formatter-q0zr1qvh.js} +16 -16
- package/dist/chunks/{bus-3sbn3sz9.js → formatter-q28pv36z.js} +35 -35
- package/dist/chunks/{bus-sdw7df28.js → formatter-q3g8wbya.js} +11 -11
- package/dist/chunks/{bus-92cc6t8x.js → formatter-q4fqeak2.js} +27 -27
- package/dist/chunks/{bus-q63cb7ap.js → formatter-q63cb7ap.js} +3 -3
- package/dist/chunks/{bus-v1mvcyvz.js → formatter-qgndh80m.js} +12 -12
- package/dist/chunks/{bus-69we6tgm.js → formatter-qkkhqeq2.js} +26 -26
- package/dist/chunks/{bus-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-sbt0ppt2.js → formatter-qxdpy5f9.js} +6 -6
- package/dist/chunks/{bus-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-ttbnswcg.js → formatter-r1gtje4t.js} +35 -35
- package/dist/chunks/{bus-r542h3bh.js → formatter-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-mq5mk61w.js → formatter-r6cac6pk.js} +21 -21
- package/dist/chunks/{bus-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-dvqbgpt5.js → formatter-re939ggz.js} +35 -35
- package/dist/chunks/{bus-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-p95v73xf.js → formatter-rte3fk8q.js} +11 -11
- package/dist/chunks/{bus-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-mfgqvf60.js → formatter-sg8xjaz5.js} +24 -24
- package/dist/chunks/{bus-k9zkdd2y.js → formatter-snb901t2.js} +4 -4
- package/dist/chunks/{bus-aqn39phr.js → formatter-snrj9yj5.js} +12 -12
- package/dist/chunks/{bus-qp096xn7.js → formatter-spsvk66e.js} +3 -3
- package/dist/chunks/{bus-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-pkxcfm9w.js → formatter-sqkx7p5n.js} +13 -13
- package/dist/chunks/{bus-jyzwec4f.js → formatter-stdt3xb1.js} +15 -15
- package/dist/chunks/{bus-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-n6v2b7cw.js → formatter-szcgc7h4.js} +5 -5
- package/dist/chunks/{bus-t8nkzmzj.js → formatter-t211gxpv.js} +5 -5
- package/dist/chunks/{bus-mqwfd4qy.js → formatter-t2ad8a1g.js} +16 -16
- package/dist/chunks/{bus-3pyfgsed.js → formatter-t2k4jjyh.js} +5 -5
- package/dist/chunks/{bus-z2fce490.js → formatter-t6gnwazt.js} +32 -32
- package/dist/chunks/{bus-htz9s8nk.js → formatter-taahtb0c.js} +11 -11
- package/dist/chunks/{bus-hpfdwx7h.js → formatter-tc1bwtzj.js} +6 -6
- package/dist/chunks/{bus-mn6tycs6.js → formatter-tc4kyz8e.js} +2 -2
- package/dist/chunks/{bus-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-xvspzben.js → formatter-te7zt5ht.js} +19 -19
- package/dist/chunks/{bus-xyr09rm8.js → formatter-tee81xg3.js} +29 -29
- package/dist/chunks/{bus-s9y69kg7.js → formatter-tgt0ac12.js} +16 -16
- package/dist/chunks/{bus-c0qzg0ns.js → formatter-tpjvtcx1.js} +9 -9
- package/dist/chunks/{bus-xmcjg19r.js → formatter-tted8b2w.js} +17 -17
- package/dist/chunks/{bus-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-vrj8ew2c.js → formatter-txf773fv.js} +4 -4
- package/dist/chunks/{bus-qdbka4b1.js → formatter-txvbkf9b.js} +42 -42
- package/dist/chunks/{bus-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-y3d08psh.js → formatter-veq51cxc.js} +9 -9
- package/dist/chunks/{bus-wryn09gb.js → formatter-vfp0pkkd.js} +42 -42
- package/dist/chunks/{bus-2zp5a6yg.js → formatter-vg0erq9k.js} +3 -3
- package/dist/chunks/{bus-g47j0eyn.js → formatter-vh9ps45p.js} +24 -24
- package/dist/chunks/{bus-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-j8q0s4xc.js → formatter-w4psgs9e.js} +18 -18
- package/dist/chunks/{bus-fqt3dxq8.js → formatter-w670rhyr.js} +17 -17
- package/dist/chunks/{bus-fznmdakp.js → formatter-w687dnns.js} +4 -4
- package/dist/chunks/{bus-76cb1hcw.js → formatter-w8qtt4th.js} +4 -4
- package/dist/chunks/{bus-jbwye8vs.js → formatter-w97d1ng8.js} +86 -86
- package/dist/chunks/{bus-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-hb5by4mw.js → formatter-wbgzj0hw.js} +4 -4
- package/dist/chunks/{bus-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{bus-hyz0p7s3.js → formatter-wefmyskm.js} +43 -43
- package/dist/chunks/{bus-zft044xm.js → formatter-wkhea23b.js} +17 -17
- package/dist/chunks/{bus-3j964yrr.js → formatter-wmaqz1y8.js} +27 -27
- package/dist/chunks/{bus-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-asdq5w3j.js → formatter-wyenqtwf.js} +4 -4
- package/dist/chunks/{bus-8ggvj0t6.js → formatter-xjpxpj55.js} +14 -14
- package/dist/chunks/{bus-w3g0gy4q.js → formatter-xppfe2fc.js} +6 -6
- package/dist/chunks/{bus-b6rd9qx0.js → formatter-xqwysx3w.js} +29 -29
- package/dist/chunks/{bus-xt0z8zst.js → formatter-xt0z8zst.js} +1 -1
- package/dist/chunks/{bus-28pxs2mp.js → formatter-xvmzfnq9.js} +9 -9
- package/dist/chunks/{bus-y75mjge0.js → formatter-xwbhabkb.js} +18 -18
- package/dist/chunks/{bus-yara3q77.js → formatter-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-yf318key.js → formatter-yb49ndda.js} +16 -16
- package/dist/chunks/{bus-yrxm5vjq.js → formatter-ydnwtp95.js} +5 -5
- package/dist/chunks/{bus-aes50vde.js → formatter-ygqxcxbg.js} +4 -4
- package/dist/chunks/{bus-b0pq4gs1.js → formatter-yj5kgc24.js} +2 -2
- package/dist/chunks/{bus-ayzfzkn7.js → formatter-yq3rxhjy.js} +15 -15
- package/dist/chunks/{bus-7bbbm94a.js → formatter-yxrr31d8.js} +7 -7
- package/dist/chunks/{bus-z38nccrw.js → formatter-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-d407mc82.js → formatter-z96chytr.js} +31 -31
- package/dist/chunks/{bus-0anyt1n6.js → formatter-zgd8t41s.js} +9 -9
- package/dist/chunks/{bus-hkha4f9a.js → formatter-zs0e4nbm.js} +28 -28
- package/dist/chunks/{bus-2h7ns30t.js → formatter-zxf918eb.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +146 -146
- package/dist/file-mutation.js +100 -100
- 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/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +220 -220
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +141 -141
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/bus-dkzb616j.js +0 -257
- package/dist/chunks/bus-me0dhgxs.js +0 -18
- package/dist/chunks/bus-rhsf7eaj.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1jakw16s.js → formatter-1jakw16s.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → formatter-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./bus-xyr09rm8.js";
|
|
4
|
+
} from "./formatter-p015t6z3.js";
|
|
9
5
|
import {
|
|
10
6
|
Service75,
|
|
11
7
|
node79
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./formatter-tee81xg3.js";
|
|
9
|
+
import {
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./formatter-pqf7d7qx.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service21,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer11,
|
|
32
|
+
node: () => node24
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service21 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer11 = Layer.effect(Service21, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service48;
|
|
89
|
+
const models = yield* Service75;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service21.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node24 = makeLocationNode({
|
|
219
|
+
service: Service21,
|
|
220
|
+
layer: layer11,
|
|
221
|
+
deps: [node51, node79, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service21, layer11, node24, exports_generate };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-xvmzfnq9.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-njz5cw42.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service72,
|
|
17
|
+
node75
|
|
18
|
+
} from "./formatter-0gb5rjdd.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service42,
|
|
21
|
+
node45
|
|
22
|
+
} from "./formatter-g8jkqxma.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/file-access.ts
|
|
28
28
|
var exports_file_access = {};
|
|
@@ -31,7 +31,7 @@ __export(exports_file_access, {
|
|
|
31
31
|
Kind: () => Kind2,
|
|
32
32
|
ResolveInput: () => ResolveInput2,
|
|
33
33
|
Service: () => Service15,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node18,
|
|
35
35
|
resolvePath: () => resolvePath2
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -58,10 +58,10 @@ var invocation = (context) => ({
|
|
|
58
58
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
59
59
|
});
|
|
60
60
|
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
|
-
const { files } = yield*
|
|
61
|
+
const { files } = yield* Service72;
|
|
62
62
|
const exists = (file) => exists2(files, file);
|
|
63
63
|
const location = yield* Service82;
|
|
64
|
-
const permission = yield*
|
|
64
|
+
const permission = yield* Service42;
|
|
65
65
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
66
66
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
67
67
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
112
112
|
});
|
|
113
113
|
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
115
|
+
var node18 = makeLocationNode({
|
|
116
116
|
service: Service15,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [
|
|
118
|
+
deps: [node75, node86, node45]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { Kind2, ResolveInput2, Service15, resolvePath2,
|
|
121
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node18, exports_file_access };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./formatter-28hr9nbt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./formatter-w4psgs9e.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin11
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin11 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service58;
|
|
27
|
+
const snapshot = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin37 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_snapshot };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-5ryxmec5.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-knjx9f3g.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-g8jkqxma.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-pqf7d7qx.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-wkhea23b.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./formatter-28hr9nbt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./formatter-gzq9abr2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin7,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service58;
|
|
28
|
+
const mcp = yield* Service34;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin7, register2, exports_mcp };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-na9deryv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./formatter-kddgr42t.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node63,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service66;
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event11.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service60.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event11.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event11.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node63 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node69, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event11, inspect2, resolve3, node63, exports_wellknown };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./formatter-28hr9nbt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin35,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -115,4 +115,4 @@ var Plugin15 = define({
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin35, exports_warming };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node49
|
|
4
|
+
} from "./formatter-yb49ndda.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service22,
|
|
7
|
+
node25
|
|
8
|
+
} from "./formatter-w97d1ng8.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service22;
|
|
30
|
+
const jobs = yield* Service46;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node25, node49]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-5enarcya.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin6 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin23, exports_exa };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node44, exports_service2 };
|