@opencode/core 0.0.0-dev-21798 → 0.0.0-dev-21800
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-retry-kvzw13zf.js → form-02hjb68z.js} +3 -3
- package/dist/chunks/{model-retry-dh62xe4r.js → form-033a0jkt.js} +3 -3
- package/dist/chunks/{model-retry-799ckdtf.js → form-0421tmwc.js} +9 -9
- package/dist/chunks/{model-retry-nkr11kdx.js → form-0de0nmh0.js} +27 -27
- package/dist/chunks/{model-retry-mykzpx85.js → form-0e10z5fj.js} +6 -6
- package/dist/chunks/{model-retry-cyyydscs.js → form-0es6nja8.js} +24 -24
- package/dist/chunks/{model-retry-6g7mppbr.js → form-0h9bs85x.js} +9 -9
- package/dist/chunks/{model-retry-z7ttk5hb.js → form-0mmhxb94.js} +5 -5
- package/dist/chunks/{model-retry-0ht9hdz1.js → form-0mpj81pq.js} +20 -20
- package/dist/chunks/{model-retry-twpa8r42.js → form-0s6xfy83.js} +39 -39
- package/dist/chunks/{model-retry-1v37p8m9.js → form-0tw7w02j.js} +3 -3
- package/dist/chunks/{model-retry-rvbz23xa.js → form-1gvxmx3x.js} +13 -13
- package/dist/chunks/{model-retry-5v8dvpa5.js → form-1j3q5f1b.js} +4 -4
- package/dist/chunks/{model-retry-37sdb7g6.js → form-1kqbdeg9.js} +26 -26
- package/dist/chunks/{model-retry-cnhc66rt.js → form-1mz0hg4w.js} +42 -42
- package/dist/chunks/{model-retry-1x2knyw4.js → form-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-v6h5bgwd.js → form-202bxvr4.js} +8 -8
- package/dist/chunks/{model-retry-pkv4aqak.js → form-25cs5nez.js} +8 -8
- package/dist/chunks/{model-retry-27w5k9zf.js → form-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-retry-050d3ay8.js → form-2abq9rn1.js} +21 -21
- package/dist/chunks/{model-retry-ynqg5bhp.js → form-2fpg1r86.js} +4 -4
- package/dist/chunks/{model-retry-xsact9zs.js → form-2mbjfaxd.js} +4 -4
- package/dist/chunks/{model-retry-2z1j29yd.js → form-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-fwhyb0gq.js → form-2zw8q38q.js} +16 -16
- package/dist/chunks/{model-retry-pg8x00ch.js → form-3418rxn8.js} +4 -4
- package/dist/chunks/{model-retry-xzya39d9.js → form-35z82n4m.js} +15 -15
- package/dist/chunks/{model-retry-36qx82yz.js → form-36qx82yz.js} +2 -2
- package/dist/chunks/{model-retry-3cbjf1nt.js → form-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-retry-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-tmc7xdjs.js → form-3nnrz6f6.js} +4 -4
- package/dist/chunks/{model-retry-jd2vyc00.js → form-3vrw48hq.js} +16 -16
- package/dist/chunks/{model-retry-3vdwfrk9.js → form-43k8zwa9.js} +5 -5
- package/dist/chunks/{model-retry-2emwncdy.js → form-443gxb00.js} +32 -32
- package/dist/chunks/{model-retry-mya9fhc3.js → form-4900y2mg.js} +18 -18
- package/dist/chunks/{model-retry-0wwnb14f.js → form-49tazegd.js} +9 -9
- package/dist/chunks/{model-retry-99y4khf1.js → form-4b160a05.js} +32 -32
- package/dist/chunks/{model-retry-hhnqmbew.js → form-4bj59q6n.js} +183 -183
- package/dist/chunks/{model-retry-3459c4aq.js → form-4j1hff5b.js} +17 -17
- package/dist/chunks/{model-retry-sm74gnkv.js → form-4se4h2v4.js} +14 -14
- package/dist/chunks/{model-retry-4v008n1t.js → form-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-jzgdpz6y.js → form-504b0z1d.js} +35 -35
- package/dist/chunks/{model-retry-j8e92swm.js → form-518pc71g.js} +43 -43
- package/dist/chunks/{model-retry-17r689qp.js → form-57mrygtr.js} +28 -28
- package/dist/chunks/{model-retry-8krtskbq.js → form-5gc3gx18.js} +13 -13
- package/dist/chunks/{model-retry-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-7r0r50e5.js → form-5nrew705.js} +5 -5
- package/dist/chunks/{model-retry-d0pkz9h4.js → form-5nx9zxzz.js} +14 -14
- package/dist/chunks/{model-retry-j9gz35am.js → form-5v4fjzaq.js} +16 -16
- package/dist/chunks/{model-retry-xj5efqxa.js → form-5y540sh8.js} +5 -5
- package/dist/chunks/{model-retry-pr8acd8t.js → form-5ze4n4sg.js} +35 -35
- package/dist/chunks/{model-retry-1yq9hg58.js → form-5zrxpy3q.js} +5 -5
- package/dist/chunks/{model-retry-72anbrp0.js → form-62c0v1tw.js} +31 -31
- package/dist/chunks/{model-retry-6esdw8yj.js → form-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-17tax46a.js → form-6jh9wyah.js} +21 -21
- package/dist/chunks/{model-retry-6pjqjmy2.js → form-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-kqerj9ke.js → form-6xaqvsrs.js} +6 -6
- package/dist/chunks/{model-retry-3m5yrge5.js → form-6yvmzeyy.js} +9 -9
- package/dist/chunks/{model-retry-t08j0hgd.js → form-72czzjvn.js} +12 -12
- package/dist/chunks/{model-retry-76cb1hcw.js → form-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-nah043kf.js → form-770pw0s1.js} +4 -4
- package/dist/chunks/{model-retry-p79cjfbn.js → form-77pzky32.js} +19 -19
- package/dist/chunks/{model-retry-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-e4159ryx.js → form-7p111ra0.js} +6 -6
- package/dist/chunks/{model-retry-xxbj3jbs.js → form-7tymy24s.js} +4 -4
- package/dist/chunks/{model-retry-3njs8ewd.js → form-7vk1qfcv.js} +5 -5
- package/dist/chunks/{model-retry-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-ng3brtr7.js → form-7zbjpcgf.js} +26 -26
- package/dist/chunks/{model-retry-hdfrs5mg.js → form-81sb882e.js} +9 -9
- package/dist/chunks/{model-retry-wcbhfjrd.js → form-8aa3rj35.js} +19 -19
- package/dist/chunks/{model-retry-n82jt8hg.js → form-8gfg5k83.js} +13 -13
- package/dist/chunks/{model-retry-ykrn0qsh.js → form-8kt5nrfk.js} +14 -14
- package/dist/chunks/{model-retry-ayrf2aj2.js → form-8nm5n31t.js} +20 -20
- package/dist/chunks/{model-retry-zhbxds4j.js → form-8s42wndc.js} +16 -16
- package/dist/chunks/{model-retry-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-91rj84md.js → form-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-qzbrb55n.js → form-9ap36caz.js} +26 -26
- package/dist/chunks/{model-retry-vewr63hq.js → form-9qkkem2t.js} +25 -25
- package/dist/chunks/{model-retry-9vfx6p45.js → form-9tc86wb5.js} +36 -36
- package/dist/chunks/{model-retry-wrhwm553.js → form-9y8pfte4.js} +20 -20
- package/dist/chunks/{model-retry-y6s9gp4k.js → form-a0mbnczp.js} +28 -28
- package/dist/chunks/{model-retry-aj7mw0zk.js → form-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-retry-rs3s0t58.js → form-aksd0eqj.js} +27 -27
- package/dist/chunks/{model-retry-yw1ck7zb.js → form-ayqdz43p.js} +11 -11
- package/dist/chunks/{model-retry-b0mv4wxm.js → form-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-4nff539t.js → form-b1crm3cf.js} +45 -45
- package/dist/chunks/{model-retry-3rvfd2p4.js → form-b2swvwa1.js} +33 -33
- package/dist/chunks/{model-retry-5nnwax6m.js → form-b6vsg801.js} +5 -5
- package/dist/chunks/{model-retry-d51kxexq.js → form-b7yb02yv.js} +5 -5
- package/dist/chunks/{model-retry-d22k01at.js → form-bdsby7g0.js} +7 -7
- package/dist/chunks/{model-retry-64t4yar7.js → form-bf47wrzc.js} +9 -9
- package/dist/chunks/{model-retry-bjhzkqyk.js → form-bjhzkqyk.js} +1 -1
- package/dist/chunks/{model-retry-nhe1yga1.js → form-bjx81z2n.js} +41 -41
- package/dist/chunks/{model-retry-4tpkt9ke.js → form-bk72g9n5.js} +19 -19
- package/dist/chunks/{model-retry-r2r52ss0.js → form-bp8166w3.js} +8 -8
- package/dist/chunks/{model-retry-s499zzzn.js → form-bqjkv61t.js} +6 -6
- package/dist/chunks/{model-retry-c361hsxc.js → form-braepac4.js} +28 -28
- package/dist/chunks/{model-retry-h5yq12sk.js → form-bsm4yj1q.js} +3 -3
- package/dist/chunks/{model-retry-bstexjd6.js → form-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-72at9y79.js → form-bx023ayb.js} +15 -15
- package/dist/chunks/{model-retry-9t2bhtr4.js → form-c53m598j.js} +13 -13
- package/dist/chunks/{model-retry-vhqwr51r.js → form-cbcw5jdv.js} +14 -14
- package/dist/chunks/{model-retry-jm1rj8kh.js → form-cf2bvegq.js} +40 -40
- package/dist/chunks/{model-retry-67q20rmp.js → form-cpfpnv00.js} +5 -5
- package/dist/chunks/{model-retry-5h6jm490.js → form-cq7by30v.js} +9 -9
- package/dist/chunks/{model-retry-tvf154dx.js → form-d4vw6k95.js} +14 -14
- package/dist/chunks/form-d77dj7jw.js +18 -0
- package/dist/chunks/{model-retry-7wy00epp.js → form-d7w06rve.js} +23 -23
- package/dist/chunks/{model-retry-q9xwq0xc.js → form-dbg2e74s.js} +11 -11
- package/dist/chunks/{model-retry-8kcbfhnp.js → form-dgcghd4q.js} +14 -14
- package/dist/chunks/{model-retry-faa8s968.js → form-djck26ns.js} +1 -1
- package/dist/chunks/{model-retry-9nn8g4z9.js → form-dkk62k64.js} +19 -19
- package/dist/chunks/{model-retry-hgyk1m6z.js → form-dkq45mty.js} +3 -3
- package/dist/chunks/{model-retry-hks9h3jz.js → form-dpcgzjbf.js} +19 -19
- package/dist/chunks/{model-retry-nhqzsk2y.js → form-dq0jjp1j.js} +9 -9
- package/dist/chunks/{model-retry-dvj9ct8m.js → form-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-retry-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-retry-e834z07m.js → form-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-shbma2nf.js → form-ebvnp4a0.js} +11 -11
- package/dist/chunks/{model-retry-n9p72mjb.js → form-ebwp6ca3.js} +2 -2
- package/dist/chunks/{model-retry-mbvs8a24.js → form-ecv950bf.js} +16 -16
- package/dist/chunks/{model-retry-w92g60gw.js → form-efye4wxz.js} +21 -21
- package/dist/chunks/{model-retry-r7qbvbca.js → form-en3a7p48.js} +12 -12
- package/dist/chunks/{model-retry-gs55zvzx.js → form-ewnzmz0y.js} +12 -12
- package/dist/chunks/{model-retry-8tm9bnq5.js → form-f61gwnre.js} +9 -9
- package/dist/chunks/{model-retry-v0yxjjsz.js → form-f6ydp9jt.js} +52 -52
- package/dist/chunks/{model-retry-fffv3p7h.js → form-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-856d8532.js → form-ffg4nk5v.js} +20 -20
- package/dist/chunks/{model-retry-06vpm9gp.js → form-fgc19361.js} +5 -5
- package/dist/chunks/{model-retry-376fvw41.js → form-fke86k08.js} +16 -16
- package/dist/chunks/{model-retry-10jcw8d8.js → form-fp9hrh53.js} +15 -15
- package/dist/chunks/{model-retry-msz72xyj.js → form-fpepjkf7.js} +2 -2
- package/dist/chunks/{model-retry-j2pd7159.js → form-fv302xas.js} +15 -15
- package/dist/chunks/{model-retry-g5h9c0rr.js → form-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-7xj3j87d.js → form-g5w7bwk1.js} +32 -32
- package/dist/chunks/{model-retry-7yj2t834.js → form-g656cbyf.js} +17 -17
- package/dist/chunks/{model-retry-da6nt20h.js → form-g82sjckm.js} +10 -10
- package/dist/chunks/{model-retry-yk6hg7py.js → form-gf1tscqt.js} +13 -13
- package/dist/chunks/{model-retry-b8d6cdec.js → form-gfavbhs2.js} +9 -9
- package/dist/chunks/{model-retry-sp6zazaz.js → form-gfm2g1r0.js} +25 -25
- package/dist/chunks/{model-retry-d4v9tmah.js → form-gn8tkhbf.js} +2 -2
- package/dist/chunks/{model-retry-gchkqpys.js → form-gp9gf7jx.js} +3 -3
- package/dist/chunks/{model-retry-xhywq8xw.js → form-gqy1905p.js} +19 -19
- package/dist/chunks/{model-retry-456hh3yw.js → form-h2xt6wet.js} +6 -6
- package/dist/chunks/{model-retry-9hn5wjvr.js → form-h9b0ss67.js} +21 -21
- package/dist/chunks/{model-retry-pkyxh230.js → form-ha3txm3a.js} +4 -4
- package/dist/chunks/form-hpzh5cr9.js +26 -0
- package/dist/chunks/{model-retry-z1ydadez.js → form-hr9cza2g.js} +13 -13
- package/dist/chunks/{model-retry-j113cymg.js → form-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-z08m45c2.js → form-j37rmggz.js} +21 -21
- package/dist/chunks/{model-retry-7emqhgyb.js → form-j6h7yvwn.js} +15 -15
- package/dist/chunks/{model-retry-44kmfwta.js → form-jc1psbyz.js} +17 -17
- package/dist/chunks/{model-retry-jneg3k74.js → form-jneg3k74.js} +1 -1
- package/dist/chunks/{model-retry-3kdbrncp.js → form-jr1j5bze.js} +5 -5
- package/dist/chunks/{model-retry-etshtsr8.js → form-jtf5yvtr.js} +5 -5
- package/dist/chunks/{model-retry-6nwz34t5.js → form-jwwge8xs.js} +14 -14
- package/dist/chunks/{model-retry-xrc3640n.js → form-jxb3gtw0.js} +8 -8
- package/dist/chunks/{model-retry-jcqm84fr.js → form-k302pdnh.js} +9 -9
- package/dist/chunks/{model-retry-zgphpnk4.js → form-k7rxqqn4.js} +8 -8
- package/dist/chunks/{model-retry-k814nvkf.js → form-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-z9x3jvcw.js → form-kgm25kxq.js} +16 -16
- package/dist/chunks/{model-retry-9rm0bcgy.js → form-khsrtdw5.js} +21 -21
- package/dist/chunks/{model-retry-tg1vr1qt.js → form-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-retry-y7qvxgn7.js → form-kstv1z45.js} +11 -11
- package/dist/chunks/{model-retry-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-m5vt6my1.js → form-kxadc7dx.js} +4 -4
- package/dist/chunks/{model-retry-y6haqydp.js → form-kzprjqer.js} +11 -11
- package/dist/chunks/{model-retry-m1714858.js → form-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-100payr0.js → form-m3rt4n16.js} +12 -12
- package/dist/chunks/{model-retry-zwnm9ync.js → form-m56nnkz7.js} +4 -4
- package/dist/chunks/{model-retry-x1q34xva.js → form-m5ycwyg0.js} +2 -2
- package/dist/chunks/{model-retry-pbb834xc.js → form-m8s6zs3q.js} +6 -6
- package/dist/chunks/{model-retry-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-szchc02d.js → form-mfazgctd.js} +11 -11
- package/dist/chunks/{model-retry-xc7j2c4d.js → form-mfg8gex4.js} +15 -15
- package/dist/chunks/{model-retry-1y0wdj51.js → form-mmx1mfjr.js} +9 -9
- package/dist/chunks/{model-retry-khgyexzf.js → form-mxqegms8.js} +46 -46
- package/dist/chunks/{model-retry-n0p0277s.js → form-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-73rh2vq1.js → form-n98epqcg.js} +22 -22
- package/dist/chunks/{model-retry-x7ey6qtv.js → form-nc9xfdq7.js} +7 -7
- package/dist/chunks/{model-retry-1cmbb7v6.js → form-ndqzk6tc.js} +35 -35
- package/dist/chunks/{model-retry-2kw25s9z.js → form-ngjf4jxk.js} +12 -12
- package/dist/chunks/{model-retry-p015t6z3.js → form-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-qqg9c0kv.js → form-p0tsr9h6.js} +4 -4
- package/dist/chunks/{model-retry-8p97zz9p.js → form-p35g19ew.js} +50 -50
- package/dist/chunks/{model-retry-hwdnhv43.js → form-p83a0njd.js} +32 -32
- package/dist/chunks/{model-retry-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-ewr5k9wg.js → form-pta84ypa.js} +8 -8
- package/dist/chunks/{model-retry-7yp67vww.js → form-ptbh3pce.js} +20 -20
- package/dist/chunks/{model-retry-qfdd46e5.js → form-pwcmqnv6.js} +40 -40
- package/dist/chunks/{model-retry-ajxt18t2.js → form-q0f28206.js} +7 -7
- package/dist/chunks/{model-retry-3qxfjpzy.js → form-q79gyas9.js} +28 -28
- package/dist/chunks/{model-retry-vqbn6xdq.js → form-q8axm0b6.js} +1 -1
- package/dist/chunks/{model-retry-5p205wab.js → form-qd7v5spn.js} +4 -4
- package/dist/chunks/{model-retry-nrch4egb.js → form-qdckhfvx.js} +25 -25
- package/dist/chunks/{model-retry-qjgzc4b4.js → form-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-phzadmh4.js → form-qkghfb1m.js} +87 -87
- package/dist/chunks/{model-retry-tf6tm6wa.js → form-qp8t9fx2.js} +11 -11
- package/dist/chunks/{model-retry-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-w2eysc6j.js → form-r41sfy63.js} +6 -6
- package/dist/chunks/{model-retry-r542h3bh.js → form-r542h3bh.js} +1 -1
- package/dist/chunks/{model-retry-gjzc59g1.js → form-r658k6r9.js} +21 -21
- package/dist/chunks/{model-retry-gnv5jhj2.js → form-r7k9z7cv.js} +321 -321
- package/dist/chunks/{model-retry-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-wyzx5psy.js → form-rdmv0akp.js} +14 -14
- package/dist/chunks/{model-retry-r621r93h.js → form-rekntzzt.js} +3 -3
- package/dist/chunks/{model-retry-b5sxz6p8.js → form-rhjvhekr.js} +4 -4
- package/dist/chunks/{model-retry-e3fssm85.js → form-rmm3vtp2.js} +17 -17
- package/dist/chunks/{model-retry-5z33grs6.js → form-rnhyqk91.js} +20 -20
- package/dist/chunks/{model-retry-yk4w5znd.js → form-rp2hzysp.js} +10 -10
- package/dist/chunks/{model-retry-0xhfrmwt.js → form-rpgjqsg9.js} +21 -21
- package/dist/chunks/{model-retry-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-5j9j26xw.js → form-rtnxtb24.js} +11 -11
- package/dist/chunks/{model-retry-g211t61s.js → form-rvz41am7.js} +5 -5
- package/dist/chunks/{model-retry-88kypjvy.js → form-s4f8ct6t.js} +4 -4
- package/dist/chunks/{model-retry-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-qnm4ee5f.js → form-shdhkr49.js} +6 -6
- package/dist/chunks/{model-retry-3vz2yars.js → form-sk4rcz4v.js} +32 -32
- package/dist/chunks/{model-retry-z1n0gzr1.js → form-sp43gwv2.js} +14 -14
- package/dist/chunks/{model-retry-sqjzf8x2.js → form-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-5snh3nsf.js → form-ssfc5kf6.js} +54 -54
- package/dist/chunks/{model-retry-b1pn0vxn.js → form-ssfehs1z.js} +4 -4
- package/dist/chunks/{model-retry-kgmyqp0y.js → form-t2ztbpje.js} +4 -4
- package/dist/chunks/{model-retry-hyyhzzxx.js → form-t6fwpnvd.js} +18 -18
- package/dist/chunks/{model-retry-g4hhz492.js → form-t6zv3t7w.js} +35 -35
- package/dist/chunks/{model-retry-x6w9baef.js → form-t7je23h6.js} +21 -21
- package/dist/chunks/{model-retry-tasvem1v.js → form-tasvem1v.js} +3 -3
- package/dist/chunks/{model-retry-nm0eb3mq.js → form-tb6jrghd.js} +20 -20
- package/dist/chunks/{model-retry-tczq8hjw.js → form-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-twv2r8f4.js → form-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-3rc6xfjm.js → form-twvgeg0c.js} +10 -10
- package/dist/chunks/{model-retry-hhmywts7.js → form-ty2r1ah4.js} +10 -10
- package/dist/chunks/{model-retry-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-kzhqem7y.js → form-v69f37bj.js} +27 -27
- package/dist/chunks/{model-retry-vd3b3yk9.js → form-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-e207k1f0.js → form-vgsxebfn.js} +10 -10
- package/dist/chunks/{model-retry-7zhd4cey.js → form-vhnfgg21.js} +10 -10
- package/dist/chunks/{model-retry-vmfhgzt5.js → form-vmfhgzt5.js} +1 -1
- package/dist/chunks/{model-retry-zd3qvcwp.js → form-vp3f7txe.js} +14 -14
- package/dist/chunks/{model-retry-my4zabxr.js → form-vwdfpcvx.js} +3 -3
- package/dist/chunks/{model-retry-4xkwq58b.js → form-vwss2sv6.js} +24 -24
- package/dist/chunks/{model-retry-z18nf20h.js → form-vzmjdaw1.js} +9 -9
- package/dist/chunks/{model-retry-5jzmzpz9.js → form-w3ns5rkg.js} +42 -42
- package/dist/chunks/{model-retry-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-c5ncm6k8.js → form-w6byfr8d.js} +21 -21
- package/dist/chunks/{model-retry-w59prh0j.js → form-w6d7jzdm.js} +34 -34
- package/dist/chunks/{model-retry-a7hcemwv.js → form-w7frmj75.js} +8 -8
- package/dist/chunks/{model-retry-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-krw5ejhg.js → form-wb32cm0h.js} +5 -5
- package/dist/chunks/{model-retry-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-hqdkncv9.js → form-wdffqmgj.js} +8 -8
- package/dist/chunks/{model-retry-61g7nd3s.js → form-wdv0vama.js} +10 -10
- package/dist/chunks/{model-retry-0jvkxj1w.js → form-whhxszaf.js} +16 -16
- package/dist/chunks/form-wkj84943.js +261 -0
- package/dist/chunks/{model-retry-fznmdakp.js → form-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-wy6akpvc.js → form-wysrktan.js} +7 -7
- package/dist/chunks/{model-retry-ycqv3yh7.js → form-x0yqbyz4.js} +18 -18
- package/dist/chunks/{model-retry-sn0f3s8q.js → form-x2x5zj05.js} +13 -13
- package/dist/chunks/{model-retry-cxnqxqrv.js → form-x59sy6my.js} +79 -79
- package/dist/chunks/{model-retry-cxy24jbt.js → form-x83ywg7g.js} +18 -18
- package/dist/chunks/{model-retry-125y49va.js → form-x8h9qnt8.js} +11 -11
- package/dist/chunks/{model-retry-xynhjj0h.js → form-xg7y1tnh.js} +15 -15
- package/dist/chunks/{model-retry-n2crsrfc.js → form-xh7yb18e.js} +32 -32
- package/dist/chunks/{model-retry-xkfczkpn.js → form-xkfczkpn.js} +3 -3
- package/dist/chunks/{model-retry-zmwx25fz.js → form-xnctb0t2.js} +2 -2
- package/dist/chunks/{model-retry-8gbe608w.js → form-xr0fdn46.js} +7 -7
- package/dist/chunks/{model-retry-mn4sstjx.js → form-xyznvzfj.js} +4 -4
- package/dist/chunks/{model-retry-a5pdx5y6.js → form-y6asfd6w.js} +32 -32
- package/dist/chunks/{model-retry-8kw3wj8m.js → form-y7r7kv14.js} +38 -38
- package/dist/chunks/{model-retry-yb20nhc3.js → form-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-3j5fsnm8.js → form-yhzfnwqx.js} +68 -68
- package/dist/chunks/{model-retry-67szgq6z.js → form-ywgtt5qa.js} +13 -13
- package/dist/chunks/{model-retry-zjxxcmzt.js → form-z028gk7z.js} +13 -13
- package/dist/chunks/{model-retry-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-q44gb8fn.js → form-z2w0x2ee.js} +47 -47
- package/dist/chunks/{model-retry-d2p1wmw4.js → form-z2y0gft8.js} +3 -3
- package/dist/chunks/{model-retry-z38nccrw.js → form-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-pes7pnh1.js → form-z41z05dk.js} +6 -6
- package/dist/chunks/{model-retry-mr3sax3v.js → form-zc3z0s1e.js} +16 -16
- package/dist/chunks/{model-retry-k60f6tvy.js → form-zgaxvjwc.js} +15 -15
- package/dist/chunks/{model-retry-zkg84ctx.js → form-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-vrsa97jg.js → form-zkyyckpa.js} +22 -22
- package/dist/chunks/{model-retry-7bk0syww.js → form-zv1k8n0h.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- 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 +96 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +104 -104
- 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 +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +110 -110
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- 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 +89 -89
- 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 +2 -2
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +86 -86
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +78 -78
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
- package/dist/chunks/model-retry-4eh702yp.js +0 -261
- package/dist/chunks/model-retry-zd4c8dy4.js +0 -26
- /package/dist/chunks/{model-retry-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → form-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → form-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → form-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-sjmm3wxa.js → form-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./form-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service64,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer24,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node67,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -31,7 +31,7 @@ import path from "path";
|
|
|
31
31
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
32
32
|
var watcher = lazy2(() => {
|
|
33
33
|
try {
|
|
34
|
-
return createWrapper(
|
|
34
|
+
return createWrapper(load5());
|
|
35
35
|
} catch {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service64 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer24 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer27 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service64.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service64).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured8(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service64, layer: layer24(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node67 = configured8();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service64, Test3, layer24, testLayer3, nativeLayer2, configured8, node67, exports_watcher };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rhjvhekr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
Event17,
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-x83ywg7g.js";
|
|
13
13
|
import {
|
|
14
|
-
Service83,
|
|
15
|
-
node87
|
|
16
|
-
} from "./model-retry-mbvs8a24.js";
|
|
17
|
-
import {
|
|
18
|
-
Service46,
|
|
19
|
-
node49
|
|
20
|
-
} from "./model-retry-cyyydscs.js";
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
14
|
Service81,
|
|
24
15
|
node85
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./form-ecv950bf.js";
|
|
17
|
+
import {
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./form-0es6nja8.js";
|
|
21
|
+
import {
|
|
22
|
+
ID17,
|
|
23
|
+
Service84,
|
|
24
|
+
node88
|
|
25
|
+
} from "./form-rpgjqsg9.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service79,
|
|
34
34
|
node83
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./form-ewnzmz0y.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-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: () => NotFoundError2,
|
|
45
45
|
Options: () => Options3,
|
|
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: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer17,
|
|
57
|
+
node: () => node37
|
|
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 NotFoundError2 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 Service34 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
109
|
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -112,11 +112,11 @@ var Options3 = Schema.Struct({
|
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer17 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service81;
|
|
117
|
+
const environment = yield* Service65;
|
|
118
118
|
const bus = yield* Service86;
|
|
119
|
-
const forms = yield*
|
|
119
|
+
const forms = yield* Service84;
|
|
120
120
|
const integration = yield* Service79;
|
|
121
121
|
const credentials = yield* Service80;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
@@ -133,7 +133,7 @@ var layer14 = (options) => Layer.effect(Service27, 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 = ID13.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -157,7 +157,7 @@ var layer14 = (options) => Layer.effect(Service27, 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 NotFoundError2({ server: name });
|
|
161
161
|
return { name, entry };
|
|
162
162
|
});
|
|
163
163
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -169,7 +169,7 @@ var layer14 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID17.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 layer14 = (options) => Layer.effect(Service27, 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(Service65, 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 layer14 = (options) => Layer.effect(Service27, 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(Service65, 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 layer14 = (options) => Layer.effect(Service27, 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 layer14 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service34.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -608,12 +608,12 @@ function mergeCatalogs(catalogs) {
|
|
|
608
608
|
}
|
|
609
609
|
function configured3(options) {
|
|
610
610
|
return makeLocationNode({
|
|
611
|
-
service:
|
|
612
|
-
layer:
|
|
613
|
-
deps: [
|
|
611
|
+
service: Service34,
|
|
612
|
+
layer: layer17(options),
|
|
613
|
+
deps: [node85, node68, node90, node88, node83, node84]
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
|
-
var
|
|
616
|
+
var node37 = configured3();
|
|
617
617
|
function toElicitationField(key, property, required) {
|
|
618
618
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
619
619
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
|
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
667
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service34, Options3, layer17, configured3, node37, exports_mcp4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-rhjvhekr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./form-rnhyqk91.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin50 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service86;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service73;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin50 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-vhnfgg21.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-rhjvhekr.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultServer2,
|
|
9
9
|
server2,
|
|
10
10
|
headers2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-kt3bjfbg.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event17
|
|
15
|
+
} from "./form-x83ywg7g.js";
|
|
16
16
|
import {
|
|
17
17
|
key2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-bjhzkqyk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
MethodID2,
|
|
22
22
|
AuthorizationError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-ewnzmz0y.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service19
|
|
26
|
+
} from "./form-wdv0vama.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
ID12,
|
|
29
29
|
mergeOverlay2,
|
|
30
30
|
mergeHeaders2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-dpcgzjbf.js";
|
|
32
32
|
import {
|
|
33
33
|
mergeCapabilities2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-7zbjpcgf.js";
|
|
35
35
|
import {
|
|
36
36
|
supports2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
resolve3
|
|
38
|
+
} from "./form-bqjkv61t.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID10,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./form-9qkkem2t.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -77,7 +77,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
77
77
|
var RemoteResponse = Schema.Struct({
|
|
78
78
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
79
79
|
websearch: Schema.Struct({
|
|
80
|
-
providerID:
|
|
80
|
+
providerID: ID10
|
|
81
81
|
}).pipe(Schema.optional),
|
|
82
82
|
mcp: Schema.Struct({
|
|
83
83
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -128,7 +128,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
128
128
|
}
|
|
129
129
|
function oauth(http) {
|
|
130
130
|
return {
|
|
131
|
-
integrationID:
|
|
131
|
+
integrationID: ID13.make("opencode"),
|
|
132
132
|
method: {
|
|
133
133
|
id: methodID,
|
|
134
134
|
type: "oauth",
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
const bus = yield* Service86;
|
|
197
197
|
const client = yield* HttpClient.HttpClient;
|
|
198
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
199
|
-
const managed = yield*
|
|
199
|
+
const managed = yield* Service19;
|
|
200
200
|
const scope = yield* Scope.Scope;
|
|
201
201
|
const loading = Semaphore.makeUnsafe(1);
|
|
202
202
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
providers.update(providerID, (provider) => {
|
|
251
251
|
if (source && source.provider !== provider)
|
|
252
252
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
253
|
-
provider.integrationID =
|
|
253
|
+
provider.integrationID = ID13.make("opencode");
|
|
254
254
|
if (item.canonical !== undefined)
|
|
255
255
|
provider.canonical = item.canonical;
|
|
256
256
|
if (item.name !== undefined)
|
|
@@ -288,7 +288,7 @@ var OpencodePlugin2 = define({
|
|
|
288
288
|
providers.models.update(providerID, modelID, (model) => {
|
|
289
289
|
if (config.capabilities?.reasoning !== undefined)
|
|
290
290
|
model.variants = [
|
|
291
|
-
...
|
|
291
|
+
...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
292
292
|
];
|
|
293
293
|
for (const variant of config.variants ?? []) {
|
|
294
294
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -324,7 +324,7 @@ var OpencodePlugin2 = define({
|
|
|
324
324
|
sourceConnection: snapshot.connection
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
-
const item = providers.get(
|
|
327
|
+
const item = providers.get(ID12.opencode);
|
|
328
328
|
if (!item)
|
|
329
329
|
return;
|
|
330
330
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -336,7 +336,7 @@ var OpencodePlugin2 = define({
|
|
|
336
336
|
});
|
|
337
337
|
});
|
|
338
338
|
yield* ctx.model.transform((models) => {
|
|
339
|
-
const item = models.provider.get(
|
|
339
|
+
const item = models.provider.get(ID12.opencode);
|
|
340
340
|
if (!item)
|
|
341
341
|
return;
|
|
342
342
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -370,7 +370,7 @@ var OpencodePlugin2 = define({
|
|
|
370
370
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
371
371
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
372
372
|
const server = yield* normalizeServer(server2(credential));
|
|
373
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
373
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
374
374
|
query: input.query,
|
|
375
375
|
providerID: descriptor.providerID
|
|
376
376
|
}));
|
|
@@ -431,7 +431,7 @@ var OpencodePlugin2 = define({
|
|
|
431
431
|
});
|
|
432
432
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
433
433
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
434
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
434
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
435
435
|
});
|
|
436
436
|
yield* guard(snapshot);
|
|
437
437
|
const polling = yield* FiberHandle.make();
|
|
@@ -442,7 +442,7 @@ var OpencodePlugin2 = define({
|
|
|
442
442
|
onlyIfMissing: true
|
|
443
443
|
});
|
|
444
444
|
});
|
|
445
|
-
yield* bus.subscribe(
|
|
445
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
446
446
|
yield* poll();
|
|
447
447
|
})
|
|
448
448
|
});
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-jneg3k74.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-dvj9ct8m.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-sjmm3wxa.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-xkfczkpn.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service36,
|
|
17
|
+
node39
|
|
18
|
+
} from "./form-cq7by30v.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service62,
|
|
21
|
+
node65
|
|
22
|
+
} from "./form-202bxvr4.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./form-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service35,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node38
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service35 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service62;
|
|
58
|
+
const image = yield* Service36;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service35.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node38 = makeLocationNode({
|
|
277
|
+
service: Service35,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node65, node39]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service35, node38, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|