@opencode/core 0.0.0-dev-21817 → 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 +77 -77
- package/dist/chunks/{image-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{image-pa402c6d.js → command-0e8wpp30.js} +11 -11
- package/dist/chunks/{image-ze5bwnkk.js → command-0kr898da.js} +11 -11
- package/dist/chunks/{image-cc7p5mm7.js → command-0s5yyc28.js} +14 -14
- package/dist/chunks/{image-qdq5fnth.js → command-103he1eh.js} +29 -29
- package/dist/chunks/{image-1w13evse.js → command-12j5xb52.js} +15 -15
- package/dist/chunks/{image-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{image-xxd5pr01.js → command-1ftf7dq4.js} +37 -37
- package/dist/chunks/{image-q228ra72.js → command-1v0dspd3.js} +26 -26
- package/dist/chunks/{image-pacbbjc0.js → command-1vdntpm3.js} +5 -5
- package/dist/chunks/{image-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-1yq9hg58.js → command-1yq9hg58.js} +1 -1
- package/dist/chunks/{image-a4y6e5tc.js → command-23h7j0rk.js} +38 -38
- package/dist/chunks/{image-16hjntf9.js → command-2b2ezf52.js} +13 -13
- package/dist/chunks/{image-0r1vx8v5.js → command-2hxshrhc.js} +27 -27
- package/dist/chunks/{image-ms29xhn4.js → command-2xjnyn7t.js} +24 -24
- package/dist/chunks/{image-2z1j29yd.js → command-2z1j29yd.js} +1 -1
- package/dist/chunks/{image-vprwmse2.js → command-3531vqe2.js} +19 -19
- package/dist/chunks/{image-76md86nq.js → command-38gd8qqf.js} +22 -22
- package/dist/chunks/{image-kmw1we2g.js → command-3bv62f95.js} +52 -52
- package/dist/chunks/{image-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-32s59e8p.js → command-3mgb105e.js} +9 -9
- package/dist/chunks/{image-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{image-jhj078t7.js → command-3qb2tvq8.js} +16 -16
- package/dist/chunks/{image-r41sfy63.js → command-40za9wsf.js} +6 -6
- package/dist/chunks/{image-v1c3zz2b.js → command-41krkmrm.js} +9 -9
- package/dist/chunks/{image-c1expc71.js → command-41rwrk3a.js} +21 -21
- package/dist/chunks/{image-etdykhby.js → command-44ggx2jg.js} +5 -5
- package/dist/chunks/{image-z7ksd8kv.js → command-4kfhgg5n.js} +28 -28
- package/dist/chunks/{image-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{image-4xvmh7wp.js → command-4xvmh7wp.js} +3 -3
- package/dist/chunks/{image-9m4m3tqa.js → command-536c1kkr.js} +12 -12
- package/dist/chunks/{image-e7xzzatt.js → command-577yexmd.js} +10 -10
- package/dist/chunks/command-5dwav50q.js +26 -0
- package/dist/chunks/{image-75jwphnh.js → command-5j20qf3f.js} +46 -46
- package/dist/chunks/{image-8satscgr.js → command-5j2x0vh6.js} +15 -15
- package/dist/chunks/{image-mz3rk0b0.js → command-5jhj8f90.js} +26 -26
- package/dist/chunks/{image-y82bb1at.js → command-5jyzhfg0.js} +7 -7
- package/dist/chunks/{image-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-n37ne1mj.js → command-5r6qh7e4.js} +12 -12
- package/dist/chunks/{image-6xd8dker.js → command-5s5ptkmy.js} +15 -15
- package/dist/chunks/{image-ymr836y3.js → command-601dsf04.js} +2 -2
- package/dist/chunks/{image-ers7egr9.js → command-6ad2fdvv.js} +11 -11
- package/dist/chunks/{image-x77sr07r.js → command-6ek2k839.js} +7 -7
- package/dist/chunks/{image-6esdw8yj.js → command-6esdw8yj.js} +1 -1
- package/dist/chunks/{image-6pjqjmy2.js → command-6pjqjmy2.js} +1 -1
- package/dist/chunks/{image-3n1ttctm.js → command-6r3jgch7.js} +13 -13
- package/dist/chunks/{image-g5n2wz6e.js → command-6rxdw5v4.js} +33 -33
- package/dist/chunks/{image-s4x4f4r4.js → command-6rzaq17p.js} +14 -14
- package/dist/chunks/{image-wkazdzfr.js → command-6s0p322d.js} +11 -11
- package/dist/chunks/{image-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-7gwka3rf.js → command-7fxmge10.js} +8 -8
- package/dist/chunks/{image-bjzxnqba.js → command-7gk9js8e.js} +85 -85
- package/dist/chunks/{image-b5fch5tq.js → command-7sf0nz0c.js} +26 -26
- package/dist/chunks/{image-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-szcgc7h4.js → command-7xg2jm5b.js} +5 -5
- package/dist/chunks/{image-mwm3htwg.js → command-7zt3ezbt.js} +11 -11
- package/dist/chunks/{image-b0zs6kwq.js → command-82k6bzc0.js} +49 -49
- package/dist/chunks/{image-1fwkns73.js → command-88bjnhq0.js} +3 -3
- package/dist/chunks/{image-mn53dk4j.js → command-8bt0vqrr.js} +6 -6
- package/dist/chunks/{image-esj9r7gb.js → command-8h6a48m8.js} +18 -18
- package/dist/chunks/{image-3zqzrtkk.js → command-8jw7rn7z.js} +42 -42
- package/dist/chunks/{image-qjgzc4b4.js → command-8jztxfpf.js} +4 -4
- package/dist/chunks/{image-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-nn9s4rnw.js → command-913j3mh8.js} +11 -11
- package/dist/chunks/{image-2yw6w8fw.js → command-919wx1z3.js} +8 -8
- package/dist/chunks/{image-91rj84md.js → command-91rj84md.js} +1 -1
- package/dist/chunks/{image-4xy1sasq.js → command-96frc3qv.js} +18 -18
- package/dist/chunks/{image-998yhzzq.js → command-998yhzzq.js} +3 -3
- package/dist/chunks/{image-0tg8k0ws.js → command-99hv2r52.js} +18 -18
- package/dist/chunks/{image-qpkxdm9j.js → command-9b79tx17.js} +33 -33
- package/dist/chunks/{image-9cx9sm2q.js → command-9cx9sm2q.js} +1 -1
- package/dist/chunks/{image-c98vtka0.js → command-9g25krhk.js} +18 -18
- package/dist/chunks/{image-mjvp2mh8.js → command-9gwdkggz.js} +16 -16
- package/dist/chunks/{image-t6s00cw5.js → command-9j2em94t.js} +17 -17
- package/dist/chunks/{image-rxyj7snx.js → command-9mrkfh1z.js} +39 -39
- package/dist/chunks/{image-prfjjx5x.js → command-9q3dx9gn.js} +16 -16
- package/dist/chunks/{image-87r11qxp.js → command-9s9yrq09.js} +7 -7
- package/dist/chunks/{image-zcs1bfp9.js → command-9w6z0tb8.js} +22 -22
- package/dist/chunks/{image-05nfgzjq.js → command-9wejqmxs.js} +8 -8
- package/dist/chunks/{image-q5cww84q.js → command-a24mpnx1.js} +24 -24
- package/dist/chunks/{image-0m97cnkj.js → command-a6f4tgap.js} +35 -35
- package/dist/chunks/{image-jheynnxb.js → command-absbpnym.js} +11 -11
- package/dist/chunks/{image-xt2t3akc.js → command-adw70tjx.js} +150 -150
- package/dist/chunks/{image-xjd998z8.js → command-afj7tpg0.js} +17 -17
- package/dist/chunks/{image-36qx82yz.js → command-agqd6nxz.js} +2 -2
- package/dist/chunks/{image-jjg5yz1h.js → command-anxj7259.js} +9 -9
- package/dist/chunks/{image-zdpw5xas.js → command-as1c0yqt.js} +28 -28
- package/dist/chunks/{image-r2xd4ew5.js → command-as5dbhq9.js} +6 -6
- package/dist/chunks/{image-xft7rm5f.js → command-at1k79a5.js} +6 -6
- package/dist/chunks/{image-mb69sj47.js → command-athptrr6.js} +9 -9
- package/dist/chunks/{image-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-7ecx6m67.js → command-b0f7zp2n.js} +3 -3
- package/dist/chunks/{image-knsqv29b.js → command-b0j6y7s5.js} +6 -6
- package/dist/chunks/{image-b0mv4wxm.js → command-b0mv4wxm.js} +2 -2
- package/dist/chunks/{image-5nnwax6m.js → command-b6vsg801.js} +5 -5
- package/dist/chunks/{image-gq3cesnx.js → command-ba7dfhfp.js} +8 -8
- package/dist/chunks/{image-91ht5475.js → command-bbwwgj76.js} +17 -17
- package/dist/chunks/{image-tm2402v8.js → command-bcvpnfz0.js} +12 -12
- package/dist/chunks/{image-jnew0sa6.js → command-bdgfgxkz.js} +7 -7
- package/dist/chunks/{image-me7kxg3j.js → command-bgg6fpfq.js} +8 -8
- package/dist/chunks/{image-kr6h56mz.js → command-bqkh1202.js} +3 -3
- package/dist/chunks/{image-x20p7pmj.js → command-bqsy6k7b.js} +3 -3
- package/dist/chunks/{image-xd9cc171.js → command-bstexjd6.js} +5 -5
- package/dist/chunks/{image-wdc9bbpj.js → command-bvnym4q4.js} +30 -30
- package/dist/chunks/{image-3gqz1bk6.js → command-bw8hbntf.js} +19 -19
- package/dist/chunks/{image-hh06m4mq.js → command-c379g7ag.js} +21 -21
- package/dist/chunks/{image-6vep9ays.js → command-cg7dpz2x.js} +21 -21
- package/dist/chunks/{image-nssth8b2.js → command-cvnpy6ac.js} +25 -25
- package/dist/chunks/{image-nev9sh8h.js → command-cy2v52d0.js} +2 -2
- package/dist/chunks/{image-0s5s6e2d.js → command-d0cfhy82.js} +48 -48
- package/dist/chunks/{image-51xz9zrd.js → command-d22d9jvp.js} +33 -33
- package/dist/chunks/{image-c9t2ty9q.js → command-d2887f8n.js} +4 -4
- package/dist/chunks/{image-f6a8s9j6.js → command-d2r51erv.js} +9 -9
- package/dist/chunks/{image-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-jxmjtapz.js → command-d8kktwmb.js} +7 -7
- package/dist/chunks/{image-dk5xnaxx.js → command-dk5xnaxx.js} +4 -4
- package/dist/chunks/{image-fmt5mq3p.js → command-dkg6zq9k.js} +11 -11
- package/dist/chunks/{image-gwv49t1j.js → command-dnspaa82.js} +8 -8
- package/dist/chunks/{image-8tmbg2kp.js → command-dqwe69sr.js} +5 -5
- package/dist/chunks/{image-ye8ddrkf.js → command-drp4sy68.js} +11 -11
- package/dist/chunks/{image-qvhf4eb3.js → command-e5xbdws1.js} +29 -29
- package/dist/chunks/{image-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{image-4v1m73gd.js → command-e8var0bn.js} +33 -33
- package/dist/chunks/{image-8j5cfpkk.js → command-eb8ey7jf.js} +9 -9
- package/dist/chunks/{image-ca52p5rq.js → command-ebgyc8dk.js} +21 -21
- package/dist/chunks/{image-6b8sz5eq.js → command-eefqnhm8.js} +334 -334
- package/dist/chunks/{image-gtns7z1w.js → command-eengcg00.js} +1 -1
- package/dist/chunks/{image-6r4vkcek.js → command-ejj7q3zx.js} +8 -8
- package/dist/chunks/{image-40p0fyqq.js → command-ekcysewp.js} +4 -4
- package/dist/chunks/{image-gympdgax.js → command-ekteap66.js} +6 -6
- package/dist/chunks/{image-62tfx8ce.js → command-eshe19cj.js} +9 -9
- package/dist/chunks/{image-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-f7jaqbwj.js → command-fhkyxz58.js} +73 -73
- package/dist/chunks/{image-g5sxpg0e.js → command-fptf4jb2.js} +29 -29
- package/dist/chunks/{image-bh6xg5j5.js → command-fv74a081.js} +9 -9
- package/dist/chunks/{image-yd49en6q.js → command-fvf40wtt.js} +17 -17
- package/dist/chunks/{image-g5h9c0rr.js → command-g5h9c0rr.js} +2 -2
- package/dist/chunks/{image-pg44jm9h.js → command-g8sddq98.js} +40 -40
- package/dist/chunks/{image-vy169t87.js → command-gy4qwgqr.js} +14 -14
- package/dist/chunks/{image-9tmx0py5.js → command-h1a1swr0.js} +21 -21
- package/dist/chunks/{image-stk41r0w.js → command-h41k652m.js} +2 -2
- package/dist/chunks/{image-jj9caqwr.js → command-h5qan5zz.js} +8 -8
- package/dist/chunks/{image-d29abm0w.js → command-hb0m8f38.js} +11 -11
- package/dist/chunks/{image-hdfrs5mg.js → command-hdfrs5mg.js} +2 -2
- package/dist/chunks/{image-ts7mkfs9.js → command-hzrfc1p4.js} +3 -3
- package/dist/chunks/{image-j113cymg.js → command-j113cymg.js} +1 -1
- package/dist/chunks/{image-68zmakm4.js → command-j65hkcsb.js} +12 -12
- package/dist/chunks/{image-m53nxytj.js → command-jarxapq1.js} +21 -21
- package/dist/chunks/{image-dvx5xhvb.js → command-jatb60mj.js} +11 -11
- package/dist/chunks/{image-jchrqzf6.js → command-jchrqzf6.js} +1 -1
- package/dist/chunks/{image-gy2mam1y.js → command-je2dmma1.js} +4 -4
- package/dist/chunks/{image-0gc146vq.js → command-jfemb6dg.js} +27 -27
- package/dist/chunks/{image-35fhh73b.js → command-jhd2q5aa.js} +32 -32
- package/dist/chunks/{image-9r6cxg0d.js → command-jn0nm8ve.js} +3 -3
- package/dist/chunks/{image-ny9zvw5p.js → command-jnfhfvtc.js} +13 -13
- package/dist/chunks/{image-pdvd7m1f.js → command-jns1hsnf.js} +17 -17
- package/dist/chunks/{image-vm0wcjea.js → command-jt3cc694.js} +10 -10
- package/dist/chunks/{image-zg4bxvx0.js → command-jvnwfx78.js} +15 -15
- package/dist/chunks/{image-9bdme720.js → command-k008twyg.js} +19 -19
- package/dist/chunks/{image-fbqneh5y.js → command-k3s0qkj7.js} +23 -23
- package/dist/chunks/{image-pdbd51ba.js → command-k4vjszwk.js} +4 -4
- package/dist/chunks/{image-k814nvkf.js → command-k814nvkf.js} +1 -1
- package/dist/chunks/{image-qv58hjd6.js → command-k8yb96yz.js} +6 -6
- package/dist/chunks/{image-0xms9gce.js → command-kkx1be94.js} +86 -86
- package/dist/chunks/{image-j62djdb6.js → command-knm9h1gt.js} +12 -12
- package/dist/chunks/{image-nw37va1b.js → command-kntz01hn.js} +30 -30
- package/dist/chunks/{image-2mrxht5b.js → command-krv10r25.js} +10 -10
- package/dist/chunks/{image-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-ydwgre56.js → command-kw6cmkwk.js} +21 -21
- package/dist/chunks/{image-rq7797r7.js → command-kx2s0cab.js} +40 -40
- package/dist/chunks/{image-frqw5egg.js → command-ky6psh45.js} +11 -11
- package/dist/chunks/{image-7chq9j9h.js → command-kz35drw9.js} +21 -21
- package/dist/chunks/{image-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{image-vmfhgzt5.js → command-m37sd98t.js} +4 -4
- package/dist/chunks/{image-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{image-hdprjw5h.js → command-mdqxs31b.js} +16 -16
- package/dist/chunks/command-me0dhgxs.js +18 -0
- package/dist/chunks/{image-7ce27r81.js → command-mgyrh3fg.js} +13 -13
- package/dist/chunks/{image-hcmp2j52.js → command-mtm9tq44.js} +12 -12
- package/dist/chunks/{image-s5psx021.js → command-n19651je.js} +11 -11
- package/dist/chunks/{image-s1zj6bzn.js → command-n2mgc41n.js} +10 -10
- package/dist/chunks/{image-4ad74sg8.js → command-n61941kj.js} +33 -33
- package/dist/chunks/{image-770pw0s1.js → command-nah043kf.js} +4 -4
- package/dist/chunks/{image-j95naedj.js → command-nn4rsceg.js} +52 -52
- package/dist/chunks/{image-h83evwjx.js → command-nxxea952.js} +19 -19
- package/dist/chunks/{image-p015t6z3.js → command-p015t6z3.js} +2 -2
- package/dist/chunks/{image-seg26xp6.js → command-p17y9zxj.js} +3 -3
- package/dist/chunks/{image-qb6v4vc1.js → command-p5n2p3b1.js} +34 -34
- package/dist/chunks/{image-prd1yy6a.js → command-p7kxzmqg.js} +1 -1
- package/dist/chunks/{image-033a0jkt.js → command-pc1v25hk.js} +3 -3
- package/dist/chunks/{image-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{image-1f7agfq0.js → command-pn39a5na.js} +5 -5
- package/dist/chunks/{image-zjcmeswb.js → command-pnd0tgce.js} +23 -23
- package/dist/chunks/{image-bfrs3k34.js → command-pss5e485.js} +4 -4
- package/dist/chunks/{image-73jz4da7.js → command-pwp33k1j.js} +15 -15
- package/dist/chunks/{image-s2pfznc4.js → command-qah7t4da.js} +6 -6
- package/dist/chunks/{image-cymceqyh.js → command-qdm153cs.js} +22 -22
- package/dist/chunks/{image-nv9yd4aq.js → command-qk5jxgq1.js} +9 -9
- package/dist/chunks/{image-wqscedq8.js → command-qv7y9773.js} +4 -4
- package/dist/chunks/{image-sv2aw4yq.js → command-qvw98tg0.js} +5 -5
- package/dist/chunks/{image-r0yr0wbs.js → command-r0yr0wbs.js} +1 -1
- package/dist/chunks/{image-r542h3bh.js → command-r542h3bh.js} +1 -1
- package/dist/chunks/{image-fjw90z1x.js → command-ra86m6px.js} +7 -7
- package/dist/chunks/{image-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-asvpa677.js → command-rc5p4tbx.js} +29 -29
- package/dist/chunks/{image-ewbwv8zd.js → command-rgrvdfrb.js} +14 -14
- package/dist/chunks/{image-cfvcma3s.js → command-rhcben61.js} +41 -41
- package/dist/chunks/{image-vcjzr598.js → command-rkvbxbtx.js} +32 -32
- package/dist/chunks/{image-wrjr8pqm.js → command-rpnphm24.js} +22 -22
- package/dist/chunks/{image-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-3t73xeyv.js → command-rxrz6b15.js} +2 -2
- package/dist/chunks/{image-7vp7j2yf.js → command-ry3msmns.js} +6 -6
- package/dist/chunks/{image-mgcbmcs2.js → command-ry63fkbp.js} +4 -4
- package/dist/chunks/{image-8zef63vm.js → command-ryw9gt93.js} +1 -1
- package/dist/chunks/{image-djkw662e.js → command-sa1j54ah.js} +4 -4
- package/dist/chunks/{image-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-jhhnbm9k.js → command-sbcmjw49.js} +11 -11
- package/dist/chunks/{image-trdpwh3n.js → command-sgf93zt1.js} +22 -22
- package/dist/chunks/{image-4sxex0rx.js → command-sn3c9y12.js} +11 -11
- package/dist/chunks/{image-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
- package/dist/chunks/{image-2nj0wjyp.js → command-t2bs72an.js} +2 -2
- package/dist/chunks/{image-wyc60a8y.js → command-t2cmnhk6.js} +3 -3
- package/dist/chunks/{image-80de0dpk.js → command-t33zj5sv.js} +13 -13
- package/dist/chunks/{image-184a1rnm.js → command-t8nkzmzj.js} +4 -4
- package/dist/chunks/{image-13a2mh91.js → command-tct5dn0h.js} +10 -10
- package/dist/chunks/{image-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-z418xn19.js → command-tdhzh0hh.js} +12 -12
- package/dist/chunks/{image-160yv0cs.js → command-tg1vr1qt.js} +8 -8
- package/dist/chunks/{image-twv2r8f4.js → command-twv2r8f4.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-r2bs0s4v.js → command-v4y8fefg.js} +25 -25
- package/dist/chunks/{image-qnq98bxd.js → command-v6e0t90w.js} +14 -14
- package/dist/chunks/{image-we1bjw9z.js → command-v8vd993n.js} +8 -8
- package/dist/chunks/{image-5sf4bm6j.js → command-v9f0gyh1.js} +17 -17
- package/dist/chunks/{image-326fkxd2.js → command-vbjryyts.js} +23 -23
- package/dist/chunks/{image-vd3b3yk9.js → command-vd3b3yk9.js} +1 -1
- package/dist/chunks/{image-fgfynbdy.js → command-ve1a31qq.js} +2 -2
- package/dist/chunks/{image-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{image-24xfnb6j.js → command-vg3pf4h8.js} +13 -13
- package/dist/chunks/{image-qdk12pb8.js → command-vkjtdrj5.js} +14 -14
- package/dist/chunks/{image-rjnacbrz.js → command-vrcsa8qx.js} +9 -9
- package/dist/chunks/{image-4wc3fxck.js → command-vwyfhr0a.js} +32 -32
- package/dist/chunks/{image-eq0jjftn.js → command-vyyww4cp.js} +30 -30
- package/dist/chunks/{image-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-fznmdakp.js → command-w687dnns.js} +4 -4
- package/dist/chunks/{image-w8qtt4th.js → command-w8qtt4th.js} +1 -1
- package/dist/chunks/{image-nszthedh.js → command-w9654aqw.js} +3 -3
- package/dist/chunks/{image-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{image-98hqkj1t.js → command-wphkpwyy.js} +21 -21
- package/dist/chunks/{image-4z67m3qv.js → command-wrd1e224.js} +25 -25
- package/dist/chunks/{image-5qv54f7z.js → command-wrd39zd3.js} +9 -9
- package/dist/chunks/{image-afasrztg.js → command-x81g74mp.js} +10 -10
- package/dist/chunks/{image-2z1fntxb.js → command-x8rpw2zs.js} +16 -16
- package/dist/chunks/{image-07vs3nj0.js → command-xc2k0qa9.js} +8 -8
- package/dist/chunks/command-xd0mmx4p.js +261 -0
- package/dist/chunks/{image-vfm5f3jw.js → command-xdpngg3w.js} +17 -17
- package/dist/chunks/{image-qt5zzp9n.js → command-xfys7e1v.js} +15 -15
- package/dist/chunks/{image-5sdj1qr8.js → command-xhq4j13x.js} +9 -9
- package/dist/chunks/{image-m9a097ew.js → command-xpgf5ggf.js} +14 -14
- package/dist/chunks/{image-37cktt0g.js → command-xpsakxdv.js} +29 -29
- package/dist/chunks/{image-e45fk36t.js → command-xsact9zs.js} +4 -4
- package/dist/chunks/{image-br0sk681.js → command-xt2n4gan.js} +28 -28
- package/dist/chunks/{image-2z7erwjw.js → command-xt4j5ppg.js} +5 -5
- package/dist/chunks/{image-4jnmqarr.js → command-y3tncrtt.js} +21 -21
- package/dist/chunks/{image-xsvq7cjt.js → command-y4n6pw34.js} +4 -4
- package/dist/chunks/{image-8anjt5n3.js → command-y6tn7bpp.js} +16 -16
- package/dist/chunks/{image-qx116f43.js → command-y7mjvyet.js} +18 -18
- package/dist/chunks/{image-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-mbxehrxz.js → command-ycf7t0x4.js} +6 -6
- package/dist/chunks/{image-31r5thkn.js → command-yhp1gsdf.js} +13 -13
- package/dist/chunks/{image-kep8e7gv.js → command-yphf4wkb.js} +45 -45
- package/dist/chunks/{image-acgs9a2s.js → command-yzj4f4rb.js} +4 -4
- package/dist/chunks/{image-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z38nccrw.js → command-z38nccrw.js} +1 -1
- package/dist/chunks/{image-1nwxscpy.js → command-za6yq9hg.js} +5 -5
- package/dist/chunks/{image-bjhzkqyk.js → command-zba5tm1j.js} +4 -4
- package/dist/chunks/{image-x22ax0pw.js → command-zcttm0a7.js} +23 -23
- package/dist/chunks/{image-zkg84ctx.js → command-zkg84ctx.js} +1 -1
- package/dist/chunks/{image-yx7jxc79.js → command-zppqv0za.js} +2 -2
- package/dist/chunks/{image-bjf48tk7.js → command-zv77kcwz.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +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 +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +90 -90
- 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 +78 -78
- 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 +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +109 -109
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +96 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +161 -161
- 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 +86 -86
- 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 +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +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 +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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +226 -226
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- 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 +4 -4
- 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 +210 -210
- 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 +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +119 -119
- package/dist/snapshot.js +98 -98
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +215 -215
- 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 +113 -113
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +3 -3
- 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 +86 -86
- 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 +80 -80
- 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/image-6zjm2phc.js +0 -18
- package/dist/chunks/image-gbhxq8h0.js +0 -26
- package/dist/chunks/image-y6d7k03n.js +0 -261
- /package/dist/chunks/{image-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./command-536c1kkr.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event18,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info26,
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Service: () => Service78,
|
|
21
|
+
layer: () => layer28,
|
|
22
|
+
node: () => node81
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event18 } from "@opencode/schema/command";
|
|
28
|
+
var Info26 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service78 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer28 = Layer.effect(Service78, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service86;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info26.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service78.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer23 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node81 = makeLocationNode({
|
|
75
|
+
service: Service78,
|
|
76
|
+
layer: layer28,
|
|
77
|
+
deps: [node90]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info26, NotFoundError11, ExecutionError2, Service78, layer28, node81, exports_command5, Event18 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-0e8wpp30.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint4
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin4 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin21 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin21 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint4, Plugin4, exports_tinyfish };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service33, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node49, exports_environment };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service66,
|
|
3
|
+
node68
|
|
4
|
+
} from "./command-rpnphm24.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node69
|
|
8
|
+
} from "./command-a6f4tgap.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-hzrfc1p4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node56,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service54 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service67;
|
|
63
|
+
const agents = yield* Service66;
|
|
64
|
+
return Service54.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [node69, node68] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2, node56, exports_model };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-p17y9zxj.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service86,
|
|
10
|
+
node90
|
|
11
|
+
} from "./command-536c1kkr.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2,
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-998yhzzq.js";
|
|
22
22
|
import {
|
|
23
23
|
decodeMessageRowSync2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-bdgfgxkz.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service52,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer22,
|
|
49
49
|
list: () => list4,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node54,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info10,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -159,12 +159,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service52 extends Context.Service()("@opencode/SessionInbox") {
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
165
165
|
const database = yield* Service87;
|
|
166
166
|
const db = database.db;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service86;
|
|
168
168
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
169
169
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
170
170
|
if (existing === undefined)
|
|
@@ -181,7 +181,7 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
181
181
|
inboxID: request.id,
|
|
182
182
|
sessionID: request.sessionID,
|
|
183
183
|
item: request.item
|
|
184
|
-
}).pipe(Effect.map((event) =>
|
|
184
|
+
}).pipe(Effect.map((event) => Info10.make({
|
|
185
185
|
id: request.id,
|
|
186
186
|
sessionID: request.sessionID,
|
|
187
187
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -235,8 +235,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
235
235
|
queue
|
|
236
236
|
};
|
|
237
237
|
});
|
|
238
|
-
var
|
|
239
|
-
var
|
|
238
|
+
var layer22 = Layer.effect(Service52, make16());
|
|
239
|
+
var node54 = makeGlobalNode({ service: Service52, layer: layer22, deps: [node91, node90] });
|
|
240
240
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
241
241
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
242
242
|
if (message !== undefined)
|
|
@@ -333,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
333
333
|
return rows;
|
|
334
334
|
}));
|
|
335
335
|
|
|
336
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
336
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make16, layer22, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service86,
|
|
4
|
+
node90
|
|
5
|
+
} from "./command-536c1kkr.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-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: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
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 Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service86;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.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
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node90] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./command-3qb2tvq8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./command-8jw7rn7z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service25,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-jt3cc694.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make7
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service55;
|
|
35
|
+
const managed = yield* Service25;
|
|
36
|
+
const watcher = yield* Service56;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|