@opencode/core 0.0.0-dev-21812 → 0.0.0-dev-21818
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 +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{integration-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{integration-txmkmbh1.js → command-0e8wpp30.js} +11 -11
- package/dist/chunks/{integration-z9kr5gn7.js → command-0kr898da.js} +11 -11
- package/dist/chunks/{integration-0v8grjzs.js → command-0s5yyc28.js} +11 -11
- package/dist/chunks/{integration-wb5aj4gb.js → command-103he1eh.js} +30 -30
- package/dist/chunks/{integration-m676x6pr.js → command-12j5xb52.js} +15 -15
- package/dist/chunks/{integration-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{integration-8aqd9tw0.js → command-1ftf7dq4.js} +40 -40
- package/dist/chunks/{integration-414jxfdf.js → command-1v0dspd3.js} +28 -28
- package/dist/chunks/{integration-pacbbjc0.js → command-1vdntpm3.js} +5 -5
- package/dist/chunks/{integration-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{integration-v9ez2kgh.js → command-1yq9hg58.js} +5 -5
- package/dist/chunks/{integration-cdpx3xqr.js → command-23h7j0rk.js} +35 -35
- package/dist/chunks/{integration-hwx3r6b1.js → command-2b2ezf52.js} +15 -15
- package/dist/chunks/{integration-jtp9n393.js → command-2hxshrhc.js} +28 -28
- package/dist/chunks/{integration-1cymfj1p.js → command-2xjnyn7t.js} +27 -27
- package/dist/chunks/{integration-2z1j29yd.js → command-2z1j29yd.js} +1 -1
- package/dist/chunks/{integration-mw8s5zmh.js → command-3531vqe2.js} +19 -19
- package/dist/chunks/{integration-qqfn68em.js → command-38gd8qqf.js} +17 -17
- package/dist/chunks/{integration-43sfaggh.js → command-3bv62f95.js} +54 -54
- package/dist/chunks/{integration-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-32s59e8p.js → command-3mgb105e.js} +9 -9
- package/dist/chunks/{integration-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{integration-dd3y08z3.js → command-3qb2tvq8.js} +20 -20
- package/dist/chunks/{integration-w2eysc6j.js → command-40za9wsf.js} +9 -9
- package/dist/chunks/{integration-qmxyfk6f.js → command-41krkmrm.js} +9 -9
- package/dist/chunks/{integration-yh280zkr.js → command-41rwrk3a.js} +18 -18
- package/dist/chunks/{integration-wf2cyww0.js → command-44ggx2jg.js} +5 -5
- package/dist/chunks/{integration-3zmhjc9p.js → command-4kfhgg5n.js} +20 -20
- package/dist/chunks/{integration-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{integration-4xvmh7wp.js → command-4xvmh7wp.js} +3 -3
- package/dist/chunks/{integration-582km8zz.js → command-536c1kkr.js} +4 -4
- package/dist/chunks/{integration-mvc3vb2a.js → command-577yexmd.js} +10 -10
- package/dist/chunks/command-5dwav50q.js +26 -0
- package/dist/chunks/{integration-h4k78rza.js → command-5j20qf3f.js} +47 -47
- package/dist/chunks/{integration-n0p57zwx.js → command-5j2x0vh6.js} +15 -15
- package/dist/chunks/{integration-1xcgmt4f.js → command-5jhj8f90.js} +25 -25
- package/dist/chunks/{integration-nsew6na4.js → command-5jyzhfg0.js} +4 -4
- package/dist/chunks/{integration-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{integration-6es4hneh.js → command-5r6qh7e4.js} +10 -10
- package/dist/chunks/{integration-2jzy5gvp.js → command-5s5ptkmy.js} +17 -17
- package/dist/chunks/{integration-w3ewejsb.js → command-601dsf04.js} +17 -17
- package/dist/chunks/{integration-eegzrrtz.js → command-6ad2fdvv.js} +13 -13
- package/dist/chunks/{integration-2wvpxzhr.js → command-6ek2k839.js} +7 -7
- package/dist/chunks/{integration-6esdw8yj.js → command-6esdw8yj.js} +1 -1
- package/dist/chunks/{integration-6pjqjmy2.js → command-6pjqjmy2.js} +1 -1
- package/dist/chunks/{integration-ndw46kc6.js → command-6r3jgch7.js} +13 -13
- package/dist/chunks/{integration-5v3c0w31.js → command-6rxdw5v4.js} +32 -32
- package/dist/chunks/{integration-g8dxatgd.js → command-6rzaq17p.js} +12 -12
- package/dist/chunks/{integration-8zgwz0zm.js → command-6s0p322d.js} +11 -11
- package/dist/chunks/{integration-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-s8hzhf5a.js → command-7fxmge10.js} +8 -8
- package/dist/chunks/{integration-nw3gns4q.js → command-7gk9js8e.js} +88 -88
- package/dist/chunks/{integration-a5hswdc1.js → command-7sf0nz0c.js} +28 -28
- package/dist/chunks/{integration-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{integration-8wc2fpae.js → command-7xg2jm5b.js} +5 -5
- package/dist/chunks/{integration-ta7szm67.js → command-7zt3ezbt.js} +11 -11
- package/dist/chunks/{integration-mnx664ps.js → command-82k6bzc0.js} +43 -43
- package/dist/chunks/{integration-ez61m5xe.js → command-88bjnhq0.js} +5 -5
- package/dist/chunks/{integration-xgb9jx38.js → command-8bt0vqrr.js} +6 -6
- package/dist/chunks/{integration-2a7m102q.js → command-8h6a48m8.js} +18 -18
- package/dist/chunks/{integration-22vn2tfc.js → command-8jw7rn7z.js} +49 -49
- package/dist/chunks/{integration-qjgzc4b4.js → command-8jztxfpf.js} +4 -4
- package/dist/chunks/{integration-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{integration-gt45kfe9.js → command-913j3mh8.js} +11 -11
- package/dist/chunks/{integration-hhn1e55x.js → command-919wx1z3.js} +8 -8
- package/dist/chunks/{integration-91rj84md.js → command-91rj84md.js} +1 -1
- package/dist/chunks/{integration-62ecjyyq.js → command-96frc3qv.js} +29 -29
- package/dist/chunks/{integration-998yhzzq.js → command-998yhzzq.js} +3 -3
- package/dist/chunks/{integration-vs2m3t8d.js → command-99hv2r52.js} +18 -18
- package/dist/chunks/{integration-kv3ttt63.js → command-9b79tx17.js} +28 -28
- package/dist/chunks/{integration-9cx9sm2q.js → command-9cx9sm2q.js} +1 -1
- package/dist/chunks/{integration-cvx8nhbw.js → command-9g25krhk.js} +21 -21
- package/dist/chunks/{integration-m5e9s2n3.js → command-9gwdkggz.js} +16 -16
- package/dist/chunks/{integration-jry8eft3.js → command-9j2em94t.js} +28 -28
- package/dist/chunks/{integration-w22292kr.js → command-9mrkfh1z.js} +46 -46
- package/dist/chunks/{integration-pzh119na.js → command-9q3dx9gn.js} +15 -15
- package/dist/chunks/{integration-nhfzsa1p.js → command-9s9yrq09.js} +7 -7
- package/dist/chunks/{integration-s4vbq7v2.js → command-9w6z0tb8.js} +18 -18
- package/dist/chunks/{integration-q820hr6k.js → command-9wejqmxs.js} +10 -10
- package/dist/chunks/{integration-bdx4kxdv.js → command-a24mpnx1.js} +24 -24
- package/dist/chunks/{integration-1ghdp8kk.js → command-a6f4tgap.js} +27 -27
- package/dist/chunks/{integration-6yretb28.js → command-absbpnym.js} +11 -11
- package/dist/chunks/{integration-ek9rkj5r.js → command-adw70tjx.js} +176 -176
- package/dist/chunks/{integration-54emna5z.js → command-afj7tpg0.js} +18 -18
- package/dist/chunks/{integration-s7xmnr8t.js → command-agqd6nxz.js} +6 -6
- package/dist/chunks/{integration-tq47yr9q.js → command-anxj7259.js} +9 -9
- package/dist/chunks/{integration-rkpdfm1f.js → command-as1c0yqt.js} +29 -29
- package/dist/chunks/{integration-1qx3pmcb.js → command-as5dbhq9.js} +6 -6
- package/dist/chunks/{integration-nt2e7ypv.js → command-at1k79a5.js} +6 -6
- package/dist/chunks/{integration-k3knae48.js → command-athptrr6.js} +11 -11
- package/dist/chunks/{integration-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{integration-xs0pgsh6.js → command-b0f7zp2n.js} +5 -5
- package/dist/chunks/{integration-mh81y02m.js → command-b0j6y7s5.js} +9 -9
- package/dist/chunks/{integration-b0mv4wxm.js → command-b0mv4wxm.js} +2 -2
- package/dist/chunks/{integration-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{integration-6285fq4d.js → command-ba7dfhfp.js} +5 -5
- package/dist/chunks/{integration-27z7tz04.js → command-bbwwgj76.js} +20 -20
- package/dist/chunks/{integration-jjpbn9y3.js → command-bcvpnfz0.js} +15 -15
- package/dist/chunks/{integration-kjg0r6wn.js → command-bdgfgxkz.js} +10 -10
- package/dist/chunks/{integration-7ye4ae45.js → command-bgg6fpfq.js} +8 -8
- package/dist/chunks/{integration-gs020t2a.js → command-bqkh1202.js} +3 -3
- package/dist/chunks/{integration-x38zy5q9.js → command-bqsy6k7b.js} +10 -10
- package/dist/chunks/{integration-xd9cc171.js → command-bstexjd6.js} +5 -5
- package/dist/chunks/{integration-kj42jrrq.js → command-bvnym4q4.js} +25 -25
- package/dist/chunks/{integration-mmhxtjpe.js → command-bw8hbntf.js} +16 -16
- package/dist/chunks/{integration-fcvr1d3d.js → command-c379g7ag.js} +28 -28
- package/dist/chunks/{integration-6a013r1n.js → command-cg7dpz2x.js} +22 -22
- package/dist/chunks/{integration-weewmp9q.js → command-cvnpy6ac.js} +21 -21
- package/dist/chunks/{integration-yyqzfxc7.js → command-cy2v52d0.js} +2 -2
- package/dist/chunks/{integration-74yt0vzq.js → command-d0cfhy82.js} +52 -52
- package/dist/chunks/{integration-xkpbrv2c.js → command-d22d9jvp.js} +31 -31
- package/dist/chunks/{integration-mtkfycnh.js → command-d2887f8n.js} +4 -4
- package/dist/chunks/{integration-6a7ezx2c.js → command-d2r51erv.js} +11 -11
- package/dist/chunks/{integration-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{integration-2k41ftbf.js → command-d8kktwmb.js} +9 -9
- package/dist/chunks/{integration-0p88zpcm.js → command-dk5xnaxx.js} +4 -4
- package/dist/chunks/{integration-vcz53cnc.js → command-dkg6zq9k.js} +7 -7
- package/dist/chunks/{integration-8wht8kc5.js → command-dnspaa82.js} +8 -8
- package/dist/chunks/{integration-z7wnyb4t.js → command-dqwe69sr.js} +5 -5
- package/dist/chunks/{integration-pp110xbz.js → command-drp4sy68.js} +11 -11
- package/dist/chunks/{integration-6gyjkw7v.js → command-e5xbdws1.js} +26 -26
- package/dist/chunks/{integration-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{integration-qjj39fzk.js → command-e8var0bn.js} +35 -35
- package/dist/chunks/{integration-k4z47hf4.js → command-eb8ey7jf.js} +11 -11
- package/dist/chunks/{integration-bmavx65t.js → command-ebgyc8dk.js} +21 -21
- package/dist/chunks/{integration-kpsjcb79.js → command-eefqnhm8.js} +327 -327
- package/dist/chunks/{integration-pa7nwqm2.js → command-eengcg00.js} +1 -1
- package/dist/chunks/{integration-zwmk0vgz.js → command-ejj7q3zx.js} +8 -8
- package/dist/chunks/{integration-fzjtn9cy.js → command-ekcysewp.js} +4 -4
- package/dist/chunks/{integration-099h1hwj.js → command-ekteap66.js} +6 -6
- package/dist/chunks/{integration-ewf8e1z3.js → command-eshe19cj.js} +6 -6
- package/dist/chunks/{integration-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{integration-zzpc27z9.js → command-fhkyxz58.js} +66 -66
- package/dist/chunks/{integration-jdfk1cmv.js → command-fptf4jb2.js} +26 -26
- package/dist/chunks/{integration-ej3th1h3.js → command-fv74a081.js} +7 -7
- package/dist/chunks/{integration-1bs2cpw9.js → command-fvf40wtt.js} +23 -23
- package/dist/chunks/{integration-g5h9c0rr.js → command-g5h9c0rr.js} +2 -2
- package/dist/chunks/{integration-9r1sq0hf.js → command-g8sddq98.js} +41 -41
- package/dist/chunks/{integration-z7qgckdk.js → command-gy4qwgqr.js} +46 -46
- package/dist/chunks/{integration-c445b2ma.js → command-h1a1swr0.js} +23 -23
- package/dist/chunks/{integration-2m9ncb4x.js → command-h41k652m.js} +2 -2
- package/dist/chunks/{integration-r7xar5ns.js → command-h5qan5zz.js} +11 -11
- package/dist/chunks/{integration-4739vc91.js → command-hb0m8f38.js} +11 -11
- package/dist/chunks/{integration-af0k6e03.js → command-hdfrs5mg.js} +9 -9
- package/dist/chunks/{integration-my4zabxr.js → command-hzrfc1p4.js} +3 -3
- package/dist/chunks/{integration-j113cymg.js → command-j113cymg.js} +1 -1
- package/dist/chunks/{integration-zrdtx4x3.js → command-j65hkcsb.js} +14 -14
- package/dist/chunks/{integration-h27fzsgv.js → command-jarxapq1.js} +28 -28
- package/dist/chunks/{integration-sztnemvs.js → command-jatb60mj.js} +19 -19
- package/dist/chunks/{integration-e5dqjz6v.js → command-jchrqzf6.js} +4 -4
- package/dist/chunks/{integration-mpg7afbk.js → command-je2dmma1.js} +1 -1
- package/dist/chunks/{integration-7msw3csv.js → command-jfemb6dg.js} +27 -27
- package/dist/chunks/{integration-b68fg4f6.js → command-jhd2q5aa.js} +30 -30
- package/dist/chunks/{integration-3qncy4kt.js → command-jn0nm8ve.js} +3 -3
- package/dist/chunks/{integration-z8ym8esj.js → command-jnfhfvtc.js} +15 -15
- package/dist/chunks/{integration-5qee7q8k.js → command-jns1hsnf.js} +22 -22
- package/dist/chunks/{integration-e5gw6wwr.js → command-jt3cc694.js} +10 -10
- package/dist/chunks/{integration-j4a3jt28.js → command-jvnwfx78.js} +15 -15
- package/dist/chunks/{integration-zx7azpzt.js → command-k008twyg.js} +22 -22
- package/dist/chunks/{integration-aevv1b27.js → command-k3s0qkj7.js} +20 -20
- package/dist/chunks/{integration-bvafcta0.js → command-k4vjszwk.js} +4 -4
- package/dist/chunks/{integration-k814nvkf.js → command-k814nvkf.js} +1 -1
- package/dist/chunks/{integration-5bffra33.js → command-k8yb96yz.js} +6 -6
- package/dist/chunks/{integration-kqy4hbwk.js → command-kkx1be94.js} +85 -85
- package/dist/chunks/{integration-mzzay4f0.js → command-knm9h1gt.js} +12 -12
- package/dist/chunks/{integration-1txcpx25.js → command-kntz01hn.js} +35 -35
- package/dist/chunks/{integration-9e9qdt9b.js → command-krv10r25.js} +13 -13
- package/dist/chunks/{integration-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{integration-gjatpjy7.js → command-kw6cmkwk.js} +24 -24
- package/dist/chunks/{integration-dggevncg.js → command-kx2s0cab.js} +37 -37
- package/dist/chunks/{integration-ns1gkfmt.js → command-ky6psh45.js} +9 -9
- package/dist/chunks/{integration-pvhdzchd.js → command-kz35drw9.js} +26 -26
- package/dist/chunks/{integration-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{integration-vmfhgzt5.js → command-m37sd98t.js} +4 -4
- package/dist/chunks/{integration-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{integration-f9bma1qn.js → command-mdqxs31b.js} +16 -16
- package/dist/chunks/command-me0dhgxs.js +18 -0
- package/dist/chunks/{integration-21wsmemr.js → command-mgyrh3fg.js} +13 -13
- package/dist/chunks/{integration-gjw4pr93.js → command-mtm9tq44.js} +11 -11
- package/dist/chunks/{integration-btjvwe70.js → command-n19651je.js} +14 -14
- package/dist/chunks/{integration-hd1zzqtm.js → command-n2mgc41n.js} +10 -10
- package/dist/chunks/{integration-sjc0rtcr.js → command-n61941kj.js} +35 -35
- package/dist/chunks/{integration-nah043kf.js → command-nah043kf.js} +1 -1
- package/dist/chunks/{integration-q0sfsmmy.js → command-nn4rsceg.js} +52 -52
- package/dist/chunks/{integration-3myyj9jx.js → command-nxxea952.js} +21 -21
- package/dist/chunks/{integration-p015t6z3.js → command-p015t6z3.js} +2 -2
- package/dist/chunks/{integration-k02enjmv.js → command-p17y9zxj.js} +3 -3
- package/dist/chunks/{integration-t63ar4cc.js → command-p5n2p3b1.js} +34 -34
- package/dist/chunks/{integration-kyjtz1sy.js → command-p7kxzmqg.js} +1 -1
- package/dist/chunks/{integration-033a0jkt.js → command-pc1v25hk.js} +3 -3
- package/dist/chunks/{integration-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{integration-wr8dn7z1.js → command-pn39a5na.js} +5 -5
- package/dist/chunks/{integration-3k0zbkzd.js → command-pnd0tgce.js} +21 -21
- package/dist/chunks/{integration-rrewaqtd.js → command-pss5e485.js} +4 -4
- package/dist/chunks/{integration-xm8dep68.js → command-pwp33k1j.js} +18 -18
- package/dist/chunks/{integration-dwwyec8z.js → command-qah7t4da.js} +6 -6
- package/dist/chunks/{integration-xjdsgsgc.js → command-qdm153cs.js} +20 -20
- package/dist/chunks/{integration-q0x40dkk.js → command-qk5jxgq1.js} +9 -9
- package/dist/chunks/{integration-mmx1mfjr.js → command-qv7y9773.js} +9 -9
- package/dist/chunks/{integration-6d6xnsqa.js → command-qvw98tg0.js} +5 -5
- package/dist/chunks/{integration-r0yr0wbs.js → command-r0yr0wbs.js} +1 -1
- package/dist/chunks/{integration-r542h3bh.js → command-r542h3bh.js} +1 -1
- package/dist/chunks/{integration-1nys593y.js → command-ra86m6px.js} +6 -6
- package/dist/chunks/{integration-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{integration-mn0kbaek.js → command-rc5p4tbx.js} +23 -23
- package/dist/chunks/{integration-s8p4z092.js → command-rgrvdfrb.js} +12 -12
- package/dist/chunks/{integration-x5jmwpjz.js → command-rhcben61.js} +43 -43
- package/dist/chunks/{integration-c5vw9ajk.js → command-rkvbxbtx.js} +24 -24
- package/dist/chunks/{integration-4wvhc9k4.js → command-rpnphm24.js} +20 -20
- package/dist/chunks/{integration-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{integration-zmwx25fz.js → command-rxrz6b15.js} +2 -2
- package/dist/chunks/{integration-pmz7p4sy.js → command-ry3msmns.js} +6 -6
- package/dist/chunks/{integration-kxgkgtx4.js → command-ry63fkbp.js} +4 -4
- package/dist/chunks/{integration-w1qfq64t.js → command-ryw9gt93.js} +1 -1
- package/dist/chunks/{integration-m7g89f9n.js → command-sa1j54ah.js} +4 -4
- package/dist/chunks/{integration-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{integration-sp4szsb6.js → command-sbcmjw49.js} +11 -11
- package/dist/chunks/{integration-e2p6x81g.js → command-sgf93zt1.js} +23 -23
- package/dist/chunks/{integration-3vj2p3vv.js → command-sn3c9y12.js} +14 -14
- package/dist/chunks/{integration-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
- package/dist/chunks/{integration-r9478m04.js → command-t2bs72an.js} +2 -2
- package/dist/chunks/{integration-mdp36yda.js → command-t2cmnhk6.js} +1 -1
- package/dist/chunks/{integration-jh0qv5w1.js → command-t33zj5sv.js} +11 -11
- package/dist/chunks/{integration-cpvd08na.js → command-t8nkzmzj.js} +7 -7
- package/dist/chunks/{integration-g4netsws.js → command-tct5dn0h.js} +16 -16
- package/dist/chunks/{integration-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{integration-n6y7mxjs.js → command-tdhzh0hh.js} +12 -12
- package/dist/chunks/{integration-9kg5w032.js → command-tg1vr1qt.js} +8 -8
- package/dist/chunks/{integration-twv2r8f4.js → command-twv2r8f4.js} +2 -2
- package/dist/chunks/{integration-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{integration-m2xmg036.js → command-v4y8fefg.js} +24 -24
- package/dist/chunks/{integration-1smgd7ca.js → command-v6e0t90w.js} +14 -14
- package/dist/chunks/{integration-8b714bza.js → command-v8vd993n.js} +8 -8
- package/dist/chunks/{integration-2qzjejty.js → command-v9f0gyh1.js} +17 -17
- package/dist/chunks/{integration-enar5c8c.js → command-vbjryyts.js} +22 -22
- package/dist/chunks/{integration-vd3b3yk9.js → command-vd3b3yk9.js} +1 -1
- package/dist/chunks/{integration-8vg666x5.js → command-ve1a31qq.js} +2 -2
- package/dist/chunks/{integration-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-xap91x1p.js → command-vg3pf4h8.js} +10 -10
- package/dist/chunks/{integration-9cdp65mn.js → command-vkjtdrj5.js} +14 -14
- package/dist/chunks/{integration-rjnacbrz.js → command-vrcsa8qx.js} +9 -9
- package/dist/chunks/{integration-ns4tg1vk.js → command-vwyfhr0a.js} +32 -32
- package/dist/chunks/{integration-pq8a5ftn.js → command-vyyww4cp.js} +24 -24
- package/dist/chunks/{integration-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-0h8y3ex8.js → command-w687dnns.js} +4 -4
- package/dist/chunks/{integration-76cb1hcw.js → command-w8qtt4th.js} +4 -4
- package/dist/chunks/{integration-bh1et42v.js → command-w9654aqw.js} +3 -3
- package/dist/chunks/{integration-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{integration-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{integration-4vgk4w6a.js → command-wphkpwyy.js} +21 -21
- package/dist/chunks/{integration-yc8z54tz.js → command-wrd1e224.js} +24 -24
- package/dist/chunks/{integration-w22yp63b.js → command-wrd39zd3.js} +9 -9
- package/dist/chunks/{integration-77zdhryd.js → command-x81g74mp.js} +10 -10
- package/dist/chunks/{integration-d9f8cqns.js → command-x8rpw2zs.js} +16 -16
- package/dist/chunks/{integration-v3v80szh.js → command-xc2k0qa9.js} +8 -8
- package/dist/chunks/command-xd0mmx4p.js +261 -0
- package/dist/chunks/{integration-dr0fct71.js → command-xdpngg3w.js} +19 -19
- package/dist/chunks/{integration-y8bhjcew.js → command-xfys7e1v.js} +16 -16
- package/dist/chunks/{integration-24dnymca.js → command-xhq4j13x.js} +9 -9
- package/dist/chunks/{integration-8x2emzdm.js → command-xpgf5ggf.js} +18 -18
- package/dist/chunks/{integration-cqjv9nck.js → command-xpsakxdv.js} +30 -30
- package/dist/chunks/{integration-hd3k4wz8.js → command-xsact9zs.js} +4 -4
- package/dist/chunks/{integration-7jv8arzj.js → command-xt2n4gan.js} +28 -28
- package/dist/chunks/{integration-a9jemgtr.js → command-xt4j5ppg.js} +5 -5
- package/dist/chunks/{integration-7xwzfpqh.js → command-y3tncrtt.js} +19 -19
- package/dist/chunks/{integration-4pw98qd4.js → command-y4n6pw34.js} +4 -4
- package/dist/chunks/{integration-azcb3gk3.js → command-y6tn7bpp.js} +14 -14
- package/dist/chunks/{integration-jr035f3y.js → command-y7mjvyet.js} +18 -18
- package/dist/chunks/{integration-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{integration-ehfeyf7e.js → command-ycf7t0x4.js} +3 -3
- package/dist/chunks/{integration-fkgr69m7.js → command-yhp1gsdf.js} +13 -13
- package/dist/chunks/{integration-ncys0ejx.js → command-yphf4wkb.js} +38 -38
- package/dist/chunks/{integration-qr09n5wa.js → command-yzj4f4rb.js} +4 -4
- package/dist/chunks/{integration-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-z38nccrw.js → command-z38nccrw.js} +1 -1
- package/dist/chunks/{integration-z2qbjhyn.js → command-za6yq9hg.js} +5 -5
- package/dist/chunks/{integration-zzdv5d93.js → command-zba5tm1j.js} +4 -4
- package/dist/chunks/{integration-7d9wahhq.js → command-zcttm0a7.js} +23 -23
- package/dist/chunks/{integration-zkg84ctx.js → command-zkg84ctx.js} +1 -1
- package/dist/chunks/{integration-tep6g6t6.js → command-zppqv0za.js} +2 -2
- package/dist/chunks/{integration-c3nr5wcj.js → command-zv77kcwz.js} +14 -14
- 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 +89 -89
- package/dist/config/discovery.js +89 -89
- 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 +118 -118
- 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 +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 +119 -119
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- 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 +88 -88
- 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 +88 -88
- 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 +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 +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- 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 +4 -4
- 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 +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- 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 +137 -137
- 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 +3 -3
- 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 +97 -97
- 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 +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 +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 +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 +96 -96
- 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 +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +119 -119
- 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 +14 -14
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +96 -96
- 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 +3 -3
- 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/integration-a4baghsc.js +0 -26
- package/dist/chunks/integration-a610t88q.js +0 -18
- package/dist/chunks/integration-twhys2c4.js +0 -261
- /package/dist/chunks/{integration-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node71
|
|
4
|
+
} from "./command-0e8wpp30.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-536c1kkr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service66,
|
|
12
|
+
node68
|
|
13
|
+
} from "./command-rpnphm24.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-2hxshrhc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service71,
|
|
24
|
+
node74
|
|
25
|
+
} from "./command-7sf0nz0c.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
30
|
+
Info28,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service83,
|
|
33
|
+
node87
|
|
34
|
+
} from "./command-601dsf04.js";
|
|
35
35
|
import {
|
|
36
36
|
ID12,
|
|
37
|
-
Service72,
|
|
38
|
-
node75
|
|
39
|
-
} from "./integration-414jxfdf.js";
|
|
40
|
-
import {
|
|
41
37
|
Service70,
|
|
42
38
|
node73
|
|
43
|
-
} from "./
|
|
39
|
+
} from "./command-1v0dspd3.js";
|
|
44
40
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
41
|
+
Service68,
|
|
42
|
+
node70
|
|
43
|
+
} from "./command-n2mgc41n.js";
|
|
48
44
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
45
|
+
Service78,
|
|
46
|
+
node81
|
|
47
|
+
} from "./command-v4y8fefg.js";
|
|
48
|
+
import {
|
|
49
|
+
Service80,
|
|
50
|
+
node83
|
|
51
|
+
} from "./command-x81g74mp.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service82,
|
|
54
|
+
node86
|
|
55
|
+
} from "./command-eb8ey7jf.js";
|
|
56
56
|
import {
|
|
57
57
|
ID11,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service69,
|
|
59
|
+
node72
|
|
60
|
+
} from "./command-jfemb6dg.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID16
|
|
63
|
+
} from "./command-9j2em94t.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service41,
|
|
66
|
+
node44
|
|
67
|
+
} from "./command-d0cfhy82.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service75,
|
|
70
|
+
node78
|
|
71
|
+
} from "./command-bgg6fpfq.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service63,
|
|
74
|
+
node65
|
|
75
|
+
} from "./command-g8sddq98.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
77
|
+
Service73,
|
|
78
|
+
node76,
|
|
79
|
+
Error4
|
|
80
|
+
} from "./command-wrd1e224.js";
|
|
81
81
|
import {
|
|
82
82
|
Source3,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service47,
|
|
84
|
+
node50
|
|
85
|
+
} from "./command-fptf4jb2.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
87
|
+
Info16,
|
|
88
|
+
Service62,
|
|
89
|
+
node64
|
|
90
|
+
} from "./command-rc5p4tbx.js";
|
|
91
|
+
import {
|
|
92
|
+
Service29,
|
|
93
|
+
node32
|
|
94
|
+
} from "./command-kkx1be94.js";
|
|
91
95
|
import {
|
|
92
96
|
Service20,
|
|
93
97
|
node23
|
|
94
|
-
} from "./
|
|
95
|
-
import {
|
|
96
|
-
Service84,
|
|
97
|
-
node88
|
|
98
|
-
} from "./integration-rkpdfm1f.js";
|
|
98
|
+
} from "./command-as1c0yqt.js";
|
|
99
99
|
import {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service26,
|
|
101
|
+
node29
|
|
102
|
+
} from "./command-xpgf5ggf.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service19,
|
|
105
|
+
node22
|
|
106
|
+
} from "./command-ebgyc8dk.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
108
|
+
ID4,
|
|
109
|
+
Service24,
|
|
110
|
+
node27
|
|
111
|
+
} from "./command-5jhj8f90.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
113
|
+
Service18,
|
|
114
|
+
node21
|
|
115
|
+
} from "./command-9g25krhk.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
118
|
+
Info6,
|
|
119
|
+
ListEntry2,
|
|
120
|
+
Service17,
|
|
121
|
+
node20
|
|
122
|
+
} from "./command-1ftf7dq4.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service23,
|
|
125
|
+
node26
|
|
126
|
+
} from "./command-kz35drw9.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./command-9rqn6x4v.js";
|
|
130
130
|
|
|
131
131
|
// src/plugin/host.ts
|
|
132
132
|
var exports_host = {};
|
|
@@ -144,49 +144,49 @@ var mutable = (value) => value;
|
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
147
|
+
const agents = yield* Service66;
|
|
148
|
+
const aisdk = yield* Service68;
|
|
149
|
+
const providers = yield* Service70;
|
|
150
|
+
const models = yield* Service69;
|
|
151
|
+
const commands = yield* Service78;
|
|
152
152
|
const bus = yield* Service86;
|
|
153
|
-
const integration = yield*
|
|
154
|
-
const kv = yield*
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const location = yield*
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
160
|
-
const tools = yield*
|
|
161
|
-
const vcs = yield*
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
153
|
+
const integration = yield* Service71;
|
|
154
|
+
const kv = yield* Service80;
|
|
155
|
+
const mcp = yield* Service41;
|
|
156
|
+
const location = yield* Service83;
|
|
157
|
+
const reference = yield* Service47;
|
|
158
|
+
const rpc = yield* Service26;
|
|
159
|
+
const skill = yield* Service62;
|
|
160
|
+
const tools = yield* Service73;
|
|
161
|
+
const vcs = yield* Service19;
|
|
162
|
+
const websearch = yield* Service24;
|
|
163
|
+
const generate = yield* Service23;
|
|
164
|
+
const permission = yield* Service63;
|
|
165
|
+
const hooks = yield* Service75;
|
|
166
|
+
const sessions = yield* Service29;
|
|
167
|
+
const persistentPty = yield* Service20;
|
|
168
|
+
const locations = yield* Service82;
|
|
169
|
+
const worktrees = yield* Service17;
|
|
170
|
+
const worktreeStrategies = yield* Service18;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
|
-
const locationInfo = () => new
|
|
172
|
+
const locationInfo = () => new Info28({
|
|
173
173
|
directory: location.directory,
|
|
174
174
|
workspaceID: location.workspaceID,
|
|
175
175
|
project: location.project
|
|
176
176
|
});
|
|
177
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
177
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
178
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
179
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
179
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
|
|
180
180
|
});
|
|
181
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
182
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
183
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
184
|
-
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(
|
|
183
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info6);
|
|
184
|
+
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
|
-
const location = yield*
|
|
187
|
-
const agents = yield*
|
|
186
|
+
const location = yield* Service83;
|
|
187
|
+
const agents = yield* Service66;
|
|
188
188
|
return {
|
|
189
|
-
location: new
|
|
189
|
+
location: new Info28({
|
|
190
190
|
directory: location.directory,
|
|
191
191
|
workspaceID: location.workspaceID,
|
|
192
192
|
project: location.project
|
|
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
218
218
|
transform: (callback) => agents.transform((editor) => {
|
|
219
219
|
callback({
|
|
220
220
|
list: editor.list,
|
|
221
|
-
get: (id) => editor.get(
|
|
222
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
223
|
-
update: (id, update) => editor.update(
|
|
224
|
-
remove: (id) => editor.remove(
|
|
221
|
+
get: (id) => editor.get(ID10.make(id)),
|
|
222
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
223
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
224
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
225
225
|
});
|
|
226
226
|
})
|
|
227
227
|
},
|
|
@@ -263,7 +263,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
263
263
|
get: (id) => editor.get(ID12.make(id)),
|
|
264
264
|
add: (definition) => editor.add({
|
|
265
265
|
...definition,
|
|
266
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
266
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
267
267
|
}),
|
|
268
268
|
update: (id, update) => editor.update(ID12.make(id), update),
|
|
269
269
|
remove: (id) => editor.remove(ID12.make(id)),
|
|
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
316
316
|
integration: {
|
|
317
317
|
list: () => response(integration.list()),
|
|
318
318
|
get: Effect.fn(function* (input) {
|
|
319
|
-
const item = yield* integration.get(
|
|
319
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
320
320
|
if (!item)
|
|
321
321
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
322
322
|
return yield* response(Effect.succeed(item));
|
|
323
323
|
}),
|
|
324
324
|
connect: {
|
|
325
325
|
key: (input) => integration.connection.key({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID13.make(input.integrationID),
|
|
327
327
|
key: input.key,
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
}),
|
|
331
331
|
external: (input) => integration.connection.external({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID13.make(input.integrationID),
|
|
333
333
|
methodID: MethodID2.make(input.methodID),
|
|
334
334
|
answer: input.answer,
|
|
335
335
|
label: input.label
|
|
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
337
337
|
},
|
|
338
338
|
oauth: {
|
|
339
339
|
connect: (input) => response(integration.oauth.connect({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
341
341
|
methodID: MethodID2.make(input.methodID),
|
|
342
342
|
answer: input.answer,
|
|
343
343
|
label: input.label
|
|
344
344
|
})),
|
|
345
345
|
status: (input) => response(integration.oauth.status({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID13.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID)
|
|
348
348
|
})),
|
|
349
349
|
complete: (input) => integration.oauth.complete({
|
|
350
|
-
integrationID:
|
|
350
|
+
integrationID: ID13.make(input.integrationID),
|
|
351
351
|
attemptID: AttemptID2.make(input.attemptID),
|
|
352
352
|
code: input.code
|
|
353
353
|
}),
|
|
354
354
|
cancel: (input) => integration.oauth.cancel({
|
|
355
|
-
integrationID:
|
|
355
|
+
integrationID: ID13.make(input.integrationID),
|
|
356
356
|
attemptID: AttemptID2.make(input.attemptID)
|
|
357
357
|
})
|
|
358
358
|
},
|
|
359
359
|
command: {
|
|
360
360
|
connect: (input) => response(integration.command.connect({
|
|
361
|
-
integrationID:
|
|
361
|
+
integrationID: ID13.make(input.integrationID),
|
|
362
362
|
methodID: MethodID2.make(input.methodID),
|
|
363
363
|
label: input.label
|
|
364
364
|
})),
|
|
365
365
|
status: (input) => response(integration.command.status({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID13.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})),
|
|
369
369
|
cancel: (input) => integration.command.cancel({
|
|
370
|
-
integrationID:
|
|
370
|
+
integrationID: ID13.make(input.integrationID),
|
|
371
371
|
attemptID: AttemptID2.make(input.attemptID)
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
reload: integration.reload,
|
|
375
375
|
connection: {
|
|
376
|
-
active: (id) => integration.connection.active(
|
|
377
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
376
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
377
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection),
|
|
378
378
|
status: (input) => integration.connection.status({
|
|
379
|
-
integrationID:
|
|
380
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
379
|
+
integrationID: ID13.make(input.integrationID),
|
|
380
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID14.make(input.connection.id) } : input.connection,
|
|
381
381
|
status: input.status
|
|
382
382
|
})
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
386
|
list: editor.list,
|
|
387
|
-
get: (id) => editor.get(
|
|
388
|
-
update: (id, update) => editor.update(
|
|
389
|
-
remove: (id) => editor.remove(
|
|
387
|
+
get: (id) => editor.get(ID13.make(id)),
|
|
388
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
389
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
390
390
|
method: {
|
|
391
|
-
list: (id) => editor.method.list(
|
|
391
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
392
392
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
393
|
-
remove: (id, method) => editor.method.remove(
|
|
393
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
})
|
|
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
400
400
|
const ref = locationRef(input);
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
|
-
const location = yield*
|
|
404
|
-
const mcp = yield*
|
|
403
|
+
const location = yield* Service83;
|
|
404
|
+
const mcp = yield* Service41;
|
|
405
405
|
return {
|
|
406
|
-
location: new
|
|
406
|
+
location: new Info28({
|
|
407
407
|
directory: location.directory,
|
|
408
408
|
workspaceID: location.workspaceID,
|
|
409
409
|
project: location.project
|
|
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
430
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
431
431
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
432
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
434
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
435
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error4({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error4({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error4({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
436
|
}))
|
|
437
437
|
},
|
|
438
438
|
plugin: {
|
|
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info16)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
488
488
|
providers: () => response(websearch.providers()),
|
|
489
489
|
query: (input) => response(websearch.query({
|
|
490
490
|
query: input.query,
|
|
491
|
-
providerID: input.providerID === undefined ? undefined :
|
|
491
|
+
providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
|
|
492
492
|
})),
|
|
493
493
|
reload: websearch.reload,
|
|
494
494
|
transform: (callback) => websearch.transform((editor) => {
|
|
495
495
|
callback({
|
|
496
496
|
add: (definition) => editor.add({
|
|
497
|
-
id:
|
|
497
|
+
id: ID4.make(definition.id),
|
|
498
498
|
name: definition.name,
|
|
499
499
|
execute: definition.execute
|
|
500
500
|
}),
|
|
501
501
|
default: {
|
|
502
502
|
get: editor.default.get,
|
|
503
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
503
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
})
|
|
@@ -531,7 +531,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
531
531
|
metadata: input?.metadata,
|
|
532
532
|
permissions: input?.permissions,
|
|
533
533
|
...input?.parentID === undefined ? {
|
|
534
|
-
location: input?.location ??
|
|
534
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
535
535
|
} : { parentID: input.parentID }
|
|
536
536
|
}),
|
|
537
537
|
get: (input) => sessions.get(input.sessionID),
|
|
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
561
561
|
return context;
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
node71,
|
|
565
|
+
node68,
|
|
566
|
+
node70,
|
|
566
567
|
node73,
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
node53,
|
|
568
|
+
node72,
|
|
569
|
+
node81,
|
|
570
570
|
node90,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
node36,
|
|
574
|
-
node80,
|
|
575
|
-
node41,
|
|
571
|
+
node74,
|
|
572
|
+
node83,
|
|
576
573
|
node44,
|
|
577
|
-
|
|
578
|
-
node58,
|
|
579
|
-
node67,
|
|
580
|
-
node45,
|
|
574
|
+
node87,
|
|
581
575
|
node50,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
576
|
+
node29,
|
|
577
|
+
node64,
|
|
578
|
+
node76,
|
|
579
|
+
node22,
|
|
580
|
+
node27,
|
|
581
|
+
node20,
|
|
582
|
+
node21,
|
|
583
|
+
node26,
|
|
584
|
+
node65,
|
|
585
|
+
node78,
|
|
586
|
+
node32,
|
|
586
587
|
node23,
|
|
587
|
-
|
|
588
|
-
node52
|
|
588
|
+
node86
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -612,7 +612,7 @@ function methodImplementation(input) {
|
|
|
612
612
|
if ("authorize" in input) {
|
|
613
613
|
const refresh = input.refresh;
|
|
614
614
|
return {
|
|
615
|
-
integrationID:
|
|
615
|
+
integrationID: ID13.make(input.integrationID),
|
|
616
616
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
617
617
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
618
618
|
if (authorization.mode === "auto") {
|
|
@@ -632,24 +632,24 @@ function methodImplementation(input) {
|
|
|
632
632
|
}
|
|
633
633
|
if (input.method.type === "env") {
|
|
634
634
|
return {
|
|
635
|
-
integrationID:
|
|
635
|
+
integrationID: ID13.make(input.integrationID),
|
|
636
636
|
method: input.method
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
if (input.method.type === "command") {
|
|
640
640
|
return {
|
|
641
|
-
integrationID:
|
|
641
|
+
integrationID: ID13.make(input.integrationID),
|
|
642
642
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
if (input.method.type === "external") {
|
|
646
646
|
return {
|
|
647
|
-
integrationID:
|
|
647
|
+
integrationID: ID13.make(input.integrationID),
|
|
648
648
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
|
-
integrationID:
|
|
652
|
+
integrationID: ID13.make(input.integrationID),
|
|
653
653
|
method: input.method
|
|
654
654
|
};
|
|
655
655
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-0e8wpp30.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-536c1kkr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service72
|
|
11
|
+
} from "./command-2hxshrhc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-7sf0nz0c.js";
|
|
16
16
|
import {
|
|
17
17
|
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-1v0dspd3.js";
|
|
20
20
|
import {
|
|
21
21
|
ID11,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./command-jfemb6dg.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-ry3msmns.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
46
|
var providerID = ID12.openai;
|
|
47
|
-
var integrationID =
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service86;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service72;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model,
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|