@opencode/core 0.0.0-dev-19472 → 0.0.0-dev-19473
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +82 -82
- package/dist/chunks/{generate-1s9zr6wz.js → location-mutation-02s21fhq.js} +13 -13
- package/dist/chunks/{generate-wybmtabw.js → location-mutation-04fa0zte.js} +15 -15
- package/dist/chunks/{generate-t3mr6dy8.js → location-mutation-04zt81gk.js} +10 -10
- package/dist/chunks/{generate-9qbs61h2.js → location-mutation-0kw5trp8.js} +10 -10
- package/dist/chunks/{generate-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-ftqhnfvt.js → location-mutation-0r11rtsk.js} +14 -14
- package/dist/chunks/{generate-eraw9w7t.js → location-mutation-12h4n3rk.js} +47 -47
- package/dist/chunks/{generate-18cztcj7.js → location-mutation-18cztcj7.js} +1 -1
- package/dist/chunks/{generate-1ah30sey.js → location-mutation-1ah30sey.js} +2 -2
- package/dist/chunks/{generate-jdwmg6ph.js → location-mutation-1cbphejb.js} +9 -9
- package/dist/chunks/{generate-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-ag3c3gfh.js → location-mutation-1fz31grg.js} +13 -13
- package/dist/chunks/{generate-hz4zfacf.js → location-mutation-1n20r6fn.js} +4 -4
- package/dist/chunks/{generate-ybv2cy3n.js → location-mutation-1q0a1vdp.js} +20 -20
- package/dist/chunks/{generate-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{generate-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-4dq66jks.js → location-mutation-296ksaqc.js} +9 -9
- package/dist/chunks/{generate-z63w68vq.js → location-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-2d6j2h4j.js → location-mutation-2d6j2h4j.js} +1 -1
- package/dist/chunks/{generate-0ft9cg2j.js → location-mutation-2jmaghvr.js} +4 -4
- package/dist/chunks/{generate-qgn6gcr1.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-8jxg9psv.js → location-mutation-2n26ff9a.js} +11 -11
- package/dist/chunks/{generate-wewgh3cc.js → location-mutation-2wts5qzq.js} +8 -8
- package/dist/chunks/{generate-31dz7cp4.js → location-mutation-31dz7cp4.js} +1 -1
- package/dist/chunks/{generate-tvb7px3v.js → location-mutation-342kvb74.js} +17 -17
- package/dist/chunks/{generate-h9m084p5.js → location-mutation-3936rd12.js} +9 -9
- package/dist/chunks/{generate-kmsq2a8z.js → location-mutation-3e7ffj60.js} +27 -27
- package/dist/chunks/{generate-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-km9fdhsq.js → location-mutation-49w8mb30.js} +11 -11
- package/dist/chunks/{generate-w7pdnrhd.js → location-mutation-4hzrtyw9.js} +3 -3
- package/dist/chunks/{generate-tk7z65sd.js → location-mutation-4jmw8br6.js} +9 -9
- package/dist/chunks/{generate-4y66k410.js → location-mutation-4y66k410.js} +2 -2
- package/dist/chunks/{generate-4yg7xpeb.js → location-mutation-4yg7xpeb.js} +2 -2
- package/dist/chunks/{generate-b16d7jjg.js → location-mutation-53xfefbr.js} +17 -17
- package/dist/chunks/{generate-7jpshbt3.js → location-mutation-571yh8bb.js} +11 -11
- package/dist/chunks/{generate-gjrm3aqc.js → location-mutation-5cd9q45n.js} +17 -17
- package/dist/chunks/{generate-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-7n9tv254.js → location-mutation-5dxs6qr8.js} +10 -10
- package/dist/chunks/{generate-er50wdsj.js → location-mutation-5rd5fnze.js} +64 -64
- package/dist/chunks/{generate-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-48x36vfa.js → location-mutation-5t8mrke1.js} +11 -11
- package/dist/chunks/{generate-3kr8ysga.js → location-mutation-5z1pcq32.js} +10 -10
- package/dist/chunks/{generate-01rdfd7a.js → location-mutation-637tx434.js} +31 -31
- package/dist/chunks/{generate-4jbn2tw4.js → location-mutation-63zxe2e6.js} +29 -29
- package/dist/chunks/{generate-81czwxpn.js → location-mutation-64kphnzf.js} +4 -4
- package/dist/chunks/{generate-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/location-mutation-6anyb8h7.js +247 -0
- package/dist/chunks/{generate-r2qedvtq.js → location-mutation-6fz87ewy.js} +11 -11
- package/dist/chunks/{generate-tf1v3ef4.js → location-mutation-6hk6hw99.js} +17 -17
- package/dist/chunks/{generate-m2d0j7c0.js → location-mutation-6jnybvqn.js} +9 -9
- package/dist/chunks/{generate-6kyz0a76.js → location-mutation-6kyz0a76.js} +2 -2
- package/dist/chunks/{generate-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-nrypyvg1.js → location-mutation-6qff4d9y.js} +13 -13
- package/dist/chunks/{generate-kqhmtpwq.js → location-mutation-70nf62s1.js} +13 -13
- package/dist/chunks/{generate-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{generate-v66st79r.js → location-mutation-747qv6w8.js} +16 -16
- package/dist/chunks/{generate-1fddzjwn.js → location-mutation-77rvk4xz.js} +8 -8
- package/dist/chunks/{generate-cmwkp3r5.js → location-mutation-7b15y959.js} +8 -8
- package/dist/chunks/{generate-0yjrxc0y.js → location-mutation-7b5bs947.js} +14 -14
- package/dist/chunks/{generate-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-f0z4t0qf.js → location-mutation-7bt6nz5z.js} +17 -17
- package/dist/chunks/{generate-man3t1zm.js → location-mutation-7kemcmc0.js} +149 -149
- package/dist/chunks/{generate-2x2h0p2s.js → location-mutation-7thdeaez.js} +25 -25
- package/dist/chunks/{generate-sfvj2g2k.js → location-mutation-7w99qc9d.js} +3 -3
- package/dist/chunks/{generate-n5r74s3z.js → location-mutation-7zpxrbmk.js} +19 -19
- package/dist/chunks/{generate-3xaqhp8d.js → location-mutation-80e0yyk8.js} +8 -8
- package/dist/chunks/{generate-81swgkk7.js → location-mutation-81swgkk7.js} +2 -2
- package/dist/chunks/{generate-12j8am6k.js → location-mutation-83fqv4x7.js} +17 -17
- package/dist/chunks/{generate-mw3mjnzn.js → location-mutation-85rbpgj8.js} +7 -7
- package/dist/chunks/{generate-c2mw14d7.js → location-mutation-85wb08hb.js} +11 -11
- package/dist/chunks/{generate-yg641eya.js → location-mutation-89w2cmtz.js} +4 -4
- package/dist/chunks/{generate-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{generate-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-egt2n8ed.js → location-mutation-8hgn0vw2.js} +7 -7
- package/dist/chunks/{generate-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-jt3ektyx.js → location-mutation-8ynr4gjm.js} +24 -24
- package/dist/chunks/{generate-395g5j88.js → location-mutation-912kd3r4.js} +6 -6
- package/dist/chunks/{generate-r2xq3c3d.js → location-mutation-9b2f9zrq.js} +56 -56
- package/dist/chunks/{generate-vdptmm7z.js → location-mutation-9zmx7hkd.js} +5 -5
- package/dist/chunks/{generate-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-34vvk6bw.js → location-mutation-a4exdnt3.js} +4 -4
- package/dist/chunks/{generate-5rx6s544.js → location-mutation-a796k6fq.js} +32 -32
- package/dist/chunks/{generate-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-7pz2a2p6.js → location-mutation-agmzpsk8.js} +2 -2
- package/dist/chunks/{generate-gv77bfkj.js → location-mutation-ap3k7sg2.js} +13 -13
- package/dist/chunks/{generate-asn1qnte.js → location-mutation-asn1qnte.js} +1 -1
- package/dist/chunks/{generate-njx2nt89.js → location-mutation-asqcfpfy.js} +6 -6
- package/dist/chunks/{generate-7tcd4e3j.js → location-mutation-az1fhpt6.js} +11 -11
- package/dist/chunks/{generate-192njw8s.js → location-mutation-b0zc3rxt.js} +15 -15
- package/dist/chunks/{generate-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-4s94qtmw.js → location-mutation-b6qrdxz2.js} +1 -1
- package/dist/chunks/{generate-4enya5gj.js → location-mutation-b7wncpqh.js} +24 -24
- package/dist/chunks/{generate-8hznsz6p.js → location-mutation-b8ymqkg2.js} +2 -2
- package/dist/chunks/{generate-7dnaa00t.js → location-mutation-bawp00e5.js} +7 -7
- package/dist/chunks/{generate-j83byb14.js → location-mutation-bct739vz.js} +4 -4
- package/dist/chunks/{generate-3z25xgjb.js → location-mutation-bh0f28bz.js} +24 -24
- package/dist/chunks/{generate-45ekqx5k.js → location-mutation-brkb7bcy.js} +15 -15
- package/dist/chunks/{generate-ggfrbzh7.js → location-mutation-btzz461g.js} +5 -5
- package/dist/chunks/{generate-56jh955g.js → location-mutation-c156ep7e.js} +11 -11
- package/dist/chunks/{generate-bb33gxz4.js → location-mutation-c5c7sgyy.js} +12 -12
- package/dist/chunks/{generate-anfm8w08.js → location-mutation-c8e2bgmv.js} +25 -25
- package/dist/chunks/{generate-acfjjvt7.js → location-mutation-c8sngd2z.js} +2 -2
- package/dist/chunks/{generate-18dzbcxb.js → location-mutation-ccppxhm9.js} +16 -16
- package/dist/chunks/{generate-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-vkxpz7g2.js → location-mutation-cq37gk0t.js} +4 -4
- package/dist/chunks/{generate-gxzjfpj9.js → location-mutation-cqbr1vk1.js} +3 -3
- package/dist/chunks/{generate-mrs002kz.js → location-mutation-d3m4r55y.js} +11 -11
- package/dist/chunks/{generate-3ta8pej7.js → location-mutation-d71nv30s.js} +11 -11
- package/dist/chunks/{generate-56hme943.js → location-mutation-d9wr29te.js} +24 -24
- package/dist/chunks/{generate-dd7fnb5q.js → location-mutation-dchdcshb.js} +23 -23
- package/dist/chunks/{generate-b4e13j89.js → location-mutation-dp6dfv2y.js} +14 -14
- package/dist/chunks/{generate-8bdabsgq.js → location-mutation-dz0bcr2c.js} +4 -4
- package/dist/chunks/{generate-mnw1q3jt.js → location-mutation-dzn5j78v.js} +7 -7
- package/dist/chunks/{generate-at42xpyp.js → location-mutation-e0cx5qc7.js} +9 -9
- package/dist/chunks/{generate-b6efjawe.js → location-mutation-e32h91zq.js} +11 -11
- package/dist/chunks/{generate-5hg44emr.js → location-mutation-e6wc2y3c.js} +43 -43
- package/dist/chunks/{generate-e82z9tr0.js → location-mutation-e82z9tr0.js} +1 -1
- package/dist/chunks/{generate-t6zgc5e7.js → location-mutation-e8b04kk5.js} +4 -4
- package/dist/chunks/{generate-af04s6ss.js → location-mutation-ead3g9p8.js} +5 -5
- package/dist/chunks/{generate-ep73h3z1.js → location-mutation-ep73h3z1.js} +1 -1
- package/dist/chunks/{generate-qv1bma43.js → location-mutation-eqzc4rd8.js} +33 -33
- package/dist/chunks/{generate-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-cnsp0jcs.js → location-mutation-exy6h62f.js} +20 -20
- package/dist/chunks/{generate-r3ggr03z.js → location-mutation-f2jpp81c.js} +4 -4
- package/dist/chunks/{generate-0hzvpqmj.js → location-mutation-f671wqhj.js} +20 -20
- package/dist/chunks/{generate-f828m53h.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{generate-f9bavhm2.js → location-mutation-f9bavhm2.js} +1 -1
- package/dist/chunks/{generate-jk0bqewv.js → location-mutation-fcqvj3n7.js} +19 -19
- package/dist/chunks/{generate-wawrd6s0.js → location-mutation-feypdcbr.js} +7 -7
- package/dist/chunks/{generate-evvwda50.js → location-mutation-fkqsehyz.js} +18 -18
- package/dist/chunks/{generate-s8d6csw0.js → location-mutation-fm8wb4j7.js} +22 -22
- package/dist/chunks/{generate-d2t1ewjp.js → location-mutation-fschjpvb.js} +9 -9
- package/dist/chunks/{generate-95sy4d33.js → location-mutation-ft05p3sn.js} +11 -11
- package/dist/chunks/{generate-19eqgq23.js → location-mutation-fw83hase.js} +15 -15
- package/dist/chunks/{generate-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-fjs0fb1k.js → location-mutation-g47jg2vw.js} +4 -4
- package/dist/chunks/{generate-tz6bjvzf.js → location-mutation-g6475k52.js} +16 -16
- package/dist/chunks/{generate-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-gdvy8fx6.js → location-mutation-gdvy8fx6.js} +1 -1
- package/dist/chunks/{generate-yjpzctzn.js → location-mutation-gm2zqcej.js} +3 -3
- package/dist/chunks/{generate-nn62rfad.js → location-mutation-gq0ew8qh.js} +31 -31
- package/dist/chunks/{generate-9ya5772p.js → location-mutation-gsv5r6kf.js} +15 -15
- package/dist/chunks/{generate-th5km1p3.js → location-mutation-gv6a8nnw.js} +5 -5
- package/dist/chunks/{generate-s4f68rsj.js → location-mutation-gvphacjb.js} +10 -10
- package/dist/chunks/{generate-xmh8jj88.js → location-mutation-gx1zhcta.js} +1 -1
- package/dist/chunks/{generate-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{generate-8fr55evv.js → location-mutation-h0h2ngkj.js} +38 -38
- package/dist/chunks/{generate-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-ek706fp6.js → location-mutation-h7dpqqdj.js} +20 -20
- package/dist/chunks/{generate-4edd2wfm.js → location-mutation-haj9q169.js} +30 -30
- package/dist/chunks/{generate-dspjxxdh.js → location-mutation-hknm424e.js} +30 -30
- package/dist/chunks/{generate-gggn4yh1.js → location-mutation-hm89ty9d.js} +6 -6
- package/dist/chunks/{generate-qvb3nf84.js → location-mutation-hqxy6dek.js} +8 -8
- package/dist/chunks/location-mutation-hxa7m5za.js +4 -0
- package/dist/chunks/{generate-xb2e81ev.js → location-mutation-j0qfb1wd.js} +8 -8
- package/dist/chunks/{generate-wr298xzg.js → location-mutation-j1fbmsb9.js} +14 -14
- package/dist/chunks/{generate-rskfe6j4.js → location-mutation-j1ggw692.js} +23 -23
- package/dist/chunks/{generate-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-r2d6ykh7.js → location-mutation-j6efsrek.js} +39 -39
- package/dist/chunks/{generate-qprtv8af.js → location-mutation-j8q1z7ne.js} +9 -9
- package/dist/chunks/{generate-paphc93g.js → location-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{generate-jefma2gq.js → location-mutation-jefma2gq.js} +3 -3
- package/dist/chunks/{generate-ryr25ayn.js → location-mutation-jfqtm2ew.js} +4 -4
- package/dist/chunks/{generate-vjfcsv3y.js → location-mutation-jkdy99p7.js} +36 -36
- package/dist/chunks/{generate-46fcrysc.js → location-mutation-jmpfh3z1.js} +7 -7
- package/dist/chunks/{generate-m3k3m1st.js → location-mutation-jmz1vw1c.js} +24 -24
- package/dist/chunks/{generate-30h5sse3.js → location-mutation-jnpghpvp.js} +15 -15
- package/dist/chunks/{generate-0r7yqxbf.js → location-mutation-jv01nqvq.js} +5 -5
- package/dist/chunks/{generate-fmejfqxx.js → location-mutation-jvyfkbwy.js} +23 -23
- package/dist/chunks/{generate-x28mf59k.js → location-mutation-jx4tp4ea.js} +13 -13
- package/dist/chunks/{generate-jy16bfac.js → location-mutation-jy16bfac.js} +1 -1
- package/dist/chunks/{generate-cay3r0qb.js → location-mutation-k52252t7.js} +4 -4
- package/dist/chunks/{generate-98nqcwy8.js → location-mutation-k7kh0egq.js} +18 -18
- package/dist/chunks/{generate-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{generate-z2e5hz5t.js → location-mutation-kgd24eq0.js} +55 -55
- package/dist/chunks/{generate-jsyfvq8g.js → location-mutation-kx709rat.js} +9 -9
- package/dist/chunks/{generate-jmctn1sj.js → location-mutation-kxvrt3nb.js} +9 -9
- package/dist/chunks/{generate-x450zzfr.js → location-mutation-ky16kd9n.js} +12 -12
- package/dist/chunks/{generate-m70sbz6t.js → location-mutation-m70sbz6t.js} +1 -1
- package/dist/chunks/{generate-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-t3esx9j8.js → location-mutation-man06fk9.js} +9 -9
- package/dist/chunks/{generate-13en43er.js → location-mutation-mb6hfgj3.js} +12 -12
- package/dist/chunks/{generate-33w4ejhs.js → location-mutation-mfqp6xfm.js} +9 -9
- package/dist/chunks/{generate-kzdcqyn1.js → location-mutation-mjagy123.js} +5 -5
- package/dist/chunks/{generate-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{generate-djk06v6t.js → location-mutation-mt6v2s5x.js} +16 -16
- package/dist/chunks/{generate-1bbkgx8g.js → location-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{generate-kvkb9bqr.js → location-mutation-n08mrxbn.js} +10 -10
- package/dist/chunks/{generate-yjmdpt8z.js → location-mutation-n1sh6d89.js} +18 -18
- package/dist/chunks/{generate-7h7r2znv.js → location-mutation-n97nf603.js} +14 -14
- package/dist/chunks/{generate-jkq4bbrv.js → location-mutation-ncsxxtr1.js} +12 -12
- package/dist/chunks/{generate-brp8zeym.js → location-mutation-nmjqh6cp.js} +6 -6
- package/dist/chunks/{generate-x15xn7e6.js → location-mutation-nng2ktcm.js} +2 -2
- package/dist/chunks/{generate-mkm8pmbj.js → location-mutation-p0vh84wg.js} +20 -20
- package/dist/chunks/{generate-v4nqh482.js → location-mutation-pb6b52mq.js} +6 -6
- package/dist/chunks/{generate-b67dvkja.js → location-mutation-pe2r03fm.js} +10 -10
- package/dist/chunks/location-mutation-pf31ssb9.js +18 -0
- package/dist/chunks/{generate-9jd7sb31.js → location-mutation-pgw3y3wg.js} +14 -14
- package/dist/chunks/{generate-7h1k4g6r.js → location-mutation-pjsmk15p.js} +9 -9
- package/dist/chunks/{generate-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{generate-dphymz0f.js → location-mutation-pwd7dmcs.js} +39 -39
- package/dist/chunks/{generate-2rq438jx.js → location-mutation-q5q9511b.js} +7 -7
- package/dist/chunks/{generate-zn1sknkg.js → location-mutation-qkj99dmd.js} +27 -27
- package/dist/chunks/{generate-qmr73083.js → location-mutation-qmr73083.js} +1 -1
- package/dist/chunks/{generate-2eh93bg4.js → location-mutation-qr27hz8v.js} +4 -4
- package/dist/chunks/{generate-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-mgwwngzv.js → location-mutation-qskqt98q.js} +10 -10
- package/dist/chunks/{generate-a6y2bq6s.js → location-mutation-qwhswr8m.js} +44 -44
- package/dist/chunks/{generate-xfv31h68.js → location-mutation-r5t0jnx0.js} +8 -8
- package/dist/chunks/{generate-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{generate-p9napa5a.js → location-mutation-ra3qct3x.js} +8 -8
- package/dist/chunks/{generate-0gdmqesm.js → location-mutation-rhjbct0v.js} +4 -4
- package/dist/chunks/{generate-v02hggvc.js → location-mutation-s3gbpz7c.js} +18 -18
- package/dist/chunks/{generate-yrznvahk.js → location-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{generate-0ymz8rd6.js → location-mutation-sf7shepb.js} +26 -26
- package/dist/chunks/{generate-ssy2w4cx.js → location-mutation-smrf4wxt.js} +7 -7
- package/dist/chunks/{generate-1jt29hgk.js → location-mutation-snf8m0c5.js} +29 -29
- package/dist/chunks/{generate-hyftv91s.js → location-mutation-spt9fbav.js} +9 -9
- package/dist/chunks/{generate-sv9bpgvh.js → location-mutation-sv9bpgvh.js} +1 -1
- package/dist/chunks/{generate-xbg1gxb8.js → location-mutation-sz1p02ts.js} +23 -23
- package/dist/chunks/{generate-6d9mz4vp.js → location-mutation-t0x5rdq8.js} +9 -9
- package/dist/chunks/{generate-p4q3p9e2.js → location-mutation-t2md336t.js} +20 -20
- package/dist/chunks/{generate-magykp64.js → location-mutation-t51qk8jz.js} +21 -21
- package/dist/chunks/{generate-q866wamt.js → location-mutation-t54ryj5x.js} +24 -24
- package/dist/chunks/{generate-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-y3g0amfz.js → location-mutation-tb9k42r5.js} +21 -21
- package/dist/chunks/{generate-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{generate-325b5hht.js → location-mutation-tfdq7ztr.js} +27 -27
- package/dist/chunks/{generate-t4xg9j4k.js → location-mutation-tgamz6xd.js} +22 -22
- package/dist/chunks/{generate-9xvq3m7s.js → location-mutation-tn0aqsam.js} +5 -5
- package/dist/chunks/{generate-165my6fc.js → location-mutation-tsf1qnrv.js} +13 -13
- package/dist/chunks/{generate-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-d7nvx7ja.js → location-mutation-twzh2p7z.js} +29 -29
- package/dist/chunks/{generate-zr6df6en.js → location-mutation-tx5ssvyf.js} +34 -34
- package/dist/chunks/{generate-y8x7dqj3.js → location-mutation-tys5kznf.js} +11 -11
- package/dist/chunks/{generate-v8ch97zc.js → location-mutation-v8ch97zc.js} +1 -1
- package/dist/chunks/{generate-bc98kfvq.js → location-mutation-ve2fbp41.js} +43 -43
- package/dist/chunks/{generate-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-y00nzks5.js → location-mutation-vng2d7qe.js} +11 -11
- package/dist/chunks/{generate-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-c83rnzgr.js → location-mutation-vzr156n0.js} +17 -17
- package/dist/chunks/location-mutation-w0hyv3ry.js +22 -0
- package/dist/chunks/{generate-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-vdstphw8.js → location-mutation-w42cbfa6.js} +38 -38
- package/dist/chunks/{generate-vtwd3wbn.js → location-mutation-wa2y7qva.js} +22 -22
- package/dist/chunks/{generate-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{generate-bhxrg7yf.js → location-mutation-wj6yf6jc.js} +3 -3
- package/dist/chunks/{generate-nhatkwh5.js → location-mutation-wjr16z6c.js} +8 -8
- package/dist/chunks/{generate-r2x0j4wr.js → location-mutation-wncr9p85.js} +26 -26
- package/dist/chunks/{generate-y8p3zjbc.js → location-mutation-wpm2rk0p.js} +4 -4
- package/dist/chunks/{generate-j993hkrk.js → location-mutation-wr1twpvv.js} +13 -13
- package/dist/chunks/{generate-0yqwvadk.js → location-mutation-x1acgrry.js} +4 -4
- package/dist/chunks/{generate-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-7j17ak0s.js → location-mutation-x5agxrzj.js} +26 -26
- package/dist/chunks/{generate-jsrz9mtp.js → location-mutation-x5ny37kg.js} +7 -7
- package/dist/chunks/{generate-c36zpzj3.js → location-mutation-x6ft23h3.js} +35 -35
- package/dist/chunks/location-mutation-x8eemgzv.js +462 -0
- package/dist/chunks/{generate-j3cvmjmb.js → location-mutation-xh1q604s.js} +4 -4
- package/dist/chunks/{generate-0996nyz8.js → location-mutation-xhmq8qgk.js} +9 -9
- package/dist/chunks/{generate-z4acfq85.js → location-mutation-xqbw2bk3.js} +5 -5
- package/dist/chunks/{generate-r30aa2d3.js → location-mutation-xs4at11g.js} +11 -11
- package/dist/chunks/{generate-9tbkwgyh.js → location-mutation-xvkxhetf.js} +12 -12
- package/dist/chunks/{generate-bpm3sphz.js → location-mutation-xzdkxzdn.js} +21 -21
- package/dist/chunks/{generate-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → location-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{generate-1a6d59yt.js → location-mutation-y7jb9f2a.js} +29 -29
- package/dist/chunks/{generate-f2n192rq.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{generate-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-x29t2rc7.js → location-mutation-z45aar89.js} +53 -53
- package/dist/chunks/{generate-c5c2yrzj.js → location-mutation-z8md75e6.js} +26 -26
- package/dist/chunks/{generate-05nva95e.js → location-mutation-z9s3hg1t.js} +24 -24
- package/dist/chunks/{generate-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-xwwz9aqf.js → location-mutation-zj09a0ew.js} +4 -4
- package/dist/chunks/{generate-gca7vttx.js → location-mutation-zn1jgpf6.js} +6 -6
- package/dist/chunks/{generate-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +357 -357
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- 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 +3 -3
- 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 +1 -1
- package/dist/instance.js +350 -350
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +79 -79
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +144 -144
- 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 +211 -211
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/generate-01mk1cf2.js +0 -22
- package/dist/chunks/generate-get426a4.js +0 -462
- package/dist/chunks/generate-ht5y0zrb.js +0 -18
- package/dist/chunks/generate-wd3es6t1.js +0 -4
- package/dist/chunks/generate-x369m2nh.js +0 -247
- /package/dist/chunks/{generate-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-89w2cmtz.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service47,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node51
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node51 = makeLocationNode({
|
|
75
|
+
service: Service47,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError5, ExecutionError2, Service47, layer20, node51, exports_command4, Event8 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./location-mutation-tb9k42r5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service51,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-02s21fhq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./location-mutation-pgw3y3wg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./location-mutation-z45aar89.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service52
|
|
17
|
+
} from "./location-mutation-fw83hase.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin33,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name2,
|
|
33
33
|
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin33 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service52;
|
|
56
|
+
const fileMutation = yield* Service51;
|
|
57
|
+
const environment = yield* Service74;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service53;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin33, exports_write };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-89w2cmtz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-agmzpsk8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service56,
|
|
12
|
+
node60
|
|
13
|
+
} from "./location-mutation-jmz1vw1c.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError7
|
|
16
|
+
} from "./location-mutation-j8q1z7ne.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service55,
|
|
19
|
+
node59
|
|
20
|
+
} from "./location-mutation-ccppxhm9.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service54,
|
|
26
|
+
node58
|
|
27
|
+
} from "./location-mutation-342kvb74.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service63,
|
|
30
|
+
node67
|
|
31
|
+
} from "./location-mutation-ra3qct3x.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service53,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node57
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service53 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service56;
|
|
134
|
+
const sessions = yield* Service55;
|
|
135
|
+
const saved = yield* Service54;
|
|
136
|
+
const hooks = yield* Service63;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError7({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID7.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service53.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node57 = makeLocationNode({
|
|
289
|
+
service: Service53,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84, node81,
|
|
291
|
+
deps: [node84, node81, node60, node59, node58, node67]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service53, node57, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-4hzrtyw9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-89w2cmtz.js";
|
|
9
9
|
import {
|
|
10
10
|
Service37,
|
|
11
11
|
node40
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-asn1qnte.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service77,
|
|
19
19
|
node82
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-77rvk4xz.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-agmzpsk8.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service50,
|
|
26
|
+
node54
|
|
27
|
+
} from "./location-mutation-5z1pcq32.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./location-mutation-j8q1z7ne.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-mutation-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
38
|
Service34
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-mutation-m70sbz6t.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service55,
|
|
42
|
+
node59
|
|
43
|
+
} from "./location-mutation-ccppxhm9.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
47
|
Service35,
|
|
48
48
|
node38,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./location-mutation-6hk6hw99.js";
|
|
51
51
|
import {
|
|
52
52
|
Service33,
|
|
53
53
|
node37
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-mutation-3e7ffj60.js";
|
|
55
55
|
import {
|
|
56
56
|
node24
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./location-mutation-70nf62s1.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service77;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
92
|
+
const locations = yield* Service50;
|
|
93
|
+
const store = yield* Service55;
|
|
94
94
|
const execution = yield* Service33;
|
|
95
95
|
const instances = yield* Service37;
|
|
96
96
|
const admission = yield* Service35;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
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 NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -170,8 +170,8 @@ var node23 = makeGlobalNode({
|
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node82,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
node54,
|
|
174
|
+
node59,
|
|
175
175
|
node37,
|
|
176
176
|
node40,
|
|
177
177
|
node38,
|