@opencode/core 0.0.0-dev-20189 → 0.0.0-dev-20194
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 +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-phbyh0a5.js → reference-0b8npddv.js} +10 -10
- package/dist/chunks/{managed-policy-pz6e2nts.js → reference-0f9b925g.js} +45 -45
- package/dist/chunks/{managed-policy-ptr74we0.js → reference-0gg825j3.js} +3 -3
- package/dist/chunks/{managed-policy-c937fekk.js → reference-0h711vda.js} +39 -39
- package/dist/chunks/{managed-policy-bzgcn0jp.js → reference-0jq9fyba.js} +9 -9
- package/dist/chunks/{managed-policy-9tv440c6.js → reference-0kfypxfq.js} +18 -18
- package/dist/chunks/{managed-policy-de8e9bjw.js → reference-0m9cq689.js} +16 -16
- package/dist/chunks/{managed-policy-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-jdvq2jhf.js → reference-0z2rg4rm.js} +34 -34
- package/dist/chunks/{managed-policy-5eb3a1ca.js → reference-11pm3r9v.js} +12 -12
- package/dist/chunks/{managed-policy-a7pzzedx.js → reference-14794zc1.js} +6 -6
- package/dist/chunks/{managed-policy-qxm4jarf.js → reference-156a9j9s.js} +22 -22
- package/dist/chunks/{managed-policy-1v7cd3cq.js → reference-177cmxdg.js} +18 -18
- package/dist/chunks/{managed-policy-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-q0dv4cw2.js → reference-1f5yd8z2.js} +83 -83
- package/dist/chunks/{managed-policy-9skf8tre.js → reference-1jsptwm6.js} +3 -3
- package/dist/chunks/{managed-policy-w9vp1hvg.js → reference-1qadeb1c.js} +24 -24
- package/dist/chunks/{managed-policy-56gdpj1q.js → reference-1ygqh575.js} +9 -9
- package/dist/chunks/{managed-policy-emh3z3ge.js → reference-1zys84da.js} +11 -11
- package/dist/chunks/{managed-policy-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-xwnkmnyx.js → reference-24mjcg6m.js} +8 -8
- package/dist/chunks/{managed-policy-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-bh832hz7.js → reference-2e6dphxw.js} +9 -9
- package/dist/chunks/{managed-policy-2k8khapm.js → reference-2k8khapm.js} +1 -1
- package/dist/chunks/{managed-policy-7aentnvm.js → reference-2t8jpbpj.js} +12 -12
- package/dist/chunks/{managed-policy-2j13chjm.js → reference-31ywrma3.js} +4 -4
- package/dist/chunks/{managed-policy-a46v4e4v.js → reference-34rkz0x9.js} +7 -7
- package/dist/chunks/{managed-policy-4kzyxb26.js → reference-3b3jy36q.js} +13 -13
- package/dist/chunks/{managed-policy-y206krxg.js → reference-3e8yqhxk.js} +10 -10
- package/dist/chunks/{managed-policy-x8spbnc9.js → reference-3eexfaf4.js} +16 -16
- package/dist/chunks/{managed-policy-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-eexrnx7t.js → reference-3jq6wq7y.js} +3 -3
- package/dist/chunks/{managed-policy-rf9mgppd.js → reference-3s9dhbpg.js} +30 -30
- package/dist/chunks/{managed-policy-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-m4me88d9.js → reference-3sph9hsg.js} +22 -22
- package/dist/chunks/{managed-policy-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-w9s1mhr8.js → reference-3v9eaqqc.js} +11 -11
- package/dist/chunks/{managed-policy-dqrrnxrw.js → reference-3yzf73xp.js} +9 -9
- package/dist/chunks/{managed-policy-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-xvtq9ts9.js → reference-44zaxtg7.js} +22 -22
- package/dist/chunks/{managed-policy-q6e4tnqb.js → reference-4a6kxgsg.js} +6 -6
- package/dist/chunks/{managed-policy-0bzgh1ra.js → reference-4azmnb77.js} +8 -8
- package/dist/chunks/{managed-policy-h9wp8z5w.js → reference-4j4tgtq5.js} +4 -4
- package/dist/chunks/reference-4wvg2h98.js +252 -0
- package/dist/chunks/{managed-policy-yt0fqk68.js → reference-4xz89tjk.js} +5 -5
- package/dist/chunks/{managed-policy-4p6crha5.js → reference-4yner5sa.js} +18 -18
- package/dist/chunks/{managed-policy-63xctefh.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{managed-policy-ckecvw8r.js → reference-54tcyq79.js} +2 -2
- package/dist/chunks/{managed-policy-wpc20qgk.js → reference-587j3zfx.js} +10 -10
- package/dist/chunks/{managed-policy-kswh8eer.js → reference-5958cd08.js} +25 -25
- package/dist/chunks/{managed-policy-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-vhrh9n3q.js → reference-5hqxtq21.js} +20 -20
- package/dist/chunks/{managed-policy-xrma4n88.js → reference-5jrh7n3y.js} +9 -9
- package/dist/chunks/reference-5kveh0cp.js +26 -0
- package/dist/chunks/{managed-policy-qsxdxqt3.js → reference-5na37vb4.js} +18 -18
- package/dist/chunks/{managed-policy-e3qxr5gk.js → reference-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-2f0bjgcj.js → reference-5sj81wm5.js} +5 -5
- package/dist/chunks/{managed-policy-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-aj3jkc19.js → reference-5vyyh9tt.js} +36 -36
- package/dist/chunks/{managed-policy-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-q2kn9tye.js → reference-67f3c5a6.js} +5 -5
- package/dist/chunks/{managed-policy-x6qqf22v.js → reference-6e87vakz.js} +13 -13
- package/dist/chunks/{managed-policy-4s3tx91s.js → reference-6fmnkfnr.js} +24 -24
- package/dist/chunks/{managed-policy-2402vzrj.js → reference-6h73sxmp.js} +5 -5
- package/dist/chunks/{managed-policy-g5kh2xcz.js → reference-6hqe4q59.js} +11 -11
- package/dist/chunks/{managed-policy-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{managed-policy-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-g50vnnvq.js → reference-7vvdj7v1.js} +15 -15
- package/dist/chunks/{managed-policy-d3egrn39.js → reference-7zg2wc6k.js} +43 -43
- package/dist/chunks/{managed-policy-rbnn75vf.js → reference-81bye27z.js} +24 -24
- package/dist/chunks/{managed-policy-91p1v22t.js → reference-8aaqm6qj.js} +8 -8
- package/dist/chunks/{managed-policy-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-qm7jrdpz.js → reference-8ha6ga5e.js} +8 -8
- package/dist/chunks/{managed-policy-2wzvfsyc.js → reference-8pn44ehn.js} +10 -10
- package/dist/chunks/{managed-policy-ys6t246v.js → reference-8rw29dk0.js} +20 -20
- package/dist/chunks/{managed-policy-gcavn3wx.js → reference-8ryk0bb9.js} +5 -5
- package/dist/chunks/{managed-policy-2a1w5wq2.js → reference-8vsk6s2a.js} +21 -21
- package/dist/chunks/{managed-policy-c4rjy2bg.js → reference-96p72y45.js} +11 -11
- package/dist/chunks/{managed-policy-mex4hcth.js → reference-9j56qjm9.js} +11 -11
- package/dist/chunks/{managed-policy-fhqgg6b3.js → reference-9m59q143.js} +15 -15
- package/dist/chunks/{managed-policy-0mm9aq32.js → reference-9qb76avw.js} +16 -16
- package/dist/chunks/{managed-policy-jwp2njjg.js → reference-9qs04gms.js} +25 -25
- package/dist/chunks/{managed-policy-vmgq4x8b.js → reference-a3r4dcrj.js} +2 -2
- package/dist/chunks/{managed-policy-x4jf395z.js → reference-a6fdbjg5.js} +11 -11
- package/dist/chunks/{managed-policy-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-zfdpneax.js → reference-afq9djet.js} +20 -20
- package/dist/chunks/{managed-policy-y5dxb9zm.js → reference-aqeafnz7.js} +11 -11
- package/dist/chunks/{managed-policy-f45ayqgj.js → reference-as35gwv2.js} +13 -13
- package/dist/chunks/{managed-policy-z59mzw5n.js → reference-avbsach8.js} +20 -20
- package/dist/chunks/{managed-policy-1hwmn15w.js → reference-axd321tm.js} +2 -2
- package/dist/chunks/{managed-policy-v3r6wrax.js → reference-b15rjjj6.js} +24 -24
- package/dist/chunks/{managed-policy-mvksx64m.js → reference-b2a4mx33.js} +4 -4
- package/dist/chunks/{managed-policy-j2g94gkj.js → reference-b4tbyby1.js} +33 -33
- package/dist/chunks/{managed-policy-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-79zjhypg.js → reference-ba38qkz5.js} +7 -7
- package/dist/chunks/{managed-policy-jbjr1a4g.js → reference-bdqrk2vk.js} +6 -6
- package/dist/chunks/{managed-policy-vf8ekb55.js → reference-be7pa3qf.js} +8 -8
- package/dist/chunks/{managed-policy-qsy7t4zk.js → reference-bf7x6yrd.js} +27 -27
- package/dist/chunks/{managed-policy-ng9vjhd1.js → reference-bg7sr6g1.js} +5 -5
- package/dist/chunks/{managed-policy-c2xmwhf7.js → reference-bhvqvkry.js} +12 -12
- package/dist/chunks/{managed-policy-z07pqspn.js → reference-bjtzbw4r.js} +3 -3
- package/dist/chunks/{managed-policy-tky0bhmc.js → reference-bk2c8kx1.js} +10 -10
- package/dist/chunks/{managed-policy-wgkrnqac.js → reference-bkyy3065.js} +38 -38
- package/dist/chunks/{managed-policy-07770t2t.js → reference-bqszwq89.js} +4 -4
- package/dist/chunks/{managed-policy-afjydgk3.js → reference-bsqx64w4.js} +4 -4
- package/dist/chunks/{managed-policy-7fpb7792.js → reference-c35p20hr.js} +18 -18
- package/dist/chunks/{managed-policy-6n9z0a9w.js → reference-c4989wfm.js} +14 -14
- package/dist/chunks/{managed-policy-4k2rghe9.js → reference-cab88dx5.js} +21 -21
- package/dist/chunks/{managed-policy-ztfr3gj5.js → reference-chweyq95.js} +6 -6
- package/dist/chunks/{managed-policy-rph3zd4r.js → reference-cpy6gm2a.js} +6 -6
- package/dist/chunks/{managed-policy-vjnw2173.js → reference-cyww2hg1.js} +8 -8
- package/dist/chunks/{managed-policy-mvcs6n85.js → reference-d7mqv6pa.js} +3 -3
- package/dist/chunks/{managed-policy-57ez7d0k.js → reference-d9s573fh.js} +2 -2
- package/dist/chunks/{managed-policy-zrj27d4v.js → reference-ddg1q8r0.js} +14 -14
- package/dist/chunks/{managed-policy-79qaa2kf.js → reference-djszqvmq.js} +9 -9
- package/dist/chunks/{managed-policy-xkntkrq7.js → reference-dmqcgk4z.js} +5 -5
- package/dist/chunks/{managed-policy-fj1y74vg.js → reference-dv36yjgc.js} +5 -5
- package/dist/chunks/reference-dxj72tfx.js +18 -0
- package/dist/chunks/{managed-policy-heah1624.js → reference-e12g3w7z.js} +16 -16
- package/dist/chunks/{managed-policy-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
- package/dist/chunks/{managed-policy-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-73tb2d7t.js → reference-eq1pz5kg.js} +3 -3
- package/dist/chunks/{managed-policy-65dg9dkc.js → reference-eqy59tqm.js} +23 -23
- package/dist/chunks/{managed-policy-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-sqd39fca.js → reference-f26ddygf.js} +87 -87
- package/dist/chunks/{managed-policy-9cb7xadb.js → reference-f6rweyq9.js} +1 -1
- package/dist/chunks/{managed-policy-8p29yw8h.js → reference-faj6f0em.js} +3 -3
- package/dist/chunks/{managed-policy-fx8ver8w.js → reference-fgbgrse6.js} +5 -5
- package/dist/chunks/{managed-policy-0yzk9hp5.js → reference-fh8xxmnr.js} +1 -1
- package/dist/chunks/{managed-policy-ykqvw6n0.js → reference-fmfggwz4.js} +11 -11
- package/dist/chunks/{managed-policy-az8hvwf1.js → reference-fqjhatxe.js} +33 -33
- package/dist/chunks/{managed-policy-358c23mq.js → reference-fxb44a1q.js} +13 -13
- package/dist/chunks/{managed-policy-4j58h7ky.js → reference-fxpk8e1k.js} +43 -43
- package/dist/chunks/{managed-policy-xfz6p364.js → reference-fydrzrkb.js} +11 -11
- package/dist/chunks/{managed-policy-5x0vc0vb.js → reference-fzts1kpm.js} +11 -11
- package/dist/chunks/{managed-policy-wec12kcc.js → reference-g4x6f0m8.js} +15 -15
- package/dist/chunks/{managed-policy-3pe7sts8.js → reference-g74mfj6n.js} +9 -9
- package/dist/chunks/{managed-policy-tx9w5tca.js → reference-gbtx73hb.js} +8 -8
- package/dist/chunks/{managed-policy-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-94ek1h2f.js → reference-gfvb90ym.js} +2 -2
- package/dist/chunks/{managed-policy-qwjtejvm.js → reference-h3h6bw0z.js} +23 -23
- package/dist/chunks/{managed-policy-4dgbcxzg.js → reference-h6r3nrb9.js} +4 -4
- package/dist/chunks/{managed-policy-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-rk7s9xkn.js → reference-h9pnpq88.js} +4 -4
- package/dist/chunks/{managed-policy-ayny3xs7.js → reference-hkcbg3z4.js} +7 -7
- package/dist/chunks/{managed-policy-magd1yzt.js → reference-hmmwrfz7.js} +4 -4
- package/dist/chunks/{managed-policy-j57veafx.js → reference-hs32c6fx.js} +8 -8
- package/dist/chunks/{managed-policy-s1beqvy1.js → reference-htqg6e4e.js} +13 -13
- package/dist/chunks/{managed-policy-cgz7622g.js → reference-hxg08g5j.js} +15 -15
- package/dist/chunks/{managed-policy-pq9y5n5m.js → reference-hz0q9sdq.js} +8 -8
- package/dist/chunks/{managed-policy-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-5cmxdwv8.js → reference-jexxy024.js} +3 -3
- package/dist/chunks/{managed-policy-rgtsr3hh.js → reference-jkcb4v42.js} +13 -13
- package/dist/chunks/{managed-policy-mgphmkeb.js → reference-jm5a5pey.js} +20 -20
- package/dist/chunks/{managed-policy-yv320rcs.js → reference-jqcdp112.js} +21 -21
- package/dist/chunks/{managed-policy-m70sbz6t.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/reference-jxxs5s4h.js +511 -0
- package/dist/chunks/{managed-policy-nzks3jc8.js → reference-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-1be6dza8.js → reference-kb3wdknj.js} +6 -6
- package/dist/chunks/{managed-policy-77j23m7r.js → reference-kgajg4t2.js} +8 -8
- package/dist/chunks/{managed-policy-zy79aer6.js → reference-knx0mxy4.js} +15 -15
- package/dist/chunks/{managed-policy-nftbrb0j.js → reference-krnctd4r.js} +16 -16
- package/dist/chunks/{managed-policy-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-6m48a2t7.js → reference-m655g54e.js} +5 -5
- package/dist/chunks/{managed-policy-8q6wx5qs.js → reference-m77p9bps.js} +16 -16
- package/dist/chunks/{managed-policy-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-h2vwxax4.js → reference-ma2yn7zc.js} +33 -33
- package/dist/chunks/{managed-policy-j6mhcfxe.js → reference-mev7xm92.js} +26 -26
- package/dist/chunks/{managed-policy-axmvebxj.js → reference-mjymc32g.js} +21 -21
- package/dist/chunks/{managed-policy-fdbr74vy.js → reference-mnkndwyg.js} +10 -10
- package/dist/chunks/{managed-policy-jaj4szq5.js → reference-n11m6crk.js} +35 -35
- package/dist/chunks/{managed-policy-n936hzck.js → reference-n2bd736z.js} +68 -68
- package/dist/chunks/{managed-policy-58fdabks.js → reference-nc0myf7t.js} +11 -11
- package/dist/chunks/{managed-policy-naww4dxg.js → reference-nezp3nh3.js} +20 -20
- package/dist/chunks/{managed-policy-vvnwfe3a.js → reference-ngffvtk2.js} +18 -18
- package/dist/chunks/{managed-policy-dzh8x6fa.js → reference-nqw1h68k.js} +13 -13
- package/dist/chunks/{managed-policy-kskqm6d2.js → reference-nrc70r1t.js} +50 -50
- package/dist/chunks/{managed-policy-w6gh42p5.js → reference-nx90x7kt.js} +18 -18
- package/dist/chunks/{managed-policy-6f890ccd.js → reference-p37cw4rj.js} +8 -8
- package/dist/chunks/{managed-policy-mbt0r9ns.js → reference-p9g6edyn.js} +11 -11
- package/dist/chunks/{managed-policy-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-etgjzd5h.js → reference-pk3z8zwb.js} +7 -7
- package/dist/chunks/{managed-policy-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-rdjy4bhh.js → reference-pmjz3wtp.js} +27 -27
- package/dist/chunks/{managed-policy-3ewed21c.js → reference-pmwpe40e.js} +4 -4
- package/dist/chunks/{managed-policy-h8jhh88t.js → reference-pnde1qtn.js} +6 -6
- package/dist/chunks/{managed-policy-ax4vhxp3.js → reference-pntwmbjc.js} +22 -22
- package/dist/chunks/{managed-policy-1v8reh4w.js → reference-ps6kahe0.js} +3 -3
- package/dist/chunks/{managed-policy-wd3x2cqz.js → reference-psazpmmj.js} +2 -2
- package/dist/chunks/{managed-policy-50dag6g8.js → reference-pwehtxr6.js} +30 -30
- package/dist/chunks/{managed-policy-7fkffz83.js → reference-py3kkmfq.js} +4 -4
- package/dist/chunks/{managed-policy-fzg6ycaf.js → reference-q2s2wz1h.js} +5 -5
- package/dist/chunks/{managed-policy-xxbzqkxw.js → reference-q6cph699.js} +24 -24
- package/dist/chunks/{managed-policy-33xvpn5s.js → reference-q72jbytn.js} +4 -4
- package/dist/chunks/{managed-policy-n02pcqqr.js → reference-qb1aeqnr.js} +26 -26
- package/dist/chunks/{managed-policy-b7b4ctej.js → reference-qdbakdjh.js} +5 -5
- package/dist/chunks/{managed-policy-r9gspksd.js → reference-qevex4z1.js} +31 -31
- package/dist/chunks/{managed-policy-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-kjxkk3w4.js → reference-qwkdrh69.js} +26 -26
- package/dist/chunks/{managed-policy-bxdgsfjb.js → reference-r4453y51.js} +52 -52
- package/dist/chunks/{managed-policy-ks8ntyh3.js → reference-r9e31c0d.js} +23 -23
- package/dist/chunks/{managed-policy-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-x4frdbx5.js → reference-rer9h1m0.js} +16 -16
- package/dist/chunks/{managed-policy-zeh9ct20.js → reference-rq775frq.js} +2 -2
- package/dist/chunks/{managed-policy-cvb5keb3.js → reference-rr9dycgk.js} +7 -7
- package/dist/chunks/{managed-policy-41bs2fpb.js → reference-rxyp0enr.js} +172 -172
- package/dist/chunks/{managed-policy-0ckwnra1.js → reference-s31h5w29.js} +28 -28
- package/dist/chunks/{managed-policy-1ztyjhqq.js → reference-s3adcg6q.js} +24 -24
- package/dist/chunks/{managed-policy-nakmx0qk.js → reference-sc1tzy0m.js} +10 -10
- package/dist/chunks/{managed-policy-n986xf23.js → reference-se4rjrwe.js} +9 -9
- package/dist/chunks/{managed-policy-3b9qt4hj.js → reference-sqmzwr9m.js} +9 -9
- package/dist/chunks/{managed-policy-97fxhqfr.js → reference-ssrktsty.js} +18 -18
- package/dist/chunks/{managed-policy-0tgsh6wb.js → reference-sv8w0sp0.js} +3 -3
- package/dist/chunks/{managed-policy-r98e92ep.js → reference-sx1n432n.js} +4 -4
- package/dist/chunks/{managed-policy-xyzj08bz.js → reference-t265p2pq.js} +4 -4
- package/dist/chunks/{managed-policy-7tc1349b.js → reference-t2j5vcca.js} +17 -17
- package/dist/chunks/{managed-policy-52kry9ag.js → reference-t4btr8yn.js} +25 -25
- package/dist/chunks/{managed-policy-0wqwwdc3.js → reference-t4m9kaws.js} +48 -48
- package/dist/chunks/{managed-policy-rhjbct0v.js → reference-t550f9t1.js} +4 -4
- package/dist/chunks/{managed-policy-t79whn4w.js → reference-t7y3dpm9.js} +24 -24
- package/dist/chunks/{managed-policy-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-3xphndqd.js → reference-td3sphkw.js} +13 -13
- package/dist/chunks/{managed-policy-3gapn5nw.js → reference-tdkwvqdy.js} +32 -32
- package/dist/chunks/{managed-policy-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-dq0v80fr.js → reference-tgcnk5sw.js} +5 -5
- package/dist/chunks/{managed-policy-2863ew87.js → reference-thddb0yg.js} +29 -29
- package/dist/chunks/{managed-policy-pw638tag.js → reference-thjmag0n.js} +16 -16
- package/dist/chunks/{managed-policy-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-z4s7g43y.js → reference-v1h7jmyp.js} +1 -1
- package/dist/chunks/{managed-policy-hnr5yq9h.js → reference-v5hpcsb0.js} +5 -5
- package/dist/chunks/{managed-policy-f32czd11.js → reference-v8nsmxgn.js} +11 -11
- package/dist/chunks/{managed-policy-eyftq924.js → reference-v9cwmph0.js} +23 -23
- package/dist/chunks/{managed-policy-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-6qyvmb4v.js → reference-vgr5e0ea.js} +5 -5
- package/dist/chunks/{managed-policy-80m7jm0y.js → reference-vhfvd2jp.js} +20 -20
- package/dist/chunks/{managed-policy-4sas3krp.js → reference-vvfvm01x.js} +14 -14
- package/dist/chunks/{managed-policy-sqy6emsh.js → reference-vwfyqj1a.js} +15 -15
- package/dist/chunks/{managed-policy-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-1jb4d023.js → reference-w6yg8354.js} +11 -11
- package/dist/chunks/{managed-policy-a4rc8qx2.js → reference-wbrq6ka8.js} +4 -4
- package/dist/chunks/{managed-policy-n6x86dnt.js → reference-wd5k3756.js} +19 -19
- package/dist/chunks/{managed-policy-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-ybaxr0a6.js → reference-wnys78fq.js} +6 -6
- package/dist/chunks/{managed-policy-rswb1apg.js → reference-wqkzg7sy.js} +11 -11
- package/dist/chunks/{managed-policy-vd1xt34m.js → reference-ws016w0z.js} +3 -3
- package/dist/chunks/{managed-policy-e6ztxka3.js → reference-wsrgfmp7.js} +23 -23
- package/dist/chunks/{managed-policy-q8h29z87.js → reference-ww5pdtvn.js} +27 -27
- package/dist/chunks/{managed-policy-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-fhn4dbfy.js → reference-x5rq2qdm.js} +43 -43
- package/dist/chunks/{managed-policy-xc934jfm.js → reference-x5xe0bd0.js} +35 -35
- package/dist/chunks/{managed-policy-qqeeq2t9.js → reference-xfkkasph.js} +7 -7
- package/dist/chunks/{managed-policy-779bqasr.js → reference-xg0dkexn.js} +16 -16
- package/dist/chunks/{managed-policy-te5pspps.js → reference-xkxsh21d.js} +4 -4
- package/dist/chunks/{managed-policy-5rt30t11.js → reference-xp3d2160.js} +18 -18
- package/dist/chunks/{managed-policy-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-gc2hdxyk.js → reference-y2r3h4fb.js} +15 -15
- package/dist/chunks/{managed-policy-43wm6kz7.js → reference-y560y7p4.js} +26 -26
- package/dist/chunks/{managed-policy-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{managed-policy-bvtf22kj.js → reference-ybhbtxjg.js} +9 -9
- package/dist/chunks/{managed-policy-9g951eg1.js → reference-yead9t7b.js} +6 -6
- package/dist/chunks/{managed-policy-sdk1fzq5.js → reference-yf72js65.js} +11 -11
- package/dist/chunks/{managed-policy-4zak5cvq.js → reference-yfxpx2t9.js} +9 -9
- package/dist/chunks/{managed-policy-cbqhpk3g.js → reference-yfz2gavf.js} +5 -5
- package/dist/chunks/{managed-policy-fz9j70nw.js → reference-yjvnj1zk.js} +11 -11
- package/dist/chunks/{managed-policy-9qm1sam9.js → reference-ykprmxnv.js} +2 -2
- package/dist/chunks/{managed-policy-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{managed-policy-zbhhzgj6.js → reference-ypd49sxc.js} +11 -11
- package/dist/chunks/{managed-policy-0a1eevr3.js → reference-ypp73q3k.js} +23 -23
- package/dist/chunks/{managed-policy-7yrswys2.js → reference-yqa20cga.js} +34 -34
- package/dist/chunks/{managed-policy-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-s4enseaf.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{managed-policy-st5dzq7x.js → reference-ysh0bc3c.js} +10 -10
- package/dist/chunks/{managed-policy-m1pdnfay.js → reference-yw63brvc.js} +15 -15
- package/dist/chunks/{managed-policy-jf81njd6.js → reference-yws4pbzc.js} +34 -34
- package/dist/chunks/{managed-policy-gv6a8nnw.js → reference-yyb7tjpc.js} +2 -2
- package/dist/chunks/{managed-policy-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-yr68hvap.js → reference-z4470vjq.js} +26 -26
- package/dist/chunks/{managed-policy-29x78va6.js → reference-z63w68vq.js} +6 -6
- package/dist/chunks/{managed-policy-ayb2ep33.js → reference-z98sedxz.js} +3 -3
- package/dist/chunks/{managed-policy-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-7rcm28ha.js → reference-zvteq2sz.js} +37 -37
- package/dist/chunks/{managed-policy-zxq2ej10.js → reference-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +372 -372
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- 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 +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- 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 +99 -99
- package/dist/model-resolver.js +94 -94
- package/dist/model.js +102 -102
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- 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 +2 -2
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- 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 +116 -116
- 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 +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- 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 +79 -79
- package/dist/workspace/driver.js +3 -3
- 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 -8
- package/dist/chunks/managed-policy-45th5jwr.js +0 -18
- package/dist/chunks/managed-policy-hxyc6rm4.js +0 -26
- package/dist/chunks/managed-policy-hybrcz9k.js +0 -252
- package/dist/chunks/managed-policy-j1j7mnwh.js +0 -511
- /package/dist/chunks/{managed-policy-0mesazry.js → reference-0mesazry.js} +0 -0
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-faj6f0em.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-31ywrma3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./reference-51f5btjf.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-kgajg4t2.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-axd321tm.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node61
|
|
27
|
+
} from "./reference-2e6dphxw.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./reference-ybhbtxjg.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service42
|
|
39
|
+
} from "./reference-jvf3yq6v.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service68,
|
|
42
|
+
node70
|
|
43
|
+
} from "./reference-thjmag0n.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service43,
|
|
48
|
+
node45,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./reference-5na37vb4.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service41,
|
|
53
|
+
node44
|
|
54
|
+
} from "./reference-5vyyh9tt.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node34
|
|
57
|
+
} from "./reference-0kfypxfq.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./reference-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node30
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service81;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
92
|
+
const locations = yield* Service59;
|
|
93
|
+
const store = yield* Service68;
|
|
94
|
+
const execution = yield* Service41;
|
|
95
|
+
const instances = yield* Service44;
|
|
96
|
+
const admission = yield* Service43;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service42.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node30 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node85,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node61,
|
|
174
|
+
node70,
|
|
175
|
+
node44,
|
|
176
|
+
node46,
|
|
177
|
+
node45,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node34
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-31ywrma3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service4,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service4, node5, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-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: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
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 Service35 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(Service35, 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(Service29, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = 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 node38 = makeGlobalNode({ service: Service35, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer13, node38, exports_model_transport };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-axd321tm.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-3eexfaf4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin8,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin8 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service80;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin8, exports_hg };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-31ywrma3.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-nqw1h68k.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service61,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured8,
|
|
25
|
+
layer: () => layer23,
|
|
26
|
+
node: () => node63
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service61 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service61.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service40, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer23 = makeLayer();
|
|
259
|
+
var configured8 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service61,
|
|
261
|
+
layer: options === undefined ? layer23 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node63 = configured8();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError7, Service61, layer23, configured8, node63, exports_persistent_pty, Handoff2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin7,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin7 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin47 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin7, exports_identity };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-31ywrma3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service17,
|
|
6
|
+
Event4
|
|
7
|
+
} from "./reference-n11m6crk.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service17;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|