@opencode/core 2.1.2 → 2.1.4
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +93 -92
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{repository-cache-h1g26er5.js → location-005psrwt.js} +20 -20
- package/dist/chunks/location-00ve6mdn.js +18 -0
- package/dist/chunks/{repository-cache-rj3eygr5.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-vzjp43bk.js → location-0928y98p.js} +6 -5
- package/dist/chunks/{repository-cache-sfy3bb98.js → location-09wmedhs.js} +9 -9
- package/dist/chunks/{repository-cache-hwjyn0yt.js → location-0gbb59p9.js} +9 -9
- package/dist/chunks/{repository-cache-be5vje8s.js → location-0hpjzkz5.js} +5 -5
- package/dist/chunks/{repository-cache-3xcrjpsd.js → location-0pm6fm3r.js} +22 -24
- package/dist/chunks/{repository-cache-x1jjhmsh.js → location-1bmrwaa5.js} +14 -14
- package/dist/chunks/{repository-cache-w0cy9m9e.js → location-1dqke238.js} +8 -8
- package/dist/chunks/{repository-cache-rert0e01.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-k7myrtme.js → location-1qtv120j.js} +9 -9
- package/dist/chunks/{repository-cache-6827pfxn.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-ctxez2a7.js → location-1xwgv2nq.js} +6 -6
- package/dist/chunks/{repository-cache-mqqhst8y.js → location-1y0wdj51.js} +4 -4
- package/dist/chunks/{repository-cache-qgn6gcr1.js → location-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-a9vzac7j.js → location-239z01gj.js} +6 -6
- package/dist/chunks/{repository-cache-nsxxvcpe.js → location-2ahfrs74.js} +15 -15
- package/dist/chunks/{repository-cache-befx3zey.js → location-2brc2rvy.js} +1 -1
- package/dist/chunks/{repository-cache-hbvyahhm.js → location-2bymr7vt.js} +17 -17
- package/dist/chunks/{repository-cache-60xtzwnm.js → location-2cjxs9ry.js} +20 -20
- package/dist/chunks/{repository-cache-96dnwma2.js → location-2d2g0mpf.js} +29 -29
- package/dist/chunks/{repository-cache-psj2x98s.js → location-2ggqsqg3.js} +5 -5
- package/dist/chunks/{repository-cache-bf876wkh.js → location-2h6s5afk.js} +13 -13
- package/dist/chunks/{repository-cache-v5dkyp31.js → location-2jq4ff38.js} +4 -4
- package/dist/chunks/{repository-cache-3wvrfr7w.js → location-2n0y9ar2.js} +15 -15
- package/dist/chunks/{repository-cache-1rj8m5vq.js → location-2s6r54qs.js} +4 -4
- package/dist/chunks/{repository-cache-4nxvs59q.js → location-2satw072.js} +26 -28
- package/dist/chunks/{repository-cache-3smtnn6g.js → location-2z1j29yd.js} +5 -3
- package/dist/chunks/{repository-cache-d72a72b9.js → location-3043t2hd.js} +15 -15
- package/dist/chunks/{repository-cache-apagrtrt.js → location-30bn4rx3.js} +19 -20
- package/dist/chunks/{repository-cache-rjzs5m1z.js → location-37c15ztt.js} +24 -48
- package/dist/chunks/{repository-cache-mjxa0fkz.js → location-37d4mgj3.js} +33 -33
- package/dist/chunks/{repository-cache-gng93yft.js → location-3e8nvsz7.js} +3 -3
- package/dist/chunks/{repository-cache-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-9bh5q6pj.js → location-3j92816q.js} +10 -14
- package/dist/chunks/{repository-cache-5d607bsg.js → location-3mgb105e.js} +9 -9
- package/dist/chunks/{repository-cache-54ma36ye.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-pk0dmpdf.js → location-3sfq932m.js} +14 -18
- package/dist/chunks/{repository-cache-wwkjqs8e.js → location-3wef9mrz.js} +8 -8
- package/dist/chunks/{repository-cache-rw0rmakh.js → location-3y1df9hb.js} +3 -3
- package/dist/chunks/{repository-cache-aws4c0c0.js → location-3yy2vhmn.js} +23 -23
- package/dist/chunks/{repository-cache-ywt8jp22.js → location-40za9wsf.js} +9 -9
- package/dist/chunks/{repository-cache-kp3dd9gy.js → location-42hxtx4a.js} +2 -2
- package/dist/chunks/{repository-cache-gye9bare.js → location-4bvc8sjz.js} +2 -2
- package/dist/chunks/{repository-cache-068g2d37.js → location-4c6ksw65.js} +37 -37
- package/dist/chunks/{repository-cache-vsa820f9.js → location-4fspmagn.js} +245 -104
- package/dist/chunks/{repository-cache-twwrpnjg.js → location-4jbtvrw1.js} +12 -12
- package/dist/chunks/{repository-cache-f31q5wm1.js → location-4kb4jvb8.js} +17 -17
- package/dist/chunks/{repository-cache-zr2ceqn5.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-z0mn1t4q.js → location-4v3515yy.js} +46 -46
- package/dist/chunks/{repository-cache-a20pjse5.js → location-4xvmh7wp.js} +3 -3
- package/dist/chunks/{repository-cache-k07nhkpw.js → location-4y92vxjf.js} +46 -46
- package/dist/chunks/{repository-cache-ek8edefh.js → location-584rjm98.js} +1 -1
- package/dist/chunks/{repository-cache-pyv0edze.js → location-5fjb7ams.js} +4 -4
- package/dist/chunks/{repository-cache-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-qy7ffa5a.js → location-5nankzt7.js} +9 -9
- package/dist/chunks/{repository-cache-gm3f9v0x.js → location-5qebhevh.js} +16 -19
- package/dist/chunks/{repository-cache-8pvf9cdd.js → location-5ysrq0ad.js} +16 -16
- package/dist/chunks/{repository-cache-9da6j7qw.js → location-633qbm06.js} +13 -13
- package/dist/chunks/{repository-cache-hnvjv21h.js → location-6b66j3w1.js} +28 -28
- package/dist/chunks/{repository-cache-zxq2ej10.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-x51ersaw.js → location-6p8ga3wk.js} +17 -17
- package/dist/chunks/{repository-cache-wwh9ddtq.js → location-6pe7vn7p.js} +13 -13
- package/dist/chunks/{repository-cache-qsdy395h.js → location-6pjqjmy2.js} +1 -1
- package/dist/chunks/{repository-cache-ka0kb0pp.js → location-6qtdkhme.js} +1 -1
- package/dist/chunks/{repository-cache-tcxc2yk9.js → location-6z79x2sm.js} +13 -13
- package/dist/chunks/{repository-cache-tcezcvh9.js → location-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-cache-rbyshrxq.js → location-7bgh3hsv.js} +7 -7
- package/dist/chunks/{repository-cache-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-4evmdpem.js → location-7hk3fzbx.js} +30 -43
- package/dist/chunks/{repository-cache-4m3ygwz0.js → location-7jg3h9xc.js} +7 -7
- package/dist/chunks/{repository-cache-6yftxg5c.js → location-7jrmq8v4.js} +20 -20
- package/dist/chunks/{repository-cache-8s3pces3.js → location-7th4r57j.js} +12 -12
- package/dist/chunks/{repository-cache-8s4xtewj.js → location-7vd4enbp.js} +15 -15
- package/dist/chunks/{repository-cache-kwb1v3vj.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-95hwhe14.js → location-80cqk4v7.js} +13 -13
- package/dist/chunks/{repository-cache-2296e4cw.js → location-81va5nb7.js} +25 -19
- package/dist/chunks/location-8230236v.js +257 -0
- package/dist/chunks/{repository-cache-am5vmnvv.js → location-830bkp7y.js} +18 -18
- package/dist/chunks/{repository-cache-6khagj97.js → location-86439gfw.js} +32 -32
- package/dist/chunks/{repository-cache-7b2pfqtj.js → location-89c7n5pz.js} +3 -3
- package/dist/chunks/{repository-cache-hehc42eq.js → location-8bf8d73q.js} +6 -6
- package/dist/chunks/{repository-cache-mjfbh2zj.js → location-8c8xwrnt.js} +11 -11
- package/dist/chunks/{repository-cache-dpkg50ah.js → location-8jztxfpf.js} +1 -1
- package/dist/chunks/{repository-cache-g5ngm8f4.js → location-8vjz6zkc.js} +28 -28
- package/dist/chunks/{repository-cache-h6vf3j39.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-syv4x271.js → location-91rj84md.js} +4 -2
- package/dist/chunks/{repository-cache-6pc27hjz.js → location-997dsrmm.js} +8 -8
- package/dist/chunks/{repository-cache-c1fqxshp.js → location-998yhzzq.js} +4 -4
- package/dist/chunks/{repository-cache-4xpgt2w9.js → location-9b28cy4d.js} +5 -5
- package/dist/chunks/{repository-cache-qz7vxdk7.js → location-9dxz0jcc.js} +9 -9
- package/dist/chunks/{repository-cache-t1r0yajc.js → location-9mrr08ev.js} +10 -15
- package/dist/chunks/{repository-cache-6b2stqvb.js → location-9p7ryr2b.js} +7 -7
- package/dist/chunks/{repository-cache-x98xddc7.js → location-9s6wb0ev.js} +9 -9
- package/dist/chunks/{repository-cache-6nhfh867.js → location-9ypen6gf.js} +7 -7
- package/dist/chunks/{repository-cache-cd8v38ms.js → location-9zetw7am.js} +104 -93
- package/dist/chunks/{repository-cache-3t0ybcrp.js → location-a058387c.js} +4 -2
- package/dist/chunks/{repository-cache-k20z56w2.js → location-a5h3ke48.js} +38 -39
- package/dist/chunks/{repository-cache-wrmbd4ct.js → location-a7hcemwv.js} +8 -8
- package/dist/chunks/{repository-cache-9hwaqfsw.js → location-afmnpta1.js} +7 -11
- package/dist/chunks/{repository-cache-qrtd1qkj.js → location-aft2va8r.js} +11 -11
- package/dist/chunks/{repository-cache-hm1sg1ry.js → location-akfw3dm8.js} +35 -35
- package/dist/chunks/{repository-cache-sa8ekw3f.js → location-ayjs7tqn.js} +3 -3
- package/dist/chunks/{repository-cache-3hwn7j4h.js → location-b0mv4wxm.js} +2 -2
- package/dist/chunks/{repository-cache-3ske6nsv.js → location-b259twyp.js} +21 -21
- package/dist/chunks/{repository-cache-6vq97qmv.js → location-b29mbqx6.js} +5 -5
- package/dist/chunks/{repository-cache-dh0nadn9.js → location-b46dzrwk.js} +35 -35
- package/dist/chunks/{repository-cache-nz56sr1f.js → location-b6vsg801.js} +4 -3
- package/dist/chunks/{repository-cache-qm621tfa.js → location-b93307df.js} +30 -30
- package/dist/chunks/{repository-cache-addxnjmp.js → location-bjhzkqyk.js} +1 -1
- package/dist/chunks/{repository-cache-mkqa88c4.js → location-bm60t44w.js} +3 -3
- package/dist/chunks/{repository-cache-84txncab.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-1ycwwje8.js → location-c34bh8hr.js} +125 -49
- package/dist/chunks/{repository-cache-0javqkgf.js → location-c3cfh5w6.js} +9 -9
- package/dist/chunks/{repository-cache-tt8gc4fv.js → location-c8666r4c.js} +6 -6
- package/dist/chunks/{repository-cache-ys3h2zrn.js → location-ckr4b3py.js} +39 -39
- package/dist/chunks/{repository-cache-kkq0x60e.js → location-cp65cvxr.js} +9 -9
- package/dist/chunks/{repository-cache-zzv2xjb0.js → location-cxat4xx2.js} +35 -35
- package/dist/chunks/{repository-cache-vep9yay1.js → location-d2887f8n.js} +4 -4
- package/dist/chunks/{repository-cache-0vbcp93d.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-qd9a1hat.js → location-d5m0d1jd.js} +91 -95
- package/dist/chunks/{repository-cache-sfjrjc0q.js → location-ddwaa558.js} +4 -4
- package/dist/chunks/{repository-cache-58a6xtee.js → location-dg6zbqet.js} +53 -53
- package/dist/chunks/{repository-cache-t8z4ntba.js → location-dgj49q4q.js} +21 -21
- package/dist/chunks/{repository-cache-5xte2yyn.js → location-dqc1xg2h.js} +15 -17
- package/dist/chunks/{repository-cache-9j0x65xk.js → location-dvpv1qqw.js} +5 -5
- package/dist/chunks/{repository-cache-m12bw8xw.js → location-dxbw252c.js} +29 -27
- package/dist/chunks/{repository-cache-zvt5dnpc.js → location-e45fk36t.js} +4 -4
- package/dist/chunks/{repository-cache-t720n0zt.js → location-e6ke8dsh.js} +32 -32
- package/dist/chunks/{repository-cache-8m6m0r52.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-8w6fvyhj.js → location-eggkdbge.js} +3 -3
- package/dist/chunks/{repository-cache-br622wkd.js → location-eh71ek0g.js} +77 -72
- package/dist/chunks/{repository-cache-c02r2nwt.js → location-et9e0jv5.js} +8 -8
- package/dist/chunks/{repository-cache-hpfdwx7h.js → location-f7ma11rg.js} +6 -6
- package/dist/chunks/{repository-cache-bnqg0hxn.js → location-fcfxs1zj.js} +3 -3
- package/dist/chunks/{repository-cache-z18fegx4.js → location-fffv3p7h.js} +2 -10
- package/dist/chunks/{repository-cache-x41h92ne.js → location-fjngd7fj.js} +11 -11
- package/dist/chunks/{repository-cache-jcwtgcwh.js → location-fjnhz8nn.js} +4 -4
- package/dist/chunks/{repository-cache-4xtxvh3c.js → location-fphnwtmq.js} +11 -11
- package/dist/chunks/{repository-cache-63jfzrme.js → location-fqzd2d2r.js} +21 -17
- package/dist/chunks/{repository-cache-5f1cq77a.js → location-g3avwj86.js} +11 -11
- package/dist/chunks/{repository-cache-eej6y6fw.js → location-g5h9c0rr.js} +2 -2
- package/dist/chunks/{repository-cache-drwq78ky.js → location-g7esga4v.js} +5 -6
- package/dist/chunks/{repository-cache-vbj53afp.js → location-gb9gmc0j.js} +8 -8
- package/dist/chunks/{repository-cache-1hyfwtsr.js → location-ght5gt7k.js} +314 -307
- package/dist/chunks/{repository-cache-1rf4yw31.js → location-gnkrmvzs.js} +7 -8
- package/dist/chunks/{repository-cache-8xnvw0w1.js → location-h8rac0eh.js} +10 -10
- package/dist/chunks/{repository-cache-cmkn1bh9.js → location-hfkcnh3h.js} +21 -21
- package/dist/chunks/{repository-cache-dsx0mmc6.js → location-hgn7fvrd.js} +22 -22
- package/dist/chunks/{repository-cache-zj2b8f8d.js → location-hqgpx30z.js} +29 -31
- package/dist/chunks/{repository-cache-5j9zz1y4.js → location-hwqvnpa6.js} +10 -10
- package/dist/chunks/{repository-cache-mk9tkz9j.js → location-hyvp8sn8.js} +1 -1
- package/dist/chunks/location-hzsp1kxy.js +107 -0
- package/dist/chunks/{repository-cache-tm0kqsz3.js → location-j113cymg.js} +4 -3
- package/dist/chunks/{repository-cache-tkt1yh5w.js → location-j2cjg2qt.js} +11 -11
- package/dist/chunks/{repository-cache-09390rf8.js → location-j6sw43tq.js} +14 -14
- package/dist/chunks/{repository-cache-dqr3pwk6.js → location-j8pg8rcr.js} +24 -24
- package/dist/chunks/location-jbt1xm3n.js +523 -0
- package/dist/chunks/{repository-cache-qd284e96.js → location-jdcya02q.js} +13 -13
- package/dist/chunks/{repository-cache-5xn7qbr2.js → location-jh9pmtvm.js} +16 -16
- package/dist/chunks/{repository-cache-s8d7rejh.js → location-jneg3k74.js} +1 -1
- package/dist/chunks/{repository-cache-sq37fes3.js → location-jw4xm41e.js} +10 -10
- package/dist/chunks/{repository-cache-k9tkpxn3.js → location-jz6d5c41.js} +156 -156
- package/dist/chunks/{repository-cache-eg5kq0wk.js → location-jznc3yn3.js} +11 -11
- package/dist/chunks/{repository-cache-n99h6tw9.js → location-k6wybhe4.js} +34 -36
- package/dist/chunks/{repository-cache-t89fqycx.js → location-k732j073.js} +8 -8
- package/dist/chunks/{repository-cache-vzs5sf6e.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-0cg871e2.js → location-kb4gstwj.js} +5 -5
- package/dist/chunks/{repository-cache-95t8ye7z.js → location-ke7vzy3f.js} +49 -49
- package/dist/chunks/location-khh5ttga.js +26 -0
- package/dist/chunks/{repository-cache-xh38a0x5.js → location-kjb4x69f.js} +1 -1
- package/dist/chunks/{repository-cache-6f890ccd.js → location-kmzgegqq.js} +8 -8
- package/dist/chunks/{repository-cache-y1yvzwwp.js → location-kp4ctdbn.js} +11 -11
- package/dist/chunks/{repository-cache-g90zrjvy.js → location-ky7vvs7w.js} +37 -32
- package/dist/chunks/{repository-cache-9f77xx3w.js → location-m0gv7qej.js} +14 -14
- package/dist/chunks/{repository-cache-3zsf4n22.js → location-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-xhbe8e91.js → location-m5nnd4yj.js} +16 -16
- package/dist/chunks/{repository-cache-07rqgew6.js → location-m9ga4zyy.js} +6 -6
- package/dist/chunks/{repository-cache-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-kkp8zx71.js → location-mh30raav.js} +4 -4
- package/dist/chunks/{repository-cache-8wmb0r1y.js → location-mjey6v08.js} +8 -8
- package/dist/chunks/{repository-cache-fpen5yq5.js → location-mx81xwtn.js} +23 -23
- package/dist/chunks/{repository-cache-fcy631f0.js → location-n0p0277s.js} +1 -1
- package/dist/chunks/{repository-cache-5mnspefx.js → location-n1ryh798.js} +34 -35
- package/dist/chunks/{repository-cache-bzeyqsqd.js → location-nah043kf.js} +1 -1
- package/dist/chunks/{repository-cache-cbfm0wb6.js → location-nb3nrvbh.js} +8 -8
- package/dist/chunks/{repository-cache-ezx2brb0.js → location-nbvb24gq.js} +23 -19
- package/dist/chunks/{repository-cache-ez5pkgh4.js → location-nes0ks30.js} +25 -25
- package/dist/chunks/{repository-cache-y642zbcz.js → location-nfdwtzhc.js} +28 -28
- package/dist/chunks/{repository-cache-kdz0rk07.js → location-nm4377q9.js} +8 -8
- package/dist/chunks/{repository-cache-qs0n9k2z.js → location-nte6bvsd.js} +28 -30
- package/dist/chunks/{repository-cache-775gj3j1.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-vs7zhs8r.js → location-p184mqc5.js} +21 -14
- package/dist/chunks/{repository-cache-s1aqfa5x.js → location-p894etz3.js} +43 -43
- package/dist/chunks/{repository-cache-sxcaecc0.js → location-pc1v25hk.js} +4 -6
- package/dist/chunks/{repository-cache-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-41bqvch9.js → location-pt3agb94.js} +10 -10
- package/dist/chunks/{repository-cache-btpxpz9q.js → location-ptcpq2hv.js} +6 -6
- package/dist/chunks/{repository-cache-bkafj4ay.js → location-q1rqw855.js} +7 -7
- package/dist/chunks/{repository-cache-bzcwmnv3.js → location-q55b1wrz.js} +13 -13
- package/dist/chunks/{repository-cache-ettmqyzq.js → location-q89bkvf2.js} +11 -18
- package/dist/chunks/{repository-cache-w7fj1zb2.js → location-qbgwvbz8.js} +10 -10
- package/dist/chunks/{repository-cache-s3ertt83.js → location-qbm0r1ap.js} +12 -11
- package/dist/chunks/{repository-cache-dcdf7gkr.js → location-qyx1nkkd.js} +19 -19
- package/dist/chunks/{repository-cache-tyytaxap.js → location-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-3wxjf8vr.js → location-r1s8qxhz.js} +15 -15
- package/dist/chunks/{repository-cache-24ra19qx.js → location-r20swzxr.js} +31 -28
- package/dist/chunks/{repository-cache-k2vh0b3r.js → location-r3083m8p.js} +23 -23
- package/dist/chunks/{repository-cache-84cpmds6.js → location-ran0pwn3.js} +8 -25
- package/dist/chunks/{repository-cache-78c4e6ad.js → location-raq1s93x.js} +18 -18
- package/dist/chunks/{repository-cache-tazgh4e4.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/location-rgyfs092.js +58 -0
- package/dist/chunks/{repository-cache-v1vh7s4p.js → location-rjnacbrz.js} +9 -9
- package/dist/chunks/{repository-cache-2r3bm1pf.js → location-rkdfvdar.js} +19 -19
- package/dist/chunks/{repository-cache-mr0cv7ny.js → location-rkvk32bt.js} +13 -13
- package/dist/chunks/{repository-cache-3tvqynh2.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-se9m0ate.js → location-rttdb5jp.js} +38 -34
- package/dist/chunks/{repository-cache-25m6jntb.js → location-rxz7t1tx.js} +31 -38
- package/dist/chunks/{repository-cache-gxdr2vwe.js → location-s1t9wfqz.js} +8 -8
- package/dist/chunks/{repository-cache-mx9vqzsb.js → location-s2pfznc4.js} +6 -6
- package/dist/chunks/{repository-cache-ey9nrxd1.js → location-s56jz2hb.js} +20 -28
- package/dist/chunks/{repository-cache-d04ep358.js → location-s9ty2h8k.js} +17 -11
- package/dist/chunks/{repository-cache-0nz7j1v1.js → location-scdee33y.js} +2 -2
- package/dist/chunks/{repository-cache-kvk0xsab.js → location-sk6vvdwr.js} +15 -15
- package/dist/chunks/{repository-cache-g2qvt889.js → location-snh71vez.js} +18 -18
- package/dist/chunks/{repository-cache-6xb47vfp.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-14z3krkx.js → location-t09yj0zj.js} +4 -4
- package/dist/chunks/{repository-cache-w94dkyq7.js → location-t35vpv8z.js} +27 -27
- package/dist/chunks/{repository-cache-cz1210nh.js → location-t6dn99ca.js} +23 -18
- package/dist/chunks/{repository-cache-j2xqfvk3.js → location-t9sf4w0m.js} +11 -11
- package/dist/chunks/{repository-cache-gd4qta3r.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-2ntc19nv.js → location-tseqrb92.js} +34 -60
- package/dist/chunks/{repository-cache-tdstcens.js → location-tw8zr1ps.js} +1 -1
- package/dist/chunks/{repository-cache-v7p4zvkq.js → location-twv2r8f4.js} +2 -2
- package/dist/chunks/{repository-cache-ethnw1sn.js → location-tx9vmxa7.js} +19 -19
- package/dist/chunks/{repository-cache-cg5q9ras.js → location-txg5xg0c.js} +31 -26
- package/dist/chunks/{repository-cache-ke7rr379.js → location-v0ajt838.js} +28 -28
- package/dist/chunks/{repository-cache-1bsm6gb2.js → location-v0h1q5gr.js} +14 -14
- package/dist/chunks/{repository-cache-8mywswrd.js → location-v2r1d0zg.js} +2 -2
- package/dist/chunks/{repository-cache-23fc6a7j.js → location-v3q8ezdd.js} +13 -13
- package/dist/chunks/{repository-cache-2eegacq4.js → location-v6h5bgwd.js} +8 -8
- package/dist/chunks/{repository-cache-rdw6cm16.js → location-vd3b3yk9.js} +1 -1
- package/dist/chunks/{repository-cache-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-f8yphcvr.js → location-vqpjc3nz.js} +17 -17
- package/dist/chunks/{repository-cache-1g044nmy.js → location-vxybbfew.js} +14 -11
- package/dist/chunks/{repository-cache-1sj4xbsw.js → location-w00s5rdr.js} +4 -4
- package/dist/chunks/{repository-cache-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-gtdxectv.js → location-w67r90k6.js} +12 -12
- package/dist/chunks/{repository-cache-fxaymqdw.js → location-w687dnns.js} +1 -1
- package/dist/chunks/{repository-cache-qnc92qwc.js → location-wakvkjy4.js} +9 -5
- package/dist/chunks/{repository-cache-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-z1fx9rk1.js → location-wedh6qfb.js} +4 -4
- package/dist/chunks/{repository-cache-9sr4q53q.js → location-wf8nwwfn.js} +13 -11
- package/dist/chunks/{repository-cache-za7dxrd4.js → location-wxy5qeqz.js} +15 -15
- package/dist/chunks/{repository-cache-0cwe34aq.js → location-x2adk3yy.js} +24 -24
- package/dist/chunks/{repository-cache-begyvfqb.js → location-x3w3gr0t.js} +17 -18
- package/dist/chunks/{repository-cache-rx1rzkp9.js → location-x6zjgj80.js} +18 -18
- package/dist/chunks/{repository-cache-pzc1z4et.js → location-xewrm1yq.js} +32 -32
- package/dist/chunks/{repository-cache-n196avmr.js → location-xr94g6d3.js} +36 -36
- package/dist/chunks/{repository-cache-b0b3nmkz.js → location-xy22cvcr.js} +50 -50
- package/dist/chunks/{repository-cache-6qprtkrf.js → location-xyswfhq2.js} +64 -40
- package/dist/chunks/{repository-cache-k4q5zqd4.js → location-xzb17nsd.js} +10 -10
- package/dist/chunks/{repository-cache-acd8cc5y.js → location-y2hbnz15.js} +27 -25
- package/dist/chunks/{repository-cache-t95zrypp.js → location-y9awcm76.js} +12 -12
- package/dist/chunks/{repository-cache-pjvnvgmy.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-s7ggtf3y.js → location-ye1xrrbs.js} +26 -22
- package/dist/chunks/{repository-cache-amsnh37f.js → location-ytsgm675.js} +9 -9
- package/dist/chunks/{repository-cache-3g642jy4.js → location-ytvhabzn.js} +10 -10
- package/dist/chunks/{repository-cache-gen6sgf1.js → location-yx8gesms.js} +14 -16
- package/dist/chunks/{repository-cache-hspen3n6.js → location-z06f5xk1.js} +27 -30
- package/dist/chunks/{repository-cache-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-kg7htk1j.js → location-z1f2n5q4.js} +84 -30
- package/dist/chunks/{repository-cache-mq56jt1j.js → location-z24fzt3x.js} +25 -24
- package/dist/chunks/{repository-cache-xwgk07kc.js → location-z359x3zf.js} +33 -33
- package/dist/chunks/{repository-cache-y1fvbwt7.js → location-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-k1php5wk.js → location-zakhs7qb.js} +44 -29
- package/dist/chunks/{repository-cache-atj1s5r2.js → location-zfwjf24c.js} +21 -16
- package/dist/chunks/{repository-cache-hgz4x7wa.js → location-zkg84ctx.js} +1 -1
- package/dist/chunks/{repository-cache-baqyxak2.js → location-zkgq49d1.js} +4 -4
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +5 -3
- 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 +168 -87
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +225 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -17
- package/dist/filesystem.js +104 -110
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -106
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +115 -107
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -131
- package/dist/mcp/oauth.js +89 -83
- package/dist/mcp/socket-client.js +71 -0
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +4 -2
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- 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 +97 -0
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +11 -4
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -215
- package/dist/session/execution.js +128 -127
- package/dist/session/generate.js +164 -155
- package/dist/session/history.js +13 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -100
- package/dist/session/runner/publish-llm-event.js +116 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -159
- package/dist/session/to-session-error.js +114 -113
- package/dist/session/transfer.js +215 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -208
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +139 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +215 -209
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +115 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +4 -2
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/database/path.d.ts +1 -0
- package/dist/types/database/v1-migration.bun.d.ts +4 -2
- package/dist/types/file-access.d.ts +2 -2
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/image/photon-wasm.bun.d.ts +1 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +2 -2
- package/dist/types/job.d.ts +1 -4
- package/dist/types/mcp/client.d.ts +9 -281
- package/dist/types/mcp/index.d.ts +8 -1
- package/dist/types/mcp/socket-client.d.ts +28 -0
- package/dist/types/mime.d.ts +1 -0
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -40
- package/dist/types/persistent-pty/daemon.d.ts +33 -21
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/openai-context-caps.d.ts +2 -0
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/project.d.ts +6 -2
- package/dist/types/pty/ticket.d.ts +7 -1
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/compaction.d.ts +7 -0
- package/dist/types/session/diff.d.ts +0 -1
- package/dist/types/session/error.d.ts +6 -16
- package/dist/types/session/history.d.ts +269 -274
- package/dist/types/session/inbox.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +0 -1
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/schema.d.ts +6 -12
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/stats.d.ts +12 -11
- package/dist/types/session/store.d.ts +0 -6
- package/dist/types/session/transfer.d.ts +19 -25
- package/dist/types/session.d.ts +38 -44
- package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
- package/dist/types/tool/mcp.d.ts +2 -1
- package/dist/types/tool/plugin/opencode.d.ts +0 -2
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +0 -2
- package/dist/types/tool/runtime.d.ts +1 -0
- package/dist/types/tool-output.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +3 -29
- package/dist/types/voice.d.ts +42 -2
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +14 -13
- package/dist/chunks/repository-cache-136rxf1v.js +0 -71
- package/dist/chunks/repository-cache-1kg9ymc8.js +0 -6
- package/dist/chunks/repository-cache-2axfhc9x.js +0 -49
- package/dist/chunks/repository-cache-e5ybad6w.js +0 -257
- package/dist/chunks/repository-cache-rvyd7pdz.js +0 -517
- package/dist/chunks/repository-cache-s2jpy0bd.js +0 -26
- package/dist/chunks/repository-cache-vnkjks7b.js +0 -18
- package/dist/types/util/error.d.ts +0 -273
- package/dist/types/util/iife.d.ts +0 -1
- package/dist/types/v1/config/error.d.ts +0 -393
- package/dist/util/error.js +0 -6
- package/dist/util/iife.js +0 -6
- package/dist/v1/config/error.js +0 -27
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-axe3mf62.js → location-axe3mf62.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_command5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-7jg3h9xc.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-wedh6qfb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-v0ajt838.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-bjhzkqyk.js";
|
|
14
14
|
import {
|
|
15
15
|
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-dgj49q4q.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./location-ght5gt7k.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID7,
|
|
25
|
+
Info17
|
|
26
|
+
} from "./location-6b66j3w1.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-yb20nhc3.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service77;
|
|
61
61
|
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info17.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-sk6vvdwr.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-wedh6qfb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-v0ajt838.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-dgj49q4q.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service77
|
|
20
|
+
} from "./location-ght5gt7k.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./location-6b66j3w1.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-cp65cvxr.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-7jg3h9xc.js";
|
|
31
31
|
import {
|
|
32
32
|
ID11
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-dqc1xg2h.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
|
+
import { isRecord } from "@opencode/ai/utils/record";
|
|
39
40
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
40
41
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
42
|
var clientID = "Ov23li8tweQw6odWQebz";
|
|
@@ -163,7 +164,7 @@ var oauth = (app) => ({
|
|
|
163
164
|
var GithubCopilotPlugin2 = define({
|
|
164
165
|
id: "opencode.provider.github.copilot",
|
|
165
166
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service77;
|
|
167
168
|
const bus = yield* Service85;
|
|
168
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
170
|
const loaded = {};
|
|
@@ -230,14 +231,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
231
|
}
|
|
231
232
|
});
|
|
232
233
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(ID13.githubCopilot,
|
|
234
|
-
models.update(ID13.githubCopilot,
|
|
234
|
+
if (models.get(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID13.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
235
236
|
model.enabled = false;
|
|
236
237
|
});
|
|
237
238
|
}
|
|
238
239
|
});
|
|
239
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
244
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -436,13 +437,13 @@ function interactionType2(kind, child) {
|
|
|
436
437
|
return "conversation-agent";
|
|
437
438
|
}
|
|
438
439
|
function requestMetadata(url, body) {
|
|
439
|
-
if (!
|
|
440
|
+
if (!isRecord(body))
|
|
440
441
|
return { agent: false, vision: false };
|
|
441
442
|
if (Array.isArray(body.input)) {
|
|
442
443
|
const last = body.input.at(-1);
|
|
443
444
|
return {
|
|
444
|
-
agent: !
|
|
445
|
-
vision: body.input.some((item) =>
|
|
445
|
+
agent: !isRecord(last) || last.role !== "user",
|
|
446
|
+
vision: body.input.some((item) => isRecord(item) && Array.isArray(item.content) && item.content.some((part) => isRecord(part) && part.type === "input_image"))
|
|
446
447
|
};
|
|
447
448
|
}
|
|
448
449
|
if (!Array.isArray(body.messages))
|
|
@@ -450,18 +451,15 @@ function requestMetadata(url, body) {
|
|
|
450
451
|
const last = body.messages.at(-1);
|
|
451
452
|
if (url.includes("completions")) {
|
|
452
453
|
return {
|
|
453
|
-
agent: !
|
|
454
|
-
vision: body.messages.some((message) =>
|
|
454
|
+
agent: !isRecord(last) || last.role !== "user",
|
|
455
|
+
vision: body.messages.some((message) => isRecord(message) && Array.isArray(message.content) && message.content.some((part) => isRecord(part) && part.type === "image_url"))
|
|
455
456
|
};
|
|
456
457
|
}
|
|
457
|
-
const content =
|
|
458
|
+
const content = isRecord(last) && Array.isArray(last.content) ? last.content : [];
|
|
458
459
|
return {
|
|
459
|
-
agent: !
|
|
460
|
-
vision: body.messages.some((message) =>
|
|
460
|
+
agent: !isRecord(last) || last.role !== "user" || !content.some((part) => isRecord(part) && part.type !== "tool_result"),
|
|
461
|
+
vision: body.messages.some((message) => isRecord(message) && Array.isArray(message.content) && message.content.some((part) => isRecord(part) && (part.type === "image" || part.type === "tool_result" && Array.isArray(part.content) && part.content.some((nested) => isRecord(nested) && nested.type === "image"))))
|
|
461
462
|
};
|
|
462
463
|
}
|
|
463
|
-
function record(input) {
|
|
464
|
-
return typeof input === "object" && input !== null && !Array.isArray(input);
|
|
465
|
-
}
|
|
466
464
|
|
|
467
465
|
export { GithubCopilotPlugin2, copilotEntitlementError2, copilotBaseURL2, utilityTitleModels2, utilityTitle2, copilotFetch2, interactionType2 };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/mime.ts
|
|
6
6
|
var exports_mime = {};
|
|
7
7
|
__export(exports_mime, {
|
|
8
8
|
Mime: () => exports_mime,
|
|
9
|
-
detect: () => detect2
|
|
9
|
+
detect: () => detect2,
|
|
10
|
+
isTextual: () => isTextual2
|
|
10
11
|
});
|
|
11
12
|
function detect2(bytes) {
|
|
12
13
|
if (startsWith(bytes, [137, 80, 78, 71, 13, 10, 26, 10]))
|
|
@@ -25,6 +26,7 @@ function detect2(bytes) {
|
|
|
25
26
|
return "image/avif";
|
|
26
27
|
return isText(bytes) ? "text/plain" : "application/octet-stream";
|
|
27
28
|
}
|
|
29
|
+
var isTextual2 = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
28
30
|
function startsWith(bytes, prefix) {
|
|
29
31
|
return prefix.every((value, index) => bytes[index] === value);
|
|
30
32
|
}
|
|
@@ -42,4 +44,4 @@ function isText(bytes) {
|
|
|
42
44
|
return controls / bytes.length <= 0.3;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
|
-
export { detect2, exports_mime };
|
|
47
|
+
export { detect2, isTextual2, exports_mime };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5nankzt7.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-5qebhevh.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-3j92816q.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput3,
|
|
24
|
+
Service: () => Service73,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node77
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -51,13 +51,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
51
51
|
subpath: RelativePath.pipe(Schema.optional)
|
|
52
52
|
});
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
|
-
var
|
|
54
|
+
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service73 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service73.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
105
105
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
106
106
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
107
107
|
return row ? {
|
|
108
|
-
sessionID:
|
|
108
|
+
sessionID: row.session_id,
|
|
109
109
|
message: yield* decodeMessageRow2(row).pipe(Effect.orDie)
|
|
110
110
|
} : undefined;
|
|
111
111
|
}),
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { ListInput3, Service73, node77, exports_store };
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5nankzt7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-wedh6qfb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./repository-cache-cg5q9ras.js";
|
|
14
|
+
Service41
|
|
15
|
+
} from "./location-txg5xg0c.js";
|
|
17
16
|
import {
|
|
18
17
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
18
|
+
} from "./location-ec1grn59.js";
|
|
20
19
|
import {
|
|
21
20
|
MessageNotFoundError2
|
|
22
|
-
} from "./
|
|
21
|
+
} from "./location-1xwgv2nq.js";
|
|
23
22
|
import {
|
|
24
23
|
SessionMessageTable2
|
|
25
|
-
} from "./
|
|
24
|
+
} from "./location-998yhzzq.js";
|
|
26
25
|
import {
|
|
27
26
|
decodeMessageRowSync2
|
|
28
|
-
} from "./
|
|
27
|
+
} from "./location-5qebhevh.js";
|
|
29
28
|
import {
|
|
30
29
|
__export
|
|
31
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
32
31
|
|
|
33
32
|
// src/session/revert.ts
|
|
34
33
|
var exports_revert = {};
|
|
@@ -41,12 +40,12 @@ __export(exports_revert, {
|
|
|
41
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
41
|
import { Effect } from "effect";
|
|
43
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service48;
|
|
45
44
|
const database = yield* Service86;
|
|
46
45
|
const bus = yield* Service85;
|
|
47
46
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot
|
|
47
|
+
const snapshot = yield* Service41;
|
|
48
|
+
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
50
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
50
|
const restore = new Map;
|
|
52
51
|
if (original) {
|
|
@@ -73,13 +72,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
72
|
}).pipe(instances.provide(input.session));
|
|
74
73
|
});
|
|
75
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service48;
|
|
77
76
|
const bus = yield* Service85;
|
|
78
77
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service41;
|
|
80
79
|
if (!session.revert)
|
|
81
80
|
return;
|
|
82
|
-
const original = session.revert.snapshot
|
|
81
|
+
const original = session.revert.snapshot;
|
|
83
82
|
if (original)
|
|
84
83
|
yield* snapshot.restore({
|
|
85
84
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -109,7 +108,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
109
108
|
continue;
|
|
110
109
|
for (const file of message.snapshot.files ?? [])
|
|
111
110
|
if (!files.has(file))
|
|
112
|
-
files.set(file,
|
|
111
|
+
files.set(file, message.snapshot.start);
|
|
113
112
|
}
|
|
114
113
|
return files;
|
|
115
114
|
});
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID11,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-dqc1xg2h.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent = {};
|
|
12
|
+
__export(exports_agent, {
|
|
13
|
+
AgentPlugin: () => exports_agent,
|
|
14
|
+
Plugin: () => Plugin13
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -26,50 +26,26 @@ Guidelines:
|
|
|
26
26
|
- Shell commands MUST be read-only. NEVER run commands that write files or change system state
|
|
27
27
|
|
|
28
28
|
Complete the user's search request efficiently and report your findings clearly.`;
|
|
29
|
-
var PROMPT_TITLE = `You
|
|
29
|
+
var PROMPT_TITLE = `You name conversations so the user can find them later in a list of past sessions.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
Generate a brief title that would help the user find this conversation later.
|
|
31
|
+
You will receive the first message of a conversation, or for an ongoing conversation its original request and recent messages. Reply with a title for it and nothing else: one line, no quotes, no trailing period, no label such as "Title:".
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
Use the <examples> so you know what a good title looks like.
|
|
36
|
-
Your output must be:
|
|
37
|
-
- A single line
|
|
38
|
-
- <=50 characters
|
|
39
|
-
- No explanations
|
|
40
|
-
</task>
|
|
33
|
+
Aim for three to five words. Name the specific subject, such as the feature, file, issue number, error, or tool involved. Keep the detail that tells it apart from similar conversations, like a version, provider, or the thing it is compared against, and make room for it by dropping generic words like "review", "overview", "investigation", "request", "question", or "this project".
|
|
41
34
|
|
|
42
|
-
|
|
43
|
-
- you MUST use the same language as the user message you are summarizing
|
|
44
|
-
- Title must be grammatically correct and read naturally - no word salad
|
|
45
|
-
- Never include tool names in the title (e.g. "read tool", "bash tool", "edit tool")
|
|
46
|
-
- Focus on the main topic or question the user needs to retrieve
|
|
47
|
-
- Vary your phrasing - avoid repetitive patterns like always starting with "Analyzing"
|
|
48
|
-
- When a file is mentioned, focus on WHAT the user wants to do WITH the file, not just that they shared it
|
|
49
|
-
- Keep exact: technical terms, numbers, filenames, HTTP codes
|
|
50
|
-
- Remove: the, this, my, a, an
|
|
51
|
-
- Never assume tech stack
|
|
52
|
-
- Never use tools
|
|
53
|
-
- NEVER respond to questions, just generate a title for the conversation
|
|
54
|
-
- The title should NEVER include "summarizing" or "generating" when generating a title
|
|
55
|
-
- DO NOT SAY YOU CANNOT GENERATE A TITLE OR COMPLAIN ABOUT THE INPUT
|
|
56
|
-
- Always output something meaningful, even if the input is minimal.
|
|
57
|
-
- If the user message is short or conversational (e.g. "hello", "lol", "what's up", "hey"):
|
|
58
|
-
-> create a title that reflects the user's tone or intent (such as Greeting, Quick check-in, Light chat, Intro message, etc.)
|
|
59
|
-
</rules>
|
|
35
|
+
The title should read naturally as a short phrase, not as a stack of nouns. Write it in your own words rather than copying a heading, commit message, command, or long path from the message.
|
|
60
36
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"@
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
37
|
+
Use sentence case, not title case: capitalize the first word and proper nouns only. Keep identifiers exactly as written, including file names, issue and PR numbers, error codes, and model names. Use the same language as the message.
|
|
38
|
+
|
|
39
|
+
The message is something to name, not something to answer or carry out. Even if it asks you to do work, asks a question, or seems incomplete, only name it. For greetings or small talk, use a short label like "Greeting".
|
|
40
|
+
|
|
41
|
+
Examples:
|
|
42
|
+
"debug 500 errors in production" -> Production 500 errors
|
|
43
|
+
"why is app.js failing" -> app.js failure
|
|
44
|
+
"what does the retry logic in fetch.ts do" -> fetch.ts retry logic
|
|
45
|
+
"@src/credential.ts can you add refresh token support" -> Credential refresh tokens
|
|
46
|
+
"compare the new cache layer with the v1 one in packages/legacy" -> New cache layer vs v1
|
|
47
|
+
"Investigate https://github.com/acme/app/issues/412, don't make edits" -> Issue #412
|
|
48
|
+
"hey" -> Greeting`;
|
|
73
49
|
var PROMPT_SUMMARY = `Summarize what was done in this conversation. Write like a pull request description.
|
|
74
50
|
|
|
75
51
|
Rules:
|
|
@@ -81,7 +57,7 @@ Rules:
|
|
|
81
57
|
- Never ask questions or add new questions
|
|
82
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
60
|
+
var Plugin13 = define({
|
|
85
61
|
id: "opencode.agent",
|
|
86
62
|
effect: Effect.fn(function* (ctx) {
|
|
87
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -127,4 +103,4 @@ var Plugin42 = define({
|
|
|
127
103
|
})
|
|
128
104
|
});
|
|
129
105
|
|
|
130
|
-
export {
|
|
106
|
+
export { Plugin13, exports_agent };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-wedh6qfb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-w67r90k6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./location-ke7vzy3f.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./location-5ysrq0ad.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9dxz0jcc.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service72,
|
|
26
|
+
node76
|
|
27
|
+
} from "./location-tseqrb92.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service22,
|
|
30
|
+
node25
|
|
31
|
+
} from "./location-4kb4jvb8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service15,
|
|
41
|
+
node: () => node17
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
|
+
const permission = yield* Service72;
|
|
54
|
+
const forms = yield* Service79;
|
|
55
|
+
const rpc = yield* Service22;
|
|
56
|
+
const project = yield* Service83;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service15.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node17 = makeLocationNode({
|
|
89
|
+
service: Service15,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89,
|
|
91
|
+
deps: [node89, node86, node76, node87, node83, node25]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service15, node17, exports_location_lifecycle };
|