@opencode/core 0.0.0-dev-21800 → 0.0.0-dev-21801
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/{form-aj7mw0zk.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{form-6yvmzeyy.js → tool-output-0c7nc8tn.js} +11 -11
- package/dist/chunks/{form-r658k6r9.js → tool-output-0srp2sh0.js} +21 -21
- package/dist/chunks/{form-dkq45mty.js → tool-output-0tfekwr7.js} +3 -3
- package/dist/chunks/{form-hr9cza2g.js → tool-output-12tah04a.js} +13 -13
- package/dist/chunks/{form-rvz41am7.js → tool-output-1cyprt5w.js} +5 -5
- package/dist/chunks/{form-27w5k9zf.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-cpfpnv00.js → tool-output-1r0janqk.js} +5 -5
- package/dist/chunks/{form-x8h9qnt8.js → tool-output-1tvtyxqv.js} +11 -11
- package/dist/chunks/{form-gp9gf7jx.js → tool-output-1v9xeggz.js} +5 -5
- package/dist/chunks/{form-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-rtnxtb24.js → tool-output-1xfs8wvw.js} +11 -11
- package/dist/chunks/{form-mmx1mfjr.js → tool-output-1y0wdj51.js} +9 -9
- package/dist/chunks/{form-5zrxpy3q.js → tool-output-1yq9hg58.js} +5 -5
- package/dist/chunks/{form-0mpj81pq.js → tool-output-248g8pq7.js} +20 -20
- package/dist/chunks/{form-q8axm0b6.js → tool-output-2bexbmx7.js} +1 -1
- package/dist/chunks/{form-efye4wxz.js → tool-output-2dfk453x.js} +21 -21
- package/dist/chunks/{form-cf2bvegq.js → tool-output-2fjzbpqs.js} +44 -44
- package/dist/chunks/{form-j37rmggz.js → tool-output-2ge2z4cg.js} +25 -25
- package/dist/chunks/{form-t7je23h6.js → tool-output-2p2a88gw.js} +21 -21
- package/dist/chunks/{form-bqjkv61t.js → tool-output-2qj28n5c.js} +6 -6
- package/dist/chunks/{form-0mmhxb94.js → tool-output-2wjqwetp.js} +5 -5
- package/dist/chunks/{form-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
- package/dist/chunks/{form-1gvxmx3x.js → tool-output-33jn8j87.js} +13 -13
- package/dist/chunks/{form-kgm25kxq.js → tool-output-39k15pn6.js} +18 -18
- package/dist/chunks/{form-2zw8q38q.js → tool-output-3dg4aj2t.js} +18 -18
- package/dist/chunks/{form-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-q79gyas9.js → tool-output-3j1ep4vq.js} +28 -28
- package/dist/chunks/{form-jr1j5bze.js → tool-output-3kdbrncp.js} +5 -5
- package/dist/chunks/{form-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{form-w6d7jzdm.js → tool-output-3nzkha57.js} +32 -32
- package/dist/chunks/{form-en3a7p48.js → tool-output-3p7agaaw.js} +9 -9
- package/dist/chunks/{form-g82sjckm.js → tool-output-3q5vep8y.js} +10 -10
- package/dist/chunks/{form-p0tsr9h6.js → tool-output-3ryz99p0.js} +4 -4
- package/dist/chunks/{form-mfazgctd.js → tool-output-3sk8enc1.js} +11 -11
- package/dist/chunks/{form-gfm2g1r0.js → tool-output-3ssszjcv.js} +28 -28
- package/dist/chunks/{form-43k8zwa9.js → tool-output-3vdwfrk9.js} +5 -5
- package/dist/chunks/{form-2fpg1r86.js → tool-output-3y4503xd.js} +6 -6
- package/dist/chunks/{form-9tc86wb5.js → tool-output-4aqtdhks.js} +27 -27
- package/dist/chunks/{form-5ze4n4sg.js → tool-output-4gxtsg4q.js} +37 -37
- package/dist/chunks/{form-y7r7kv14.js → tool-output-4pw54185.js} +38 -38
- package/dist/chunks/{form-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{form-0de0nmh0.js → tool-output-59fxmd0j.js} +27 -27
- package/dist/chunks/{form-25cs5nez.js → tool-output-5dab8ama.js} +8 -8
- package/dist/chunks/{form-z2y0gft8.js → tool-output-5fgbm0wv.js} +3 -3
- package/dist/chunks/{form-5nx9zxzz.js → tool-output-5frcv4v0.js} +14 -14
- package/dist/chunks/{form-shdhkr49.js → tool-output-5kbev7nh.js} +6 -6
- package/dist/chunks/{form-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-e3qxr5gk.js → tool-output-5qd3pb7m.js} +2 -2
- package/dist/chunks/{form-h9b0ss67.js → tool-output-5v6z662y.js} +18 -18
- package/dist/chunks/{form-vhnfgg21.js → tool-output-60p7g2te.js} +8 -8
- package/dist/chunks/{form-bjhzkqyk.js → tool-output-61ennm6n.js} +4 -4
- package/dist/chunks/{form-pta84ypa.js → tool-output-6285fq4d.js} +8 -8
- package/dist/chunks/{form-t2ztbpje.js → tool-output-63hkdzbg.js} +4 -4
- package/dist/chunks/{form-rhjvhekr.js → tool-output-682mbbtd.js} +4 -4
- package/dist/chunks/{form-mfg8gex4.js → tool-output-68kb9z9h.js} +15 -15
- package/dist/chunks/{form-rpgjqsg9.js → tool-output-69gn191w.js} +21 -21
- package/dist/chunks/{form-xh7yb18e.js → tool-output-6aqbrqep.js} +32 -32
- package/dist/chunks/{form-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
- package/dist/chunks/{form-4b160a05.js → tool-output-6gm7hc9m.js} +32 -32
- package/dist/chunks/{form-p35g19ew.js → tool-output-6pj63jbt.js} +50 -50
- package/dist/chunks/{form-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
- package/dist/chunks/{form-f61gwnre.js → tool-output-6px9atyk.js} +9 -9
- package/dist/chunks/{form-dkk62k64.js → tool-output-6xaz3aew.js} +21 -21
- package/dist/chunks/{form-ebvnp4a0.js → tool-output-70h1qnfn.js} +13 -13
- package/dist/chunks/{form-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
- package/dist/chunks/{form-770pw0s1.js → tool-output-770pw0s1.js} +1 -1
- package/dist/chunks/{form-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-ptbh3pce.js → tool-output-7nv1f492.js} +20 -20
- package/dist/chunks/{form-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-xnctb0t2.js → tool-output-7yect7x1.js} +2 -2
- package/dist/chunks/{form-jxb3gtw0.js → tool-output-81a9zpe2.js} +8 -8
- package/dist/chunks/{form-1mz0hg4w.js → tool-output-87ksbwny.js} +40 -40
- package/dist/chunks/{form-h2xt6wet.js → tool-output-89sdcr2v.js} +6 -6
- package/dist/chunks/{form-qjgzc4b4.js → tool-output-8jztxfpf.js} +4 -4
- package/dist/chunks/{form-t6zv3t7w.js → tool-output-8nfppp0x.js} +35 -35
- package/dist/chunks/{form-z028gk7z.js → tool-output-8tapzm2v.js} +13 -13
- package/dist/chunks/{form-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-4900y2mg.js → tool-output-8xppqwrp.js} +18 -18
- package/dist/chunks/{form-91rj84md.js → tool-output-91rj84md.js} +1 -1
- package/dist/chunks/{form-wdv0vama.js → tool-output-96ym0hte.js} +10 -10
- package/dist/chunks/{form-dvj9ct8m.js → tool-output-998yhzzq.js} +3 -3
- package/dist/chunks/{form-sk4rcz4v.js → tool-output-9dj7pbca.js} +32 -32
- package/dist/chunks/{form-fv302xas.js → tool-output-9jbwxrha.js} +18 -18
- package/dist/chunks/{form-ty2r1ah4.js → tool-output-9nha6yk0.js} +10 -10
- package/dist/chunks/{form-s4f8ct6t.js → tool-output-9tvpxs1q.js} +4 -4
- package/dist/chunks/{form-zgaxvjwc.js → tool-output-9vd6zvz7.js} +20 -20
- package/dist/chunks/{form-cq7by30v.js → tool-output-a3h99bw5.js} +9 -9
- package/dist/chunks/{form-5gc3gx18.js → tool-output-a6kaasdq.js} +16 -16
- package/dist/chunks/{form-vwss2sv6.js → tool-output-a7549q9v.js} +26 -26
- package/dist/chunks/{form-w7frmj75.js → tool-output-a7hcemwv.js} +8 -8
- package/dist/chunks/{form-m8s6zs3q.js → tool-output-a8803444.js} +9 -9
- package/dist/chunks/{form-5nrew705.js → tool-output-aeb4sny1.js} +5 -5
- package/dist/chunks/{form-kmzgegqq.js → tool-output-aedwt843.js} +8 -8
- package/dist/chunks/{form-36qx82yz.js → tool-output-agqd6nxz.js} +2 -2
- package/dist/chunks/{form-bsm4yj1q.js → tool-output-aja6hfsp.js} +5 -5
- package/dist/chunks/{form-ffg4nk5v.js → tool-output-aqk6p4c3.js} +21 -21
- package/dist/chunks/{form-1j3q5f1b.js → tool-output-axnwbd4n.js} +4 -4
- package/dist/chunks/{form-3cbjf1nt.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{form-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
- package/dist/chunks/{form-z41z05dk.js → tool-output-b28mnwwt.js} +6 -6
- package/dist/chunks/{form-qdckhfvx.js → tool-output-b2jr87qa.js} +25 -25
- package/dist/chunks/{form-rp2hzysp.js → tool-output-b6pwv5qp.js} +10 -10
- package/dist/chunks/{form-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{form-xr0fdn46.js → tool-output-bebb3at9.js} +9 -9
- package/dist/chunks/{form-p83a0njd.js → tool-output-bem2npsx.js} +32 -32
- package/dist/chunks/{form-wysrktan.js → tool-output-bf946hy9.js} +7 -7
- package/dist/chunks/{form-djck26ns.js → tool-output-bmvgsr22.js} +1 -1
- package/dist/chunks/{form-xyznvzfj.js → tool-output-bsqrjjtg.js} +4 -4
- package/dist/chunks/{form-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{form-7zbjpcgf.js → tool-output-c58wr0zj.js} +33 -33
- package/dist/chunks/{form-twvgeg0c.js → tool-output-cee096dw.js} +10 -10
- package/dist/chunks/{form-t6fwpnvd.js → tool-output-cj0twgab.js} +21 -21
- package/dist/chunks/{form-cbcw5jdv.js → tool-output-crj5e783.js} +14 -14
- package/dist/chunks/tool-output-cw8zeq3d.js +517 -0
- package/dist/chunks/{form-ssfehs1z.js → tool-output-d2887f8n.js} +4 -4
- package/dist/chunks/{form-gn8tkhbf.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-nc9xfdq7.js → tool-output-d64cx63j.js} +4 -4
- package/dist/chunks/{form-w6byfr8d.js → tool-output-dccrvx04.js} +26 -26
- package/dist/chunks/{form-ssfc5kf6.js → tool-output-decs4e60.js} +54 -54
- package/dist/chunks/{form-jwwge8xs.js → tool-output-drex4pzq.js} +14 -14
- package/dist/chunks/{form-aksd0eqj.js → tool-output-dwvvx6r2.js} +33 -33
- package/dist/chunks/{form-v69f37bj.js → tool-output-e0p4kz3g.js} +27 -27
- package/dist/chunks/{form-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{form-rnhyqk91.js → tool-output-ebjk3m4h.js} +20 -20
- package/dist/chunks/{form-x2x5zj05.js → tool-output-ede5t31q.js} +17 -17
- package/dist/chunks/{form-rekntzzt.js → tool-output-eg0mws0e.js} +6 -6
- package/dist/chunks/{form-g5w7bwk1.js → tool-output-ek92bk2r.js} +32 -32
- package/dist/chunks/{form-0tw7w02j.js → tool-output-em0f81yy.js} +3 -3
- package/dist/chunks/{form-qkghfb1m.js → tool-output-end82zqt.js} +89 -89
- package/dist/chunks/{form-1kqbdeg9.js → tool-output-ermtapg2.js} +26 -26
- package/dist/chunks/{form-fgc19361.js → tool-output-evx8tntc.js} +5 -5
- package/dist/chunks/{form-jtf5yvtr.js → tool-output-ewyv1vrd.js} +5 -5
- package/dist/chunks/{form-b2swvwa1.js → tool-output-eyhcn785.js} +33 -33
- package/dist/chunks/{form-mxqegms8.js → tool-output-f01rz3q1.js} +46 -46
- package/dist/chunks/{form-b7yb02yv.js → tool-output-f1ms64q9.js} +5 -5
- package/dist/chunks/{form-bjx81z2n.js → tool-output-f27y7cht.js} +45 -45
- package/dist/chunks/{form-braepac4.js → tool-output-f37v6n8t.js} +28 -28
- package/dist/chunks/{form-3vrw48hq.js → tool-output-fc2fw478.js} +17 -17
- package/dist/chunks/{form-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-0e10z5fj.js → tool-output-fgqacn3a.js} +6 -6
- package/dist/chunks/{form-yhzfnwqx.js → tool-output-fj83etc5.js} +67 -67
- package/dist/chunks/{form-72czzjvn.js → tool-output-frfzcpgy.js} +12 -12
- package/dist/chunks/{form-9qkkem2t.js → tool-output-fwjrth66.js} +25 -25
- package/dist/chunks/{form-wr3re1en.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{form-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
- package/dist/chunks/{form-d7w06rve.js → tool-output-g6yzwk23.js} +26 -26
- package/dist/chunks/{form-m3rt4n16.js → tool-output-g729x6ds.js} +12 -12
- package/dist/chunks/{form-w3ns5rkg.js → tool-output-ga2dp1ny.js} +45 -45
- package/dist/chunks/{form-d4vw6k95.js → tool-output-gc2j9dw0.js} +12 -12
- package/dist/chunks/{form-zv1k8n0h.js → tool-output-gc804zz3.js} +11 -11
- package/dist/chunks/{form-62c0v1tw.js → tool-output-ggsx9dmr.js} +33 -33
- package/dist/chunks/{form-ebwp6ca3.js → tool-output-gj8x1tda.js} +5 -5
- package/dist/chunks/tool-output-grzehpz7.js +18 -0
- package/dist/chunks/{form-vp3f7txe.js → tool-output-h4f6vs3g.js} +14 -14
- package/dist/chunks/{form-fpepjkf7.js → tool-output-h7pf2zmx.js} +2 -2
- package/dist/chunks/{form-8nm5n31t.js → tool-output-h91kcahz.js} +16 -16
- package/dist/chunks/{form-81sb882e.js → tool-output-hdfrs5mg.js} +9 -9
- package/dist/chunks/{form-whhxszaf.js → tool-output-hfqv7x4d.js} +14 -14
- package/dist/chunks/{form-bf47wrzc.js → tool-output-hhkkbxc9.js} +9 -9
- package/dist/chunks/{form-rmm3vtp2.js → tool-output-hkfp46ja.js} +17 -17
- package/dist/chunks/{form-9y8pfte4.js → tool-output-hpbvv96n.js} +20 -20
- package/dist/chunks/{form-kstv1z45.js → tool-output-hvsnx3z0.js} +11 -11
- package/dist/chunks/{form-j113cymg.js → tool-output-j113cymg.js} +1 -1
- package/dist/chunks/{form-ewnzmz0y.js → tool-output-j8849abs.js} +26 -26
- package/dist/chunks/{form-dgcghd4q.js → tool-output-japt42f9.js} +14 -14
- package/dist/chunks/{form-6jh9wyah.js → tool-output-jc5r9pb7.js} +21 -21
- package/dist/chunks/{form-6xaqvsrs.js → tool-output-jccf4379.js} +9 -9
- package/dist/chunks/{form-504b0z1d.js → tool-output-jg6bqjz4.js} +35 -35
- package/dist/chunks/{form-q0f28206.js → tool-output-jhrcq78y.js} +10 -10
- package/dist/chunks/{form-jneg3k74.js → tool-output-jneg3k74.js} +1 -1
- package/dist/chunks/tool-output-jr7x9p7n.js +26 -0
- package/dist/chunks/{form-033a0jkt.js → tool-output-jx89vj1k.js} +3 -3
- package/dist/chunks/{form-sp43gwv2.js → tool-output-k1dyhccn.js} +14 -14
- package/dist/chunks/{form-77pzky32.js → tool-output-k299vwjx.js} +17 -17
- package/dist/chunks/{form-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
- package/dist/chunks/{form-j6h7yvwn.js → tool-output-k8wqp3fb.js} +15 -15
- package/dist/chunks/{form-ngjf4jxk.js → tool-output-k9gdv7wj.js} +12 -12
- package/dist/chunks/{form-k7rxqqn4.js → tool-output-kbtbr31d.js} +8 -8
- package/dist/chunks/{form-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{form-7p111ra0.js → tool-output-kya6vn2v.js} +6 -6
- package/dist/chunks/{form-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{form-vmfhgzt5.js → tool-output-m37sd98t.js} +4 -4
- package/dist/chunks/{form-dq0jjp1j.js → tool-output-m666jk6r.js} +11 -11
- package/dist/chunks/{form-2mbjfaxd.js → tool-output-m7xh3h0x.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{form-wb32cm0h.js → tool-output-mj41408h.js} +5 -5
- package/dist/chunks/{form-n98epqcg.js → tool-output-mq1vsyex.js} +25 -25
- package/dist/chunks/{form-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
- package/dist/chunks/{form-kxadc7dx.js → tool-output-n2a2fj9v.js} +1 -1
- package/dist/chunks/{form-z2w0x2ee.js → tool-output-n2b0dnay.js} +47 -47
- package/dist/chunks/{form-k302pdnh.js → tool-output-n7bnkb3p.js} +9 -9
- package/dist/chunks/{form-pwcmqnv6.js → tool-output-n92mzsnh.js} +51 -51
- package/dist/chunks/{form-35z82n4m.js → tool-output-ncnmhedn.js} +15 -15
- package/dist/chunks/{form-dbg2e74s.js → tool-output-nd41fner.js} +11 -11
- package/dist/chunks/{form-0421tmwc.js → tool-output-ne2q04mf.js} +9 -9
- package/dist/chunks/{form-ha3txm3a.js → tool-output-nj719txd.js} +4 -4
- package/dist/chunks/{form-jc1psbyz.js → tool-output-nn0x9b8s.js} +20 -20
- package/dist/chunks/{form-bx023ayb.js → tool-output-ny7cjtgm.js} +15 -15
- package/dist/chunks/{form-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
- package/dist/chunks/{form-m5ycwyg0.js → tool-output-p0amseq2.js} +2 -2
- package/dist/chunks/{form-ndqzk6tc.js → tool-output-p2y1bt5g.js} +35 -35
- package/dist/chunks/{form-x59sy6my.js → tool-output-p7tpgz5e.js} +87 -87
- package/dist/chunks/{form-0h9bs85x.js → tool-output-p819tdyr.js} +9 -9
- package/dist/chunks/{form-7tymy24s.js → tool-output-phtcpqdv.js} +4 -4
- package/dist/chunks/{form-c53m598j.js → tool-output-pj6kkmwg.js} +13 -13
- package/dist/chunks/{form-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{form-57mrygtr.js → tool-output-pq9y035p.js} +32 -32
- package/dist/chunks/{form-0es6nja8.js → tool-output-pqmez375.js} +24 -24
- package/dist/chunks/{form-0s6xfy83.js → tool-output-pqp4ah5f.js} +43 -43
- package/dist/chunks/{form-b1crm3cf.js → tool-output-pr31xtm2.js} +43 -43
- package/dist/chunks/{form-f6ydp9jt.js → tool-output-pt34v7je.js} +52 -52
- package/dist/chunks/{form-x83ywg7g.js → tool-output-pt4tanng.js} +28 -28
- package/dist/chunks/{form-wdffqmgj.js → tool-output-ptatd3p6.js} +8 -8
- package/dist/chunks/{form-kzprjqer.js → tool-output-pwgrr4zd.js} +11 -11
- package/dist/chunks/tool-output-pxgxg1jw.js +261 -0
- package/dist/chunks/{form-g656cbyf.js → tool-output-q3zv3z6r.js} +21 -21
- package/dist/chunks/{form-bk72g9n5.js → tool-output-q4b2w85g.js} +19 -19
- package/dist/chunks/{form-a0mbnczp.js → tool-output-qc02d14w.js} +28 -28
- package/dist/chunks/{form-5y540sh8.js → tool-output-r01d67gn.js} +8 -8
- package/dist/chunks/{form-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
- package/dist/chunks/{form-r542h3bh.js → tool-output-r542h3bh.js} +1 -1
- package/dist/chunks/{form-5v4fjzaq.js → tool-output-ratcj3ac.js} +24 -24
- package/dist/chunks/{form-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-dpcgzjbf.js → tool-output-rbpy9kt0.js} +30 -30
- package/dist/chunks/{form-gqy1905p.js → tool-output-rjxgb9tb.js} +19 -19
- package/dist/chunks/{form-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-9ap36caz.js → tool-output-rtpnqabj.js} +26 -26
- package/dist/chunks/{form-8aa3rj35.js → tool-output-s0j4vfyb.js} +19 -19
- package/dist/chunks/{form-8gfg5k83.js → tool-output-s0xpqnn9.js} +13 -13
- package/dist/chunks/{form-fp9hrh53.js → tool-output-s219wa1v.js} +21 -21
- package/dist/chunks/{form-bp8166w3.js → tool-output-s42e18rn.js} +8 -8
- package/dist/chunks/{form-bdsby7g0.js → tool-output-s9gds8pe.js} +7 -7
- package/dist/chunks/{form-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
- package/dist/chunks/{form-fke86k08.js → tool-output-seh10k5w.js} +16 -16
- package/dist/chunks/{form-4bj59q6n.js → tool-output-sqdnmamq.js} +192 -192
- package/dist/chunks/{form-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
- package/dist/chunks/{form-zkyyckpa.js → tool-output-szfa6w1b.js} +29 -29
- package/dist/chunks/{form-tasvem1v.js → tool-output-tasvem1v.js} +3 -3
- package/dist/chunks/{form-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-2abq9rn1.js → tool-output-tpp4aej2.js} +21 -21
- package/dist/chunks/{form-zc3z0s1e.js → tool-output-tvfgxhgz.js} +16 -16
- package/dist/chunks/{form-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
- package/dist/chunks/{form-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-202bxvr4.js → tool-output-v6h5bgwd.js} +8 -8
- package/dist/chunks/{form-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
- package/dist/chunks/{form-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{form-ecv950bf.js → tool-output-vfntgn96.js} +16 -16
- package/dist/chunks/{form-ywgtt5qa.js → tool-output-vj1b4684.js} +13 -13
- package/dist/chunks/{form-vwdfpcvx.js → tool-output-vpm8vpz0.js} +3 -3
- package/dist/chunks/{form-4se4h2v4.js → tool-output-vtwv18h8.js} +14 -14
- package/dist/chunks/{form-02hjb68z.js → tool-output-w2cq40va.js} +3 -3
- package/dist/chunks/{form-r41sfy63.js → tool-output-w2eysc6j.js} +6 -6
- package/dist/chunks/{form-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-qd7v5spn.js → tool-output-w7zjqt6n.js} +4 -4
- package/dist/chunks/{form-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{form-ayqdz43p.js → tool-output-wesc8nnt.js} +11 -11
- package/dist/chunks/{form-y6asfd6w.js → tool-output-wfz7x22a.js} +32 -32
- package/dist/chunks/{form-m56nnkz7.js → tool-output-whcqjvyx.js} +4 -4
- package/dist/chunks/{form-x0yqbyz4.js → tool-output-wx6evs79.js} +18 -18
- package/dist/chunks/{form-443gxb00.js → tool-output-wx92ehth.js} +32 -32
- package/dist/chunks/{form-7vk1qfcv.js → tool-output-x0evmera.js} +5 -5
- package/dist/chunks/{form-vzmjdaw1.js → tool-output-x4spgazm.js} +9 -9
- package/dist/chunks/{form-tb6jrghd.js → tool-output-x7jnexzk.js} +20 -20
- package/dist/chunks/{form-xkfczkpn.js → tool-output-xkfczkpn.js} +3 -3
- package/dist/chunks/{form-qp8t9fx2.js → tool-output-y1zpvem5.js} +11 -11
- package/dist/chunks/{form-8kt5nrfk.js → tool-output-y288cn10.js} +14 -14
- package/dist/chunks/{form-gfavbhs2.js → tool-output-y2c4sbnk.js} +12 -12
- package/dist/chunks/{form-3418rxn8.js → tool-output-y8c2g656.js} +1 -1
- package/dist/chunks/{form-rdmv0akp.js → tool-output-y8kfcwrc.js} +14 -14
- package/dist/chunks/{form-xg7y1tnh.js → tool-output-y8ypsrc9.js} +15 -15
- package/dist/chunks/{form-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-8s42wndc.js → tool-output-yhgpjx0v.js} +16 -16
- package/dist/chunks/{form-khsrtdw5.js → tool-output-ympsf4bd.js} +19 -19
- package/dist/chunks/{form-vgsxebfn.js → tool-output-yn23tc2v.js} +10 -10
- package/dist/chunks/{form-49tazegd.js → tool-output-yt31zvs0.js} +20 -20
- package/dist/chunks/{form-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
- package/dist/chunks/{form-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
- package/dist/chunks/{form-4j1hff5b.js → tool-output-zt7g3tem.js} +17 -17
- package/dist/chunks/{form-gf1tscqt.js → tool-output-ztsh3kna.js} +13 -13
- package/dist/chunks/{form-518pc71g.js → tool-output-zx72xjvg.js} +43 -43
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +1 -1
- 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 +87 -87
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.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 +3 -3
- 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 +112 -112
- 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 +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- 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 +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- 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 +102 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +106 -106
- 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 +94 -94
- 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 +125 -125
- 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 +125 -125
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +104 -104
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- 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 +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- 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 +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +99 -99
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- 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 +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- 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 +3 -3
- 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 +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +119 -119
- 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 +121 -121
- 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 +116 -116
- 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 +117 -117
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- 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 +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 +90 -90
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- 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 +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/form-d77dj7jw.js +0 -18
- package/dist/chunks/form-hpzh5cr9.js +0 -26
- package/dist/chunks/form-r7k9z7cv.js +0 -517
- package/dist/chunks/form-wkj84943.js +0 -261
- /package/dist/chunks/{form-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a058387c.js → tool-output-a058387c.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sjmm3wxa.js → tool-output-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-60p7g2te.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-682mbbtd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event18,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./tool-output-pt4tanng.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-61ennm6n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-j8849abs.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID13,
|
|
24
|
+
Service79
|
|
25
|
+
} from "./tool-output-rbpy9kt0.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./tool-output-c58wr0zj.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-3y4503xd.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service86;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service81;
|
|
77
|
+
const providers = yield* Service79;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make3(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID13.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID13.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make3(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID13.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make3(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make3(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID13.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make3(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make3(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make3(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID13.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make3(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make3(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID13.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID13.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make3(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID13.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make3(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID13.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID13.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make3(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID13.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make7();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID12.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./tool-output-s0j4vfyb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./tool-output-vfntgn96.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service59
|
|
10
|
+
} from "./tool-output-ga2dp1ny.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service44,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9jbwxrha.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./tool-output-end82zqt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./tool-output-rjxgb9tb.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin24
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin24 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service59;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin33 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service83;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service44;
|
|
58
|
+
const sessions = yield* Service23;
|
|
59
|
+
const agents = yield* Service77;
|
|
60
|
+
const subagents = yield* Service11;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin33 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin24, exports_command };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./tool-output-s0j4vfyb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service63,
|
|
7
|
+
node66
|
|
8
|
+
} from "./tool-output-pqp4ah5f.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-vpm8vpz0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service56,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service63;
|
|
63
|
+
const agents = yield* Service77;
|
|
64
|
+
return Service56.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node59 = makeLocationNode({ service: Service56, layer, deps: [node66, node81] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service56, resolved2, node59, exports_model };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-2ge2z4cg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID6.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-0tfekwr7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-682mbbtd.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-5kbev7nh.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-998yhzzq.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-w7zjqt6n.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-cee096dw.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node79
|
|
31
|
+
} from "./tool-output-y288cn10.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service18,
|
|
34
|
+
node21
|
|
35
|
+
} from "./tool-output-6gm7hc9m.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-output-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service34,
|
|
41
|
+
node38
|
|
42
|
+
} from "./tool-output-pwgrr4zd.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-output-pq9y035p.js";
|
|
46
46
|
import {
|
|
47
47
|
make10
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-output-tasvem1v.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-output-evx8tntc.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Service12,
|
|
54
|
+
node14,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./tool-output-2fjzbpqs.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node70
|
|
59
|
+
} from "./tool-output-1xfs8wvw.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service25,
|
|
62
|
+
node29
|
|
63
|
+
} from "./tool-output-p7tpgz5e.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./tool-output-ratcj3ac.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service10,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node12
|
|
73
|
+
} from "./tool-output-rtpnqabj.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service53
|
|
77
|
+
} from "./tool-output-m7xh3h0x.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node42
|
|
80
|
+
} from "./tool-output-wx92ehth.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
make9
|
|
84
|
+
} from "./tool-output-hpbvv96n.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service35
|
|
87
|
+
} from "./tool-output-grzehpz7.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
node16
|
|
90
|
+
} from "./tool-output-h91kcahz.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./tool-output-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node10
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service86;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
112
|
+
const lifecycle = yield* Service18;
|
|
113
|
+
const store = yield* Service75;
|
|
114
|
+
const context = yield* Service25;
|
|
115
|
+
const modelTransport = yield* Service34;
|
|
116
116
|
const db = (yield* Service87).db;
|
|
117
|
-
const compaction = yield*
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
120
|
-
const steps = yield*
|
|
117
|
+
const compaction = yield* Service12;
|
|
118
|
+
const plugins = yield* Service35;
|
|
119
|
+
const title = yield* Service10;
|
|
120
|
+
const steps = yield* make9;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
123
123
|
const sessionID = input.sessionID;
|
|
@@ -380,25 +380,25 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
});
|
|
383
|
-
return
|
|
383
|
+
return Service53.of({ drain });
|
|
384
384
|
}));
|
|
385
|
-
var
|
|
386
|
-
service:
|
|
385
|
+
var node10 = makeLocationNode({
|
|
386
|
+
service: Service53,
|
|
387
387
|
layer,
|
|
388
388
|
deps: [
|
|
389
389
|
node90,
|
|
390
|
-
|
|
390
|
+
node21,
|
|
391
391
|
llmClient2,
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
392
|
+
node29,
|
|
393
|
+
node38,
|
|
394
|
+
node79,
|
|
395
|
+
node14,
|
|
396
|
+
node16,
|
|
395
397
|
node12,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
node74,
|
|
399
|
-
node64,
|
|
398
|
+
node42,
|
|
399
|
+
node70,
|
|
400
400
|
node91
|
|
401
401
|
]
|
|
402
402
|
});
|
|
403
403
|
|
|
404
|
-
export {
|
|
404
|
+
export { node10, exports_llm };
|