@opencode/core 0.0.0-dev-21289 → 0.0.0-dev-21296
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-retry-n6sdcjf7.js → aisdk-native-004eaj6n.js} +43 -43
- package/dist/chunks/{model-retry-8npnpzra.js → aisdk-native-0c1e5scv.js} +3 -3
- package/dist/chunks/{model-retry-m0z9j2xs.js → aisdk-native-0jqv4wmc.js} +37 -37
- package/dist/chunks/{model-retry-m4gqpe3z.js → aisdk-native-0scb3md8.js} +13 -13
- package/dist/chunks/{model-retry-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-retry-e3jwh7ys.js → aisdk-native-0wd36ghc.js} +4 -4
- package/dist/chunks/{model-retry-892mrmp0.js → aisdk-native-0xezjjjn.js} +8 -8
- package/dist/chunks/{model-retry-7fccas0j.js → aisdk-native-17ajdbzk.js} +34 -34
- package/dist/chunks/{model-retry-jv6mm5r1.js → aisdk-native-19gt07c1.js} +11 -11
- package/dist/chunks/{model-retry-gxfsy275.js → aisdk-native-1g2gcyj5.js} +1 -1
- package/dist/chunks/{model-retry-bhey597w.js → aisdk-native-1q9mn8hp.js} +23 -23
- package/dist/chunks/{model-retry-ktbcyka7.js → aisdk-native-1th8yvsq.js} +4 -4
- package/dist/chunks/{model-retry-fw7x2wjw.js → aisdk-native-1z82t5n0.js} +6 -6
- package/dist/chunks/{model-retry-1ze9gtzp.js → aisdk-native-1ze9gtzp.js} +4 -4
- package/dist/chunks/{model-retry-zkkxzzm7.js → aisdk-native-2087xn0w.js} +15 -15
- package/dist/chunks/{model-retry-rkmhvsr4.js → aisdk-native-2098emdn.js} +30 -30
- package/dist/chunks/{model-retry-re80xzqk.js → aisdk-native-24vq2c21.js} +35 -35
- package/dist/chunks/{model-retry-fwgra7yh.js → aisdk-native-2e7kk2bz.js} +8 -8
- package/dist/chunks/{model-retry-7dqw4kz8.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{model-retry-xagp7a1s.js → aisdk-native-349kc19m.js} +18 -18
- package/dist/chunks/{model-retry-s3j5qb0t.js → aisdk-native-34anad20.js} +18 -18
- package/dist/chunks/{model-retry-hadpnrkv.js → aisdk-native-37jxr4m7.js} +27 -27
- package/dist/chunks/{model-retry-k6jeefta.js → aisdk-native-3fzs49xt.js} +3 -3
- package/dist/chunks/{model-retry-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3hwn7j4h.js → aisdk-native-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-retry-r0ena7ce.js → aisdk-native-3qa76a24.js} +25 -25
- package/dist/chunks/{model-retry-73wqhfdm.js → aisdk-native-3qrzxmvj.js} +9 -9
- package/dist/chunks/{model-retry-cv3t9aez.js → aisdk-native-3rg3ay0p.js} +9 -9
- package/dist/chunks/{model-retry-2k0hjz8m.js → aisdk-native-3sc131mt.js} +4 -4
- package/dist/chunks/{model-retry-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-retry-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-retry-qj8x2vxm.js → aisdk-native-3w4y5t9t.js} +11 -11
- package/dist/chunks/{model-retry-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-retry-7sp0jpsz.js → aisdk-native-409scgpf.js} +7 -7
- package/dist/chunks/{model-retry-wn671ba5.js → aisdk-native-40kx92kj.js} +77 -77
- package/dist/chunks/{model-retry-yxx1qbg8.js → aisdk-native-41x0g12r.js} +6 -6
- package/dist/chunks/{model-retry-xjt2m7da.js → aisdk-native-4bf1vt5e.js} +6 -6
- package/dist/chunks/{model-retry-461nxmbv.js → aisdk-native-4ekscj25.js} +5 -5
- package/dist/chunks/{model-retry-t39p8j64.js → aisdk-native-4gr0t1kf.js} +13 -13
- package/dist/chunks/{model-retry-vdetfpsp.js → aisdk-native-4pjp27mg.js} +28 -28
- package/dist/chunks/{model-retry-99wvww9h.js → aisdk-native-53hfdb6m.js} +21 -21
- package/dist/chunks/{model-retry-xe38j9wy.js → aisdk-native-53n3eh82.js} +25 -25
- package/dist/chunks/{model-retry-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
- package/dist/chunks/{model-retry-cnn1wj5a.js → aisdk-native-5dv05ep0.js} +26 -26
- package/dist/chunks/{model-retry-gebtr55s.js → aisdk-native-5e15319b.js} +5 -5
- package/dist/chunks/{model-retry-c4zg4w5q.js → aisdk-native-5ghj4hqh.js} +17 -17
- package/dist/chunks/{model-retry-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-retry-fqqv62af.js → aisdk-native-5vscj5fh.js} +16 -16
- package/dist/chunks/{model-retry-km5jseh3.js → aisdk-native-5zdfhw0y.js} +27 -27
- package/dist/chunks/aisdk-native-60hy51x2.js +257 -0
- package/dist/chunks/{model-retry-a5mx5mz2.js → aisdk-native-65x6c591.js} +2 -2
- package/dist/chunks/{model-retry-ef28kdsf.js → aisdk-native-66jvax92.js} +11 -11
- package/dist/chunks/{model-retry-6827pfxn.js → aisdk-native-6827pfxn.js} +1 -1
- package/dist/chunks/{model-retry-yvvvp4gn.js → aisdk-native-69j91c1q.js} +8 -8
- package/dist/chunks/{model-retry-61pea42y.js → aisdk-native-6ab1jen0.js} +8 -8
- package/dist/chunks/{model-retry-4psrcf1w.js → aisdk-native-6ebgrc3y.js} +4 -4
- package/dist/chunks/{model-retry-1p07q0wb.js → aisdk-native-6pc27hjz.js} +8 -8
- package/dist/chunks/{model-retry-v7z2bvyd.js → aisdk-native-6t4hr8r6.js} +4 -4
- package/dist/chunks/{model-retry-6xb47vfp.js → aisdk-native-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-retry-j8jw8bvb.js → aisdk-native-756c2e5g.js} +21 -21
- package/dist/chunks/{model-retry-775gj3j1.js → aisdk-native-775gj3j1.js} +2 -2
- package/dist/chunks/{model-retry-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-vjtn814f.js → aisdk-native-7gw5bh7d.js} +19 -19
- package/dist/chunks/{model-retry-jq37yr04.js → aisdk-native-7karjvyy.js} +9 -9
- package/dist/chunks/{model-retry-b27vhd2z.js → aisdk-native-7sbkp4xb.js} +4 -4
- package/dist/chunks/{model-retry-f1kd18ve.js → aisdk-native-7vt3v0c3.js} +4 -4
- package/dist/chunks/{model-retry-mcgfs8g2.js → aisdk-native-7xhhckav.js} +11 -11
- package/dist/chunks/{model-retry-5ze9zbmh.js → aisdk-native-7xqwmsh4.js} +10 -10
- package/dist/chunks/{model-retry-84txncab.js → aisdk-native-84txncab.js} +1 -1
- package/dist/chunks/{model-retry-3hskxyfj.js → aisdk-native-8b1csnkw.js} +14 -14
- package/dist/chunks/{model-retry-vjh35t9b.js → aisdk-native-8e5ng5z0.js} +16 -16
- package/dist/chunks/{model-retry-fqyqba4e.js → aisdk-native-8esrbvwc.js} +14 -14
- package/dist/chunks/{model-retry-8m6m0r52.js → aisdk-native-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-retry-8mywswrd.js → aisdk-native-8mywswrd.js} +1 -1
- package/dist/chunks/{model-retry-an6q6vkd.js → aisdk-native-8n5bt5nm.js} +23 -23
- package/dist/chunks/{model-retry-t01qgdv4.js → aisdk-native-8wy7662d.js} +17 -17
- package/dist/chunks/{model-retry-02w8hjv9.js → aisdk-native-8x5rkv0h.js} +11 -11
- package/dist/chunks/{model-retry-ydma693n.js → aisdk-native-8yj6gt86.js} +19 -19
- package/dist/chunks/{model-retry-m3vs2jhj.js → aisdk-native-8zzeef0r.js} +13 -13
- package/dist/chunks/{model-retry-ebs8qv75.js → aisdk-native-937m0y5f.js} +10 -10
- package/dist/chunks/{model-retry-fxjva6qe.js → aisdk-native-9487wnr3.js} +3 -3
- package/dist/chunks/{model-retry-3tnvd6qs.js → aisdk-native-95yg8akc.js} +21 -21
- package/dist/chunks/{model-retry-0bw8y30e.js → aisdk-native-96vvhf26.js} +51 -51
- package/dist/chunks/{model-retry-y3qxx51z.js → aisdk-native-9723mvds.js} +12 -12
- package/dist/chunks/{model-retry-3dt4tzwg.js → aisdk-native-9bh5q6pj.js} +2 -2
- package/dist/chunks/aisdk-native-9dv7jab0.js +517 -0
- package/dist/chunks/{model-retry-hc9hnsc9.js → aisdk-native-9ganr053.js} +14 -14
- package/dist/chunks/{model-retry-6xymw6hf.js → aisdk-native-9ham2w87.js} +14 -14
- package/dist/chunks/{model-retry-wcgsvnj5.js → aisdk-native-9jphx3mb.js} +8 -8
- package/dist/chunks/{model-retry-gx4mz6q7.js → aisdk-native-a0dwc44h.js} +51 -51
- package/dist/chunks/{model-retry-7v6vae4w.js → aisdk-native-a20pjse5.js} +3 -3
- package/dist/chunks/{model-retry-9pf7je19.js → aisdk-native-a2vq6s7f.js} +3 -3
- package/dist/chunks/{model-retry-hj389172.js → aisdk-native-a3bsrsd6.js} +1 -1
- package/dist/chunks/{model-retry-h6n0e19c.js → aisdk-native-a50454pt.js} +97 -97
- package/dist/chunks/{model-retry-cbrfz1mf.js → aisdk-native-ab3hvh4n.js} +304 -304
- package/dist/chunks/{model-retry-snxa7hz3.js → aisdk-native-ae2bqj1x.js} +5 -5
- package/dist/chunks/{model-retry-c77dabg0.js → aisdk-native-ahga06gf.js} +13 -13
- package/dist/chunks/{model-retry-27dhaw8v.js → aisdk-native-asjjsc90.js} +48 -48
- package/dist/chunks/{model-retry-a1hr7aq8.js → aisdk-native-avj3yf7v.js} +3 -3
- package/dist/chunks/{model-retry-7jdsj2a9.js → aisdk-native-axe3mf62.js} +3 -3
- package/dist/chunks/{model-retry-mhgn79e1.js → aisdk-native-azmw4fcy.js} +52 -52
- package/dist/chunks/{model-retry-e4m4ah41.js → aisdk-native-b1yzqvdj.js} +31 -31
- package/dist/chunks/{model-retry-7etyqpkv.js → aisdk-native-bc1xqbpd.js} +7 -7
- package/dist/chunks/{model-retry-b2zbab51.js → aisdk-native-brek2qp6.js} +9 -9
- package/dist/chunks/{model-retry-bzeyqsqd.js → aisdk-native-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-retry-c1fqxshp.js → aisdk-native-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-retry-7pg7e456.js → aisdk-native-c5ggqzvz.js} +12 -12
- package/dist/chunks/{model-retry-ft3hqk2c.js → aisdk-native-c765mh8b.js} +9 -9
- package/dist/chunks/{model-retry-v91zw3m9.js → aisdk-native-cvjsq3wy.js} +14 -14
- package/dist/chunks/{model-retry-kzqw00rs.js → aisdk-native-dgm2qr8a.js} +16 -16
- package/dist/chunks/{model-retry-b724djfs.js → aisdk-native-dm07sh71.js} +18 -18
- package/dist/chunks/{model-retry-sz6fjq3m.js → aisdk-native-dpqarmsa.js} +5 -5
- package/dist/chunks/{model-retry-25yddszk.js → aisdk-native-dq407baf.js} +6 -6
- package/dist/chunks/{model-retry-qv0gwb50.js → aisdk-native-dqs3mz6s.js} +26 -26
- package/dist/chunks/{model-retry-57b9ws8p.js → aisdk-native-drwq78ky.js} +5 -5
- package/dist/chunks/{model-retry-dxqvx2bd.js → aisdk-native-dted5cxw.js} +25 -25
- package/dist/chunks/{model-retry-v15gsnts.js → aisdk-native-dtkq61nx.js} +50 -50
- package/dist/chunks/{model-retry-q7gr6qfd.js → aisdk-native-dw4a8ax5.js} +22 -22
- package/dist/chunks/{model-retry-frsszzbj.js → aisdk-native-dwc12cgc.js} +14 -14
- package/dist/chunks/{model-retry-xhhxc1wd.js → aisdk-native-dyvax4f1.js} +3 -3
- package/dist/chunks/{model-retry-wj5d0sg5.js → aisdk-native-e7qbyzsc.js} +23 -23
- package/dist/chunks/{model-retry-nma959mg.js → aisdk-native-e80seqcp.js} +3 -3
- package/dist/chunks/{model-retry-eej6y6fw.js → aisdk-native-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-retry-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-retry-2g47h04h.js → aisdk-native-eh24tkg1.js} +29 -29
- package/dist/chunks/{model-retry-wksg1me0.js → aisdk-native-ehb6zgzn.js} +22 -22
- package/dist/chunks/{model-retry-yg89wztc.js → aisdk-native-es0z8ca2.js} +11 -11
- package/dist/chunks/{model-retry-gchapswt.js → aisdk-native-etf771kz.js} +8 -8
- package/dist/chunks/{model-retry-0wcqedam.js → aisdk-native-evvzn8t1.js} +36 -36
- package/dist/chunks/{model-retry-heq5p5e1.js → aisdk-native-f5pe91sd.js} +4 -4
- package/dist/chunks/{model-retry-197b73fz.js → aisdk-native-f74fvsr6.js} +44 -44
- package/dist/chunks/{model-retry-3htr7rzc.js → aisdk-native-fc146j8e.js} +23 -23
- package/dist/chunks/{model-retry-fcy631f0.js → aisdk-native-fcy631f0.js} +1 -1
- package/dist/chunks/{model-retry-bxqk5pf5.js → aisdk-native-g686f6pq.js} +9 -9
- package/dist/chunks/{model-retry-kvpdra3r.js → aisdk-native-gb6t5evv.js} +25 -25
- package/dist/chunks/{model-retry-dxt0ht33.js → aisdk-native-gcykmc2m.js} +20 -20
- package/dist/chunks/{model-retry-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-retry-qq7kxqk9.js → aisdk-native-gfa47pmv.js} +50 -50
- package/dist/chunks/{model-retry-qne3fa44.js → aisdk-native-gj71zhbs.js} +5 -5
- package/dist/chunks/{model-retry-9amv0j2y.js → aisdk-native-gqsra0s5.js} +9 -9
- package/dist/chunks/{model-retry-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-retry-z2qvtray.js → aisdk-native-haw017sp.js} +8 -8
- package/dist/chunks/{model-retry-b4ytdsdb.js → aisdk-native-hcv80w8f.js} +11 -11
- package/dist/chunks/{model-retry-93x8jgcz.js → aisdk-native-hetzgjah.js} +36 -36
- package/dist/chunks/{model-retry-pm9cq2zg.js → aisdk-native-hewty47s.js} +35 -35
- package/dist/chunks/{model-retry-hgz4x7wa.js → aisdk-native-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-retry-s56kzkqb.js → aisdk-native-hh4seyf6.js} +24 -24
- package/dist/chunks/{model-retry-eaz4frst.js → aisdk-native-hmpfctkq.js} +8 -8
- package/dist/chunks/{model-retry-pfzgmgqq.js → aisdk-native-hmvdm1nr.js} +30 -30
- package/dist/chunks/{model-retry-prx1gbh0.js → aisdk-native-hphtwhrw.js} +5 -5
- package/dist/chunks/{model-retry-0cbhyycw.js → aisdk-native-hyhyyj61.js} +17 -17
- package/dist/chunks/{model-retry-5fxpne0w.js → aisdk-native-j0ay6bhg.js} +2 -2
- package/dist/chunks/{model-retry-1th0nyd1.js → aisdk-native-j7tanhw5.js} +23 -23
- package/dist/chunks/{model-retry-4dwf0nmp.js → aisdk-native-j8wfa5vk.js} +13 -13
- package/dist/chunks/{model-retry-bkb01ez0.js → aisdk-native-jgp073vv.js} +45 -45
- package/dist/chunks/{model-retry-k2gfd0vj.js → aisdk-native-jh8env4y.js} +13 -13
- package/dist/chunks/{model-retry-9p4ckb4p.js → aisdk-native-jjd2yye4.js} +6 -6
- package/dist/chunks/{model-retry-8yaq5rsp.js → aisdk-native-jzy793vj.js} +32 -32
- package/dist/chunks/{model-retry-paykg90t.js → aisdk-native-k13rpznb.js} +34 -34
- package/dist/chunks/{model-retry-3pw8htx8.js → aisdk-native-kdbcdm2p.js} +1 -1
- package/dist/chunks/{model-retry-khmqacep.js → aisdk-native-khmqacep.js} +1 -1
- package/dist/chunks/{model-retry-kwb1v3vj.js → aisdk-native-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-retry-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-ffptefkn.js → aisdk-native-meeeyptt.js} +50 -50
- package/dist/chunks/{model-retry-m6pj9s11.js → aisdk-native-mey7zhp8.js} +5 -5
- package/dist/chunks/{model-retry-wxrr62q2.js → aisdk-native-mg9wc1ev.js} +11 -11
- package/dist/chunks/{model-retry-gysb7t93.js → aisdk-native-mmb750pd.js} +91 -91
- package/dist/chunks/{model-retry-315ef24x.js → aisdk-native-mt906k1j.js} +8 -8
- package/dist/chunks/{model-retry-cccr210v.js → aisdk-native-mwn18k12.js} +35 -35
- package/dist/chunks/{model-retry-ftfbzs9m.js → aisdk-native-n1p81jna.js} +19 -19
- package/dist/chunks/{model-retry-scbxxt86.js → aisdk-native-nc721mq8.js} +21 -21
- package/dist/chunks/{model-retry-120g7207.js → aisdk-native-nckm1509.js} +2 -2
- package/dist/chunks/{model-retry-jcjcjx0t.js → aisdk-native-nesm380x.js} +12 -12
- package/dist/chunks/{model-retry-dvwsp6mb.js → aisdk-native-nkfb0x16.js} +2 -2
- package/dist/chunks/{model-retry-q8wdfhzq.js → aisdk-native-nx9gpye3.js} +12 -12
- package/dist/chunks/{model-retry-nz56sr1f.js → aisdk-native-nz56sr1f.js} +2 -2
- package/dist/chunks/{model-retry-2xr9pws4.js → aisdk-native-p139kb1p.js} +13 -13
- package/dist/chunks/{model-retry-f82ss59t.js → aisdk-native-p1rw895a.js} +3 -3
- package/dist/chunks/{model-retry-9hn6k4tm.js → aisdk-native-p42hj8p8.js} +8 -8
- package/dist/chunks/{model-retry-grv8yzns.js → aisdk-native-p5dx8j25.js} +36 -36
- package/dist/chunks/{model-retry-sh9986p4.js → aisdk-native-p7kjzj47.js} +16 -16
- package/dist/chunks/{model-retry-s0s52qkt.js → aisdk-native-pd5d6pm6.js} +15 -15
- package/dist/chunks/{model-retry-tebr7jg9.js → aisdk-native-pfavk0gx.js} +12 -12
- package/dist/chunks/{model-retry-fc3q91nw.js → aisdk-native-pgeyzwhg.js} +42 -42
- package/dist/chunks/{model-retry-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-retry-6xsr5dks.js → aisdk-native-pk4wa1v7.js} +33 -33
- package/dist/chunks/{model-retry-ekp1j1b5.js → aisdk-native-pk6da7aj.js} +18 -18
- package/dist/chunks/{model-retry-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-h896pcm5.js → aisdk-native-prmgem5b.js} +6 -6
- package/dist/chunks/{model-retry-v8chhsy3.js → aisdk-native-py3bbhv5.js} +11 -11
- package/dist/chunks/{model-retry-tz35mf6x.js → aisdk-native-pz0ytm9k.js} +8 -8
- package/dist/chunks/{model-retry-v7024ht3.js → aisdk-native-q5b8y3xv.js} +14 -14
- package/dist/chunks/{model-retry-zqma82cw.js → aisdk-native-q8ejgrh7.js} +11 -11
- package/dist/chunks/{model-retry-nentvqe9.js → aisdk-native-qat70s67.js} +24 -24
- package/dist/chunks/{model-retry-5kzpfxft.js → aisdk-native-qcan06tx.js} +21 -21
- package/dist/chunks/{model-retry-qt88z79s.js → aisdk-native-qe206vge.js} +7 -7
- package/dist/chunks/{model-retry-bhk1rbmp.js → aisdk-native-qmj4b9ja.js} +32 -32
- package/dist/chunks/{model-retry-7kw0mv8e.js → aisdk-native-qna8jnyk.js} +29 -29
- package/dist/chunks/{model-retry-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-retry-5c6h6vqc.js → aisdk-native-qq2qmwe2.js} +9 -9
- package/dist/chunks/{model-retry-0svm4j11.js → aisdk-native-qqmhr94f.js} +15 -15
- package/dist/chunks/{model-retry-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{model-retry-6vmd7p6h.js → aisdk-native-r7epa8w9.js} +10 -10
- package/dist/chunks/{model-retry-rv11vn85.js → aisdk-native-r939pgrs.js} +11 -11
- package/dist/chunks/{model-retry-gcsxsjs6.js → aisdk-native-rbddshgb.js} +18 -18
- package/dist/chunks/{model-retry-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-retry-5yx9a2ww.js → aisdk-native-rdx6zs89.js} +8 -8
- package/dist/chunks/{model-retry-rert0e01.js → aisdk-native-rert0e01.js} +2 -2
- package/dist/chunks/{model-retry-rhjbct0v.js → aisdk-native-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-retry-1acjjqhc.js → aisdk-native-rhraev7y.js} +4 -4
- package/dist/chunks/{model-retry-rj3eygr5.js → aisdk-native-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-retry-embw8kgh.js → aisdk-native-rwm5vee1.js} +4 -4
- package/dist/chunks/{model-retry-rf6pfzwp.js → aisdk-native-s6btdq5g.js} +1 -1
- package/dist/chunks/{model-retry-mq044fh7.js → aisdk-native-s6cpq0wz.js} +13 -13
- package/dist/chunks/{model-retry-rr55ymyq.js → aisdk-native-s6qcaefa.js} +29 -29
- package/dist/chunks/{model-retry-sa8ekw3f.js → aisdk-native-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-retry-8h4b0cs1.js → aisdk-native-skpgndjp.js} +24 -24
- package/dist/chunks/{model-retry-wn3g4ypj.js → aisdk-native-svj5pvzg.js} +28 -28
- package/dist/chunks/{model-retry-syv4x271.js → aisdk-native-syv4x271.js} +1 -1
- package/dist/chunks/{model-retry-dkpq1bsc.js → aisdk-native-t2wwn0ay.js} +19 -19
- package/dist/chunks/{model-retry-4vk656gf.js → aisdk-native-t3dkae6y.js} +9 -9
- package/dist/chunks/{model-retry-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-retry-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-retry-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{model-retry-zdqemt2t.js → aisdk-native-tk7tezdh.js} +15 -15
- package/dist/chunks/{model-retry-tm0kqsz3.js → aisdk-native-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-retry-1trs7s7z.js → aisdk-native-tprq4g7a.js} +16 -16
- package/dist/chunks/{model-retry-bx29z6jj.js → aisdk-native-tqngjy9q.js} +20 -20
- package/dist/chunks/{model-retry-7cx595n2.js → aisdk-native-txm3e8qz.js} +9 -9
- package/dist/chunks/{model-retry-tyytaxap.js → aisdk-native-tyytaxap.js} +1 -1
- package/dist/chunks/{model-retry-tx0gtb9m.js → aisdk-native-v210v162.js} +9 -9
- package/dist/chunks/{model-retry-v7p4zvkq.js → aisdk-native-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-retry-yxwmwsaj.js → aisdk-native-v9e4g1jz.js} +19 -19
- package/dist/chunks/{model-retry-eefqbebw.js → aisdk-native-v9zzqvcp.js} +24 -24
- package/dist/chunks/{model-retry-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/aisdk-native-vnkjks7b.js +18 -0
- package/dist/chunks/aisdk-native-vr5m31t5.js +26 -0
- package/dist/chunks/{model-retry-fx6hsjqx.js → aisdk-native-vvhh43p5.js} +22 -22
- package/dist/chunks/{model-retry-qjch4pc3.js → aisdk-native-vzkxfwdq.js} +15 -15
- package/dist/chunks/{model-retry-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-retry-z3ammv4w.js → aisdk-native-w1wn6h8h.js} +17 -17
- package/dist/chunks/{model-retry-kjdm35cs.js → aisdk-native-w39jehkq.js} +5 -5
- package/dist/chunks/{model-retry-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-jcen6etv.js → aisdk-native-w5rv5vav.js} +33 -33
- package/dist/chunks/{model-retry-13xvemqm.js → aisdk-native-w62gg202.js} +17 -17
- package/dist/chunks/{model-retry-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-npr0wz9t.js → aisdk-native-wfpqd2wx.js} +6 -6
- package/dist/chunks/{model-retry-w3x15rym.js → aisdk-native-wh5h9wdx.js} +24 -24
- package/dist/chunks/{model-retry-bjx1sjef.js → aisdk-native-wjr9rjd7.js} +6 -6
- package/dist/chunks/{model-retry-fdms3n6w.js → aisdk-native-wk5z6jzv.js} +9 -9
- package/dist/chunks/{model-retry-tz70ab5q.js → aisdk-native-wks1wfwf.js} +30 -30
- package/dist/chunks/{model-retry-5mrmcz26.js → aisdk-native-x68jtk21.js} +37 -37
- package/dist/chunks/{model-retry-n8v5cbt0.js → aisdk-native-x8ghw6e7.js} +20 -20
- package/dist/chunks/{model-retry-tcpq0y9r.js → aisdk-native-xfjx2aft.js} +13 -13
- package/dist/chunks/{model-retry-87pge11c.js → aisdk-native-xgc9sej2.js} +61 -61
- package/dist/chunks/{model-retry-wp3yb7k0.js → aisdk-native-xm0e89ad.js} +11 -11
- package/dist/chunks/{model-retry-4ndyr8vy.js → aisdk-native-xsnfp990.js} +13 -13
- package/dist/chunks/{model-retry-ry6831an.js → aisdk-native-xvedb59m.js} +9 -9
- package/dist/chunks/{model-retry-f5rb7yq3.js → aisdk-native-xx1gnxvy.js} +32 -32
- package/dist/chunks/{model-retry-g36mkr7n.js → aisdk-native-xx6p3jw0.js} +21 -21
- package/dist/chunks/{model-retry-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-retry-3y377wv9.js → aisdk-native-y6bex35g.js} +4 -4
- package/dist/chunks/{model-retry-vkfdnwpx.js → aisdk-native-y6mhz57t.js} +4 -4
- package/dist/chunks/{model-retry-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{model-retry-qwemz3ha.js → aisdk-native-ya06qa3k.js} +21 -21
- package/dist/chunks/{model-retry-c3z27sd6.js → aisdk-native-ynanx4br.js} +9 -9
- package/dist/chunks/{model-retry-cm7k2cvd.js → aisdk-native-yq3mx877.js} +11 -11
- package/dist/chunks/{model-retry-zsg3hbgq.js → aisdk-native-ysetzwh9.js} +3 -3
- package/dist/chunks/{model-retry-pq9chy9c.js → aisdk-native-yvrjrdnb.js} +10 -10
- package/dist/chunks/{model-retry-1pr61bwh.js → aisdk-native-yx2dkg0t.js} +18 -18
- package/dist/chunks/{model-retry-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-67zw56js.js → aisdk-native-z0tj0v41.js} +32 -32
- package/dist/chunks/{model-retry-z18fegx4.js → aisdk-native-z18fegx4.js} +1 -1
- package/dist/chunks/{model-retry-m9c6r0nn.js → aisdk-native-zfjehv6x.js} +13 -13
- package/dist/chunks/{model-retry-4n984778.js → aisdk-native-zgftg0pe.js} +32 -32
- package/dist/chunks/{model-retry-enbzs98c.js → aisdk-native-zqz7cba6.js} +15 -15
- package/dist/chunks/{model-retry-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-retry-pp4zh5st.js → aisdk-native-zssq29w7.js} +168 -168
- package/dist/chunks/{model-retry-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- 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 +85 -85
- 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 +208 -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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- 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 +115 -115
- 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 +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 +81 -81
- 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 +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 +76 -76
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +114 -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 +125 -125
- 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 +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -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 +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -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 +351 -351
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- 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 +138 -138
- package/dist/session/context.js +155 -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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- 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 +131 -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 +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -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 +5 -5
- package/dist/session/session.js +164 -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 +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +203 -203
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- 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 +8 -8
- package/dist/chunks/model-retry-374yendz.js +0 -26
- package/dist/chunks/model-retry-9yd845wg.js +0 -517
- package/dist/chunks/model-retry-9zdhvgqs.js +0 -18
- package/dist/chunks/model-retry-zw8e9rvj.js +0 -257
- /package/dist/chunks/{model-retry-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-pyv0edze.js → aisdk-native-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node73
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node73, exports_hooks };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./aisdk-native-mg9wc1ev.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./aisdk-native-5vscj5fh.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID15,
|
|
26
|
+
Info: () => Info26,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service81,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID15 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
41
|
var Key4 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event19 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID15,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service81 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const db = (yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
57
|
+
const db = (yield* Service86).db;
|
|
58
|
+
const bus = yield* Service85;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info26({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service81.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info26({
|
|
83
|
+
id: input.id ?? ID15.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [node90, node89] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID15, OAuth3, Key4, External2, Value2, Event19, Info26, Service81, node85, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service21,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node25
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service21 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service21, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service21.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node25 = makeGlobalNode({ service: Service21, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service21, makeLayer2, layer11, node25, exports_model_transport };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./aisdk-native-mg9wc1ev.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./aisdk-native-5vscj5fh.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-nz56sr1f.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
apply2,
|
|
33
33
|
initialize3,
|
|
34
34
|
advanceEpoch2,
|
|
35
35
|
rewind2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-1ze9gtzp.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeMessageRowSync2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-native-3w4y5t9t.js";
|
|
40
40
|
import {
|
|
41
41
|
projectAdmitted2,
|
|
42
42
|
projectDelivered2,
|
|
43
43
|
projectCancelled2,
|
|
44
44
|
projectDeliveryChanged2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-native-5zdfhw0y.js";
|
|
46
46
|
import {
|
|
47
47
|
initialize2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-native-tprq4g7a.js";
|
|
49
49
|
import {
|
|
50
50
|
Slug2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./aisdk-native-gebd4c9n.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/projector.ts
|
|
57
57
|
var exports_projector = {};
|
|
58
58
|
__export(exports_projector, {
|
|
59
59
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
60
60
|
SessionProjector: () => exports_projector,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node19
|
|
62
62
|
});
|
|
63
63
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
64
64
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -294,8 +294,8 @@ function projectIdle(db, event) {
|
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
296
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
297
|
-
const bus = yield*
|
|
298
|
-
const db = (yield*
|
|
297
|
+
const bus = yield* Service85;
|
|
298
|
+
const db = (yield* Service86).db;
|
|
299
299
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
300
300
|
const stored = yield* db.insert(SessionTable2).values({
|
|
301
301
|
id: event.data.sessionID,
|
|
@@ -484,6 +484,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
484
484
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
485
485
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
486
486
|
}));
|
|
487
|
-
var
|
|
487
|
+
var node19 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
|
|
488
488
|
|
|
489
|
-
export { SessionAlreadyProjected2,
|
|
489
|
+
export { SessionAlreadyProjected2, node19, exports_projector };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-5e15319b.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-7xhhckav.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin22 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin22, exports_firecrawl };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-7xhhckav.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./aisdk-native-5vscj5fh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./aisdk-native-17ajdbzk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
15
|
Service80
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-dw4a8ax5.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-ab3hvh4n.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-wfpqd2wx.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
|
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
33
|
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
-
var integrationID =
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
56
|
+
const credentials = yield* Service81;
|
|
57
57
|
const integrations = yield* Service80;
|
|
58
|
-
const bus = yield*
|
|
58
|
+
const bus = yield* Service85;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node40
|
|
5
|
+
} from "./aisdk-native-7xhhckav.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./aisdk-native-0xezjjjn.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-meeeyptt.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-r939pgrs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error4
|
|
18
|
+
} from "./aisdk-native-hh4seyf6.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-54ma36ye.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service21,
|
|
24
|
+
node25
|
|
25
|
+
} from "./aisdk-native-19gt07c1.js";
|
|
26
26
|
import {
|
|
27
27
|
make14
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-drwq78ky.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-nkfb0x16.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service20,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer10,
|
|
44
|
+
node: () => node24,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
|
|
|
160
160
|
});
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
class
|
|
163
|
+
class Service20 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
164
164
|
}
|
|
165
|
-
var
|
|
166
|
-
const hooks = yield*
|
|
167
|
-
const transport = yield*
|
|
165
|
+
var layer10 = Layer.effect(Service20, Effect.gen(function* () {
|
|
166
|
+
const hooks = yield* Service69;
|
|
167
|
+
const transport = yield* Service21;
|
|
168
168
|
const app = yield* Metadata2;
|
|
169
169
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
170
170
|
const session = input.session;
|
|
@@ -172,7 +172,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
172
172
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
173
173
|
const tools = input.tools ?? {
|
|
174
174
|
definitions: [],
|
|
175
|
-
execute: () => new
|
|
175
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
176
176
|
};
|
|
177
177
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
178
178
|
const shaped = yield* shape({
|
|
@@ -266,17 +266,17 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
266
266
|
};
|
|
267
267
|
});
|
|
268
268
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
269
|
-
return
|
|
269
|
+
return Service20.of({
|
|
270
270
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
271
271
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
272
272
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
273
273
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
274
274
|
});
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
278
|
-
layer:
|
|
279
|
-
deps: [
|
|
276
|
+
var node24 = makeLocationNode({
|
|
277
|
+
service: Service20,
|
|
278
|
+
layer: layer10,
|
|
279
|
+
deps: [node73, node25, node40]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
282
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service20, layer10, node24, exports_model_request };
|