@opencode/core 0.0.0-dev-20607 → 0.0.0-dev-20609
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-service-map-pbeet7aa.js → aisdk-0128yrka.js} +22 -22
- package/dist/chunks/{location-service-map-6h1ernme.js → aisdk-03xyy9gs.js} +11 -11
- package/dist/chunks/{location-service-map-wtqp5rca.js → aisdk-0b48mj0s.js} +19 -19
- package/dist/chunks/{location-service-map-b795bzbv.js → aisdk-0c4bec69.js} +1 -1
- package/dist/chunks/{location-service-map-ktz1yp7f.js → aisdk-0dnv622j.js} +19 -19
- package/dist/chunks/{location-service-map-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-z6c3x22d.js → aisdk-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-service-map-b7b4ctej.js → aisdk-0ryd0fps.js} +5 -5
- package/dist/chunks/{location-service-map-5t6fafd4.js → aisdk-0sb9fsfg.js} +29 -29
- package/dist/chunks/{location-service-map-eda1mp39.js → aisdk-0t3s2fn9.js} +5 -5
- package/dist/chunks/{location-service-map-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-bge34x1m.js → aisdk-14xq2m8n.js} +26 -26
- package/dist/chunks/{location-service-map-yp2x3t23.js → aisdk-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-7yh4e7ss.js → aisdk-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-service-map-62mtkykz.js → aisdk-1bm8thm3.js} +4 -4
- package/dist/chunks/{location-service-map-66mvr3tw.js → aisdk-1bt5f7v6.js} +6 -6
- package/dist/chunks/{location-service-map-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-krfj817j.js → aisdk-1dpa61y6.js} +27 -27
- package/dist/chunks/{location-service-map-yf10kn3d.js → aisdk-1p7f10vm.js} +8 -8
- package/dist/chunks/{location-service-map-17gnabje.js → aisdk-1sn5eyys.js} +32 -32
- package/dist/chunks/{location-service-map-eggqfxmw.js → aisdk-1wvzk264.js} +15 -15
- package/dist/chunks/{location-service-map-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-whw0b61x.js → aisdk-2dfc2cab.js} +21 -21
- package/dist/chunks/{location-service-map-gs3s1a1g.js → aisdk-2eegacq4.js} +8 -8
- package/dist/chunks/{location-service-map-7dqw4kz8.js → aisdk-2k8khapm.js} +5 -5
- package/dist/chunks/{location-service-map-0j73fd1e.js → aisdk-2n9c3bf3.js} +11 -11
- package/dist/chunks/{location-service-map-ns4vjkyd.js → aisdk-2s63kwnj.js} +18 -18
- package/dist/chunks/{location-service-map-xmwwa52d.js → aisdk-2t5m642y.js} +5 -5
- package/dist/chunks/{location-service-map-h2b79v29.js → aisdk-3cegwx68.js} +2 -2
- package/dist/chunks/{location-service-map-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-rapdwame.js → aisdk-3h05j42r.js} +17 -17
- package/dist/chunks/{location-service-map-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-gy3v3m9v.js → aisdk-3jshf28d.js} +35 -35
- package/dist/chunks/{location-service-map-z3gh34g3.js → aisdk-3maez1s4.js} +11 -11
- package/dist/chunks/{location-service-map-kdfckzyx.js → aisdk-3qdbwked.js} +35 -35
- package/dist/chunks/{location-service-map-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-0tn2dqn2.js → aisdk-3t1h3w50.js} +15 -15
- package/dist/chunks/{location-service-map-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-e05wtj98.js → aisdk-3wjq7hve.js} +19 -19
- package/dist/chunks/{location-service-map-v0m7kjv3.js → aisdk-3z1y0bkf.js} +15 -15
- package/dist/chunks/{location-service-map-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-rnc49fc2.js → aisdk-437pdapv.js} +5 -5
- package/dist/chunks/{location-service-map-143qq2q9.js → aisdk-48kw51zw.js} +3 -3
- package/dist/chunks/{location-service-map-4a79q9fk.js → aisdk-49z4w76e.js} +23 -23
- package/dist/chunks/{location-service-map-ckke8bsh.js → aisdk-4df2hk9c.js} +15 -15
- package/dist/chunks/{location-service-map-cq0e7jrz.js → aisdk-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-service-map-34rw04q0.js → aisdk-4pbekngb.js} +39 -39
- package/dist/chunks/{location-service-map-613tc84b.js → aisdk-4rmq36t3.js} +30 -30
- package/dist/chunks/{location-service-map-2ccvkpx1.js → aisdk-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-gsgxb0qd.js → aisdk-4wc4zc8b.js} +34 -34
- package/dist/chunks/{location-service-map-y3cnzfcw.js → aisdk-4xa3f47s.js} +11 -11
- package/dist/chunks/{location-service-map-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-56gdpj1q.js → aisdk-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-service-map-6yz0wx8n.js → aisdk-57myy5jh.js} +5 -5
- package/dist/chunks/{location-service-map-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-10t1vvrx.js → aisdk-5gx855ha.js} +27 -27
- package/dist/chunks/{location-service-map-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/aisdk-5ma7k0xd.js +253 -0
- package/dist/chunks/{location-service-map-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-v1bshzbv.js → aisdk-5shd9zp0.js} +4 -4
- package/dist/chunks/{location-service-map-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-pbtkpxkp.js → aisdk-5vcny5p8.js} +15 -15
- package/dist/chunks/{location-service-map-vhdbs3a1.js → aisdk-5wcwvy2y.js} +12 -12
- package/dist/chunks/{location-service-map-dc7x1t2f.js → aisdk-6a5ajd7h.js} +13 -13
- package/dist/chunks/{location-service-map-07y2zfp9.js → aisdk-6a8nqym9.js} +54 -54
- package/dist/chunks/{location-service-map-p98ncs1z.js → aisdk-6e1tn556.js} +10 -10
- package/dist/chunks/{location-service-map-j4z37g3r.js → aisdk-6gqe9jz1.js} +4 -4
- package/dist/chunks/{location-service-map-qyzkbgen.js → aisdk-6k018w0t.js} +20 -20
- package/dist/chunks/{location-service-map-krmqkxhm.js → aisdk-6knzqnrj.js} +23 -23
- package/dist/chunks/{location-service-map-b1nsrqhe.js → aisdk-6mwxz3ga.js} +24 -24
- package/dist/chunks/{location-service-map-cbtv127h.js → aisdk-6v74vmxh.js} +6 -6
- package/dist/chunks/{location-service-map-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-nm3dz3wq.js → aisdk-6yywr33b.js} +5 -5
- package/dist/chunks/{location-service-map-xmx3w9c2.js → aisdk-6zq3rn09.js} +24 -24
- package/dist/chunks/{location-service-map-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-fyrzxvtg.js → aisdk-7gwse0xz.js} +11 -11
- package/dist/chunks/{location-service-map-fjhp2044.js → aisdk-7q8j5gfr.js} +20 -20
- package/dist/chunks/{location-service-map-9w37xrbm.js → aisdk-7yam4ecs.js} +40 -40
- package/dist/chunks/{location-service-map-1dvck2a7.js → aisdk-84h8c373.js} +2 -2
- package/dist/chunks/{location-service-map-84txncab.js → aisdk-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-12v3t7pj.js → aisdk-89s29mjw.js} +12 -12
- package/dist/chunks/{location-service-map-wwyhy73j.js → aisdk-8bjd8qen.js} +16 -16
- package/dist/chunks/{location-service-map-v4wjv8wb.js → aisdk-8c3wp5en.js} +30 -30
- package/dist/chunks/{location-service-map-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-twnyj2nz.js → aisdk-8d8qexrz.js} +27 -27
- package/dist/chunks/{location-service-map-s8gchy1y.js → aisdk-8gvs15vv.js} +16 -16
- package/dist/chunks/{location-service-map-vgepzxbh.js → aisdk-8qvzptz7.js} +4 -4
- package/dist/chunks/{location-service-map-1p07q0wb.js → aisdk-8sze2n9a.js} +8 -8
- package/dist/chunks/{location-service-map-ahf8jrpg.js → aisdk-8y3dmzgm.js} +14 -14
- package/dist/chunks/{location-service-map-gwmt3hf6.js → aisdk-8zknn4dr.js} +30 -30
- package/dist/chunks/{location-service-map-395tfjq6.js → aisdk-90qnz3yv.js} +20 -44
- package/dist/chunks/{location-service-map-82tw8e42.js → aisdk-93wjmk3a.js} +9 -9
- package/dist/chunks/{location-service-map-sxzvkvgj.js → aisdk-9ae44cfy.js} +6 -6
- package/dist/chunks/{location-service-map-f73rw7rj.js → aisdk-9h25sf2d.js} +13 -13
- package/dist/chunks/{location-service-map-vdvmyr32.js → aisdk-9mjjcyq4.js} +18 -18
- package/dist/chunks/{location-service-map-560ev8b8.js → aisdk-9pqz4dxm.js} +32 -32
- package/dist/chunks/{location-service-map-8saq18sj.js → aisdk-9qhy08mj.js} +6 -6
- package/dist/chunks/{location-service-map-64evdrs9.js → aisdk-9rrhhy6v.js} +3 -3
- package/dist/chunks/{location-service-map-5fjhcnze.js → aisdk-9tx13qyn.js} +33 -33
- package/dist/chunks/{location-service-map-1z6v8c1m.js → aisdk-9w2rb4qq.js} +51 -51
- package/dist/chunks/{location-service-map-desyrp9f.js → aisdk-9wdgx701.js} +13 -13
- package/dist/chunks/{location-service-map-9hj6ajcg.js → aisdk-9xrz6b72.js} +11 -11
- package/dist/chunks/{location-service-map-s8x0g29c.js → aisdk-9ya6kz46.js} +3 -3
- package/dist/chunks/{location-service-map-bxsvygap.js → aisdk-a0kbr6nb.js} +3 -3
- package/dist/chunks/{location-service-map-9028vjky.js → aisdk-a6fcdvdc.js} +19 -19
- package/dist/chunks/{location-service-map-r1810nq3.js → aisdk-a6y0098n.js} +31 -31
- package/dist/chunks/{location-service-map-033x7sps.js → aisdk-a7swvrna.js} +24 -24
- package/dist/chunks/{location-service-map-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-mnh7yhes.js → aisdk-aefy06a5.js} +21 -21
- package/dist/chunks/{location-service-map-8b314kvc.js → aisdk-assmmv35.js} +11 -11
- package/dist/chunks/{location-service-map-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-smh0ga8y.js → aisdk-behymzbm.js} +15 -15
- package/dist/chunks/{location-service-map-4j15tkb2.js → aisdk-bmccx3ef.js} +2 -2
- package/dist/chunks/{location-service-map-9epjyw8n.js → aisdk-bqe0fh3j.js} +18 -18
- package/dist/chunks/{location-service-map-3c5h48k2.js → aisdk-br5e2yhe.js} +33 -33
- package/dist/chunks/{location-service-map-kgen349b.js → aisdk-c2c991ad.js} +9 -9
- package/dist/chunks/{location-service-map-wjay1z98.js → aisdk-cakt20m7.js} +35 -35
- package/dist/chunks/{location-service-map-ts0gh8et.js → aisdk-cbbtdf47.js} +11 -11
- package/dist/chunks/{location-service-map-s0y0yn56.js → aisdk-cecg6s68.js} +6 -6
- package/dist/chunks/{location-service-map-2g1wxhtt.js → aisdk-cgf4rh30.js} +15 -15
- package/dist/chunks/{location-service-map-91vfa48t.js → aisdk-ct8pdv1k.js} +13 -9
- package/dist/chunks/{location-service-map-z8ezx559.js → aisdk-d9gny8sg.js} +11 -11
- package/dist/chunks/{location-service-map-mxvxcxwy.js → aisdk-db2wf4at.js} +4 -4
- package/dist/chunks/{location-service-map-6hsaqmjv.js → aisdk-ddy9q9nr.js} +17 -17
- package/dist/chunks/{location-service-map-qnq6130q.js → aisdk-dfwsmfv2.js} +25 -25
- package/dist/chunks/{location-service-map-2f8dg7r9.js → aisdk-dgxhd3em.js} +3 -3
- package/dist/chunks/{location-service-map-dpkg50ah.js → aisdk-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-cszmsfrf.js → aisdk-dss8j0g9.js} +9 -9
- package/dist/chunks/{location-service-map-x97kt9p9.js → aisdk-dxxppstj.js} +45 -45
- package/dist/chunks/{location-service-map-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-yks67vbm.js → aisdk-eh3890fj.js} +14 -14
- package/dist/chunks/{location-service-map-a20kw498.js → aisdk-em1sad3a.js} +10 -10
- package/dist/chunks/{location-service-map-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-wcpje083.js → aisdk-f00eh3k7.js} +17 -17
- package/dist/chunks/{location-service-map-71az546q.js → aisdk-f75zav2x.js} +2 -2
- package/dist/chunks/{location-service-map-53bgxfmk.js → aisdk-f7fdn0kg.js} +9 -9
- package/dist/chunks/{location-service-map-a1tm9zkc.js → aisdk-f91d9pxj.js} +4 -4
- package/dist/chunks/{location-service-map-4rb0mg85.js → aisdk-fj3g8rr2.js} +22 -22
- package/dist/chunks/{location-service-map-jzmk770h.js → aisdk-fn39hfgv.js} +11 -11
- package/dist/chunks/{location-service-map-b4rapxnm.js → aisdk-fxa9adss.js} +9 -9
- package/dist/chunks/{location-service-map-8hw5gh57.js → aisdk-g6jq9ygr.js} +13 -13
- package/dist/chunks/{location-service-map-mvzc1faf.js → aisdk-g85w27mn.js} +4 -4
- package/dist/chunks/{location-service-map-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-k70p9jzb.js → aisdk-gh5z95q3.js} +9 -9
- package/dist/chunks/{location-service-map-aynabq2n.js → aisdk-gr0t09j6.js} +24 -24
- package/dist/chunks/{location-service-map-8nsp40k9.js → aisdk-gr9vbgbn.js} +32 -36
- package/dist/chunks/{location-service-map-vgw03me9.js → aisdk-gzbn8pwj.js} +14 -14
- package/dist/chunks/{location-service-map-y5rf7nzv.js → aisdk-gzq5apsj.js} +4 -4
- package/dist/chunks/{location-service-map-32rvz8xj.js → aisdk-h29kybn8.js} +26 -26
- package/dist/chunks/{location-service-map-frxn4dna.js → aisdk-h3k0sdzw.js} +9 -9
- package/dist/chunks/{location-service-map-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-78sc1d6s.js → aisdk-hd8vw2pw.js} +1 -1
- package/dist/chunks/{location-service-map-nbhr2m4b.js → aisdk-hk7kwd3n.js} +10 -10
- package/dist/chunks/{location-service-map-7bgx5xkz.js → aisdk-hpgf27jd.js} +19 -19
- package/dist/chunks/{location-service-map-bmqeg3pf.js → aisdk-hrdkhc7y.js} +12 -12
- package/dist/chunks/{location-service-map-rrpq0de9.js → aisdk-hs1x7rht.js} +5 -5
- package/dist/chunks/{location-service-map-kjtqqvjp.js → aisdk-htr910wh.js} +5 -5
- package/dist/chunks/{location-service-map-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/aisdk-j716y2ke.js +26 -0
- package/dist/chunks/{location-service-map-906tg66d.js → aisdk-j9hprypc.js} +9 -9
- package/dist/chunks/{location-service-map-ajtvjqy3.js → aisdk-jc2v6bqp.js} +3 -3
- package/dist/chunks/{location-service-map-nsa9c7jf.js → aisdk-jfabt9j2.js} +3 -3
- package/dist/chunks/{location-service-map-qvvyz0z2.js → aisdk-jgehjg0b.js} +4 -4
- package/dist/chunks/{location-service-map-5jjjy8t8.js → aisdk-jr107qjj.js} +11 -11
- package/dist/chunks/{location-service-map-50bm5rnf.js → aisdk-jrs4jqxb.js} +18 -18
- package/dist/chunks/{location-service-map-zz4sn9q4.js → aisdk-jsn8rgp9.js} +22 -22
- package/dist/chunks/{location-service-map-0h2462b6.js → aisdk-jybm87zg.js} +62 -62
- package/dist/chunks/{location-service-map-9jrbrbxe.js → aisdk-jyt207sg.js} +5 -5
- package/dist/chunks/{location-service-map-qzb16wfa.js → aisdk-jzv7bt4q.js} +12 -12
- package/dist/chunks/{location-service-map-f4mqptv1.js → aisdk-k0cjp556.js} +11 -11
- package/dist/chunks/{location-service-map-9e5bzkjp.js → aisdk-kb9j3d72.js} +3 -3
- package/dist/chunks/{location-service-map-5ebw3s4g.js → aisdk-kbj2dgab.js} +5 -5
- package/dist/chunks/{location-service-map-gpkzke8p.js → aisdk-kcbw7n6t.js} +39 -39
- package/dist/chunks/{location-service-map-5kr8sr9w.js → aisdk-kcz08xr1.js} +90 -90
- package/dist/chunks/{location-service-map-dsp31b57.js → aisdk-kvc9t43z.js} +48 -48
- package/dist/chunks/{location-service-map-3wbj7zy6.js → aisdk-kycywee3.js} +25 -25
- package/dist/chunks/{location-service-map-cvkm58k9.js → aisdk-kyrxj7za.js} +8 -8
- package/dist/chunks/{location-service-map-vd0hs1zq.js → aisdk-kyw4yk03.js} +5 -5
- package/dist/chunks/{location-service-map-hy66f6me.js → aisdk-kz5v4dgt.js} +9 -9
- package/dist/chunks/{location-service-map-v15fws8v.js → aisdk-m29t95dt.js} +15 -15
- package/dist/chunks/{location-service-map-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-133f32ka.js → aisdk-m8p4v77q.js} +17 -17
- package/dist/chunks/{location-service-map-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-mrktx663.js → aisdk-mj797mxr.js} +89 -89
- package/dist/chunks/{location-service-map-2pnhn36q.js → aisdk-mjymc32g.js} +21 -21
- package/dist/chunks/{location-service-map-mzcs760k.js → aisdk-mnak9aqv.js} +11 -11
- package/dist/chunks/{location-service-map-6cmgmd4a.js → aisdk-mq30n6s8.js} +7 -7
- package/dist/chunks/{location-service-map-tzg5e4wv.js → aisdk-n56m9p0x.js} +7 -7
- package/dist/chunks/{location-service-map-h48t94e1.js → aisdk-n8tmgszg.js} +20 -20
- package/dist/chunks/{location-service-map-pq4fkvn9.js → aisdk-nftjp2x7.js} +37 -35
- package/dist/chunks/{location-service-map-yhgxvs9m.js → aisdk-nhqjn2vx.js} +8 -8
- package/dist/chunks/{location-service-map-520y73pd.js → aisdk-nxse7jqn.js} +9 -9
- package/dist/chunks/{location-service-map-hdsbstzs.js → aisdk-p14pa2ds.js} +10 -10
- package/dist/chunks/{location-service-map-rc3vp2rk.js → aisdk-p20mns6e.js} +37 -37
- package/dist/chunks/{location-service-map-46adtf6k.js → aisdk-p3brc92h.js} +10 -10
- package/dist/chunks/{location-service-map-mn05aezp.js → aisdk-p8z1ye9z.js} +28 -28
- package/dist/chunks/{location-service-map-96q8bx9w.js → aisdk-pay66dkj.js} +7 -7
- package/dist/chunks/{location-service-map-phstrbs2.js → aisdk-phstrbs2.js} +1 -1
- package/dist/chunks/{location-service-map-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-np5yfqm9.js → aisdk-pm4y3ma3.js} +23 -23
- package/dist/chunks/{location-service-map-sajsdr88.js → aisdk-pqvsa0m5.js} +17 -17
- package/dist/chunks/{location-service-map-nj0hjdtg.js → aisdk-pvdnhd7d.js} +4 -4
- package/dist/chunks/{location-service-map-t4zv7akb.js → aisdk-py44f954.js} +45 -45
- package/dist/chunks/{location-service-map-0j77ygfz.js → aisdk-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-service-map-pbbf8beh.js → aisdk-q3vbmw2r.js} +16 -16
- package/dist/chunks/aisdk-q509s3k3.js +18 -0
- package/dist/chunks/{location-service-map-rnps2brk.js → aisdk-q6df2nnv.js} +30 -30
- package/dist/chunks/{location-service-map-be97bsse.js → aisdk-q79a35yd.js} +29 -29
- package/dist/chunks/{location-service-map-g27m04hy.js → aisdk-qbp6mmhv.js} +35 -35
- package/dist/chunks/{location-service-map-d4he2qe1.js → aisdk-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-service-map-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-hd0bdjsh.js → aisdk-qtx1tvv3.js} +30 -30
- package/dist/chunks/{location-service-map-xyafkbt0.js → aisdk-qxjc9qry.js} +3 -3
- package/dist/chunks/{location-service-map-rabyk6ss.js → aisdk-r0z7j6vk.js} +64 -64
- package/dist/chunks/{location-service-map-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-g6j9t2jv.js → aisdk-rqa1jxse.js} +2 -2
- package/dist/chunks/{location-service-map-9xf3evrj.js → aisdk-rr4r98ze.js} +40 -40
- package/dist/chunks/{location-service-map-tahc9pmx.js → aisdk-s5q8aekg.js} +5 -5
- package/dist/chunks/{location-service-map-bee6msjx.js → aisdk-s6x49f77.js} +186 -186
- package/dist/chunks/{location-service-map-84fey7wp.js → aisdk-sgckyqsx.js} +7 -7
- package/dist/chunks/{location-service-map-y56ehv6b.js → aisdk-sk2hk6tq.js} +9 -9
- package/dist/chunks/{location-service-map-t2wk90xf.js → aisdk-sm29cz24.js} +44 -44
- package/dist/chunks/{location-service-map-41v30afh.js → aisdk-spqcpneg.js} +6 -6
- package/dist/chunks/{location-service-map-wqxhcm17.js → aisdk-sqvzcy4n.js} +4 -4
- package/dist/chunks/{location-service-map-62w77xhp.js → aisdk-sx8602r5.js} +12 -12
- package/dist/chunks/{location-service-map-06x8he3q.js → aisdk-t2az9yje.js} +4 -4
- package/dist/chunks/{location-service-map-xtg4sac9.js → aisdk-t3jpyeck.js} +34 -34
- package/dist/chunks/{location-service-map-q63kc7bn.js → aisdk-t53nnzzp.js} +8 -8
- package/dist/chunks/{location-service-map-586dhpg4.js → aisdk-t8pc6wh2.js} +7 -7
- package/dist/chunks/{location-service-map-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-vwr7v31p.js → aisdk-tcmas9bs.js} +17 -17
- package/dist/chunks/{location-service-map-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-ymyjxh18.js → aisdk-tj3h26dv.js} +30 -30
- package/dist/chunks/{location-service-map-8wrnx5a9.js → aisdk-tk83hsw6.js} +4 -4
- package/dist/chunks/{location-service-map-96dqts0d.js → aisdk-trw0fs0p.js} +5 -5
- package/dist/chunks/{location-service-map-59p7gm1v.js → aisdk-tvfff7cr.js} +25 -25
- package/dist/chunks/{location-service-map-55negpg1.js → aisdk-ty3jjer1.js} +24 -24
- package/dist/chunks/{location-service-map-fpecnkgp.js → aisdk-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-service-map-1hqv1s8z.js → aisdk-v1hv4mzp.js} +22 -22
- package/dist/chunks/{location-service-map-cqfs93hb.js → aisdk-v444jzde.js} +3 -3
- package/dist/chunks/{location-service-map-qa3qhgw8.js → aisdk-v5dkyp31.js} +4 -4
- package/dist/chunks/{location-service-map-3b485cc9.js → aisdk-vbyft8vg.js} +20 -20
- package/dist/chunks/{location-service-map-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-7rwqf82v.js → aisdk-vgx6weyf.js} +8 -8
- package/dist/chunks/{location-service-map-tm1x6fre.js → aisdk-vh2vhny7.js} +8 -8
- package/dist/chunks/{location-service-map-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-yeg9y40q.js → aisdk-w02d2fyt.js} +11 -11
- package/dist/chunks/{location-service-map-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/aisdk-w3yj0m11.js +507 -0
- package/dist/chunks/{location-service-map-3vjabw50.js → aisdk-w5x31c59.js} +23 -23
- package/dist/chunks/{location-service-map-re4s1yam.js → aisdk-wc5z2p99.js} +17 -17
- package/dist/chunks/{location-service-map-xsgjgyxe.js → aisdk-wcjyc11q.js} +8 -8
- package/dist/chunks/{location-service-map-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-jewzahs7.js → aisdk-wj76ss2k.js} +4 -4
- package/dist/chunks/{location-service-map-a8b9z964.js → aisdk-wmcsc5mk.js} +25 -25
- package/dist/chunks/{location-service-map-hf17jqb6.js → aisdk-wn3meyzr.js} +29 -29
- package/dist/chunks/{location-service-map-0gdmqesm.js → aisdk-wv396vej.js} +8 -8
- package/dist/chunks/{location-service-map-fxbae48g.js → aisdk-x45sjvdx.js} +1 -1
- package/dist/chunks/{location-service-map-57b9ws8p.js → aisdk-xfkkasph.js} +7 -7
- package/dist/chunks/{location-service-map-77gq4haj.js → aisdk-xfpeweh8.js} +33 -33
- package/dist/chunks/{location-service-map-xkntkrq7.js → aisdk-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-service-map-74wszxt4.js → aisdk-xva9qz52.js} +3 -3
- package/dist/chunks/{location-service-map-32tj18ed.js → aisdk-xvqn9dzj.js} +46 -46
- package/dist/chunks/{location-service-map-rfq80a3s.js → aisdk-xx8ahhv3.js} +9 -9
- package/dist/chunks/{location-service-map-2vw1vn8h.js → aisdk-xypds8wd.js} +11 -11
- package/dist/chunks/{location-service-map-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-c9j62see.js → aisdk-ymd36yws.js} +22 -22
- package/dist/chunks/{location-service-map-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-sjtbnqvp.js → aisdk-z9jzfkhb.js} +12 -12
- package/dist/chunks/{location-service-map-2kvpt9hx.js → aisdk-zbdgca3d.js} +12 -12
- package/dist/chunks/{location-service-map-62ebmhy1.js → aisdk-zpvnee7e.js} +41 -41
- package/dist/chunks/{location-service-map-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-ybp4bmjn.js → aisdk-zvtdpth6.js} +58 -58
- package/dist/chunks/{location-service-map-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-zyk1yjk8.js → aisdk-zyk1yjk8.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +90 -90
- 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 +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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 +354 -355
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -9
- package/dist/chunks/location-service-map-669tq793.js +0 -15
- package/dist/chunks/location-service-map-by5v678g.js +0 -18
- package/dist/chunks/location-service-map-csprr9mj.js +0 -507
- package/dist/chunks/location-service-map-r3024ajp.js +0 -253
- package/dist/chunks/location-service-map-yhwrsasc.js +0 -26
- package/dist/plugin/provider/gateway.js +0 -7
- package/dist/types/plugin/provider/gateway.d.ts +0 -1
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./aisdk-vbyft8vg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service58;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-nftjp2x7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info17,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-br5e2yhe.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info17.make({
|
|
98
|
+
...Info17.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./aisdk-vbyft8vg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./aisdk-7yam4ecs.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-1bt5f7v6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin23
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin23 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service57;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service58;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin14 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin23, exports_compatibility };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-v444jzde.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./aisdk-89s29mjw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node38
|
|
12
|
+
} from "./aisdk-8gvs15vv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service34,
|
|
15
|
+
node36
|
|
16
|
+
} from "./aisdk-9ae44cfy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./aisdk-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./aisdk-t2az9yje.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service74,
|
|
29
|
+
node78
|
|
30
|
+
} from "./aisdk-gzbn8pwj.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-trw0fs0p.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-pm4y3ma3.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service31,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer13,
|
|
47
|
+
node: () => node34,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service31 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service74;
|
|
64
|
+
const instances = yield* Service34;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const jobs = yield* Service36;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service31.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node34 = makeGlobalNode({
|
|
127
|
+
service: Service31,
|
|
128
|
+
layer: layer13,
|
|
129
|
+
deps: [node78, node36, node87, node88, node38]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service31, terminal2, layer13, node34, noopLayer2, exports_execution };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-48kw51zw.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-v444jzde.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./aisdk-89s29mjw.js";
|
|
18
|
+
import {
|
|
15
19
|
Service81,
|
|
16
20
|
node85
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service79,
|
|
20
|
-
node83
|
|
21
|
-
} from "./location-service-map-34rw04q0.js";
|
|
21
|
+
} from "./aisdk-4pbekngb.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service34,
|
|
24
|
+
node36
|
|
25
|
+
} from "./aisdk-9ae44cfy.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-kb9j3d72.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node35
|
|
34
|
+
} from "./aisdk-pm4y3ma3.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./aisdk-sqvzcy4n.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-ddy9q9nr.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node19
|
|
47
|
+
} from "./aisdk-hpgf27jd.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node41
|
|
51
|
+
} from "./aisdk-jr107qjj.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./aisdk-h3k0sdzw.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service74,
|
|
68
|
+
node78
|
|
69
|
+
} from "./aisdk-gzbn8pwj.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service36,
|
|
72
|
+
node38
|
|
73
|
+
} from "./aisdk-8gvs15vv.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service31,
|
|
76
|
+
node34
|
|
77
|
+
} from "./aisdk-kcbw7n6t.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./aisdk-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service24,
|
|
83
|
+
node28
|
|
84
|
+
} from "./aisdk-j9hprypc.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./aisdk-sx8602r5.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./aisdk-kyrxj7za.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service78,
|
|
93
|
+
node82
|
|
94
|
+
} from "./aisdk-nxse7jqn.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service15,
|
|
100
|
+
node18
|
|
101
|
+
} from "./aisdk-zvtdpth6.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service55,
|
|
104
|
+
node58
|
|
105
|
+
} from "./aisdk-vgx6weyf.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./aisdk-9pqz4dxm.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./aisdk-7gwse0xz.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service14,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node17
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service14 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service31;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service24;
|
|
163
|
+
const store = yield* Service74;
|
|
164
|
+
const instances = yield* Service34;
|
|
165
|
+
const moves = yield* Service15;
|
|
166
|
+
const jobs = yield* Service36;
|
|
167
|
+
const environments = yield* Service55;
|
|
168
|
+
const locations = yield* Service78;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service14.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service34, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service34, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node17 = Node.makeGlobalNode({
|
|
331
|
+
service: Service14,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node38,
|
|
335
|
+
node58,
|
|
336
336
|
node88,
|
|
337
|
+
node87,
|
|
337
338
|
node85,
|
|
338
|
-
node83,
|
|
339
|
-
node41,
|
|
340
339
|
node34,
|
|
340
|
+
node28,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node78,
|
|
343
|
+
node36,
|
|
344
|
+
node35,
|
|
345
|
+
node18,
|
|
346
|
+
node19,
|
|
347
|
+
node82,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node41
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service14, node17, exports_session };
|