@opencode/core 0.0.0-dev-19522 → 0.0.0-dev-19526
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 +5 -5
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{event-logger-pm90pbz6.js → location-service-map-02ewr2by.js} +11 -11
- package/dist/chunks/{event-logger-c2nw9g0k.js → location-service-map-056n2m1g.js} +11 -11
- package/dist/chunks/{event-logger-b09hzw3k.js → location-service-map-0af7c97v.js} +2 -2
- package/dist/chunks/{event-logger-1rw5srgy.js → location-service-map-0b8gwnph.js} +7 -7
- package/dist/chunks/{event-logger-2k8khapm.js → location-service-map-0jwsre1p.js} +5 -5
- package/dist/chunks/{event-logger-6sc41f2m.js → location-service-map-0khhz0x2.js} +15 -15
- package/dist/chunks/{event-logger-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-s39b72p8.js → location-service-map-0wa7p661.js} +12 -12
- package/dist/chunks/{event-logger-hjdaw55a.js → location-service-map-0ytf8312.js} +13 -13
- package/dist/chunks/{event-logger-1acjjqhc.js → location-service-map-1acjjqhc.js} +1 -1
- package/dist/chunks/{event-logger-7yh4e7ss.js → location-service-map-1bbkgx8g.js} +3 -3
- package/dist/chunks/{event-logger-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-xhsmq68x.js → location-service-map-21fn2vng.js} +21 -21
- package/dist/chunks/{event-logger-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-k8rnnzxr.js → location-service-map-26k6twgg.js} +34 -34
- package/dist/chunks/{event-logger-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-0tsy7h82.js → location-service-map-2aptycgy.js} +7 -7
- package/dist/chunks/{event-logger-f1808m7s.js → location-service-map-2dckjqza.js} +27 -27
- package/dist/chunks/{event-logger-94x97s7s.js → location-service-map-2dgw9s7c.js} +1 -1
- package/dist/chunks/{event-logger-rvwqfdww.js → location-service-map-2g9xpxn7.js} +10 -10
- package/dist/chunks/{event-logger-dmcwma29.js → location-service-map-2hnb5zpz.js} +13 -13
- package/dist/chunks/{event-logger-xhrkmfd9.js → location-service-map-2jmhezps.js} +13 -13
- package/dist/chunks/{event-logger-pkfr1pet.js → location-service-map-2t2p0k4y.js} +11 -11
- package/dist/chunks/{event-logger-cwb0we08.js → location-service-map-2t6pc9fw.js} +22 -22
- package/dist/chunks/{event-logger-zgkempy3.js → location-service-map-31e57ssv.js} +16 -16
- package/dist/chunks/{event-logger-cns04f9e.js → location-service-map-34ha2cd1.js} +9 -9
- package/dist/chunks/{event-logger-18q3vk51.js → location-service-map-35vexpw6.js} +6 -6
- package/dist/chunks/{event-logger-t23qze4t.js → location-service-map-39r80e1r.js} +1 -1
- package/dist/chunks/{event-logger-63kee7yf.js → location-service-map-3b11dhj6.js} +8 -8
- package/dist/chunks/{event-logger-pkkwwmgt.js → location-service-map-3bxse654.js} +11 -11
- package/dist/chunks/{event-logger-153zkwj3.js → location-service-map-3dj6qs5p.js} +3 -3
- package/dist/chunks/{event-logger-p3q361y3.js → location-service-map-3ep00wvs.js} +5 -5
- package/dist/chunks/{event-logger-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-6cwabdtw.js → location-service-map-3ft3p6xv.js} +4 -4
- package/dist/chunks/{event-logger-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-fzdy4d0q.js → location-service-map-3vw45jna.js} +166 -166
- package/dist/chunks/{event-logger-3xp94y37.js → location-service-map-41raftcs.js} +24 -24
- package/dist/chunks/{event-logger-ayvhb76k.js → location-service-map-44wkazz6.js} +10 -10
- package/dist/chunks/{event-logger-bj0dqvmh.js → location-service-map-4bw7nj7e.js} +54 -54
- package/dist/chunks/{event-logger-jcbnna01.js → location-service-map-4bytqjtr.js} +1 -1
- package/dist/chunks/{event-logger-trcrtdpw.js → location-service-map-4c22vnh1.js} +9 -9
- package/dist/chunks/{event-logger-m24e36k8.js → location-service-map-4r27yeqf.js} +6 -6
- package/dist/chunks/{event-logger-w8rcx1f0.js → location-service-map-4s1bbv2b.js} +17 -17
- package/dist/chunks/{event-logger-0ajdgxne.js → location-service-map-4y66k410.js} +5 -5
- package/dist/chunks/{event-logger-56gdpj1q.js → location-service-map-56gdpj1q.js} +2 -2
- package/dist/chunks/{event-logger-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-x404byw8.js → location-service-map-5dd1v3sc.js} +18 -18
- package/dist/chunks/{event-logger-bvm1hg5c.js → location-service-map-5h0nedhb.js} +1 -1
- package/dist/chunks/location-service-map-5n0hn1pm.js +462 -0
- package/dist/chunks/{event-logger-bgb9gw24.js → location-service-map-5qev0qcg.js} +25 -25
- package/dist/chunks/{event-logger-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-f633wym4.js → location-service-map-62b5vckm.js} +10 -10
- package/dist/chunks/{event-logger-vz89k1wx.js → location-service-map-63kywkak.js} +9 -9
- package/dist/chunks/{event-logger-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-47xeb5z3.js → location-service-map-6705qv0g.js} +17 -17
- package/dist/chunks/{event-logger-6vc8p3va.js → location-service-map-6ddbedq8.js} +1 -1
- package/dist/chunks/{event-logger-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-kt5w8vxh.js → location-service-map-70ghb00d.js} +10 -10
- package/dist/chunks/{event-logger-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{event-logger-sjefxttk.js → location-service-map-72j5x3sg.js} +13 -13
- package/dist/chunks/{event-logger-b9cnnpx5.js → location-service-map-761wwe1s.js} +75 -75
- package/dist/chunks/{event-logger-nh9g9pzb.js → location-service-map-76qxyhw0.js} +29 -29
- package/dist/chunks/{event-logger-81swgkk7.js → location-service-map-7azwfx08.js} +9 -9
- package/dist/chunks/{event-logger-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-dd7rzvx4.js → location-service-map-7exjqjm0.js} +20 -20
- package/dist/chunks/{event-logger-dk7725me.js → location-service-map-7m9vf5rx.js} +5 -5
- package/dist/chunks/{event-logger-90t1w6x4.js → location-service-map-7sfr0s8h.js} +7 -7
- package/dist/chunks/{event-logger-7f3kf6pd.js → location-service-map-7z4xahb4.js} +25 -25
- package/dist/chunks/{event-logger-w2e8ktns.js → location-service-map-816k9hah.js} +17 -17
- package/dist/chunks/{event-logger-v9gfehbc.js → location-service-map-81fdkyjj.js} +14 -14
- package/dist/chunks/{event-logger-kdr8fyyg.js → location-service-map-81g1qsdc.js} +13 -13
- package/dist/chunks/{event-logger-gtpaj2zh.js → location-service-map-86f6e8sz.js} +16 -16
- package/dist/chunks/{event-logger-aw305kc2.js → location-service-map-88s37jky.js} +26 -26
- package/dist/chunks/{event-logger-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/location-service-map-8vj7k6c5.js +26 -0
- package/dist/chunks/{event-logger-dsyhjxyt.js → location-service-map-8y6qdvyf.js} +14 -14
- package/dist/chunks/{event-logger-zjpde9dr.js → location-service-map-94zcscr3.js} +9 -9
- package/dist/chunks/{event-logger-4se67rdf.js → location-service-map-96nkrwpx.js} +15 -15
- package/dist/chunks/{event-logger-1qa6hfby.js → location-service-map-9fh4948w.js} +15 -15
- package/dist/chunks/{event-logger-whcrpeby.js → location-service-map-9na6ydfm.js} +8 -8
- package/dist/chunks/{event-logger-s5a05w92.js → location-service-map-9nrh9r5h.js} +9 -9
- package/dist/chunks/{event-logger-z30g0gt0.js → location-service-map-9we513x8.js} +6 -6
- package/dist/chunks/{event-logger-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{event-logger-f5q0vcv3.js → location-service-map-a6qgqttc.js} +25 -25
- package/dist/chunks/{event-logger-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-ss0awb04.js → location-service-map-ab9238g2.js} +4 -4
- package/dist/chunks/{event-logger-8cwf41b2.js → location-service-map-ara44wmm.js} +26 -26
- package/dist/chunks/{event-logger-at0jc416.js → location-service-map-b0y5dw0t.js} +24 -24
- package/dist/chunks/{event-logger-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-j3avrqmj.js → location-service-map-bg55d598.js} +24 -24
- package/dist/chunks/{event-logger-7ha10wes.js → location-service-map-bj73k9qk.js} +33 -33
- package/dist/chunks/{event-logger-sd7wqtbt.js → location-service-map-bjykd02c.js} +18 -18
- package/dist/chunks/{event-logger-ch5b4xvj.js → location-service-map-bn8z4hgt.js} +26 -26
- package/dist/chunks/{event-logger-xkk846wk.js → location-service-map-bpn4p6tf.js} +18 -18
- package/dist/chunks/{event-logger-cv1ay1tc.js → location-service-map-bsqxgfej.js} +24 -24
- package/dist/chunks/{event-logger-5znnvmxs.js → location-service-map-bwchgx6d.js} +39 -39
- package/dist/chunks/{event-logger-jva4mgym.js → location-service-map-c5gn303e.js} +4 -4
- package/dist/chunks/{event-logger-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{event-logger-wr5k3gxd.js → location-service-map-cgfbfj64.js} +7 -7
- package/dist/chunks/{event-logger-w64bbnpc.js → location-service-map-cjbknnmw.js} +27 -25
- package/dist/chunks/{event-logger-eq4x7z7g.js → location-service-map-ckyhaqeq.js} +32 -32
- package/dist/chunks/{event-logger-844ef7ks.js → location-service-map-cmwkp3r5.js} +4 -4
- package/dist/chunks/{event-logger-x71d43dg.js → location-service-map-cmwqdmc2.js} +6 -6
- package/dist/chunks/{event-logger-cq37gk0t.js → location-service-map-cq37gk0t.js} +4 -4
- package/dist/chunks/{event-logger-mtft99cd.js → location-service-map-cr07tj7n.js} +5 -5
- package/dist/chunks/{event-logger-5tk2nx2g.js → location-service-map-cr14a9k8.js} +27 -27
- package/dist/chunks/{event-logger-xzy5cntm.js → location-service-map-cwbx0rfg.js} +20 -20
- package/dist/chunks/{event-logger-1nn3xxet.js → location-service-map-d29d5e4w.js} +10 -10
- package/dist/chunks/{event-logger-ndn9gv9q.js → location-service-map-d35n3ytx.js} +24 -24
- package/dist/chunks/{event-logger-83hwqwhz.js → location-service-map-dd8nvef4.js} +11 -11
- package/dist/chunks/{event-logger-j752288f.js → location-service-map-dea0ze15.js} +8 -8
- package/dist/chunks/{event-logger-n07gqhyx.js → location-service-map-df1gd0ha.js} +9 -9
- package/dist/chunks/{event-logger-m7n8wce4.js → location-service-map-dmxszfc8.js} +4 -4
- package/dist/chunks/{event-logger-m03dct7t.js → location-service-map-dnhktrnt.js} +10 -10
- package/dist/chunks/{event-logger-m4brm0xw.js → location-service-map-drkcdcj5.js} +4 -4
- package/dist/chunks/{event-logger-ncagzpqf.js → location-service-map-dtw4xqq5.js} +38 -38
- package/dist/chunks/{event-logger-sa7a5tmm.js → location-service-map-e240csg8.js} +15 -15
- package/dist/chunks/{event-logger-j2ef6mt4.js → location-service-map-e4emtts5.js} +4 -4
- package/dist/chunks/{event-logger-1j21w7hw.js → location-service-map-e8vep78m.js} +5 -5
- package/dist/chunks/{event-logger-0swyrg32.js → location-service-map-eky9x2ec.js} +15 -15
- package/dist/chunks/{event-logger-bw0vgseb.js → location-service-map-et0rkxxj.js} +8 -8
- package/dist/chunks/{event-logger-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-ev621ztv.js → location-service-map-extvp8fg.js} +17 -17
- package/dist/chunks/{event-logger-8ph01gev.js → location-service-map-ezb7zwca.js} +16 -16
- package/dist/chunks/{event-logger-dkga0czm.js → location-service-map-ezjty4fe.js} +20 -20
- package/dist/chunks/{event-logger-f828m53h.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{event-logger-4e3hdzec.js → location-service-map-fgj68e1w.js} +57 -57
- package/dist/chunks/{event-logger-sdvmr1ej.js → location-service-map-fgzdj8zs.js} +14 -14
- package/dist/chunks/{event-logger-bqvjxhzq.js → location-service-map-fq9618wy.js} +6 -6
- package/dist/chunks/{event-logger-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-d54ffpbv.js → location-service-map-fzj6gxj4.js} +24 -24
- package/dist/chunks/{event-logger-ba4a77r6.js → location-service-map-fzy32552.js} +4 -4
- package/dist/chunks/{event-logger-8ne0ke3n.js → location-service-map-g2pa3hw7.js} +23 -23
- package/dist/chunks/{event-logger-7adby5ty.js → location-service-map-g4yfjkxt.js} +43 -43
- package/dist/chunks/{event-logger-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-terctddd.js → location-service-map-gk3dk4ww.js} +29 -29
- package/dist/chunks/{event-logger-xaqfs5b5.js → location-service-map-gk84n282.js} +15 -15
- package/dist/chunks/{event-logger-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{event-logger-zh5qwwz4.js → location-service-map-h29kfqze.js} +8 -8
- package/dist/chunks/{event-logger-8awmhz5a.js → location-service-map-h2qnwgpk.js} +16 -16
- package/dist/chunks/{event-logger-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-yb94xmg0.js → location-service-map-h71w788e.js} +9 -9
- package/dist/chunks/location-service-map-hgd4btym.js +18 -0
- package/dist/chunks/{event-logger-njct8jvz.js → location-service-map-htw1ycyk.js} +7 -7
- package/dist/chunks/{event-logger-hpzj69ys.js → location-service-map-hwk14yfv.js} +6 -6
- package/dist/chunks/{event-logger-fgyjpp5p.js → location-service-map-hwp109rr.js} +23 -23
- package/dist/chunks/{event-logger-p87m1m37.js → location-service-map-hz1mcyvk.js} +2 -2
- package/dist/chunks/{event-logger-6dyc4y4r.js → location-service-map-j4kxwsds.js} +22 -22
- package/dist/chunks/{event-logger-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-m36jmyye.js → location-service-map-j8eq448m.js} +47 -47
- package/dist/chunks/{event-logger-vhn7gvaw.js → location-service-map-j8pqb2xg.js} +10 -10
- package/dist/chunks/{event-logger-7dw9d19m.js → location-service-map-jfe769zj.js} +11 -11
- package/dist/chunks/{event-logger-9cg0vjy1.js → location-service-map-jj63jgrn.js} +8 -8
- package/dist/chunks/{event-logger-sxv6xj8p.js → location-service-map-jqhjw8sv.js} +14 -14
- package/dist/chunks/{event-logger-jvf3yq6v.js → location-service-map-jvf3yq6v.js} +1 -1
- package/dist/chunks/{event-logger-0mgbeka9.js → location-service-map-k9s3w0m2.js} +13 -13
- package/dist/chunks/{event-logger-ejacwys3.js → location-service-map-kb9ghrr9.js} +18 -18
- package/dist/chunks/{event-logger-kg06axw8.js → location-service-map-kg06axw8.js} +1 -1
- package/dist/chunks/{event-logger-68g81w8z.js → location-service-map-knw8azhs.js} +30 -30
- package/dist/chunks/{event-logger-t56vxrbb.js → location-service-map-kppgwn69.js} +14 -14
- package/dist/chunks/{event-logger-9rsqcxn1.js → location-service-map-ks9p6dk0.js} +4 -4
- package/dist/chunks/{event-logger-c7spm76h.js → location-service-map-kv4vw2nb.js} +32 -32
- package/dist/chunks/{event-logger-vadf2hxy.js → location-service-map-kwekmzq6.js} +15 -15
- package/dist/chunks/{event-logger-zy4z7v1p.js → location-service-map-m15xpe5b.js} +21 -21
- package/dist/chunks/{event-logger-m86bnw2c.js → location-service-map-m2d0j7c0.js} +9 -9
- package/dist/chunks/{event-logger-p0a23dx6.js → location-service-map-m46exch3.js} +6 -6
- package/dist/chunks/{event-logger-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-rb027g49.js → location-service-map-macjbbq7.js} +13 -13
- package/dist/chunks/{event-logger-ghz6wyt3.js → location-service-map-mbmajcqq.js} +4 -4
- package/dist/chunks/{event-logger-bccb6npm.js → location-service-map-mfhfdr54.js} +4 -4
- package/dist/chunks/{event-logger-s058yp8t.js → location-service-map-mfkt00wb.js} +43 -43
- package/dist/chunks/location-service-map-mj4svvj3.js +247 -0
- package/dist/chunks/{event-logger-5wtwrezn.js → location-service-map-mjymc32g.js} +21 -21
- package/dist/chunks/{event-logger-b0dr1xvw.js → location-service-map-mn5vge6e.js} +25 -25
- package/dist/chunks/{event-logger-tcb1qavv.js → location-service-map-mqhbcrz9.js} +15 -15
- package/dist/chunks/{event-logger-nzvncwgb.js → location-service-map-mst48ss9.js} +6 -6
- package/dist/chunks/{event-logger-k0c7x7cv.js → location-service-map-n061tvb2.js} +5 -5
- package/dist/chunks/{event-logger-ce6x2zr0.js → location-service-map-n0a4p06j.js} +2 -2
- package/dist/chunks/{event-logger-dkbwh9ch.js → location-service-map-n1jps1an.js} +11 -11
- package/dist/chunks/{event-logger-z0tznns6.js → location-service-map-n79p6j0f.js} +20 -20
- package/dist/chunks/location-service-map-n858xwcz.js +76 -0
- package/dist/chunks/{event-logger-xbmcec40.js → location-service-map-ncx1zfyg.js} +5 -5
- package/dist/chunks/{event-logger-nhy5jxhy.js → location-service-map-nhy5jxhy.js} +1 -1
- package/dist/chunks/{event-logger-xjhc0fx9.js → location-service-map-nmt3ecvr.js} +13 -13
- package/dist/chunks/{event-logger-41b51z4e.js → location-service-map-nnzxvn8r.js} +34 -34
- package/dist/chunks/{event-logger-eraanh1f.js → location-service-map-nv5vn7qx.js} +6 -6
- package/dist/chunks/{event-logger-936n54ck.js → location-service-map-p0cntz7p.js} +1 -1
- package/dist/chunks/{event-logger-qccnpqpp.js → location-service-map-p4ra41gf.js} +47 -47
- package/dist/chunks/{event-logger-tfc0qd5p.js → location-service-map-p8psh417.js} +16 -16
- package/dist/chunks/{event-logger-7cmx66q7.js → location-service-map-p96jhc2f.js} +10 -10
- package/dist/chunks/{event-logger-j935v87r.js → location-service-map-paphc93g.js} +2 -2
- package/dist/chunks/{event-logger-806j49yq.js → location-service-map-pbfwh0cy.js} +7 -7
- package/dist/chunks/{event-logger-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-r98e92ep.js → location-service-map-pmr4s4kc.js} +4 -4
- package/dist/chunks/{event-logger-5chc8p18.js → location-service-map-pp0wchrp.js} +10 -10
- package/dist/chunks/{event-logger-amtwdtr3.js → location-service-map-q10f7s3e.js} +10 -10
- package/dist/chunks/{event-logger-80mswp33.js → location-service-map-q1gq60c3.js} +44 -44
- package/dist/chunks/{event-logger-tzrnpvjh.js → location-service-map-qa515kys.js} +28 -28
- package/dist/chunks/location-service-map-qapv375x.js +4 -0
- package/dist/chunks/{event-logger-esh0bm8f.js → location-service-map-qj8qcdcr.js} +17 -17
- package/dist/chunks/{event-logger-wbkyxrgf.js → location-service-map-qn4ba14w.js} +5 -5
- package/dist/chunks/{event-logger-2f0bjgcj.js → location-service-map-qr8csav2.js} +5 -5
- package/dist/chunks/{event-logger-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-2wspn1sr.js → location-service-map-qtvfk11k.js} +12 -12
- package/dist/chunks/{event-logger-359n0vr4.js → location-service-map-qx1bsczb.js} +9 -9
- package/dist/chunks/{event-logger-dfa1vh33.js → location-service-map-r3fekxty.js} +43 -43
- package/dist/chunks/{event-logger-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{event-logger-xf6kwcfv.js → location-service-map-rbbbqjtt.js} +6 -6
- package/dist/chunks/{event-logger-bvn0jvmc.js → location-service-map-rd68kf8k.js} +32 -32
- package/dist/chunks/{event-logger-rhjbct0v.js → location-service-map-rhjbct0v.js} +1 -1
- package/dist/chunks/{event-logger-0mgvehma.js → location-service-map-rmj8e3tp.js} +3 -3
- package/dist/chunks/{event-logger-td0hqsrb.js → location-service-map-s7t06fzn.js} +5 -5
- package/dist/chunks/{event-logger-a39f2ken.js → location-service-map-s8esax8r.js} +35 -35
- package/dist/chunks/{event-logger-ky16kd9n.js → location-service-map-sb1hd4c5.js} +12 -12
- package/dist/chunks/{event-logger-jm81tt6p.js → location-service-map-sc041ka6.js} +28 -28
- package/dist/chunks/{event-logger-zs2m6qpz.js → location-service-map-sv3tjegf.js} +9 -9
- package/dist/chunks/{event-logger-q17z9dx8.js → location-service-map-t0sqncza.js} +5 -5
- package/dist/chunks/{event-logger-yefegs55.js → location-service-map-t1gg20rg.js} +20 -20
- package/dist/chunks/{event-logger-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-nzv3j2hr.js → location-service-map-tcemetme.js} +17 -17
- package/dist/chunks/{event-logger-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-t120k88h.js → location-service-map-tdhe5xga.js} +11 -11
- package/dist/chunks/{event-logger-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-cjwramev.js → location-service-map-te0y5yvz.js} +6 -6
- package/dist/chunks/{event-logger-9wt937vk.js → location-service-map-temrxnya.js} +5 -5
- package/dist/chunks/{event-logger-tf5cr1kr.js → location-service-map-tf0c8dww.js} +22 -22
- package/dist/chunks/{event-logger-vkw1mnyj.js → location-service-map-tfe8r9yw.js} +6 -6
- package/dist/chunks/{event-logger-gzpzy08g.js → location-service-map-tfsvbd81.js} +17 -17
- package/dist/chunks/{event-logger-xmn01vd9.js → location-service-map-trmn0xjy.js} +26 -26
- package/dist/chunks/{event-logger-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-3sr32dx8.js → location-service-map-tvwcnnqz.js} +36 -36
- package/dist/chunks/{event-logger-h827z1wc.js → location-service-map-tw96capc.js} +82 -82
- package/dist/chunks/{event-logger-vy5eqv62.js → location-service-map-v39hw6t4.js} +23 -23
- package/dist/chunks/{event-logger-hej11e9k.js → location-service-map-v8zv6t8m.js} +43 -43
- package/dist/chunks/{event-logger-j5208yae.js → location-service-map-va5qff5x.js} +4 -4
- package/dist/chunks/{event-logger-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-dqv3av83.js → location-service-map-vmb1g9yg.js} +6 -6
- package/dist/chunks/{event-logger-tqtt53gv.js → location-service-map-vmcg8w16.js} +5 -5
- package/dist/chunks/{event-logger-xxvz0crz.js → location-service-map-vnraxnqt.js} +3 -3
- package/dist/chunks/{event-logger-mwgsz66j.js → location-service-map-vy5x89ec.js} +13 -13
- package/dist/chunks/{event-logger-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-zfznrpx1.js → location-service-map-vze96k0n.js} +4 -4
- package/dist/chunks/{event-logger-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-mf4e5jra.js → location-service-map-wdq75b5e.js} +6 -6
- package/dist/chunks/{event-logger-vxwzppst.js → location-service-map-wgjsebpd.js} +9 -9
- package/dist/chunks/{event-logger-b5h5ke4m.js → location-service-map-wjqg5mtv.js} +8 -8
- package/dist/chunks/{event-logger-hrvd6t1f.js → location-service-map-ws4yv80v.js} +9 -9
- package/dist/chunks/{event-logger-cbs9m2xx.js → location-service-map-wseagqzp.js} +11 -11
- package/dist/chunks/{event-logger-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-kqwhkqhr.js → location-service-map-x85ct4pa.js} +4 -4
- package/dist/chunks/{event-logger-zawdfknb.js → location-service-map-x8cnzhn9.js} +11 -11
- package/dist/chunks/{event-logger-sthbb5cw.js → location-service-map-xdaq4n9p.js} +41 -41
- package/dist/chunks/{event-logger-ar0hjm29.js → location-service-map-xn5rvdk3.js} +8 -8
- package/dist/chunks/{event-logger-gt2gssxy.js → location-service-map-xrk2t408.js} +11 -11
- package/dist/chunks/{event-logger-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-5rnzym28.js → location-service-map-y4tf6mjn.js} +20 -20
- package/dist/chunks/{event-logger-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-62sdnsqh.js → location-service-map-ya1kd0gg.js} +18 -18
- package/dist/chunks/{event-logger-rb64xmzh.js → location-service-map-yhsntfs8.js} +50 -50
- package/dist/chunks/{event-logger-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-m5gdw33a.js → location-service-map-yt6tv3nz.js} +1 -1
- package/dist/chunks/{event-logger-x871jg53.js → location-service-map-ywzm6tvd.js} +16 -16
- package/dist/chunks/{event-logger-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-y6f0p4jw.js → location-service-map-z143cnk6.js} +3 -3
- package/dist/chunks/{event-logger-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{event-logger-tmgwzcwe.js → location-service-map-z6km8w65.js} +19 -19
- package/dist/chunks/{event-logger-nt222m0g.js → location-service-map-z8v5b26b.js} +19 -19
- package/dist/chunks/{event-logger-f8qm8sf3.js → location-service-map-z8xc4d6k.js} +24 -24
- package/dist/chunks/{event-logger-k0gaf0st.js → location-service-map-z8zdqtej.js} +11 -11
- package/dist/chunks/{event-logger-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → location-service-map-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 +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +362 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +91 -91
- 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 +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +81 -81
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +353 -352
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +126 -126
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +121 -121
- 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 +7 -7
- 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 +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +324 -323
- 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 +4 -4
- 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/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/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 +81 -81
- 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 +157 -157
- 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 +343 -342
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +13 -0
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- 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 +124 -124
- package/dist/session/context.js +148 -148
- 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 +214 -214
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +81 -81
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- 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 +127 -127
- package/dist/session/projector.js +85 -85
- 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 +1 -1
- 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 +87 -87
- 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 +84 -84
- 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 +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- 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 +13 -13
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/event-logger-0mesazry.js +0 -4
- package/dist/chunks/event-logger-9sh4wc5j.js +0 -18
- package/dist/chunks/event-logger-a5r3kjdg.js +0 -247
- package/dist/chunks/event-logger-mqnfax07.js +0 -22
- package/dist/chunks/event-logger-p61frmk7.js +0 -462
- /package/dist/chunks/{event-logger-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-3dj6qs5p.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-e4emtts5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service70,
|
|
14
|
+
node75
|
|
15
|
+
} from "./location-service-map-70ghb00d.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-7azwfx08.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info31,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service69,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node74,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service69 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service70;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID15.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event18.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID15.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID15.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID15.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID15.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service69.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node74 = makeGlobalNode({
|
|
277
|
+
service: Service69,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node75, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID15, Vcs2, Current2, Info31, UpdateInput3, NotFoundError9, root2, Service69, node74, exports_project };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service34,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node38
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service34 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service34, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service34.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service61, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node38 = makeGlobalNode({ service: Service34, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service34, node38, exports_environment };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service35
|
|
4
|
+
} from "./location-service-map-mfkt00wb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./location-service-map-x8cnzhn9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin24 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service35;
|
|
27
|
+
const shell = yield* Service76;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin29 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin24, exports_shell2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-e4emtts5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./location-service-map-7z4xahb4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./location-service-map-cjbknnmw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./location-service-map-sb1hd4c5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-df1gd0ha.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-x85ct4pa.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-service-map-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-35vexpw6.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service65;
|
|
58
|
+
const toolOutput = yield* Service59;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-e4emtts5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-service-map-2g9xpxn7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event8,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service38,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node42,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service38 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event8 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service78;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event8.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service38.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event8.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event8.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node42 = makeGlobalNode({ service: Service38, layer, deps: [httpClient, node83, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service38, Event8, inspect2, resolve2, node42, exports_wellknown };
|