@opencode/core 0.0.0-dev-21799 → 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 +87 -87
- 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/{bus-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{bus-wqn1yeqd.js → tool-output-0c7nc8tn.js} +9 -9
- package/dist/chunks/{bus-rgwqxpz0.js → tool-output-0srp2sh0.js} +21 -21
- package/dist/chunks/{bus-hj7n8j55.js → tool-output-0tfekwr7.js} +3 -3
- package/dist/chunks/{bus-e76r8gh4.js → tool-output-12tah04a.js} +13 -13
- package/dist/chunks/{bus-944chywr.js → tool-output-1cyprt5w.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-h7qqxn3z.js → tool-output-1r0janqk.js} +5 -5
- package/dist/chunks/{bus-s9f1b4gk.js → tool-output-1tvtyxqv.js} +11 -11
- package/dist/chunks/{bus-0washmxq.js → tool-output-1v9xeggz.js} +5 -5
- package/dist/chunks/{bus-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-s78fym6c.js → tool-output-1xfs8wvw.js} +11 -11
- package/dist/chunks/{bus-2kg89srt.js → tool-output-1y0wdj51.js} +9 -9
- package/dist/chunks/{bus-1yq9hg58.js → tool-output-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-92kck2y6.js → tool-output-248g8pq7.js} +17 -17
- package/dist/chunks/{bus-5jyzdfdp.js → tool-output-2bexbmx7.js} +1 -1
- package/dist/chunks/{bus-8k2rgs9p.js → tool-output-2dfk453x.js} +21 -21
- package/dist/chunks/{bus-mef2v0hb.js → tool-output-2fjzbpqs.js} +38 -38
- package/dist/chunks/{bus-v6a3varz.js → tool-output-2ge2z4cg.js} +23 -23
- package/dist/chunks/{bus-cmqmfdz6.js → tool-output-2p2a88gw.js} +21 -21
- package/dist/chunks/{bus-xbewfx7c.js → tool-output-2qj28n5c.js} +6 -6
- package/dist/chunks/{bus-bxet2tb6.js → tool-output-2wjqwetp.js} +5 -5
- package/dist/chunks/{bus-2z1j29yd.js → tool-output-2z1j29yd.js} +1 -1
- package/dist/chunks/{bus-32dt8sm6.js → tool-output-33jn8j87.js} +10 -10
- package/dist/chunks/{bus-e1ebsv1y.js → tool-output-39k15pn6.js} +10 -10
- package/dist/chunks/{bus-9ewhr0ht.js → tool-output-3dg4aj2t.js} +18 -18
- package/dist/chunks/{bus-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-938aw1cc.js → tool-output-3j1ep4vq.js} +24 -24
- package/dist/chunks/{bus-6xqtcmxs.js → tool-output-3kdbrncp.js} +5 -5
- package/dist/chunks/{bus-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-sy8wf0bt.js → tool-output-3nzkha57.js} +34 -34
- package/dist/chunks/{bus-1k7qz9q5.js → tool-output-3p7agaaw.js} +9 -9
- package/dist/chunks/{bus-7j2sygsw.js → tool-output-3q5vep8y.js} +8 -8
- package/dist/chunks/{bus-c6x7d2ts.js → tool-output-3ryz99p0.js} +4 -4
- package/dist/chunks/{bus-9bhv2far.js → tool-output-3sk8enc1.js} +8 -8
- package/dist/chunks/{bus-gq5fh3wz.js → tool-output-3ssszjcv.js} +27 -27
- package/dist/chunks/{bus-t0w4g24n.js → tool-output-3vdwfrk9.js} +5 -5
- package/dist/chunks/{bus-5gxhssq1.js → tool-output-3y4503xd.js} +4 -4
- package/dist/chunks/{bus-kwxbdf35.js → tool-output-4aqtdhks.js} +27 -27
- package/dist/chunks/{bus-e5qvdp4b.js → tool-output-4gxtsg4q.js} +33 -33
- package/dist/chunks/{bus-pzdmxvfw.js → tool-output-4pw54185.js} +40 -40
- package/dist/chunks/{bus-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-n2gw1p1h.js → tool-output-59fxmd0j.js} +27 -27
- package/dist/chunks/{bus-hyqz6d44.js → tool-output-5dab8ama.js} +8 -8
- package/dist/chunks/{bus-dwasj5q9.js → tool-output-5fgbm0wv.js} +1 -1
- package/dist/chunks/{bus-3amawdtd.js → tool-output-5frcv4v0.js} +14 -14
- package/dist/chunks/{bus-21pdxbx2.js → tool-output-5kbev7nh.js} +6 -6
- package/dist/chunks/{bus-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-e3qxr5gk.js → tool-output-5qd3pb7m.js} +2 -2
- package/dist/chunks/{bus-p4stbfde.js → tool-output-5v6z662y.js} +19 -19
- package/dist/chunks/{bus-fbeje3j4.js → tool-output-60p7g2te.js} +8 -8
- package/dist/chunks/{bus-zzdv5d93.js → tool-output-61ennm6n.js} +4 -4
- package/dist/chunks/{bus-38xznjs4.js → tool-output-6285fq4d.js} +8 -8
- package/dist/chunks/{bus-kjh8rrq6.js → tool-output-63hkdzbg.js} +1 -1
- package/dist/chunks/{bus-8sz8b50m.js → tool-output-682mbbtd.js} +4 -4
- package/dist/chunks/{bus-zysm0ng8.js → tool-output-68kb9z9h.js} +12 -12
- package/dist/chunks/{bus-9qx86p98.js → tool-output-69gn191w.js} +23 -23
- package/dist/chunks/{bus-kasrxtf2.js → tool-output-6aqbrqep.js} +32 -32
- package/dist/chunks/{bus-6esdw8yj.js → tool-output-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-ztjhcqny.js → tool-output-6gm7hc9m.js} +35 -35
- package/dist/chunks/{bus-yth42b8q.js → tool-output-6pj63jbt.js} +50 -50
- package/dist/chunks/{bus-6pjqjmy2.js → tool-output-6pjqjmy2.js} +1 -1
- package/dist/chunks/{bus-f2e2a0hz.js → tool-output-6px9atyk.js} +11 -11
- package/dist/chunks/{bus-h8vhq97h.js → tool-output-6xaz3aew.js} +19 -19
- package/dist/chunks/{bus-j7naznmb.js → tool-output-70h1qnfn.js} +13 -13
- package/dist/chunks/{bus-76cb1hcw.js → tool-output-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-nah043kf.js → tool-output-770pw0s1.js} +4 -4
- package/dist/chunks/{bus-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-4vh1jrr3.js → tool-output-7nv1f492.js} +20 -20
- package/dist/chunks/{bus-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-0w2jttgf.js → tool-output-7yect7x1.js} +2 -2
- package/dist/chunks/{bus-jphwvgs8.js → tool-output-81a9zpe2.js} +8 -8
- package/dist/chunks/{bus-c75w93q9.js → tool-output-87ksbwny.js} +41 -41
- package/dist/chunks/{bus-ka01146j.js → tool-output-89sdcr2v.js} +6 -6
- package/dist/chunks/{bus-qjgzc4b4.js → tool-output-8jztxfpf.js} +4 -4
- package/dist/chunks/{bus-d7ke2zsv.js → tool-output-8nfppp0x.js} +35 -35
- package/dist/chunks/{bus-q2w5xen3.js → tool-output-8tapzm2v.js} +13 -13
- package/dist/chunks/{bus-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-qd8axg02.js → tool-output-8xppqwrp.js} +15 -15
- package/dist/chunks/{bus-91rj84md.js → tool-output-91rj84md.js} +1 -1
- package/dist/chunks/{bus-wdv0vama.js → tool-output-96ym0hte.js} +10 -10
- package/dist/chunks/{bus-998yhzzq.js → tool-output-998yhzzq.js} +3 -3
- package/dist/chunks/{bus-21g64681.js → tool-output-9dj7pbca.js} +23 -23
- package/dist/chunks/{bus-vqjdwf3w.js → tool-output-9jbwxrha.js} +22 -22
- package/dist/chunks/{bus-87bd8ecw.js → tool-output-9nha6yk0.js} +8 -8
- package/dist/chunks/{bus-4tqs0jzk.js → tool-output-9tvpxs1q.js} +4 -4
- package/dist/chunks/{bus-dyjhv7x6.js → tool-output-9vd6zvz7.js} +20 -20
- package/dist/chunks/{bus-akqrtxca.js → tool-output-a3h99bw5.js} +9 -9
- package/dist/chunks/{bus-hxbrq7ky.js → tool-output-a6kaasdq.js} +18 -18
- package/dist/chunks/{bus-623n6t0x.js → tool-output-a7549q9v.js} +26 -26
- package/dist/chunks/{bus-d390zwf3.js → tool-output-a7hcemwv.js} +11 -11
- package/dist/chunks/{bus-1pszgch9.js → tool-output-a8803444.js} +9 -9
- package/dist/chunks/{bus-vxp3kcg3.js → tool-output-aeb4sny1.js} +5 -5
- package/dist/chunks/{bus-160yv0cs.js → tool-output-aedwt843.js} +6 -6
- package/dist/chunks/{bus-agqd6nxz.js → tool-output-agqd6nxz.js} +2 -2
- package/dist/chunks/{bus-vb1053xg.js → tool-output-aja6hfsp.js} +5 -5
- package/dist/chunks/{bus-rmwg6517.js → tool-output-aqk6p4c3.js} +16 -16
- package/dist/chunks/{bus-4a6yhs14.js → tool-output-axnwbd4n.js} +2 -2
- package/dist/chunks/{bus-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-b0mv4wxm.js → tool-output-b0mv4wxm.js} +2 -2
- package/dist/chunks/{bus-nym9wyb3.js → tool-output-b28mnwwt.js} +6 -6
- package/dist/chunks/{bus-4hmqv3dg.js → tool-output-b2jr87qa.js} +25 -25
- package/dist/chunks/{bus-evk4ejbw.js → tool-output-b6pwv5qp.js} +10 -10
- package/dist/chunks/{bus-b6vsg801.js → tool-output-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-45szfbjt.js → tool-output-bebb3at9.js} +9 -9
- package/dist/chunks/{bus-k2abm4dq.js → tool-output-bem2npsx.js} +30 -30
- package/dist/chunks/{bus-6r1jx35z.js → tool-output-bf946hy9.js} +7 -7
- package/dist/chunks/{bus-tz3qh6bj.js → tool-output-bmvgsr22.js} +1 -1
- package/dist/chunks/{bus-33zxs5g9.js → tool-output-bsqrjjtg.js} +4 -4
- package/dist/chunks/{bus-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-trgp8ev6.js → tool-output-c58wr0zj.js} +11 -11
- package/dist/chunks/{bus-gs8m0426.js → tool-output-cee096dw.js} +10 -10
- package/dist/chunks/{bus-xvk38nmq.js → tool-output-cj0twgab.js} +23 -23
- package/dist/chunks/{bus-az9wb5vh.js → tool-output-crj5e783.js} +11 -11
- package/dist/chunks/tool-output-cw8zeq3d.js +517 -0
- package/dist/chunks/{bus-ssfehs1z.js → tool-output-d2887f8n.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-yy2jcnkw.js → tool-output-d64cx63j.js} +7 -7
- package/dist/chunks/{bus-2eq3kb9b.js → tool-output-dccrvx04.js} +26 -26
- package/dist/chunks/{bus-nypgcgf3.js → tool-output-decs4e60.js} +55 -55
- package/dist/chunks/{bus-k7dpec9v.js → tool-output-drex4pzq.js} +14 -14
- package/dist/chunks/{bus-34mc4f69.js → tool-output-dwvvx6r2.js} +28 -28
- package/dist/chunks/{bus-b6a9raah.js → tool-output-e0p4kz3g.js} +27 -27
- package/dist/chunks/{bus-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{bus-1kashhxp.js → tool-output-ebjk3m4h.js} +20 -20
- package/dist/chunks/{bus-g1tbcgaf.js → tool-output-ede5t31q.js} +15 -15
- package/dist/chunks/{bus-d2r03a97.js → tool-output-eg0mws0e.js} +6 -6
- package/dist/chunks/{bus-cb2ed4nn.js → tool-output-ek92bk2r.js} +20 -20
- package/dist/chunks/{bus-8dg1xc6q.js → tool-output-em0f81yy.js} +3 -3
- package/dist/chunks/{bus-za8j9kr3.js → tool-output-end82zqt.js} +86 -86
- package/dist/chunks/{bus-n6mnvtfa.js → tool-output-ermtapg2.js} +26 -26
- package/dist/chunks/{bus-xdz0a60a.js → tool-output-evx8tntc.js} +5 -5
- package/dist/chunks/{bus-7rag2784.js → tool-output-ewyv1vrd.js} +7 -7
- package/dist/chunks/{bus-7nvnk78q.js → tool-output-eyhcn785.js} +33 -33
- package/dist/chunks/{bus-2d6j2x8s.js → tool-output-f01rz3q1.js} +46 -46
- package/dist/chunks/{bus-1j9syxkg.js → tool-output-f1ms64q9.js} +2 -2
- package/dist/chunks/{bus-a93vqh6w.js → tool-output-f27y7cht.js} +19 -19
- package/dist/chunks/{bus-mjftkp2a.js → tool-output-f37v6n8t.js} +25 -25
- package/dist/chunks/{bus-2jtphcac.js → tool-output-fc2fw478.js} +11 -11
- package/dist/chunks/{bus-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-ck5p2rrt.js → tool-output-fgqacn3a.js} +6 -6
- package/dist/chunks/{bus-8314gx8s.js → tool-output-fj83etc5.js} +70 -70
- package/dist/chunks/{bus-cfbvvs1c.js → tool-output-frfzcpgy.js} +12 -12
- package/dist/chunks/{bus-cg98qzes.js → tool-output-fwjrth66.js} +25 -25
- package/dist/chunks/{bus-wr3re1en.js → tool-output-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-g5h9c0rr.js → tool-output-g5h9c0rr.js} +2 -2
- package/dist/chunks/{bus-7gvxqv4d.js → tool-output-g6yzwk23.js} +21 -21
- package/dist/chunks/{bus-mzhk1ssh.js → tool-output-g729x6ds.js} +12 -12
- package/dist/chunks/{bus-ybhwsy6b.js → tool-output-ga2dp1ny.js} +44 -44
- package/dist/chunks/{bus-an9c9kb2.js → tool-output-gc2j9dw0.js} +14 -14
- package/dist/chunks/{bus-0fpq4f58.js → tool-output-gc804zz3.js} +11 -11
- package/dist/chunks/{bus-pf3djhp1.js → tool-output-ggsx9dmr.js} +30 -30
- package/dist/chunks/{bus-n9p72mjb.js → tool-output-gj8x1tda.js} +5 -5
- package/dist/chunks/tool-output-grzehpz7.js +18 -0
- package/dist/chunks/{bus-9n0km4x2.js → tool-output-h4f6vs3g.js} +11 -11
- package/dist/chunks/{bus-j01hj8py.js → tool-output-h7pf2zmx.js} +2 -2
- package/dist/chunks/{bus-828gze2h.js → tool-output-h91kcahz.js} +20 -20
- package/dist/chunks/{bus-af0k6e03.js → tool-output-hdfrs5mg.js} +9 -9
- package/dist/chunks/{bus-prkpw7v5.js → tool-output-hfqv7x4d.js} +14 -14
- package/dist/chunks/{bus-2jrcf1tj.js → tool-output-hhkkbxc9.js} +9 -9
- package/dist/chunks/{bus-aemg0w6p.js → tool-output-hkfp46ja.js} +17 -17
- package/dist/chunks/{bus-ehpc9aq8.js → tool-output-hpbvv96n.js} +20 -20
- package/dist/chunks/{bus-hew6naq5.js → tool-output-hvsnx3z0.js} +11 -11
- package/dist/chunks/{bus-j113cymg.js → tool-output-j113cymg.js} +1 -1
- package/dist/chunks/{bus-f29p2v8h.js → tool-output-j8849abs.js} +28 -28
- package/dist/chunks/{bus-2bev0qfp.js → tool-output-japt42f9.js} +11 -11
- package/dist/chunks/{bus-era634b9.js → tool-output-jc5r9pb7.js} +16 -16
- package/dist/chunks/{bus-mkcsh4cz.js → tool-output-jccf4379.js} +9 -9
- package/dist/chunks/{bus-6020gc76.js → tool-output-jg6bqjz4.js} +35 -35
- package/dist/chunks/{bus-petq1ecb.js → tool-output-jhrcq78y.js} +10 -10
- package/dist/chunks/{bus-e5dqjz6v.js → tool-output-jneg3k74.js} +4 -4
- package/dist/chunks/tool-output-jr7x9p7n.js +26 -0
- package/dist/chunks/{bus-0ss1ygn7.js → tool-output-jx89vj1k.js} +3 -3
- package/dist/chunks/{bus-8czeycrx.js → tool-output-k1dyhccn.js} +12 -12
- package/dist/chunks/{bus-9s68rp0p.js → tool-output-k299vwjx.js} +17 -17
- package/dist/chunks/{bus-k814nvkf.js → tool-output-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-5wp410p3.js → tool-output-k8wqp3fb.js} +18 -18
- package/dist/chunks/{bus-kd5rhgxk.js → tool-output-k9gdv7wj.js} +10 -10
- package/dist/chunks/{bus-zgctp3t4.js → tool-output-kbtbr31d.js} +6 -6
- package/dist/chunks/{bus-kt3bjfbg.js → tool-output-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-dbx6pzfq.js → tool-output-kya6vn2v.js} +6 -6
- package/dist/chunks/{bus-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{bus-m37sd98t.js → tool-output-m37sd98t.js} +1 -1
- package/dist/chunks/{bus-nb9f99as.js → tool-output-m666jk6r.js} +14 -14
- package/dist/chunks/{bus-vsnnaxjq.js → tool-output-m7xh3h0x.js} +4 -4
- package/dist/chunks/{bus-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-ydwpppea.js → tool-output-mj41408h.js} +5 -5
- package/dist/chunks/{bus-acb1b57m.js → tool-output-mq1vsyex.js} +25 -25
- package/dist/chunks/{bus-n0p0277s.js → tool-output-n0p0277s.js} +1 -1
- package/dist/chunks/{bus-ds7crdch.js → tool-output-n2a2fj9v.js} +4 -4
- package/dist/chunks/{bus-evxg6w44.js → tool-output-n2b0dnay.js} +46 -46
- package/dist/chunks/{bus-6twykydk.js → tool-output-n7bnkb3p.js} +9 -9
- package/dist/chunks/{bus-s7cwnsdq.js → tool-output-n92mzsnh.js} +45 -45
- package/dist/chunks/{bus-tkhnpy0n.js → tool-output-ncnmhedn.js} +11 -11
- package/dist/chunks/{bus-t3z4fh6a.js → tool-output-nd41fner.js} +11 -11
- package/dist/chunks/{bus-32s59e8p.js → tool-output-ne2q04mf.js} +9 -9
- package/dist/chunks/{bus-8xq71q48.js → tool-output-nj719txd.js} +2 -2
- package/dist/chunks/{bus-vjtwvj7e.js → tool-output-nn0x9b8s.js} +12 -12
- package/dist/chunks/{bus-nex2766x.js → tool-output-ny7cjtgm.js} +15 -15
- package/dist/chunks/{bus-p015t6z3.js → tool-output-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-8dh0vs4v.js → tool-output-p0amseq2.js} +2 -2
- package/dist/chunks/{bus-8tgysywa.js → tool-output-p2y1bt5g.js} +35 -35
- package/dist/chunks/{bus-878x64va.js → tool-output-p7tpgz5e.js} +73 -73
- package/dist/chunks/{bus-djxd8yth.js → tool-output-p819tdyr.js} +9 -9
- package/dist/chunks/{bus-mkdbjcmh.js → tool-output-phtcpqdv.js} +4 -4
- package/dist/chunks/{bus-mkzms3ra.js → tool-output-pj6kkmwg.js} +13 -13
- package/dist/chunks/{bus-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{bus-3f6xt6nq.js → tool-output-pq9y035p.js} +30 -30
- package/dist/chunks/{bus-jsfyz6c7.js → tool-output-pqmez375.js} +24 -24
- package/dist/chunks/{bus-1bfxbsya.js → tool-output-pqp4ah5f.js} +24 -24
- package/dist/chunks/{bus-n8mjpvcm.js → tool-output-pr31xtm2.js} +45 -45
- package/dist/chunks/{bus-qbhbqa7t.js → tool-output-pt34v7je.js} +52 -52
- package/dist/chunks/{bus-5p32nay5.js → tool-output-pt4tanng.js} +28 -28
- package/dist/chunks/{bus-qygd4nc5.js → tool-output-ptatd3p6.js} +8 -8
- package/dist/chunks/{bus-8mgvafr1.js → tool-output-pwgrr4zd.js} +11 -11
- package/dist/chunks/tool-output-pxgxg1jw.js +261 -0
- package/dist/chunks/{bus-cw3xprgn.js → tool-output-q3zv3z6r.js} +17 -17
- package/dist/chunks/{bus-q9jq76k6.js → tool-output-q4b2w85g.js} +19 -19
- package/dist/chunks/{bus-wfcfzn3b.js → tool-output-qc02d14w.js} +28 -28
- package/dist/chunks/{bus-8fwy8ndr.js → tool-output-r01d67gn.js} +5 -5
- package/dist/chunks/{bus-r0yr0wbs.js → tool-output-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-r542h3bh.js → tool-output-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-b0bk1qcn.js → tool-output-ratcj3ac.js} +23 -23
- package/dist/chunks/{bus-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-qzw8kg5z.js → tool-output-rbpy9kt0.js} +18 -18
- package/dist/chunks/{bus-pxj2herr.js → tool-output-rjxgb9tb.js} +19 -19
- package/dist/chunks/{bus-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-skdc7twy.js → tool-output-rtpnqabj.js} +26 -26
- package/dist/chunks/{bus-1w9k09te.js → tool-output-s0j4vfyb.js} +22 -22
- package/dist/chunks/{bus-x4kknryj.js → tool-output-s0xpqnn9.js} +13 -13
- package/dist/chunks/{bus-ksrgejfs.js → tool-output-s219wa1v.js} +27 -27
- package/dist/chunks/{bus-jmwryt6t.js → tool-output-s42e18rn.js} +8 -8
- package/dist/chunks/{bus-thj7kx78.js → tool-output-s9gds8pe.js} +7 -7
- package/dist/chunks/{bus-sa3fpqfw.js → tool-output-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-50gfh4d7.js → tool-output-seh10k5w.js} +16 -16
- package/dist/chunks/{bus-f026ckt4.js → tool-output-sqdnmamq.js} +169 -169
- package/dist/chunks/{bus-sqjzf8x2.js → tool-output-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-vdsw612c.js → tool-output-szfa6w1b.js} +23 -23
- package/dist/chunks/{bus-0ks2n9jf.js → tool-output-tasvem1v.js} +6 -6
- package/dist/chunks/{bus-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-2hsj2n0v.js → tool-output-tpp4aej2.js} +21 -21
- package/dist/chunks/{bus-z3jsq4rh.js → tool-output-tvfgxhgz.js} +16 -16
- package/dist/chunks/{bus-twv2r8f4.js → tool-output-twv2r8f4.js} +2 -2
- package/dist/chunks/{bus-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-31wms35x.js → tool-output-v6h5bgwd.js} +8 -8
- package/dist/chunks/{bus-vd3b3yk9.js → tool-output-vd3b3yk9.js} +1 -1
- package/dist/chunks/{bus-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-5a5619qn.js → tool-output-vfntgn96.js} +17 -17
- package/dist/chunks/{bus-r8hpns5j.js → tool-output-vj1b4684.js} +13 -13
- package/dist/chunks/{bus-zb5gs1ba.js → tool-output-vpm8vpz0.js} +3 -3
- package/dist/chunks/{bus-syn3ds3q.js → tool-output-vtwv18h8.js} +14 -14
- package/dist/chunks/{bus-7asyzf2g.js → tool-output-w2cq40va.js} +3 -3
- package/dist/chunks/{bus-w2eysc6j.js → tool-output-w2eysc6j.js} +2 -2
- package/dist/chunks/{bus-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-0p88zpcm.js → tool-output-w7zjqt6n.js} +4 -4
- package/dist/chunks/{bus-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{bus-njsc6rzh.js → tool-output-wesc8nnt.js} +11 -11
- package/dist/chunks/{bus-ta7bxye8.js → tool-output-wfz7x22a.js} +32 -32
- package/dist/chunks/{bus-zj8y7a4j.js → tool-output-whcqjvyx.js} +4 -4
- package/dist/chunks/{bus-phpbvyrj.js → tool-output-wx6evs79.js} +18 -18
- package/dist/chunks/{bus-ny95kkac.js → tool-output-wx92ehth.js} +29 -29
- package/dist/chunks/{bus-dt400r1m.js → tool-output-x0evmera.js} +5 -5
- package/dist/chunks/{bus-frvfbmdp.js → tool-output-x4spgazm.js} +9 -9
- package/dist/chunks/{bus-gyz363jb.js → tool-output-x7jnexzk.js} +20 -20
- package/dist/chunks/{bus-xkfczkpn.js → tool-output-xkfczkpn.js} +3 -3
- package/dist/chunks/{bus-phgcvxz9.js → tool-output-y1zpvem5.js} +11 -11
- package/dist/chunks/{bus-pnwjjc01.js → tool-output-y288cn10.js} +14 -14
- package/dist/chunks/{bus-4gr5td8y.js → tool-output-y2c4sbnk.js} +14 -14
- package/dist/chunks/{bus-3f2zwfeg.js → tool-output-y8c2g656.js} +4 -4
- package/dist/chunks/{bus-jbp3fq04.js → tool-output-y8kfcwrc.js} +14 -14
- package/dist/chunks/{bus-9n059q0a.js → tool-output-y8ypsrc9.js} +15 -15
- package/dist/chunks/{bus-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-z6w87tzw.js → tool-output-yhgpjx0v.js} +16 -16
- package/dist/chunks/{bus-2665jbwr.js → tool-output-ympsf4bd.js} +13 -13
- package/dist/chunks/{bus-fya0vmjt.js → tool-output-yn23tc2v.js} +10 -10
- package/dist/chunks/{bus-575d3vht.js → tool-output-yt31zvs0.js} +19 -19
- package/dist/chunks/{bus-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z38nccrw.js → tool-output-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-zkg84ctx.js → tool-output-zkg84ctx.js} +1 -1
- package/dist/chunks/{bus-7nw9b7yf.js → tool-output-zt7g3tem.js} +15 -15
- package/dist/chunks/{bus-1njsdcyp.js → tool-output-ztsh3kna.js} +16 -16
- package/dist/chunks/{bus-fj5cqmpq.js → tool-output-zx72xjvg.js} +41 -41
- 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 +83 -83
- 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 +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +138 -138
- 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 +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +100 -100
- 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 +227 -227
- 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 +107 -107
- package/dist/form.js +86 -86
- 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 +104 -104
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- 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 +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +108 -108
- 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 +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +95 -95
- package/dist/models-dev.js +108 -108
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- 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 +3 -3
- 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 +125 -125
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- 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 +2 -2
- 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 +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 +94 -94
- 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 +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 +129 -129
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +101 -101
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- 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 +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 +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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +94 -94
- 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 +113 -113
- 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 +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +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/bus-39h0ag18.js +0 -26
- package/dist/chunks/bus-6bshxcsx.js +0 -18
- package/dist/chunks/bus-kf47bq4t.js +0 -517
- package/dist/chunks/bus-paz7j9b8.js +0 -261
- /package/dist/chunks/{bus-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → tool-output-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sjmm3wxa.js → tool-output-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-rbpy9kt0.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-c58wr0zj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve4, exports_variant };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-output-vfntgn96.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service83;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./tool-output-ga2dp1ny.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./tool-output-n92mzsnh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin22,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service59;
|
|
28
|
+
const mcp = yield* Service31;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin22, register2, exports_mcp };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-682mbbtd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID15,
|
|
6
|
+
Event18,
|
|
7
|
+
Service81
|
|
8
|
+
} from "./tool-output-pt4tanng.js";
|
|
9
9
|
import {
|
|
10
10
|
ID13
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-rbpy9kt0.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-3y4503xd.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service81;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -66,7 +66,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
68
|
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -157,7 +157,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
yield* bus.subscribe([
|
|
160
|
+
yield* bus.subscribe([Event18.Updated, Event18.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
161
161
|
const next = yield* load();
|
|
162
162
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
163
163
|
return;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-1y0wdj51.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Info19
|
|
12
|
-
} from "./bus-c6x7d2ts.js";
|
|
8
|
+
Info13
|
|
9
|
+
} from "./tool-output-a7hcemwv.js";
|
|
13
10
|
import {
|
|
14
11
|
Info17
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./tool-output-3ryz99p0.js";
|
|
13
|
+
import {
|
|
14
|
+
Info16
|
|
15
|
+
} from "./tool-output-gj8x1tda.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info15
|
|
21
|
+
} from "./tool-output-3kdbrncp.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-bsqrjjtg.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info15, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -1,46 +1,46 @@
|
|
|
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
8
|
defaultServer2,
|
|
9
9
|
server2,
|
|
10
10
|
headers2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-kt3bjfbg.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./tool-output-pt4tanng.js";
|
|
16
16
|
import {
|
|
17
17
|
key2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-output-61ennm6n.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
MethodID2,
|
|
22
22
|
AuthorizationError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-j8849abs.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service21
|
|
26
|
+
} from "./tool-output-96ym0hte.js";
|
|
27
27
|
import {
|
|
28
28
|
ID13,
|
|
29
29
|
mergeOverlay2,
|
|
30
30
|
mergeHeaders2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-rbpy9kt0.js";
|
|
32
32
|
import {
|
|
33
33
|
mergeCapabilities2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-output-c58wr0zj.js";
|
|
35
35
|
import {
|
|
36
36
|
supports2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
resolve4
|
|
38
|
+
} from "./tool-output-2qj28n5c.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID4,
|
|
41
|
+
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-fwjrth66.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: ID4
|
|
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: ID14.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* Service21;
|
|
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 = ID14.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
|
+
...resolve4({ ...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);
|
|
@@ -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(Input14)({
|
|
374
374
|
query: input.query,
|
|
375
375
|
providerID: descriptor.providerID
|
|
376
376
|
}));
|
|
@@ -442,7 +442,7 @@ var OpencodePlugin2 = define({
|
|
|
442
442
|
onlyIfMissing: true
|
|
443
443
|
});
|
|
444
444
|
});
|
|
445
|
-
yield* bus.subscribe(
|
|
445
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
446
446
|
yield* poll();
|
|
447
447
|
})
|
|
448
448
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info15,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info15 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info18 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info15, exports_provider2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-682mbbtd.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./tool-output-vfntgn96.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service44,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node48
|
|
16
|
+
} from "./tool-output-9jbwxrha.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event5,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID3,
|
|
28
|
+
Info: () => Info5,
|
|
29
|
+
NotFoundError: () => NotFoundError3,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID3 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID3
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service86;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service83;
|
|
62
|
+
const shell = yield* Service44;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID3.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node22 = makeLocationNode({
|
|
273
|
+
service: Service19,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node90,
|
|
275
|
+
deps: [node90, node87, node48]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID3, Info5, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./tool-output-89sdcr2v.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-grzehpz7.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-5kbev7nh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./tool-output-2ge2z4cg.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service55;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service86,
|
|
4
4
|
node90
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-682mbbtd.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service7,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer6,
|
|
17
17
|
node: () => node8
|
|
@@ -20,19 +20,19 @@ import { Context, Effect, Layer } from "effect";
|
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service7 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer6 = Layer.effect(
|
|
25
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service7.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node8 = makeGlobalNode({ service:
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service7, layer: layer6, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service7, layer6, node8, exports_sdk };
|