@opencode/core 0.0.0-dev-20448 → 0.0.0-dev-20450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{event-logger-4qwh2j69.js → location-services-04zc97jq.js} +11 -11
- package/dist/chunks/{event-logger-yyq5wwvp.js → location-services-07nzww9r.js} +37 -37
- package/dist/chunks/{event-logger-jk1cfv3m.js → location-services-0ajh95vz.js} +6 -6
- package/dist/chunks/location-services-0df77v9g.js +507 -0
- package/dist/chunks/{event-logger-h9phamz0.js → location-services-0h4fw62m.js} +2 -2
- package/dist/chunks/{event-logger-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-y1qqcj8h.js → location-services-0t9wd588.js} +8 -8
- package/dist/chunks/{event-logger-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{event-logger-fngg5dts.js → location-services-0x4gzyfe.js} +32 -32
- package/dist/chunks/{event-logger-spw1z2q7.js → location-services-0y8qv4v3.js} +29 -29
- package/dist/chunks/{event-logger-hamg8kx8.js → location-services-137fq5y8.js} +27 -27
- package/dist/chunks/{event-logger-5znq9j58.js → location-services-14363efp.js} +11 -11
- package/dist/chunks/{event-logger-xa4xh9eb.js → location-services-159dq0vr.js} +11 -11
- package/dist/chunks/{event-logger-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-h0y6gyg6.js → location-services-1ftb5ecd.js} +5 -5
- package/dist/chunks/{event-logger-9we07c3h.js → location-services-1k85hbs2.js} +30 -30
- package/dist/chunks/{event-logger-904bg09a.js → location-services-1qwgzmm5.js} +11 -11
- package/dist/chunks/{event-logger-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-k8gwj0p0.js → location-services-23hntbrw.js} +13 -13
- package/dist/chunks/{event-logger-7yqjxrmz.js → location-services-23pqda6t.js} +6 -6
- package/dist/chunks/{event-logger-q9p7zpd5.js → location-services-29zgt1j1.js} +33 -33
- package/dist/chunks/{event-logger-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-qrn3harz.js → location-services-2nqey637.js} +10 -10
- package/dist/chunks/{event-logger-zcayt5jj.js → location-services-2xmq3vpz.js} +33 -33
- package/dist/chunks/{event-logger-anwj03q3.js → location-services-32ht5shb.js} +15 -15
- package/dist/chunks/{event-logger-bxcmn2wa.js → location-services-32p4hgsf.js} +47 -47
- package/dist/chunks/{event-logger-mfqp6xfm.js → location-services-33w4ejhs.js} +9 -9
- package/dist/chunks/{event-logger-tv2mrqm9.js → location-services-36mwe6xe.js} +16 -16
- package/dist/chunks/{event-logger-7v7knrkr.js → location-services-390gkeb4.js} +13 -13
- package/dist/chunks/{event-logger-h2b79v29.js → location-services-3cegwx68.js} +2 -2
- package/dist/chunks/{event-logger-84p84h2c.js → location-services-3fb919v3.js} +3 -3
- package/dist/chunks/{event-logger-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-tzehptey.js → location-services-3v5tjer0.js} +9 -9
- package/dist/chunks/{event-logger-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-kk2qnnr0.js → location-services-3zt9s3jj.js} +18 -18
- package/dist/chunks/{event-logger-ps97516x.js → location-services-41rzyp0m.js} +19 -19
- package/dist/chunks/{event-logger-pchm5dd6.js → location-services-41sxqzm2.js} +22 -22
- package/dist/chunks/{event-logger-bx4acmk7.js → location-services-46jba6n7.js} +17 -17
- package/dist/chunks/{event-logger-rd108yne.js → location-services-47ttr96j.js} +18 -18
- package/dist/chunks/{event-logger-rtx9gtyv.js → location-services-4cgedjbr.js} +3 -3
- package/dist/chunks/{event-logger-pnaxc6j9.js → location-services-4e8vs6eh.js} +8 -8
- package/dist/chunks/{event-logger-4mwpykj0.js → location-services-4mwpykj0.js} +1 -1
- package/dist/chunks/{event-logger-kp8q1t60.js → location-services-4nj4bn9q.js} +9 -9
- package/dist/chunks/{event-logger-gepsrshe.js → location-services-4t9dhaga.js} +15 -15
- package/dist/chunks/{event-logger-2ccvkpx1.js → location-services-4ts7tf6z.js} +2 -2
- package/dist/chunks/{event-logger-4qrezbc4.js → location-services-51hvf86a.js} +33 -33
- package/dist/chunks/{event-logger-rpchwtds.js → location-services-52ewndf0.js} +25 -25
- package/dist/chunks/{event-logger-g14hjekp.js → location-services-52n7b4yz.js} +182 -182
- package/dist/chunks/{event-logger-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-025r9p6c.js → location-services-573974vw.js} +24 -24
- package/dist/chunks/{event-logger-432svpan.js → location-services-57wdwfaz.js} +43 -43
- package/dist/chunks/{event-logger-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-9vqrjshk.js → location-services-5dwaewr7.js} +25 -25
- package/dist/chunks/{event-logger-29eg91y8.js → location-services-5k3kwaah.js} +18 -18
- package/dist/chunks/{event-logger-2wts5qzq.js → location-services-5kw0n2ma.js} +8 -8
- package/dist/chunks/{event-logger-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
- package/dist/chunks/{event-logger-27a4zz2s.js → location-services-5sp908nt.js} +17 -17
- package/dist/chunks/{event-logger-mg9eprjx.js → location-services-5t1kfqwj.js} +11 -11
- package/dist/chunks/{event-logger-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-k70p9jzb.js → location-services-5tcm9639.js} +9 -9
- package/dist/chunks/{event-logger-3h8j5ahx.js → location-services-5ypfgryp.js} +13 -13
- package/dist/chunks/{event-logger-2k8khapm.js → location-services-607tc6va.js} +5 -5
- package/dist/chunks/{event-logger-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-fcc8k9h4.js → location-services-67jv4443.js} +21 -21
- package/dist/chunks/{event-logger-283mwr8r.js → location-services-6dr0wsep.js} +18 -18
- package/dist/chunks/{event-logger-zfv7fwfa.js → location-services-6k1exbnf.js} +32 -32
- package/dist/chunks/{event-logger-712676yn.js → location-services-6t5a38x7.js} +23 -23
- package/dist/chunks/{event-logger-xfwsg613.js → location-services-6wc3ddhe.js} +20 -20
- package/dist/chunks/{event-logger-594gxkg3.js → location-services-6xg7r5mv.js} +1 -1
- package/dist/chunks/{event-logger-gg6v90bt.js → location-services-70h9fc4n.js} +3 -3
- package/dist/chunks/{event-logger-h0nrh5g5.js → location-services-72yd8x0q.js} +16 -16
- package/dist/chunks/{event-logger-wwfsgjp3.js → location-services-73esx66y.js} +9 -9
- package/dist/chunks/{event-logger-pdzqywty.js → location-services-73qcdwhn.js} +49 -49
- package/dist/chunks/{event-logger-s3atc1v9.js → location-services-7446rjjn.js} +1 -1
- package/dist/chunks/{event-logger-kbf65jmx.js → location-services-74zfjb84.js} +28 -28
- package/dist/chunks/{event-logger-bt8wzsf1.js → location-services-775wrvb1.js} +25 -25
- package/dist/chunks/{event-logger-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-5fe36zdw.js → location-services-7bn9z2m5.js} +3 -3
- package/dist/chunks/{event-logger-xr2kbdek.js → location-services-7cgmbdtc.js} +7 -7
- package/dist/chunks/{event-logger-4608f3zx.js → location-services-7fnnxkfn.js} +37 -37
- package/dist/chunks/{event-logger-2zfnf44s.js → location-services-7wsn8jkm.js} +4 -4
- package/dist/chunks/{event-logger-1dvck2a7.js → location-services-84h8c373.js} +2 -2
- package/dist/chunks/{event-logger-84txncab.js → location-services-84txncab.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → location-services-89znhe33.js} +4 -4
- package/dist/chunks/{event-logger-9bxjh02c.js → location-services-8bh61ygk.js} +51 -51
- package/dist/chunks/{event-logger-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-1jt7ykkj.js → location-services-8q3z2749.js} +25 -25
- package/dist/chunks/{event-logger-r01t9b5y.js → location-services-8q61w4ba.js} +8 -8
- package/dist/chunks/{event-logger-gm0fw0ea.js → location-services-8r8xekqf.js} +20 -20
- package/dist/chunks/{event-logger-g54wh2k8.js → location-services-8ssz5kmw.js} +67 -67
- package/dist/chunks/{event-logger-b4twkq7r.js → location-services-8sze2n9a.js} +2 -2
- package/dist/chunks/{event-logger-e8cja42p.js → location-services-954vm9zf.js} +6 -6
- package/dist/chunks/{event-logger-3xbeb0ys.js → location-services-98wga3pz.js} +5 -5
- package/dist/chunks/{event-logger-e6cfs5fy.js → location-services-9a1bht1a.js} +4 -4
- package/dist/chunks/{event-logger-10ke8wy4.js → location-services-9jgm88yh.js} +4 -4
- package/dist/chunks/{event-logger-tng282jn.js → location-services-9rbsrj1n.js} +6 -6
- package/dist/chunks/{event-logger-ax23vn7r.js → location-services-9rzpcnh1.js} +11 -11
- package/dist/chunks/{event-logger-t550f9t1.js → location-services-9t7a50xb.js} +4 -4
- package/dist/chunks/{event-logger-dyhejfhh.js → location-services-a0805j8t.js} +3 -3
- package/dist/chunks/{event-logger-kbkddehn.js → location-services-a0mgmfsd.js} +32 -32
- package/dist/chunks/{event-logger-k9jsxftv.js → location-services-a4fdsy1e.js} +32 -32
- package/dist/chunks/{event-logger-4pwd558p.js → location-services-aa0cewsz.js} +10 -10
- package/dist/chunks/{event-logger-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-by5tvt2z.js → location-services-amfvtdma.js} +10 -10
- package/dist/chunks/{event-logger-5dkh983c.js → location-services-anjjwhm7.js} +17 -17
- package/dist/chunks/{event-logger-y40kyw7n.js → location-services-az6fhp2f.js} +36 -36
- package/dist/chunks/{event-logger-b3f8fkhc.js → location-services-b3f8fkhc.js} +2 -2
- package/dist/chunks/{event-logger-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-55xfy5s4.js → location-services-bepr5r9g.js} +15 -15
- package/dist/chunks/{event-logger-hk5c0ytp.js → location-services-bg7m88fe.js} +22 -22
- package/dist/chunks/{event-logger-xtqeprzx.js → location-services-bmztvrbp.js} +14 -14
- package/dist/chunks/{event-logger-wa9g86nq.js → location-services-btbmdjwj.js} +4 -4
- package/dist/chunks/{event-logger-1fqq8vqc.js → location-services-bvrvs8m0.js} +26 -26
- package/dist/chunks/{event-logger-pm4gwtf6.js → location-services-c7nc5arv.js} +12 -12
- package/dist/chunks/location-services-c9d4en3z.js +252 -0
- package/dist/chunks/{event-logger-9x3j7hff.js → location-services-cf9x4s5a.js} +82 -82
- package/dist/chunks/{event-logger-pd72zq69.js → location-services-cjwpz2jw.js} +48 -48
- package/dist/chunks/{event-logger-8s6x3d41.js → location-services-czsbxpcf.js} +36 -36
- package/dist/chunks/{event-logger-hd0dv02w.js → location-services-d3cqp89z.js} +21 -21
- package/dist/chunks/{event-logger-4wskyzd5.js → location-services-dahv1f9d.js} +5 -5
- package/dist/chunks/{event-logger-qh22g8nh.js → location-services-dcr84v06.js} +13 -13
- package/dist/chunks/{event-logger-dr12q9z6.js → location-services-dm1xdvy1.js} +22 -22
- package/dist/chunks/{event-logger-mpk0rfs5.js → location-services-dnxkq42g.js} +4 -4
- package/dist/chunks/{event-logger-vp0z89e3.js → location-services-dp2bb01k.js} +20 -20
- package/dist/chunks/{event-logger-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{event-logger-rtkh151k.js → location-services-dppkjzwm.js} +3 -3
- package/dist/chunks/{event-logger-bkxyw0dr.js → location-services-dzw83ac5.js} +9 -9
- package/dist/chunks/{event-logger-7x3ym2x5.js → location-services-e9fq58ym.js} +5 -5
- package/dist/chunks/{event-logger-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-z82rkb9m.js → location-services-egwe353v.js} +3 -3
- package/dist/chunks/{event-logger-cv3we14p.js → location-services-ejctqn46.js} +7 -7
- package/dist/chunks/{event-logger-sdx9bhzb.js → location-services-ejfvs62f.js} +20 -20
- package/dist/chunks/{event-logger-wpwd7k51.js → location-services-epx8jvpp.js} +9 -9
- package/dist/chunks/{event-logger-mvfsc1pv.js → location-services-eq1pz5kg.js} +3 -3
- package/dist/chunks/{event-logger-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-dvdrsg1q.js → location-services-expg6636.js} +83 -83
- package/dist/chunks/{event-logger-h9wp8z5w.js → location-services-f29mbr7f.js} +4 -4
- package/dist/chunks/{event-logger-71az546q.js → location-services-f75zav2x.js} +2 -2
- package/dist/chunks/{event-logger-ebsr21av.js → location-services-f79znmm7.js} +22 -22
- package/dist/chunks/{event-logger-qsjw007r.js → location-services-f7mex5kc.js} +10 -10
- package/dist/chunks/{event-logger-m6fea7hh.js → location-services-fer3tpfm.js} +11 -11
- package/dist/chunks/{event-logger-ex7a17jg.js → location-services-ffxkc1dx.js} +6 -6
- package/dist/chunks/{event-logger-0pa8htj5.js → location-services-fkj2796b.js} +18 -18
- package/dist/chunks/{event-logger-rs3qhzzg.js → location-services-fy1jztjm.js} +37 -37
- package/dist/chunks/{event-logger-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-17zj526k.js → location-services-geb4a7yy.js} +8 -8
- package/dist/chunks/{event-logger-5d607bsg.js → location-services-gjwgx2c5.js} +9 -9
- package/dist/chunks/{event-logger-c89vh89k.js → location-services-gy63srrv.js} +30 -30
- package/dist/chunks/{event-logger-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-tw51v10a.js → location-services-h6xkfdk1.js} +16 -16
- package/dist/chunks/{event-logger-vzmgbyx1.js → location-services-hae1aec3.js} +11 -11
- package/dist/chunks/{event-logger-30krspkn.js → location-services-hnr8f6ws.js} +4 -4
- package/dist/chunks/{event-logger-zypmz1pm.js → location-services-hqj0fwng.js} +8 -8
- package/dist/chunks/{event-logger-4f7vnw9z.js → location-services-hrkp49d3.js} +15 -15
- package/dist/chunks/{event-logger-qv6rw298.js → location-services-hybaecqw.js} +29 -29
- package/dist/chunks/{event-logger-e0rzh98p.js → location-services-j34cs6sj.js} +24 -24
- package/dist/chunks/{event-logger-bcz24cr5.js → location-services-j46s9538.js} +23 -23
- package/dist/chunks/{event-logger-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-256nx13v.js → location-services-jexxy024.js} +3 -3
- package/dist/chunks/{event-logger-agkzm0be.js → location-services-jey8fzdt.js} +9 -9
- package/dist/chunks/{event-logger-hpxe7m2y.js → location-services-jr693m90.js} +6 -6
- package/dist/chunks/{event-logger-wm2754ph.js → location-services-jv2zxr46.js} +24 -24
- package/dist/chunks/{event-logger-3ny7sck4.js → location-services-jv56kan4.js} +11 -11
- package/dist/chunks/{event-logger-2vs2nh1n.js → location-services-jvf3yq6v.js} +4 -4
- package/dist/chunks/{event-logger-xdk9p2qn.js → location-services-jw80jp6b.js} +21 -21
- package/dist/chunks/{event-logger-4veqx6w1.js → location-services-jxzvcdat.js} +10 -10
- package/dist/chunks/{event-logger-xyw3p85n.js → location-services-jybhndc8.js} +26 -26
- package/dist/chunks/{event-logger-zwq83wym.js → location-services-k2wwdrk0.js} +19 -19
- package/dist/chunks/{event-logger-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-fzaeg2ds.js → location-services-k5qgma61.js} +12 -12
- package/dist/chunks/{event-logger-yb0nnf5a.js → location-services-k69ha7yf.js} +3 -3
- package/dist/chunks/{event-logger-bfnsmjbw.js → location-services-k8f3jam7.js} +5 -5
- package/dist/chunks/{event-logger-9e5bzkjp.js → location-services-kb9j3d72.js} +3 -3
- package/dist/chunks/{event-logger-d2c9eem0.js → location-services-kbntd7j9.js} +8 -8
- package/dist/chunks/{event-logger-xh9ky465.js → location-services-kc54qyfz.js} +13 -13
- package/dist/chunks/{event-logger-sy89kq56.js → location-services-kkehhrdv.js} +8 -8
- package/dist/chunks/{event-logger-xe40c49s.js → location-services-kn4gmbet.js} +41 -41
- package/dist/chunks/{event-logger-fepsx33q.js → location-services-kq8f09n9.js} +24 -24
- package/dist/chunks/{event-logger-m1q4m0kb.js → location-services-ks2k44qg.js} +12 -12
- package/dist/chunks/{event-logger-h90v2x9d.js → location-services-kzc3h1h3.js} +4 -4
- package/dist/chunks/{event-logger-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-68419g8m.js → location-services-m5wbs23r.js} +33 -33
- package/dist/chunks/{event-logger-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-mazbtkaa.js → location-services-mazbtkaa.js} +2 -2
- package/dist/chunks/{event-logger-k2vtjz35.js → location-services-mcsbd5qr.js} +34 -34
- package/dist/chunks/{event-logger-2jm1kbky.js → location-services-me3s3vv4.js} +14 -14
- package/dist/chunks/{event-logger-sz0w735c.js → location-services-me9c30nh.js} +4 -4
- package/dist/chunks/{event-logger-b29htdbz.js → location-services-mevczv93.js} +23 -23
- package/dist/chunks/{event-logger-hh2y2jgt.js → location-services-mjqndqed.js} +12 -12
- package/dist/chunks/{event-logger-7cjh5p1y.js → location-services-mkmsq5z4.js} +8 -8
- package/dist/chunks/{event-logger-gwkgtfjp.js → location-services-mmfgc0ta.js} +9 -9
- package/dist/chunks/{event-logger-yt79nyat.js → location-services-n2hn6ctt.js} +9 -9
- package/dist/chunks/{event-logger-3ma5fxv3.js → location-services-n2y4thpt.js} +11 -11
- package/dist/chunks/{event-logger-p1ykeed4.js → location-services-n674yaej.js} +11 -11
- package/dist/chunks/{event-logger-n8vdnqrc.js → location-services-n8vdnqrc.js} +2 -2
- package/dist/chunks/{event-logger-376x46en.js → location-services-nvpwytbf.js} +32 -32
- package/dist/chunks/{event-logger-prdz64n1.js → location-services-p08aktn5.js} +2 -2
- package/dist/chunks/{event-logger-p37cw4rj.js → location-services-p37cw4rj.js} +1 -1
- package/dist/chunks/{event-logger-ezjrjzyq.js → location-services-p4n2n4ge.js} +10 -10
- package/dist/chunks/{event-logger-w8srcnpp.js → location-services-p6e7n9ts.js} +11 -11
- package/dist/chunks/{event-logger-w7xxgrkj.js → location-services-p8f82s16.js} +20 -20
- package/dist/chunks/{event-logger-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-1pek3jt7.js → location-services-pmqjbaym.js} +5 -5
- package/dist/chunks/{event-logger-887y1z54.js → location-services-ppkrdbkc.js} +5 -5
- package/dist/chunks/{event-logger-3ma1skk1.js → location-services-pvvy0xx7.js} +11 -11
- package/dist/chunks/{event-logger-13fywz9t.js → location-services-px41mg2v.js} +26 -26
- package/dist/chunks/{event-logger-0j77ygfz.js → location-services-q0xm7vwc.js} +6 -6
- package/dist/chunks/{event-logger-fepbnb8j.js → location-services-qa7075pb.js} +5 -5
- package/dist/chunks/location-services-qdyb70sk.js +18 -0
- package/dist/chunks/{event-logger-ht5v7459.js → location-services-qh51x0bq.js} +24 -24
- package/dist/chunks/{event-logger-cbf5jjb3.js → location-services-qjb5tr49.js} +12 -12
- package/dist/chunks/{event-logger-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{event-logger-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-gzbkpp9m.js → location-services-qsxf26yz.js} +6 -6
- package/dist/chunks/{event-logger-m2n93apa.js → location-services-qv34apq4.js} +7 -7
- package/dist/chunks/{event-logger-sqxnm49h.js → location-services-qv6w546m.js} +11 -11
- package/dist/chunks/{event-logger-3qaj82j9.js → location-services-qvreyy9g.js} +5 -5
- package/dist/chunks/{event-logger-b77ncnqv.js → location-services-qvzqmbkj.js} +17 -17
- package/dist/chunks/{event-logger-2m8jawch.js → location-services-r2dnqh6n.js} +4 -4
- package/dist/chunks/{event-logger-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-cfdmmks0.js → location-services-rj7xh4qx.js} +33 -33
- package/dist/chunks/{event-logger-znsx74x0.js → location-services-rk1r2hx8.js} +1 -1
- package/dist/chunks/{event-logger-d9vtgrjt.js → location-services-rr0pykap.js} +7 -7
- package/dist/chunks/{event-logger-xbxcg6gj.js → location-services-rtdzv965.js} +22 -22
- package/dist/chunks/{event-logger-rjdsec5h.js → location-services-rtg35nam.js} +5 -5
- package/dist/chunks/{event-logger-6q0c4mka.js → location-services-rv7smp43.js} +36 -36
- package/dist/chunks/{event-logger-340fk759.js → location-services-rwb9syv2.js} +11 -11
- package/dist/chunks/{event-logger-xb02k0wq.js → location-services-ryr25ayn.js} +4 -4
- package/dist/chunks/{event-logger-49vre7sk.js → location-services-sf9kj30k.js} +42 -42
- package/dist/chunks/{event-logger-6wc4pc56.js → location-services-sh8k95kz.js} +19 -19
- package/dist/chunks/{event-logger-s4mtyj9y.js → location-services-sj40p6t1.js} +15 -15
- package/dist/chunks/{event-logger-qvq09nk1.js → location-services-sjv5qmhe.js} +3 -3
- package/dist/chunks/{event-logger-scnp1dpp.js → location-services-sqsz59mf.js} +10 -10
- package/dist/chunks/{event-logger-z8rfaqzv.js → location-services-stp9s0k1.js} +31 -31
- package/dist/chunks/{event-logger-byv6g4ee.js → location-services-sw8y5djv.js} +30 -30
- package/dist/chunks/{event-logger-dfe8djrf.js → location-services-sx1n432n.js} +4 -4
- package/dist/chunks/{event-logger-5n25gzb5.js → location-services-syyy2hrt.js} +4 -4
- package/dist/chunks/{event-logger-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-v3t7ccjd.js → location-services-tex88hhx.js} +46 -46
- package/dist/chunks/location-services-tqewcpxk.js +26 -0
- package/dist/chunks/{event-logger-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-2d99pj65.js → location-services-tvwbq7qm.js} +11 -11
- package/dist/chunks/{event-logger-xcec66r5.js → location-services-tw8eapz5.js} +47 -47
- package/dist/chunks/{event-logger-mkgkpagd.js → location-services-v04b82c1.js} +20 -20
- package/dist/chunks/{event-logger-r0cb0ck6.js → location-services-v20z2ba4.js} +10 -10
- package/dist/chunks/{event-logger-gdresbk1.js → location-services-va9vvq6w.js} +58 -58
- package/dist/chunks/{event-logger-bmwt6c32.js → location-services-vcn47bng.js} +34 -34
- package/dist/chunks/{event-logger-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-b720ka4c.js → location-services-vjjxy6yb.js} +9 -9
- package/dist/chunks/{event-logger-bfv0d40t.js → location-services-vp1kxwwv.js} +27 -27
- package/dist/chunks/{event-logger-aakwft81.js → location-services-vr9n9w3y.js} +26 -26
- package/dist/chunks/{event-logger-vq5c9x4q.js → location-services-vz7e0fzz.js} +17 -17
- package/dist/chunks/{event-logger-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-9e4en3sz.js → location-services-w4gvx3xt.js} +8 -8
- package/dist/chunks/{event-logger-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-vazhwx36.js → location-services-wh6zw745.js} +5 -5
- package/dist/chunks/{event-logger-ps49tzpg.js → location-services-wnxjsq8q.js} +14 -14
- package/dist/chunks/{event-logger-j6q81gkc.js → location-services-wvnyy24z.js} +13 -13
- package/dist/chunks/{event-logger-cr2e17pp.js → location-services-x0amqr8p.js} +24 -24
- package/dist/chunks/{event-logger-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-shqntgwy.js → location-services-xchyqy34.js} +32 -32
- package/dist/chunks/{event-logger-g5w8qwbj.js → location-services-xfkkasph.js} +4 -4
- package/dist/chunks/{event-logger-e6j7p34d.js → location-services-xgpppxj9.js} +29 -29
- package/dist/chunks/{event-logger-cz658kn3.js → location-services-xjy4ntws.js} +17 -17
- package/dist/chunks/{event-logger-dmqcgk4z.js → location-services-xkntkrq7.js} +5 -5
- package/dist/chunks/{event-logger-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-470chn1p.js → location-services-y7s822h0.js} +5 -5
- package/dist/chunks/{event-logger-m69d1h5c.js → location-services-ym7fjfg8.js} +11 -11
- package/dist/chunks/{event-logger-1f1banxt.js → location-services-ynd1z268.js} +25 -25
- package/dist/chunks/{event-logger-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{event-logger-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-p7tapf4a.js → location-services-ywqkw4ef.js} +54 -54
- package/dist/chunks/{event-logger-gksp05c7.js → location-services-yy9j72hh.js} +44 -44
- package/dist/chunks/{event-logger-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-h6sem7h5.js → location-services-zdw92gas.js} +12 -12
- package/dist/chunks/{event-logger-cdevnsy5.js → location-services-zk6h76qn.js} +16 -16
- package/dist/chunks/{event-logger-b5beq1ps.js → location-services-zkmsq240.js} +15 -15
- package/dist/chunks/{event-logger-8hezddv1.js → location-services-znt0jm4s.js} +27 -27
- package/dist/chunks/{event-logger-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/event-logger-1vsw5z46.js +0 -26
- package/dist/chunks/event-logger-5f4ycdnm.js +0 -507
- package/dist/chunks/event-logger-v1faaxn9.js +0 -18
- package/dist/chunks/event-logger-z2cwt4s7.js +0 -252
- /package/dist/chunks/{event-logger-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service63,
|
|
3
|
+
node67,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-mmfgc0ta.js";
|
|
6
6
|
import {
|
|
7
7
|
Service43,
|
|
8
8
|
node45
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-4mwpykj0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./location-services-rv7smp43.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-c9d4en3z.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service63, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service48);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,7 +58,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node67.replace(Layer.succeed(Service63, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-3fb919v3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node62
|
|
12
|
+
} from "./location-services-8q61w4ba.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID5,
|
|
25
|
+
Info: () => Info19,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service58,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured8,
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID5 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info19 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID5,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info24 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID5,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service58 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service58,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node62]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info19({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service58.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID5.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node61 = configured8();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID5, Info19, NotFound3, CreateConflict2, Service58, configured8, node61, exports_workspace };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./location-services-k5qgma61.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./location-services-0x4gzyfe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./location-services-8q3z2749.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./location-services-zdw92gas.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-vjjxy6yb.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-e9fq58ym.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-7bn9z2m5.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-b3f8fkhc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ 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
54
|
var make9 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service59;
|
|
58
|
+
const toolOutput = yield* Service47;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-3fb919v3.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service83,
|
|
84
84
|
deps: [node88],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service83.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node87 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-services-29zgt1j1.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info15
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info15 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info15, exports_attachment };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-3cegwx68.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./location-services-k5qgma61.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service40,
|
|
6
|
+
Event8
|
|
7
|
+
} from "./location-services-az6fhp2f.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service40;
|
|
33
|
+
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
node60
|
|
7
|
+
} from "./location-services-j34cs6sj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node18,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service57;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node60] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node18, exports_file_mutation };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./location-services-5sp908nt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service16
|
|
6
|
+
} from "./location-services-cf9x4s5a.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make11 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service16;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|