@opencode/core 0.0.0-dev-127 → 0.0.0-dev-146
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 +87 -87
- 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/{vcs-nd2tnrer.js → formatter-00pktjsy.js} +16 -16
- package/dist/chunks/{vcs-gkt07kmn.js → formatter-01awnnjy.js} +309 -309
- package/dist/chunks/{vcs-z6shv5en.js → formatter-02f3mwsw.js} +41 -41
- package/dist/chunks/{vcs-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{vcs-ymz7p2c9.js → formatter-0f8tg23y.js} +3 -3
- package/dist/chunks/{vcs-zrhp7mek.js → formatter-0jjwjx0v.js} +26 -26
- package/dist/chunks/{vcs-fm7mve24.js → formatter-0ks8sfjc.js} +27 -27
- package/dist/chunks/{vcs-3x3z7tjb.js → formatter-0qf1t2tf.js} +11 -11
- package/dist/chunks/{vcs-fcs1vx3s.js → formatter-0tqctwjc.js} +24 -24
- package/dist/chunks/{vcs-ete78w2g.js → formatter-176yg0jf.js} +16 -16
- package/dist/chunks/{vcs-6eerc732.js → formatter-180ps155.js} +38 -38
- package/dist/chunks/{vcs-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{vcs-9px9s5en.js → formatter-1eqvcz7d.js} +11 -11
- package/dist/chunks/{vcs-1kn6jdkn.js → formatter-1kn6jdkn.js} +1 -1
- package/dist/chunks/{vcs-49n1pyc7.js → formatter-1tz3dvpf.js} +23 -23
- package/dist/chunks/{vcs-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{vcs-1yq9hg58.js → formatter-1yq9hg58.js} +1 -1
- package/dist/chunks/{vcs-204s3925.js → formatter-204s3925.js} +1 -1
- package/dist/chunks/{vcs-rba8nkkd.js → formatter-206jryat.js} +35 -35
- package/dist/chunks/{vcs-7yect7x1.js → formatter-27bs79w9.js} +2 -2
- package/dist/chunks/{vcs-4g637f85.js → formatter-2br6b2v9.js} +13 -13
- package/dist/chunks/{vcs-avnfhq9f.js → formatter-2jexqb4b.js} +19 -19
- package/dist/chunks/{vcs-bekv3p3z.js → formatter-2saggmey.js} +22 -22
- package/dist/chunks/{vcs-8052wv3e.js → formatter-2vjv0qpa.js} +16 -16
- package/dist/chunks/{vcs-1q5awywt.js → formatter-2xwkyk0m.js} +5 -5
- package/dist/chunks/{vcs-vb80j1wh.js → formatter-2zp5a6yg.js} +3 -3
- package/dist/chunks/{vcs-6tznm3hm.js → formatter-30wq98rm.js} +2 -2
- package/dist/chunks/{vcs-6cahmqzr.js → formatter-31wms35x.js} +8 -8
- package/dist/chunks/{vcs-phvm2phv.js → formatter-34b2q3dm.js} +26 -26
- package/dist/chunks/{vcs-zr0s6khg.js → formatter-35zt77b2.js} +18 -18
- package/dist/chunks/{vcs-9nckg20m.js → formatter-3gbv69k7.js} +33 -33
- package/dist/chunks/{vcs-yya0ytvb.js → formatter-3h9jmy66.js} +25 -25
- package/dist/chunks/{vcs-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-bayttsv6.js → formatter-3jw91zxn.js} +20 -20
- package/dist/chunks/{vcs-3kdbrncp.js → formatter-3kdbrncp.js} +2 -2
- package/dist/chunks/{vcs-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{vcs-j989h8xf.js → formatter-3qgpmfb2.js} +14 -14
- package/dist/chunks/{vcs-0xkwsahe.js → formatter-3ykedks4.js} +18 -18
- package/dist/chunks/{vcs-4h5f6qna.js → formatter-3ysmapca.js} +70 -70
- package/dist/chunks/{vcs-e5nq3gw7.js → formatter-3zjnpbwd.js} +20 -20
- package/dist/chunks/{vcs-w2eysc6j.js → formatter-40za9wsf.js} +9 -9
- package/dist/chunks/{vcs-h5qv78he.js → formatter-4e1keyg1.js} +15 -15
- package/dist/chunks/{vcs-t0jmwydf.js → formatter-4k8v9b7f.js} +6 -6
- package/dist/chunks/{vcs-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{vcs-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{vcs-xaz3vqte.js → formatter-4vxvd6mv.js} +6 -6
- package/dist/chunks/{vcs-ckwa8jkx.js → formatter-54bnvst0.js} +37 -37
- package/dist/chunks/{vcs-bdbkn0ax.js → formatter-54ptjt3c.js} +6 -6
- package/dist/chunks/{vcs-zvcf8251.js → formatter-58t0t45t.js} +15 -15
- package/dist/chunks/{vcs-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-5x26af84.js → formatter-5x26af84.js} +4 -4
- package/dist/chunks/{vcs-jnpgd2qz.js → formatter-60g5e9a4.js} +15 -15
- package/dist/chunks/{vcs-4fp9at6s.js → formatter-65f11974.js} +9 -9
- package/dist/chunks/{vcs-y0nndy60.js → formatter-65q9xmpy.js} +16 -16
- package/dist/chunks/{vcs-mayam77x.js → formatter-67dmgvxj.js} +19 -19
- package/dist/chunks/{vcs-f62xyz39.js → formatter-6add78pk.js} +31 -31
- package/dist/chunks/{vcs-srn70nxn.js → formatter-6asz9jay.js} +11 -11
- package/dist/chunks/{vcs-7eybfgds.js → formatter-6dra8ttr.js} +25 -25
- package/dist/chunks/{vcs-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
- package/dist/chunks/{vcs-r2tmvqhf.js → formatter-6rt7ts86.js} +4 -4
- package/dist/chunks/{vcs-ttq9z2mv.js → formatter-6t1z78dt.js} +23 -23
- package/dist/chunks/{vcs-an9k1q61.js → formatter-6td4j3g2.js} +4 -4
- package/dist/chunks/formatter-6tn508k7.js +257 -0
- package/dist/chunks/{vcs-2kf70v8x.js → formatter-6v5r3k3y.js} +35 -35
- package/dist/chunks/{vcs-8n846smm.js → formatter-70agar2m.js} +2 -2
- package/dist/chunks/{vcs-01vd1a4d.js → formatter-75evnb93.js} +9 -9
- package/dist/chunks/{vcs-76cb1hcw.js → formatter-76cb1hcw.js} +1 -1
- package/dist/chunks/{vcs-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-mtph0mrj.js → formatter-7hmjb961.js} +21 -21
- package/dist/chunks/{vcs-0gybmwtw.js → formatter-7hqt66pc.js} +28 -28
- package/dist/chunks/{vcs-nh3dh1yv.js → formatter-7ngzeq25.js} +8 -8
- package/dist/chunks/{vcs-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{vcs-fzvj6npn.js → formatter-7ye1cp98.js} +10 -10
- package/dist/chunks/{vcs-psx2s2js.js → formatter-80kvr5bw.js} +8 -8
- package/dist/chunks/{vcs-xddcb79t.js → formatter-8430rgvc.js} +6 -6
- package/dist/chunks/{vcs-yynrf4vj.js → formatter-8843840p.js} +3 -3
- package/dist/chunks/{vcs-11hfp36g.js → formatter-8jztxfpf.js} +4 -4
- package/dist/chunks/{vcs-2jzrs42d.js → formatter-8phszwmc.js} +11 -11
- package/dist/chunks/{vcs-fkdj66dg.js → formatter-8qnchk02.js} +9 -9
- package/dist/chunks/{vcs-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{vcs-zgd8t41s.js → formatter-8yhc7zrg.js} +9 -9
- package/dist/chunks/{vcs-9t2khtsw.js → formatter-8ykqf5wm.js} +8 -8
- package/dist/chunks/{vcs-d1zgnyfs.js → formatter-8ymr7d4s.js} +21 -21
- package/dist/chunks/{vcs-90zstvax.js → formatter-90zstvax.js} +1 -1
- package/dist/chunks/{vcs-hyj4a2ag.js → formatter-91za51b6.js} +11 -11
- package/dist/chunks/{vcs-c8qdcmh0.js → formatter-95qeadzf.js} +21 -21
- package/dist/chunks/{vcs-tnh07hxx.js → formatter-9can0ppv.js} +9 -9
- package/dist/chunks/{vcs-xa3f19ed.js → formatter-9ctbbx4t.js} +5 -5
- package/dist/chunks/{vcs-445zs8vc.js → formatter-9k3wnwh3.js} +9 -9
- package/dist/chunks/{vcs-k3cw2t6y.js → formatter-9nkjg9qd.js} +6 -6
- package/dist/chunks/{vcs-mfpkpefx.js → formatter-9r0x1bva.js} +9 -9
- package/dist/chunks/{vcs-78tx5zvz.js → formatter-9t0k5eya.js} +9 -9
- package/dist/chunks/{vcs-e7ncz2ep.js → formatter-9tacn0cp.js} +2 -2
- package/dist/chunks/{vcs-qxt327x0.js → formatter-9v0dawq3.js} +10 -10
- package/dist/chunks/{vcs-36nwmxg8.js → formatter-9zcxsq7k.js} +12 -12
- package/dist/chunks/{vcs-6e8fzyj6.js → formatter-a609rjt8.js} +11 -11
- package/dist/chunks/{vcs-tkpvnbjr.js → formatter-a9atne55.js} +14 -14
- package/dist/chunks/{vcs-qega9mgr.js → formatter-advnjzs0.js} +32 -32
- package/dist/chunks/{vcs-cbc4taa6.js → formatter-afbxbw72.js} +11 -11
- package/dist/chunks/{vcs-yps7hgha.js → formatter-afhdzj43.js} +26 -26
- package/dist/chunks/{vcs-55pzwtf4.js → formatter-ay20v4cr.js} +4 -4
- package/dist/chunks/{vcs-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{vcs-jh7yqtmb.js → formatter-az02dgt5.js} +21 -21
- package/dist/chunks/{vcs-e7a6aess.js → formatter-b5rjhvjd.js} +11 -11
- package/dist/chunks/{vcs-b6vsg801.js → formatter-b6vsg801.js} +2 -2
- package/dist/chunks/{vcs-xp4gxavp.js → formatter-b727e2mf.js} +9 -9
- package/dist/chunks/{vcs-zpmqt7v6.js → formatter-bc4s7aac.js} +12 -12
- package/dist/chunks/{vcs-bjhzkqyk.js → formatter-bjhzkqyk.js} +1 -1
- package/dist/chunks/{vcs-hq2efw4x.js → formatter-bph6tfhv.js} +17 -17
- package/dist/chunks/{vcs-4g7evqcq.js → formatter-brwf83f1.js} +13 -13
- package/dist/chunks/formatter-brxvtjfc.js +26 -0
- package/dist/chunks/{vcs-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{vcs-fbjqxkhq.js → formatter-c2gy53he.js} +8 -8
- package/dist/chunks/{vcs-ds7r37yp.js → formatter-c46s9eb3.js} +5 -5
- package/dist/chunks/{vcs-gd9bhszy.js → formatter-c6qe9nk0.js} +22 -22
- package/dist/chunks/{vcs-vqyvghz1.js → formatter-c9hwcyhb.js} +14 -14
- package/dist/chunks/{vcs-ssfehs1z.js → formatter-c9t2ty9q.js} +4 -4
- package/dist/chunks/{vcs-nhfnx0yz.js → formatter-chgm1tby.js} +4 -4
- package/dist/chunks/{vcs-3643rqcq.js → formatter-cjce029x.js} +20 -20
- package/dist/chunks/{vcs-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{vcs-jppd208a.js → formatter-cxx4120z.js} +9 -9
- package/dist/chunks/{vcs-8y5149m8.js → formatter-cymxkkyw.js} +30 -30
- package/dist/chunks/{vcs-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{vcs-pp35y9ja.js → formatter-da1nsxc2.js} +12 -12
- package/dist/chunks/{vcs-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{vcs-sme6xn3k.js → formatter-e5qfbzbw.js} +9 -9
- package/dist/chunks/{vcs-e834z07m.js → formatter-e834z07m.js} +1 -1
- package/dist/chunks/{vcs-ym045bap.js → formatter-ec29h8ha.js} +41 -41
- package/dist/chunks/{vcs-k4a4wn9h.js → formatter-enj9pb4k.js} +9 -9
- package/dist/chunks/{vcs-v0ry4a9f.js → formatter-envv585q.js} +54 -54
- package/dist/chunks/{vcs-ckhqsxvy.js → formatter-enxh4fyk.js} +16 -16
- package/dist/chunks/{vcs-2qjpg97e.js → formatter-fahcx4cp.js} +77 -77
- package/dist/chunks/{vcs-e8c50cbj.js → formatter-fdthysjs.js} +14 -14
- package/dist/chunks/{vcs-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{vcs-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{vcs-qzvrv7jr.js → formatter-fmt2zjvb.js} +20 -20
- package/dist/chunks/{vcs-40wjcqjb.js → formatter-fnac5zc8.js} +9 -9
- package/dist/chunks/{vcs-bq2x6ppg.js → formatter-fq6avx26.js} +16 -16
- package/dist/chunks/{vcs-6zmsqwr6.js → formatter-g3enaqm9.js} +16 -16
- package/dist/chunks/{vcs-f27me0yd.js → formatter-g6wkcjn2.js} +12 -12
- package/dist/chunks/{vcs-xk9q3ejh.js → formatter-g7gshgt7.js} +4 -4
- package/dist/chunks/{vcs-df75hh45.js → formatter-g9jxkka8.js} +11 -11
- package/dist/chunks/{vcs-dr0gyvs8.js → formatter-gc1mvsnx.js} +13 -13
- package/dist/chunks/{vcs-18m8fffx.js → formatter-ge85sm10.js} +16 -16
- package/dist/chunks/{vcs-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
- package/dist/chunks/{vcs-nqr97zc9.js → formatter-ghfyfjkc.js} +26 -26
- package/dist/chunks/{vcs-1c18fjk2.js → formatter-grv0jex9.js} +11 -11
- package/dist/chunks/{vcs-f0kndmgd.js → formatter-gsrcb0q9.js} +23 -23
- package/dist/chunks/{vcs-7epxgbgt.js → formatter-h4p3pyf8.js} +6 -6
- package/dist/chunks/{vcs-31zrf5rt.js → formatter-h659ea78.js} +4 -4
- package/dist/chunks/{vcs-z7qjx3kd.js → formatter-hbdn8m45.js} +34 -34
- package/dist/chunks/{vcs-hdfrs5mg.js → formatter-hdfrs5mg.js} +2 -2
- package/dist/chunks/{vcs-dpq8g4fp.js → formatter-hgd7c2hz.js} +13 -13
- package/dist/chunks/{vcs-2cgj4t74.js → formatter-hhe1ee49.js} +3 -3
- package/dist/chunks/{vcs-w40n4gsv.js → formatter-hn3gdjg3.js} +39 -39
- package/dist/chunks/{vcs-7874zhk8.js → formatter-hp39vnpe.js} +38 -38
- package/dist/chunks/{vcs-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
- package/dist/chunks/{vcs-j183yw35.js → formatter-htx3sbcr.js} +19 -19
- package/dist/chunks/{vcs-xxtgb6sa.js → formatter-hvkex31a.js} +11 -11
- package/dist/chunks/{vcs-mpe6qr53.js → formatter-hx6gesf1.js} +8 -8
- package/dist/chunks/{vcs-cadx8dpa.js → formatter-hyaynvgx.js} +22 -22
- package/dist/chunks/{vcs-w68dkr85.js → formatter-hz5mdqd1.js} +15 -15
- package/dist/chunks/{vcs-fzqd52s1.js → formatter-j9revkc6.js} +43 -43
- package/dist/chunks/{vcs-jfaecv01.js → formatter-jfaecv01.js} +1 -1
- package/dist/chunks/{vcs-t0kxd7r7.js → formatter-jq9280ps.js} +4 -4
- package/dist/chunks/{vcs-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
- package/dist/chunks/{vcs-g4p48r8x.js → formatter-jvcwjysj.js} +184 -184
- package/dist/chunks/{vcs-g1sr3cxe.js → formatter-jwxccdg8.js} +6 -6
- package/dist/chunks/{vcs-1z2ee6fc.js → formatter-k00f7hr2.js} +18 -18
- package/dist/chunks/{vcs-gqw7tsj2.js → formatter-k15fpqjy.js} +11 -11
- package/dist/chunks/{vcs-30fw0aaf.js → formatter-k4d71d02.js} +8 -8
- package/dist/chunks/{vcs-yefmbngg.js → formatter-k63k4b1f.js} +17 -17
- package/dist/chunks/{vcs-k814nvkf.js → formatter-k814nvkf.js} +1 -1
- package/dist/chunks/{vcs-d93zgrjq.js → formatter-ka1bgm7s.js} +34 -34
- package/dist/chunks/{vcs-zeckgh37.js → formatter-kgzzqqhe.js} +7 -7
- package/dist/chunks/{vcs-7fqk2rn8.js → formatter-kjjfjqy3.js} +12 -12
- package/dist/chunks/{vcs-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{vcs-0py4zw7v.js → formatter-kz7z5vjf.js} +7 -7
- package/dist/chunks/{vcs-jf5qn0eb.js → formatter-m0azqb84.js} +12 -12
- package/dist/chunks/{vcs-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{vcs-ccky80qd.js → formatter-m7fwq7c0.js} +19 -19
- package/dist/chunks/{vcs-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-dds9zz6p.js → formatter-mgcsgjq4.js} +4 -4
- package/dist/chunks/{vcs-cy4s1jp1.js → formatter-mjz2tdxa.js} +17 -17
- package/dist/chunks/{vcs-2338945t.js → formatter-mpswt61j.js} +1 -1
- package/dist/chunks/{vcs-h4fbvc3r.js → formatter-mq5znjk8.js} +12 -12
- package/dist/chunks/{vcs-5d4ztx9q.js → formatter-mwq3mt8e.js} +33 -33
- package/dist/chunks/{vcs-5mam38w3.js → formatter-mwx8k457.js} +15 -15
- package/dist/chunks/{vcs-bxp5xmbx.js → formatter-n8p4chj2.js} +7 -7
- package/dist/chunks/{vcs-n0bgtmah.js → formatter-n98b5x95.js} +4 -4
- package/dist/chunks/{vcs-nah043kf.js → formatter-nah043kf.js} +1 -1
- package/dist/chunks/{vcs-39g43sx8.js → formatter-ngxbkp8v.js} +5 -5
- package/dist/chunks/{vcs-bhy91ayb.js → formatter-npbdyff7.js} +32 -32
- package/dist/chunks/{vcs-pm2h99rs.js → formatter-nrv1y2q0.js} +5 -5
- package/dist/chunks/{vcs-xj4wy132.js → formatter-nsevj23t.js} +13 -13
- package/dist/chunks/{vcs-p015t6z3.js → formatter-p015t6z3.js} +2 -2
- package/dist/chunks/{vcs-g5dwm102.js → formatter-pa0ex826.js} +11 -11
- package/dist/chunks/{vcs-hstvx0fp.js → formatter-pd78jttv.js} +13 -13
- package/dist/chunks/{vcs-b7pj09ek.js → formatter-pkh3c91y.js} +20 -20
- package/dist/chunks/{vcs-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-6xxsd0pz.js → formatter-pt7m923m.js} +3 -3
- package/dist/chunks/{vcs-5r0vv638.js → formatter-pwzrj9r4.js} +25 -25
- package/dist/chunks/{vcs-6xwsggmf.js → formatter-q2zh2gwm.js} +13 -13
- package/dist/chunks/{vcs-a9czvbcv.js → formatter-q35sm1em.js} +1 -1
- package/dist/chunks/{vcs-4ygfw4eq.js → formatter-q39rmv9p.js} +84 -84
- package/dist/chunks/{vcs-zgkm4kzm.js → formatter-q63cb7ap.js} +4 -4
- package/dist/chunks/{vcs-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{vcs-c6x7d2ts.js → formatter-qqg9c0kv.js} +4 -4
- package/dist/chunks/{vcs-0rxw2bhj.js → formatter-qw68mmce.js} +3 -3
- package/dist/chunks/{vcs-m2dzna08.js → formatter-r0pbn82r.js} +11 -11
- package/dist/chunks/{vcs-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
- package/dist/chunks/{vcs-qbbn7fzb.js → formatter-r2h6cvw2.js} +3 -3
- package/dist/chunks/{vcs-r542h3bh.js → formatter-r542h3bh.js} +1 -1
- package/dist/chunks/{vcs-b0sg3wpe.js → formatter-r85hedwm.js} +9 -9
- package/dist/chunks/{vcs-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{vcs-8n62zpbp.js → formatter-rc57nzph.js} +15 -15
- package/dist/chunks/{vcs-kfg4vbkh.js → formatter-re90sanf.js} +11 -11
- package/dist/chunks/{vcs-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{vcs-vmb9fjk7.js → formatter-rvbdf6ee.js} +4 -4
- package/dist/chunks/{vcs-5671gcv1.js → formatter-s3g9ecv2.js} +21 -21
- package/dist/chunks/{vcs-w35wzz9x.js → formatter-s7kyse9r.js} +4 -4
- package/dist/chunks/{vcs-7sdtxe0n.js → formatter-s7xmnr8t.js} +8 -8
- package/dist/chunks/{vcs-whphkcrj.js → formatter-s7zt2hwe.js} +29 -29
- package/dist/chunks/{vcs-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
- package/dist/chunks/{vcs-etk98kh7.js → formatter-sjchwnp0.js} +57 -28
- package/dist/chunks/{vcs-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{vcs-bpnannhc.js → formatter-ssnx7b4e.js} +38 -38
- package/dist/chunks/{vcs-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{vcs-texq708e.js → formatter-t0dansjm.js} +3 -3
- package/dist/chunks/{vcs-rfy1qsv0.js → formatter-t2z71z34.js} +5 -5
- package/dist/chunks/{vcs-rxr97xxp.js → formatter-t87050pk.js} +5 -5
- package/dist/chunks/{vcs-q6x07d23.js → formatter-tbhy4r12.js} +4 -4
- package/dist/chunks/{vcs-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{vcs-9kg5w032.js → formatter-tg1vr1qt.js} +8 -8
- package/dist/chunks/{vcs-nyvrwfsp.js → formatter-thvf23q9.js} +7 -7
- package/dist/chunks/{vcs-vx6ny987.js → formatter-tknbc31d.js} +4 -4
- package/dist/chunks/{vcs-jmg6ybda.js → formatter-tmd438dm.js} +3 -3
- package/dist/chunks/{vcs-95knjzp6.js → formatter-tmpv8qhk.js} +9 -9
- package/dist/chunks/{vcs-d206m7xv.js → formatter-tp0wxn7d.js} +5 -5
- package/dist/chunks/{vcs-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{vcs-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{vcs-b8r1m2ts.js → formatter-v519ksy7.js} +55 -44
- package/dist/chunks/{vcs-zzt9btdd.js → formatter-v6z303eq.js} +28 -28
- package/dist/chunks/{vcs-vsqvcqta.js → formatter-vaq1yek0.js} +6 -6
- package/dist/chunks/formatter-vdh3rgac.js +18 -0
- package/dist/chunks/{vcs-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-d85wcx0m.js → formatter-vjbxdeb8.js} +14 -14
- package/dist/chunks/{vcs-xnh55p1t.js → formatter-vmfhgzt5.js} +7 -7
- package/dist/chunks/{vcs-smfcvx02.js → formatter-vrcsa8qx.js} +9 -9
- package/dist/chunks/{vcs-dz8d6p0s.js → formatter-vrx9q2v9.js} +5 -5
- package/dist/chunks/{vcs-vpm8vpz0.js → formatter-vx3jgdek.js} +2 -2
- package/dist/chunks/{vcs-k9zkdd2y.js → formatter-w307e9wj.js} +4 -4
- package/dist/chunks/{vcs-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-wr3re1en.js → formatter-w687dnns.js} +4 -4
- package/dist/chunks/{vcs-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-rkmk5vwv.js → formatter-we007nbv.js} +20 -20
- package/dist/chunks/{vcs-7fg5f906.js → formatter-whtafen9.js} +12 -12
- package/dist/chunks/{vcs-gym2h9a5.js → formatter-wkztgnzq.js} +39 -39
- package/dist/chunks/{vcs-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
- package/dist/chunks/{vcs-hpfdwx7h.js → formatter-wtn2pt4a.js} +6 -6
- package/dist/chunks/{vcs-hembwb5d.js → formatter-wxrt44b6.js} +32 -32
- package/dist/chunks/{vcs-0g7k9xcb.js → formatter-x7gm0ha8.js} +5 -5
- package/dist/chunks/{vcs-snefxbbk.js → formatter-xwc4j8ee.js} +20 -20
- package/dist/chunks/{vcs-c7zhh4za.js → formatter-xwyda8kd.js} +6 -6
- package/dist/chunks/{vcs-ysprf8xe.js → formatter-xzqqj5cv.js} +8 -8
- package/dist/chunks/{vcs-y1d2ygm2.js → formatter-xzwcmcya.js} +11 -11
- package/dist/chunks/{vcs-nq68ds7k.js → formatter-y03y2908.js} +13 -13
- package/dist/chunks/{vcs-yara3q77.js → formatter-yara3q77.js} +2 -2
- package/dist/chunks/{vcs-cgcy5cf3.js → formatter-yb13j5xb.js} +5 -5
- package/dist/chunks/{vcs-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{vcs-tamjj6bd.js → formatter-yh2xpw0b.js} +18 -18
- package/dist/chunks/{vcs-bmx1m787.js → formatter-yhcrwr1f.js} +13 -13
- package/dist/chunks/{vcs-48g74nrn.js → formatter-yhn7d48k.js} +10 -10
- package/dist/chunks/{vcs-prd8gnhb.js → formatter-yqveydy6.js} +4 -4
- package/dist/chunks/{vcs-hcw7brhb.js → formatter-yy19he2s.js} +32 -32
- package/dist/chunks/{vcs-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z38nccrw.js → formatter-z38nccrw.js} +1 -1
- package/dist/chunks/{vcs-s3d0e3hj.js → formatter-z4rk52fe.js} +18 -18
- package/dist/chunks/{vcs-4dc0m2yj.js → formatter-zayt27d7.js} +18 -18
- package/dist/chunks/{vcs-qnx4qqef.js → formatter-ze827wmr.js} +29 -29
- package/dist/chunks/{vcs-yqdscqzd.js → formatter-zg5q7ejm.js} +50 -50
- package/dist/chunks/{vcs-afpnaekc.js → formatter-zj8xsvef.js} +25 -25
- package/dist/chunks/{vcs-ppb36cfr.js → formatter-zma8xknj.js} +11 -11
- package/dist/chunks/{vcs-qvp421yx.js → formatter-znaw7jdf.js} +12 -12
- package/dist/chunks/{vcs-cjbgqqwx.js → formatter-zv35kxex.js} +30 -30
- package/dist/chunks/{vcs-sh7z0vsf.js → formatter-zwjwjj82.js} +15 -15
- package/dist/chunks/{vcs-hzkgd62h.js → formatter-zzg16z9m.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +90 -90
- 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 +121 -121
- 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 +121 -121
- 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 +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- 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 +120 -120
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +381 -381
- 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 +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +81 -81
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +112 -112
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +111 -111
- 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 +372 -372
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +93 -93
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- 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 +369 -369
- 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 +117 -117
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +81 -81
- 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 +104 -104
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- 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 +147 -147
- 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 +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- 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 +119 -119
- 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/cohere.js +2 -2
- 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/factory.js +1 -1
- 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/perplexity.js +2 -2
- 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/vercel.js +98 -98
- 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 +175 -175
- 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 +361 -361
- 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 +6 -6
- 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 +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +162 -162
- 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 +154 -154
- 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 +3 -3
- 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 +215 -215
- package/dist/session/system-prompt.js +5 -5
- 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 +223 -223
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +156 -156
- 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 +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +151 -149
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +150 -150
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/permission.d.ts +2 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -0
- 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 +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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/vcs-2dkjcnxp.js +0 -18
- package/dist/chunks/vcs-3wfcjg2y.js +0 -257
- package/dist/chunks/vcs-d4p81mds.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1jakw16s.js → formatter-1jakw16s.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a058387c.js → formatter-a058387c.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./formatter-6add78pk.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service65
|
|
10
|
+
} from "./formatter-v519ksy7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
20
|
Output: () => Output6,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin42,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name7,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,14 +37,14 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name7 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input7 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
50
|
var Output6 = Schema.Struct({
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin42 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service69;
|
|
68
|
+
const permission = yield* Service65;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
78
|
+
input: Input7,
|
|
79
79
|
output: Output6,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name7,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin24 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name7, Info2, Input7, Output6, summarize2, Plugin42, exports_todo };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rvbdf6ee.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-bjhzkqyk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./formatter-cjce029x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./formatter-fq6avx26.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID13,
|
|
15
15
|
Service75
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-35zt77b2.js";
|
|
17
17
|
import {
|
|
18
18
|
load4,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-b727e2mf.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./formatter-95qeadzf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./formatter-9nkjg9qd.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-vdh3rgac.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service45;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service40;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-rvbdf6ee.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-8qnchk02.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-30wq98rm.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info10,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service60,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node63
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,9 +55,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service60 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
62
|
const location = yield* Service82;
|
|
63
63
|
const bus = yield* Service85;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service60.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node63 = makeLocationNode({
|
|
193
|
+
service: Service60,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [FSUtil.node, node86, node89]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info10, Mode2, Untracked2, DiffError2, InitializeError2, Service60, node63, exports_vcs };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-vrx9q2v9.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-pt7m923m.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-rvbdf6ee.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-8qnchk02.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-30wq98rm.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service81,
|
|
33
|
+
node85
|
|
34
|
+
} from "./formatter-9t0k5eya.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service80
|
|
41
|
+
} from "./formatter-00pktjsy.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./formatter-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event19,
|
|
53
|
+
Info: () => Info27,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service79,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node83
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,9 +75,9 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info27 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
82
|
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event19 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service79 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service81;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service80).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event19.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service79.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node83 = Node.makeGlobalNode({
|
|
260
|
+
service: Service79,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node85]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info27, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event19, Service79, node83, exports_worktree2, OperationError2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rvbdf6ee.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-3jw91zxn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event5
|
|
10
|
+
} from "./formatter-yy19he2s.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service19;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-pt7m923m.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load5
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-75evnb93.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-27bs79w9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service67,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node71
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service67 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service86;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service67.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node90] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service67, node71, exports_store };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-30wq98rm.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-k63k4b1f.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin7 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service82;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin7, exports_hg };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-fdthysjs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./formatter-v519ksy7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input15,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name15,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name15 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input15 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin51 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service77;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service65;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input15,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name15, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|