@opencode/core 0.0.0-dev-146 → 0.0.0-dev-147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +101 -101
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{formatter-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{formatter-pkh3c91y.js → command-03gg8qqd.js} +25 -25
- package/dist/chunks/{formatter-yh2xpw0b.js → command-0a2a3t6z.js} +20 -20
- package/dist/chunks/{formatter-8yhc7zrg.js → command-0anyt1n6.js} +9 -9
- package/dist/chunks/{formatter-0f8tg23y.js → command-0f8tg23y.js} +3 -3
- package/dist/chunks/{formatter-8ymr7d4s.js → command-0ns80rp4.js} +19 -19
- package/dist/chunks/{formatter-7ye1cp98.js → command-0qkbb4f9.js} +10 -10
- package/dist/chunks/{formatter-t0dansjm.js → command-0ytd7j9m.js} +3 -3
- package/dist/chunks/{formatter-jq9280ps.js → command-17v1k4r5.js} +4 -4
- package/dist/chunks/{formatter-9ctbbx4t.js → command-1csrjc8n.js} +5 -5
- package/dist/chunks/{formatter-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{formatter-8phszwmc.js → command-1jc2pb62.js} +19 -19
- package/dist/chunks/{formatter-4k8v9b7f.js → command-1mcvp2zr.js} +6 -6
- package/dist/chunks/{formatter-ssnx7b4e.js → command-1me66rte.js} +43 -43
- package/dist/chunks/{formatter-ka1bgm7s.js → command-1sp5hyz3.js} +36 -36
- package/dist/chunks/{formatter-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-9nkjg9qd.js → command-1z6t7raf.js} +6 -6
- package/dist/chunks/{formatter-yb13j5xb.js → command-2022h574.js} +5 -5
- package/dist/chunks/{formatter-204s3925.js → command-204s3925.js} +1 -1
- package/dist/chunks/{formatter-6dra8ttr.js → command-20hs3de4.js} +27 -27
- package/dist/chunks/{formatter-c6qe9nk0.js → command-21kkeetz.js} +13 -13
- package/dist/chunks/command-22hp01rm.js +26 -0
- package/dist/chunks/{formatter-bc4s7aac.js → command-2440020h.js} +16 -16
- package/dist/chunks/{formatter-6td4j3g2.js → command-2efjc0sy.js} +4 -4
- package/dist/chunks/{formatter-bph6tfhv.js → command-2fr8hm5d.js} +16 -16
- package/dist/chunks/{formatter-q35sm1em.js → command-2j2qh23v.js} +1 -1
- package/dist/chunks/{formatter-qw68mmce.js → command-2qnb4nns.js} +3 -3
- package/dist/chunks/{formatter-fq6avx26.js → command-2x6gw633.js} +17 -17
- package/dist/chunks/{formatter-2zp5a6yg.js → command-2zp5a6yg.js} +1 -1
- package/dist/chunks/{formatter-80kvr5bw.js → command-3571pbex.js} +8 -8
- package/dist/chunks/{formatter-r0pbn82r.js → command-364mvxtt.js} +11 -11
- package/dist/chunks/{formatter-6rt7ts86.js → command-3ebws65w.js} +4 -4
- package/dist/chunks/{formatter-cjce029x.js → command-3fcp3vfx.js} +28 -28
- package/dist/chunks/{formatter-7hqt66pc.js → command-3fjfxwbz.js} +22 -22
- package/dist/chunks/{formatter-3gbv69k7.js → command-3gbz2z4m.js} +33 -33
- package/dist/chunks/{formatter-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-70agar2m.js → command-3j6ymswq.js} +2 -2
- package/dist/chunks/{formatter-3kdbrncp.js → command-3kdbrncp.js} +2 -2
- package/dist/chunks/{formatter-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-yhn7d48k.js → command-3pcdyetm.js} +8 -8
- package/dist/chunks/{formatter-qqg9c0kv.js → command-3ryz99p0.js} +4 -4
- package/dist/chunks/{formatter-hyaynvgx.js → command-408sdsd3.js} +22 -22
- package/dist/chunks/{formatter-40za9wsf.js → command-40za9wsf.js} +2 -2
- package/dist/chunks/{formatter-xwyda8kd.js → command-41j13f84.js} +6 -6
- package/dist/chunks/{formatter-hvkex31a.js → command-43d5xc6d.js} +19 -19
- package/dist/chunks/{formatter-2xwkyk0m.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{formatter-npbdyff7.js → command-4mty8f1g.js} +26 -26
- package/dist/chunks/{formatter-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-g7gshgt7.js → command-4q0yhm9h.js} +4 -4
- package/dist/chunks/{formatter-pa0ex826.js → command-4sv1dg8q.js} +11 -11
- package/dist/chunks/{formatter-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-3jw91zxn.js → command-4wtjrc2f.js} +16 -16
- package/dist/chunks/{formatter-brwf83f1.js → command-54hpetsb.js} +13 -13
- package/dist/chunks/command-59w4xjr9.js +257 -0
- package/dist/chunks/{formatter-b5rjhvjd.js → command-5bv1cvz4.js} +14 -14
- package/dist/chunks/{formatter-zg5q7ejm.js → command-5c3dvsd0.js} +50 -50
- package/dist/chunks/{formatter-jvcwjysj.js → command-5epjyysv.js} +166 -166
- package/dist/chunks/{formatter-xwc4j8ee.js → command-5hf3gx0g.js} +17 -17
- package/dist/chunks/{formatter-m7fwq7c0.js → command-5jvt7m5p.js} +19 -19
- package/dist/chunks/{formatter-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-3zjnpbwd.js → command-5n6y45s7.js} +32 -32
- package/dist/chunks/{formatter-91za51b6.js → command-5s47xvcx.js} +11 -11
- package/dist/chunks/{formatter-cxx4120z.js → command-5xkp6yc1.js} +11 -11
- package/dist/chunks/{formatter-afhdzj43.js → command-5yqpd0c6.js} +26 -26
- package/dist/chunks/{formatter-tp0wxn7d.js → command-63q56kkm.js} +5 -5
- package/dist/chunks/{formatter-6esdw8yj.js → command-6esdw8yj.js} +1 -1
- package/dist/chunks/{formatter-8430rgvc.js → command-6h4b9nqg.js} +6 -6
- package/dist/chunks/{formatter-zayt27d7.js → command-6nkfgcmr.js} +23 -23
- package/dist/chunks/{formatter-76cb1hcw.js → command-76cb1hcw.js} +1 -1
- package/dist/chunks/{formatter-ec29h8ha.js → command-76jsvc9q.js} +42 -42
- package/dist/chunks/{formatter-nah043kf.js → command-770pw0s1.js} +4 -4
- package/dist/chunks/{formatter-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-0qf1t2tf.js → command-7f7rnj0t.js} +11 -11
- package/dist/chunks/{formatter-q39rmv9p.js → command-7j073thm.js} +86 -86
- package/dist/chunks/{formatter-ze827wmr.js → command-7jz8b159.js} +31 -31
- package/dist/chunks/{formatter-grv0jex9.js → command-7rnxwetx.js} +11 -11
- package/dist/chunks/{formatter-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-g6wkcjn2.js → command-8322pcqg.js} +9 -9
- package/dist/chunks/{formatter-54bnvst0.js → command-855nk7ek.js} +36 -36
- package/dist/chunks/{formatter-znaw7jdf.js → command-86p8bbrs.js} +14 -14
- package/dist/chunks/{formatter-htx3sbcr.js → command-894m97aw.js} +19 -19
- package/dist/chunks/{formatter-s3g9ecv2.js → command-8dk4kc5x.js} +21 -21
- package/dist/chunks/{formatter-6add78pk.js → command-8etsby8r.js} +38 -38
- package/dist/chunks/{formatter-8jztxfpf.js → command-8jztxfpf.js} +1 -1
- package/dist/chunks/{formatter-kjjfjqy3.js → command-8k289es9.js} +12 -12
- package/dist/chunks/{formatter-afbxbw72.js → command-8vdz7xys.js} +11 -11
- package/dist/chunks/{formatter-vx3jgdek.js → command-8whp40kv.js} +3 -3
- package/dist/chunks/{formatter-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{formatter-176yg0jf.js → command-9fktqme4.js} +15 -15
- package/dist/chunks/{formatter-s7kyse9r.js → command-9q8g9sv8.js} +4 -4
- package/dist/chunks/{formatter-9r0x1bva.js → command-9r0x1bva.js} +2 -2
- package/dist/chunks/{formatter-00pktjsy.js → command-9vf3vq7b.js} +16 -16
- package/dist/chunks/{formatter-t2z71z34.js → command-9wzjb77v.js} +5 -5
- package/dist/chunks/{formatter-pd78jttv.js → command-a20g6ne5.js} +15 -15
- package/dist/chunks/{formatter-n8p4chj2.js → command-a6t5v42q.js} +7 -7
- package/dist/chunks/{formatter-1eqvcz7d.js → command-ac6xf83y.js} +11 -11
- package/dist/chunks/{formatter-jwxccdg8.js → command-ahyb432b.js} +3 -3
- package/dist/chunks/{formatter-4vxvd6mv.js → command-amrj7qc1.js} +6 -6
- package/dist/chunks/{formatter-rc57nzph.js → command-as683dr2.js} +13 -13
- package/dist/chunks/{formatter-r85hedwm.js → command-ata4hxyc.js} +9 -9
- package/dist/chunks/{formatter-31wms35x.js → command-ayeq9fxf.js} +8 -8
- package/dist/chunks/{formatter-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{formatter-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{formatter-kz7z5vjf.js → command-bfaa3fyj.js} +7 -7
- package/dist/chunks/{formatter-zv35kxex.js → command-bghtn7x8.js} +30 -30
- package/dist/chunks/{formatter-c9hwcyhb.js → command-bqne9xnh.js} +14 -14
- package/dist/chunks/{formatter-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{formatter-6v5r3k3y.js → command-bw7z95jg.js} +33 -33
- package/dist/chunks/{formatter-k63k4b1f.js → command-bxbgm0np.js} +17 -17
- package/dist/chunks/{formatter-v6z303eq.js → command-byb3djp0.js} +25 -25
- package/dist/chunks/{formatter-hx6gesf1.js → command-c5m2a8vb.js} +8 -8
- package/dist/chunks/{formatter-ghfyfjkc.js → command-cpzme4dc.js} +21 -21
- package/dist/chunks/{formatter-ay20v4cr.js → command-cq3k11qx.js} +4 -4
- package/dist/chunks/{formatter-4e1keyg1.js → command-cvkyy8as.js} +15 -15
- package/dist/chunks/{formatter-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-g3enaqm9.js → command-cxqt8363.js} +16 -16
- package/dist/chunks/{formatter-c9t2ty9q.js → command-d2887f8n.js} +4 -4
- package/dist/chunks/{formatter-hgd7c2hz.js → command-d3q76dbt.js} +15 -15
- package/dist/chunks/{formatter-pt7m923m.js → command-d3xp083n.js} +3 -3
- package/dist/chunks/{formatter-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-9v0dawq3.js → command-da8fh3w6.js} +9 -9
- package/dist/chunks/{formatter-9k3wnwh3.js → command-dh3t098k.js} +9 -9
- package/dist/chunks/{formatter-01awnnjy.js → command-dhwr4tpt.js} +313 -313
- package/dist/chunks/{formatter-fnac5zc8.js → command-dk4kgb96.js} +13 -13
- package/dist/chunks/{formatter-enj9pb4k.js → command-dqpjcdfr.js} +9 -9
- package/dist/chunks/{formatter-0tqctwjc.js → command-dsnd5zgh.js} +23 -23
- package/dist/chunks/{formatter-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-kgzzqqhe.js → command-dtrp02zs.js} +7 -7
- package/dist/chunks/{formatter-7ngzeq25.js → command-e1jp2z5s.js} +11 -11
- package/dist/chunks/{formatter-rvbdf6ee.js → command-e1m4p0v5.js} +4 -4
- package/dist/chunks/{formatter-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{formatter-2jexqb4b.js → command-egv8e2hp.js} +14 -14
- package/dist/chunks/{formatter-c46s9eb3.js → command-f01y088k.js} +5 -5
- package/dist/chunks/{formatter-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{formatter-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{formatter-mq5znjk8.js → command-fjxznerj.js} +6 -6
- package/dist/chunks/{formatter-65f11974.js → command-fm82e0z4.js} +6 -6
- package/dist/chunks/{formatter-9zcxsq7k.js → command-frhmmft9.js} +11 -11
- package/dist/chunks/{formatter-95qeadzf.js → command-fwb4xs1d.js} +18 -18
- package/dist/chunks/{formatter-vjbxdeb8.js → command-fxd1refm.js} +12 -12
- package/dist/chunks/{formatter-az02dgt5.js → command-g5fr6wr5.js} +19 -19
- package/dist/chunks/{formatter-vmfhgzt5.js → command-g7esga4v.js} +5 -5
- package/dist/chunks/{formatter-8qnchk02.js → command-g853qrcj.js} +9 -9
- package/dist/chunks/{formatter-gg8p9cgs.js → command-gg8p9cgs.js} +3 -3
- package/dist/chunks/{formatter-mjz2tdxa.js → command-gs31mcp0.js} +18 -18
- package/dist/chunks/{formatter-1kn6jdkn.js → command-gtn9c16a.js} +4 -4
- package/dist/chunks/{formatter-hbdn8m45.js → command-h1vvy3p9.js} +34 -34
- package/dist/chunks/{formatter-3ykedks4.js → command-hbyynrh9.js} +12 -12
- package/dist/chunks/{formatter-hdfrs5mg.js → command-hdfrs5mg.js} +2 -2
- package/dist/chunks/{formatter-wkztgnzq.js → command-hgwzxrzc.js} +30 -30
- package/dist/chunks/{formatter-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
- package/dist/chunks/{formatter-a609rjt8.js → command-htb45g8t.js} +11 -11
- package/dist/chunks/{formatter-2vjv0qpa.js → command-hwpnj6c7.js} +18 -18
- package/dist/chunks/{formatter-h659ea78.js → command-jd1hqz7r.js} +4 -4
- package/dist/chunks/{formatter-jfaecv01.js → command-jfaecv01.js} +1 -1
- package/dist/chunks/{formatter-0ks8sfjc.js → command-jhsa714p.js} +24 -24
- package/dist/chunks/{formatter-advnjzs0.js → command-jjg0fd2w.js} +30 -30
- package/dist/chunks/{formatter-xzwcmcya.js → command-jjkdygwn.js} +14 -14
- package/dist/chunks/{formatter-jtnps1zs.js → command-jtnps1zs.js} +2 -2
- package/dist/chunks/{formatter-9t0k5eya.js → command-jtz26s32.js} +9 -9
- package/dist/chunks/{formatter-we007nbv.js → command-k02np800.js} +20 -20
- package/dist/chunks/{formatter-k814nvkf.js → command-k814nvkf.js} +1 -1
- package/dist/chunks/{formatter-h4p3pyf8.js → command-kkew1p9e.js} +6 -6
- package/dist/chunks/{formatter-tg1vr1qt.js → command-kmzgegqq.js} +8 -8
- package/dist/chunks/{formatter-hhe1ee49.js → command-kqgx07am.js} +3 -3
- package/dist/chunks/{formatter-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{formatter-54ptjt3c.js → command-m6ss8v1v.js} +6 -6
- package/dist/chunks/{formatter-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/command-me0dhgxs.js +18 -0
- package/dist/chunks/{formatter-nsevj23t.js → command-mfw28sm0.js} +15 -15
- package/dist/chunks/{formatter-b727e2mf.js → command-mt5p9bn9.js} +12 -12
- package/dist/chunks/{formatter-re90sanf.js → command-n1f7r4jg.js} +11 -11
- package/dist/chunks/{formatter-c2gy53he.js → command-n3bkb5q1.js} +8 -8
- package/dist/chunks/{formatter-v519ksy7.js → command-nbg58ndn.js} +39 -39
- package/dist/chunks/{formatter-5x26af84.js → command-nf3nsvxh.js} +4 -4
- package/dist/chunks/{formatter-2br6b2v9.js → command-nfanb3qk.js} +13 -13
- package/dist/chunks/{formatter-58t0t45t.js → command-nkyxjm4a.js} +15 -15
- package/dist/chunks/{formatter-p015t6z3.js → command-p015t6z3.js} +2 -2
- package/dist/chunks/{formatter-g9jxkka8.js → command-p62jemgq.js} +11 -11
- package/dist/chunks/{formatter-s7xmnr8t.js → command-p745vxmt.js} +4 -4
- package/dist/chunks/{formatter-1yq9hg58.js → command-p7vhpwh8.js} +5 -5
- package/dist/chunks/{formatter-0jjwjx0v.js → command-p9p598qb.js} +25 -25
- package/dist/chunks/{formatter-y03y2908.js → command-padn2eeq.js} +13 -13
- package/dist/chunks/{formatter-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-8ykqf5wm.js → command-pnwsrq7c.js} +8 -8
- package/dist/chunks/{formatter-mpswt61j.js → command-q5hbf1bz.js} +1 -1
- package/dist/chunks/{formatter-q63cb7ap.js → command-q63cb7ap.js} +3 -3
- package/dist/chunks/{formatter-mwq3mt8e.js → command-q7x29y72.js} +33 -33
- package/dist/chunks/{formatter-n98b5x95.js → command-qerad60p.js} +4 -4
- package/dist/chunks/{formatter-e5qfbzbw.js → command-qg71vpy1.js} +11 -11
- package/dist/chunks/{formatter-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-75evnb93.js → command-qygtycqa.js} +9 -9
- package/dist/chunks/{formatter-r0yr0wbs.js → command-r0yr0wbs.js} +1 -1
- package/dist/chunks/{formatter-r542h3bh.js → command-r542h3bh.js} +1 -1
- package/dist/chunks/{formatter-enxh4fyk.js → command-r8ygw0sc.js} +18 -18
- package/dist/chunks/{formatter-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-yqveydy6.js → command-rcbjwvze.js} +4 -4
- package/dist/chunks/{formatter-xzqqj5cv.js → command-rew8mj1n.js} +8 -8
- package/dist/chunks/{formatter-9tacn0cp.js → command-rjm1mwc3.js} +2 -2
- package/dist/chunks/{formatter-34b2q3dm.js → command-rmzznxa2.js} +20 -20
- package/dist/chunks/{formatter-35zt77b2.js → command-rpkw1g3t.js} +14 -14
- package/dist/chunks/{formatter-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{formatter-tmd438dm.js → command-rvwg8rn3.js} +3 -3
- package/dist/chunks/{formatter-tbhy4r12.js → command-s4wh0s60.js} +4 -4
- package/dist/chunks/{formatter-180ps155.js → command-s55xdrfs.js} +28 -28
- package/dist/chunks/{formatter-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{formatter-z4rk52fe.js → command-sb04x4h3.js} +21 -21
- package/dist/chunks/{formatter-hz5mdqd1.js → command-sje0z0tk.js} +16 -16
- package/dist/chunks/{formatter-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
- package/dist/chunks/{formatter-x7gm0ha8.js → command-sr1dt70d.js} +5 -5
- package/dist/chunks/{formatter-t87050pk.js → command-sr40d3da.js} +5 -5
- package/dist/chunks/{formatter-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-6asz9jay.js → command-sym2g66c.js} +11 -11
- package/dist/chunks/{formatter-zwjwjj82.js → command-t2r27f6d.js} +16 -16
- package/dist/chunks/{formatter-hn3gdjg3.js → command-t3gyy76t.js} +41 -41
- package/dist/chunks/{formatter-k00f7hr2.js → command-t4xy5q2h.js} +21 -21
- package/dist/chunks/{formatter-fahcx4cp.js → command-t50ft15e.js} +77 -77
- package/dist/chunks/{formatter-k15fpqjy.js → command-t56wpkx3.js} +11 -11
- package/dist/chunks/{formatter-ngxbkp8v.js → command-t646ab44.js} +3 -3
- package/dist/chunks/{formatter-s7zt2hwe.js → command-t6bdq4ae.js} +20 -20
- package/dist/chunks/{formatter-tmpv8qhk.js → command-t6p5basa.js} +9 -9
- package/dist/chunks/{formatter-hp39vnpe.js → command-tar054ab.js} +39 -39
- package/dist/chunks/{formatter-chgm1tby.js → command-tcmyp6yy.js} +4 -4
- package/dist/chunks/{formatter-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-tknbc31d.js → command-tek21tes.js} +7 -7
- package/dist/chunks/{formatter-30wq98rm.js → command-tg5s95kk.js} +2 -2
- package/dist/chunks/{formatter-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-pwzrj9r4.js → command-ty9942w5.js} +25 -25
- package/dist/chunks/{formatter-zzg16z9m.js → command-v0gm0fq4.js} +11 -11
- package/dist/chunks/{formatter-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-cymxkkyw.js → command-v38aff5x.js} +30 -30
- package/dist/chunks/{formatter-wtn2pt4a.js → command-v4ek9rx4.js} +6 -6
- package/dist/chunks/{formatter-8843840p.js → command-v7xj81rq.js} +3 -3
- package/dist/chunks/{formatter-zma8xknj.js → command-v9ffx0tz.js} +11 -11
- package/dist/chunks/{formatter-k4d71d02.js → command-vc5eegtv.js} +8 -8
- package/dist/chunks/{formatter-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-ge85sm10.js → command-vg0ft4mp.js} +27 -27
- package/dist/chunks/{formatter-zj8xsvef.js → command-vjrk7mrg.js} +25 -25
- package/dist/chunks/{formatter-m0azqb84.js → command-vjx7pmy6.js} +11 -11
- package/dist/chunks/{formatter-60g5e9a4.js → command-vjy3t4hp.js} +15 -15
- package/dist/chunks/{formatter-thvf23q9.js → command-vk0va4ns.js} +7 -7
- package/dist/chunks/{formatter-yy19he2s.js → command-vnbbybtr.js} +35 -35
- package/dist/chunks/{formatter-02f3mwsw.js → command-vpfvr7pj.js} +42 -42
- package/dist/chunks/{formatter-vrcsa8qx.js → command-vrcsa8qx.js} +2 -2
- package/dist/chunks/{formatter-wxrt44b6.js → command-vtazzqvz.js} +32 -32
- package/dist/chunks/{formatter-27bs79w9.js → command-vwvg46tm.js} +2 -2
- package/dist/chunks/{formatter-w307e9wj.js → command-w307e9wj.js} +1 -1
- package/dist/chunks/{formatter-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-w687dnns.js → command-w687dnns.js} +1 -1
- package/dist/chunks/{formatter-2saggmey.js → command-w71j32r1.js} +16 -16
- package/dist/chunks/{formatter-sjchwnp0.js → command-wa02e4w7.js} +19 -19
- package/dist/chunks/{formatter-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{formatter-vrx9q2v9.js → command-wrtc07rs.js} +5 -5
- package/dist/chunks/{formatter-6t1z78dt.js → command-wy39txpv.js} +17 -17
- package/dist/chunks/{formatter-whtafen9.js → command-wze2rh1w.js} +12 -12
- package/dist/chunks/{formatter-3h9jmy66.js → command-xcgf2a96.js} +17 -17
- package/dist/chunks/{formatter-9can0ppv.js → command-xd4wg3dz.js} +10 -10
- package/dist/chunks/{formatter-1tz3dvpf.js → command-xqdc6ght.js} +18 -18
- package/dist/chunks/{formatter-65q9xmpy.js → command-xr08hmyf.js} +16 -16
- package/dist/chunks/{formatter-da1nsxc2.js → command-xsmvaqb0.js} +12 -12
- package/dist/chunks/{formatter-206jryat.js → command-y44nw84n.js} +35 -35
- package/dist/chunks/{formatter-mgcsgjq4.js → command-y4n6pw34.js} +4 -4
- package/dist/chunks/{formatter-yara3q77.js → command-yara3q77.js} +2 -2
- package/dist/chunks/{formatter-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-3qgpmfb2.js → command-yb65w6k9.js} +19 -19
- package/dist/chunks/{formatter-gc1mvsnx.js → command-yem8zf21.js} +10 -10
- package/dist/chunks/{formatter-r2h6cvw2.js → command-yhv04qhe.js} +3 -3
- package/dist/chunks/{formatter-mwx8k457.js → command-yqw7dbm9.js} +17 -17
- package/dist/chunks/{formatter-nrv1y2q0.js → command-ysp28c2z.js} +5 -5
- package/dist/chunks/{formatter-j9revkc6.js → command-yvzg1qya.js} +48 -48
- package/dist/chunks/{formatter-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-a9atne55.js → command-z2sxkq9m.js} +11 -11
- package/dist/chunks/{formatter-yhcrwr1f.js → command-z2ttmvzn.js} +13 -13
- package/dist/chunks/{formatter-z38nccrw.js → command-z38nccrw.js} +1 -1
- package/dist/chunks/{formatter-q2zh2gwm.js → command-z7c8gxnm.js} +15 -15
- package/dist/chunks/{formatter-gsrcb0q9.js → command-zag65vbv.js} +27 -27
- package/dist/chunks/{formatter-fdthysjs.js → command-zb17hmp7.js} +21 -21
- package/dist/chunks/{formatter-bjhzkqyk.js → command-zba5tm1j.js} +4 -4
- package/dist/chunks/{formatter-vaq1yek0.js → command-zg0jbn27.js} +3 -3
- package/dist/chunks/{formatter-7hmjb961.js → command-zg6yp68a.js} +21 -21
- package/dist/chunks/{formatter-67dmgvxj.js → command-zkgb2v1a.js} +24 -24
- package/dist/chunks/{formatter-fmt2zjvb.js → command-zma8kk4y.js} +17 -17
- package/dist/chunks/{formatter-3ysmapca.js → command-zw0est8d.js} +65 -65
- package/dist/chunks/{formatter-envv585q.js → command-zxjgzmwm.js} +54 -54
- 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 +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- 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 +128 -128
- 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 +3 -3
- 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 +124 -124
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- 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 +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- 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 +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- 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 +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 +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 +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- 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 +86 -86
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- 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 +121 -121
- package/dist/plugin/optimize.js +2 -2
- 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/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 +121 -121
- 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 +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- 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 +101 -101
- 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 +96 -96
- package/dist/reference.js +94 -94
- 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 +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 +190 -190
- 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 +3 -3
- package/dist/session/runner/step.js +152 -152
- 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 +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +142 -142
- 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 +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 +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- 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/usage-limits.js +91 -91
- 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 +3 -3
- 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 +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +108 -108
- package/package.json +8 -8
- package/dist/chunks/formatter-6tn508k7.js +0 -257
- package/dist/chunks/formatter-brxvtjfc.js +0 -26
- package/dist/chunks/formatter-vdh3rgac.js +0 -18
- /package/dist/chunks/{formatter-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1jakw16s.js → command-1jakw16s.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4m86bj6y.js → command-4m86bj6y.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-ncqqe42p.js → command-ncqqe42p.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-e1m4p0v5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./command-3fcp3vfx.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-tg5s95kk.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./command-8dk4kc5x.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./command-zb17hmp7.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-204s3925.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service76,
|
|
34
34
|
node80
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-2x6gw633.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./command-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
45
|
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured4,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node42
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options4 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,13 +112,13 @@ var Options4 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service82;
|
|
117
|
-
const environment = yield*
|
|
117
|
+
const environment = yield* Service59;
|
|
118
118
|
const bus = yield* Service85;
|
|
119
|
-
const forms = yield*
|
|
119
|
+
const forms = yield* Service78;
|
|
120
120
|
const integration = yield* Service76;
|
|
121
|
-
const credentials = yield*
|
|
121
|
+
const credentials = yield* Service77;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID12.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -157,19 +157,19 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
157
157
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
158
158
|
const entry = entries.get(name);
|
|
159
159
|
if (!entry)
|
|
160
|
-
return yield* new
|
|
160
|
+
return yield* new NotFoundError3({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID14.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create3({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service39.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -613,12 +613,12 @@ function mergeCatalogs(catalogs) {
|
|
|
613
613
|
}
|
|
614
614
|
function configured4(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [node86,
|
|
616
|
+
service: Service39,
|
|
617
|
+
layer: layer18(options),
|
|
618
|
+
deps: [node86, node62, node89, node82, node80, node81]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node42 = configured4();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service39, Options4, layer18, configured4, node42, exports_mcp4 };
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-d3xp083n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-e1m4p0v5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./command-1z6t7raf.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-kkew1p9e.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service68
|
|
29
|
+
} from "./command-8k289es9.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service49
|
|
33
|
+
} from "./command-894m97aw.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service47
|
|
36
|
+
} from "./command-855nk7ek.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-cxqt8363.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./command-xr08hmyf.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./command-t6p5basa.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./command-ata4hxyc.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./command-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
57
57
|
__export(exports_session2, {
|
|
58
58
|
Session: () => exports_session2,
|
|
59
|
-
make: () =>
|
|
59
|
+
make: () => make13
|
|
60
60
|
});
|
|
61
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
|
-
var
|
|
64
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service85;
|
|
66
66
|
const database = yield* Service86;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service68;
|
|
68
|
+
const instances = yield* Service51;
|
|
69
|
+
const execution = yield* Service47;
|
|
70
|
+
const admission = yield* Service49;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError9({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service85, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ ${error.message}`,
|
|
|
348
348
|
return { forSession };
|
|
349
349
|
});
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make13, exports_session2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-8whp40kv.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-e1m4p0v5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./command-xd4wg3dz.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service31,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-me0dhgxs.js";
|
|
18
18
|
import {
|
|
19
19
|
make11,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-5epjyysv.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
@@ -32,11 +32,11 @@ __export(exports_plugin2, {
|
|
|
32
32
|
ID: () => ID2,
|
|
33
33
|
Info: () => Info3,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service31,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node16
|
|
40
40
|
});
|
|
41
41
|
import { Event as Event2, GuiBundle as GuiBundle2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
@@ -44,9 +44,9 @@ import { fileURLToPath } from "node:url";
|
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
48
48
|
const bus = yield* Service85;
|
|
49
|
-
const kv = yield*
|
|
49
|
+
const kv = yield* Service79;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service31.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node16 = Node.makeLocationNode({
|
|
236
|
+
service: Service31,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node16, exports_plugin2, Event2, GuiBundle2, ID2, Info3, Source2, State2 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./command-nbg58ndn.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
24
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin23,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
29
|
description: () => description3,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name7
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
37
|
+
var name7 = "webfetch";
|
|
38
38
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
@@ -42,7 +42,7 @@ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as tex
|
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input7 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input10 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input7.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin23 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service66;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name7,
|
|
125
125
|
options: { codemode: false },
|
|
126
126
|
description: description3,
|
|
127
|
-
input:
|
|
127
|
+
input: Input7,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin46 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name7,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin46 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name7,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, MAX_REDIRECTS2, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|