@opencode/core 0.0.0-dev-19688 → 0.0.0-dev-19694
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{git-3jstf9t0.js → location-00n4z9c8.js} +29 -29
- package/dist/chunks/{git-7hzkr1ps.js → location-0496x3fd.js} +35 -35
- package/dist/chunks/{git-0afwd2h8.js → location-06t18zr6.js} +11 -11
- package/dist/chunks/{git-0brq1vgj.js → location-0fj5p9dg.js} +41 -41
- package/dist/chunks/{git-5958kjg8.js → location-0fws8hsh.js} +43 -43
- package/dist/chunks/{git-49p1g939.js → location-0h0a48ec.js} +11 -11
- package/dist/chunks/{git-wnngper4.js → location-0hztt1kq.js} +9 -9
- package/dist/chunks/location-0kdkcf2f.js +26 -0
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{git-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-1mthm0sm.js → location-0qznmr0s.js} +5 -5
- package/dist/chunks/{git-5tke6q81.js → location-18etdt57.js} +27 -27
- package/dist/chunks/{git-199hz2pa.js → location-1d2mbafx.js} +15 -15
- package/dist/chunks/{git-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-vph80azg.js → location-1eyeymhy.js} +3 -3
- package/dist/chunks/{git-6xwg4nmq.js → location-1rgdf1rr.js} +14 -14
- package/dist/chunks/{git-yb4fkh4h.js → location-1sn79vb4.js} +39 -39
- package/dist/chunks/{git-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{git-61ckr634.js → location-224hfwad.js} +18 -18
- package/dist/chunks/{git-va5qff5x.js → location-23sxaqwc.js} +6 -6
- package/dist/chunks/{git-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{git-15kvcrwf.js → location-25r5rnx4.js} +19 -19
- package/dist/chunks/{git-mfhfdr54.js → location-26k5bknw.js} +4 -4
- package/dist/chunks/{git-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2459z54m.js → location-2acx5bed.js} +33 -33
- package/dist/chunks/{git-1gfgk62c.js → location-2eegacq4.js} +8 -8
- package/dist/chunks/{git-m29mzpwc.js → location-2p6gg44v.js} +22 -22
- package/dist/chunks/{git-mqz104rg.js → location-2qrxnqfp.js} +32 -32
- package/dist/chunks/{git-evf56c6f.js → location-2tphjjya.js} +16 -16
- package/dist/chunks/{git-azgsnsww.js → location-2v0smvdr.js} +6 -6
- package/dist/chunks/{git-1ygqh575.js → location-33w4ejhs.js} +6 -6
- package/dist/chunks/{git-7w8wyhxv.js → location-36pgk13z.js} +3 -3
- package/dist/chunks/{git-a75jqzxp.js → location-37w33ens.js} +24 -24
- package/dist/chunks/{git-dj9sq318.js → location-3cfzdc8e.js} +5 -5
- package/dist/chunks/{git-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-jv2s6zs8.js → location-4445jz97.js} +10 -10
- package/dist/chunks/{git-4dgbcxzg.js → location-44h5tttr.js} +4 -4
- package/dist/chunks/{git-msbbmz00.js → location-486w7fxe.js} +47 -47
- package/dist/chunks/{git-ev2k3srp.js → location-494y9cte.js} +24 -24
- package/dist/chunks/{git-nq152q77.js → location-4b260xn2.js} +16 -16
- package/dist/chunks/{git-mvk278pt.js → location-4pkxdsqk.js} +19 -19
- package/dist/chunks/{git-dz07z7ns.js → location-4xcd1knb.js} +14 -14
- package/dist/chunks/{git-yvhffnst.js → location-4y72ap3v.js} +12 -12
- package/dist/chunks/{git-rqyhz3pj.js → location-4yv3tfyh.js} +27 -27
- package/dist/chunks/{git-txyptwf2.js → location-50hsvrdv.js} +32 -32
- package/dist/chunks/{git-4sn99hha.js → location-57ez7d0k.js} +7 -7
- package/dist/chunks/{git-r1m0wred.js → location-59dzktqd.js} +4 -4
- package/dist/chunks/{git-6hknjp7s.js → location-5a8cmj9a.js} +33 -33
- package/dist/chunks/{git-7a5pcgfq.js → location-5ap504dp.js} +9 -9
- package/dist/chunks/{git-pg3x4kqe.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{git-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{git-tjq74dy7.js → location-5g14qra5.js} +23 -23
- package/dist/chunks/{git-r3hv5v0g.js → location-5gjmv7pj.js} +19 -19
- package/dist/chunks/{git-x8xzcv8y.js → location-5sgk8ws7.js} +13 -13
- package/dist/chunks/{git-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-9xp198kc.js → location-5wpr938k.js} +12 -12
- package/dist/chunks/{git-p37cw4rj.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/{git-ftgekngx.js → location-62kxvbf2.js} +19 -19
- package/dist/chunks/{git-sn5sfsc9.js → location-64t5n8f6.js} +10 -10
- package/dist/chunks/{git-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{git-jbqg4cgc.js → location-6a605wbe.js} +58 -58
- package/dist/chunks/{git-z11gs965.js → location-6et2tsyb.js} +25 -25
- package/dist/chunks/{git-0jq9fyba.js → location-6hjx5zpb.js} +9 -9
- package/dist/chunks/{git-f0mn3z3c.js → location-6k7g8b2m.js} +1 -1
- package/dist/chunks/{git-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-6rtfy69a.js → location-6rtfy69a.js} +2 -2
- package/dist/chunks/{git-egy25ryw.js → location-6sanwebc.js} +25 -25
- package/dist/chunks/{git-40h9q514.js → location-6z0fr5t2.js} +5 -5
- package/dist/chunks/{git-en98q301.js → location-6z0vzmdg.js} +5 -5
- package/dist/chunks/{git-3hhky1y1.js → location-78z8y7xk.js} +17 -17
- package/dist/chunks/{git-be9rpv02.js → location-79etttnd.js} +31 -31
- package/dist/chunks/{git-wxadz7y9.js → location-7aath5aj.js} +25 -25
- package/dist/chunks/{git-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-7dqw4kz8.js → location-7dqw4kz8.js} +1 -1
- package/dist/chunks/{git-ateq7ehh.js → location-7j5hs3da.js} +28 -28
- package/dist/chunks/{git-pwmksjqr.js → location-7mamhmm7.js} +4 -4
- package/dist/chunks/{git-8m9jqnpz.js → location-7pxh4w28.js} +90 -90
- package/dist/chunks/{git-p1f7pd7a.js → location-8aqjv0nr.js} +17 -17
- package/dist/chunks/{git-jnbjc8km.js → location-8bb7e2vp.js} +18 -18
- package/dist/chunks/{git-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-p17938vj.js → location-8dem3s5f.js} +7 -7
- package/dist/chunks/{git-jqg9rab3.js → location-8dj191es.js} +35 -35
- package/dist/chunks/{git-mw3qqj8g.js → location-8hvvgkp1.js} +5 -5
- package/dist/chunks/{git-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-dg7a6m6t.js → location-8r6rwc5s.js} +44 -44
- package/dist/chunks/{git-b3ybp4zh.js → location-8t8275hn.js} +11 -11
- package/dist/chunks/{git-d4csp169.js → location-8w4gja5v.js} +8 -8
- package/dist/chunks/{git-mjagy123.js → location-92azg307.js} +5 -5
- package/dist/chunks/{git-30480sdz.js → location-95548ppq.js} +15 -15
- package/dist/chunks/{git-0gwebd6g.js → location-98s8e1rw.js} +8 -8
- package/dist/chunks/{git-9c3np669.js → location-9ex8f1cq.js} +8 -8
- package/dist/chunks/{git-wr8xqqe1.js → location-9f3c306s.js} +20 -20
- package/dist/chunks/{git-ec87kc5z.js → location-9h41vc4j.js} +4 -4
- package/dist/chunks/{git-edtsms1g.js → location-9myg4ep2.js} +4 -4
- package/dist/chunks/{git-b44e3v9r.js → location-a0kv3qe5.js} +3 -3
- package/dist/chunks/{git-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-2brx2yvj.js → location-a3hwp3ky.js} +22 -22
- package/dist/chunks/{git-j7ch2sdk.js → location-a3mksyy2.js} +6 -6
- package/dist/chunks/{git-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{git-xkgjtwvv.js → location-abe9ad8b.js} +7 -7
- package/dist/chunks/{git-kh9er4nr.js → location-ahh4p74p.js} +182 -182
- package/dist/chunks/{git-s9pw04c8.js → location-ay3b2ggg.js} +10 -10
- package/dist/chunks/{git-c84z0q4x.js → location-b6a6whtj.js} +27 -27
- package/dist/chunks/{git-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-es6vvgdb.js → location-b80j8sws.js} +16 -16
- package/dist/chunks/{git-fch79rh9.js → location-b97cbvw3.js} +1 -1
- package/dist/chunks/{git-jmphe03k.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{git-qfrjc8h3.js → location-bhjnpvv2.js} +13 -13
- package/dist/chunks/{git-aww827kb.js → location-c3jt164g.js} +17 -17
- package/dist/chunks/{git-mhkh0xea.js → location-c7q16h9q.js} +11 -11
- package/dist/chunks/{git-magykp64.js → location-cavr175a.js} +4 -4
- package/dist/chunks/{git-7prb58xv.js → location-cd9h2kba.js} +306 -306
- package/dist/chunks/{git-f559ga5b.js → location-cdmrqbam.js} +23 -23
- package/dist/chunks/{git-jngk8s4y.js → location-cf88hb9r.js} +11 -11
- package/dist/chunks/{git-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-44jrjrja.js → location-cjmgn8y7.js} +16 -16
- package/dist/chunks/{git-y3wpwyaa.js → location-cr9wy6w1.js} +6 -6
- package/dist/chunks/{git-nkr6vmt6.js → location-ctecyn49.js} +5 -5
- package/dist/chunks/{git-2sejkfem.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{git-4phm5153.js → location-d2aac7k2.js} +5 -5
- package/dist/chunks/{git-7hdsxj1z.js → location-d2j26fpy.js} +5 -5
- package/dist/chunks/{git-phjaars8.js → location-dcse214k.js} +6 -6
- package/dist/chunks/{git-8j88jbyt.js → location-dd1trpre.js} +11 -11
- package/dist/chunks/{git-zev0ek28.js → location-dgp71kyc.js} +13 -13
- package/dist/chunks/{git-y0nb3a38.js → location-dk3zb08y.js} +9 -9
- package/dist/chunks/{git-w6p3gqyc.js → location-dmwb5j6b.js} +2 -2
- package/dist/chunks/{git-xfkkasph.js → location-drwq78ky.js} +4 -4
- package/dist/chunks/{git-rq5m0cbv.js → location-dsp1hxq9.js} +24 -24
- package/dist/chunks/{git-qnmxneha.js → location-e4wmmsry.js} +11 -11
- package/dist/chunks/{git-1s3p39g4.js → location-e6hd9jay.js} +6 -6
- package/dist/chunks/{git-t550f9t1.js → location-eaj1djv9.js} +8 -8
- package/dist/chunks/{git-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-8esggbej.js → location-egxr99f1.js} +17 -17
- package/dist/chunks/{git-e1m7z51d.js → location-ek8mqh7t.js} +3 -3
- package/dist/chunks/{git-rfshdbx4.js → location-ekztwtwh.js} +1 -1
- package/dist/chunks/{git-wb6hsfck.js → location-er54khy7.js} +4 -4
- package/dist/chunks/{git-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/location-f3feb8zp.js +247 -0
- package/dist/chunks/{git-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{git-pb1eahw5.js → location-fad6j005.js} +8 -8
- package/dist/chunks/{git-ahcdffg7.js → location-fg0na9z0.js} +5 -5
- package/dist/chunks/{git-nq7qbqzc.js → location-fhs97t90.js} +9 -9
- package/dist/chunks/{git-y235y40c.js → location-fmveprfr.js} +79 -79
- package/dist/chunks/{git-d87r4pgk.js → location-fr5ztnz3.js} +12 -12
- package/dist/chunks/{git-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-hrmdcqyf.js → location-g4damz2s.js} +16 -16
- package/dist/chunks/{git-6htvnf4m.js → location-g82ree5z.js} +26 -26
- package/dist/chunks/{git-vdtvthcs.js → location-g8pm1eg0.js} +22 -22
- package/dist/chunks/{git-394bsjx6.js → location-gafq8thx.js} +22 -22
- package/dist/chunks/{git-h5s36vhp.js → location-gaxfpy5m.js} +21 -21
- package/dist/chunks/{git-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-yhed11z9.js → location-gg6cnatt.js} +13 -13
- package/dist/chunks/{git-34edgddw.js → location-gt4y1qkk.js} +15 -15
- package/dist/chunks/{git-c80bgpwy.js → location-gv620b2y.js} +32 -32
- package/dist/chunks/{git-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{git-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-6n4b0dsb.js → location-hc9acsgr.js} +9 -9
- package/dist/chunks/{git-0dm9emf0.js → location-hcq3pck3.js} +17 -17
- package/dist/chunks/{git-nggnyz50.js → location-hes91rk8.js} +26 -26
- package/dist/chunks/{git-7ax8pd7e.js → location-htjddf50.js} +17 -17
- package/dist/chunks/{git-batgxsmv.js → location-hxamr57h.js} +28 -28
- package/dist/chunks/{git-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{git-5hzjfa47.js → location-jbwprqzn.js} +20 -20
- package/dist/chunks/{git-4a836rf9.js → location-jja9acsd.js} +15 -15
- package/dist/chunks/{git-k3gnzxs0.js → location-jppvw2tx.js} +5 -5
- package/dist/chunks/{git-rb96jarx.js → location-k3vfx57e.js} +8 -8
- package/dist/chunks/{git-4n5vra8a.js → location-k9kv5pgr.js} +25 -25
- package/dist/chunks/{git-3f75t934.js → location-kck4086h.js} +17 -17
- package/dist/chunks/{git-35tmvh3j.js → location-kjayet2y.js} +22 -22
- package/dist/chunks/{git-mvpmgt96.js → location-kmnqxjps.js} +17 -17
- package/dist/chunks/{git-44ke2mar.js → location-knb7evpn.js} +2 -2
- package/dist/chunks/{git-vxe9q46s.js → location-ktqj97zq.js} +5 -5
- package/dist/chunks/{git-vbfgae2j.js → location-m0r31qfn.js} +4 -4
- package/dist/chunks/{git-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-xw3m6y1d.js → location-mae1tpq4.js} +4 -4
- package/dist/chunks/{git-whhj8d0j.js → location-mbzssvbs.js} +18 -18
- package/dist/chunks/{git-0aqy2nda.js → location-mcf7gtm1.js} +24 -24
- package/dist/chunks/{git-1y1dts9t.js → location-mg7x2rv6.js} +15 -15
- package/dist/chunks/{git-73tb2d7t.js → location-mhkvc446.js} +3 -3
- package/dist/chunks/{git-jj57btzv.js → location-mmftb33c.js} +10 -10
- package/dist/chunks/{git-xw736607.js → location-mqvx4cv3.js} +11 -11
- package/dist/chunks/{git-aexx1a4j.js → location-mrgw8ysz.js} +11 -11
- package/dist/chunks/{git-7smbwa27.js → location-mwth6yg5.js} +10 -10
- package/dist/chunks/{git-rd0szf9f.js → location-n0e5d28z.js} +4 -4
- package/dist/chunks/{git-ckf8nxjz.js → location-n4r3xatb.js} +4 -4
- package/dist/chunks/{git-fs3q1v3z.js → location-nndcbz7q.js} +9 -9
- package/dist/chunks/{git-hnxpv5p7.js → location-nrgy2ypj.js} +57 -57
- package/dist/chunks/{git-x64dbq5b.js → location-nt93nnje.js} +9 -9
- package/dist/chunks/{git-jdhbqgq5.js → location-ntcrhfhr.js} +6 -6
- package/dist/chunks/{git-x9ty1f0y.js → location-nyp6zeaz.js} +11 -11
- package/dist/chunks/{git-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{git-zdtfb6p9.js → location-p0nbrkfy.js} +24 -24
- package/dist/chunks/{git-272sk219.js → location-p9psax7t.js} +28 -28
- package/dist/chunks/{git-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{git-e4n75zk9.js → location-pkzh3qng.js} +10 -10
- package/dist/chunks/{git-2g991z4q.js → location-pvjjmvt0.js} +35 -35
- package/dist/chunks/{git-pw9v3g6d.js → location-q8peyv7x.js} +8 -8
- package/dist/chunks/{git-ar27zvmg.js → location-qfx1fv8t.js} +35 -35
- package/dist/chunks/{git-kpjrwsj3.js → location-qmhk62hb.js} +12 -12
- package/dist/chunks/{git-ys29gpg0.js → location-qnkt5fks.js} +16 -16
- package/dist/chunks/{git-mav8hzat.js → location-qqegwzzx.js} +44 -44
- package/dist/chunks/{git-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{git-k31qzyqw.js → location-qteqqeas.js} +23 -23
- package/dist/chunks/{git-yp2x3t23.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/{git-rap9a73h.js → location-rap9a73h.js} +1 -1
- package/dist/chunks/{git-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-e870zrf0.js → location-rjqxc1v9.js} +8 -8
- package/dist/chunks/{git-mtv12gxd.js → location-rr7630r8.js} +31 -31
- package/dist/chunks/{git-thsc5d2e.js → location-s01fwkep.js} +8 -8
- package/dist/chunks/{git-npmzsvgm.js → location-s2wcapj3.js} +5 -5
- package/dist/chunks/{git-wspv94s9.js → location-s8h33rd2.js} +26 -26
- package/dist/chunks/{git-w83jn78s.js → location-saskwv33.js} +17 -17
- package/dist/chunks/{git-ah8yzjey.js → location-sw9t6trv.js} +13 -13
- package/dist/chunks/{git-emf92cnb.js → location-t0dpm7yv.js} +9 -9
- package/dist/chunks/{git-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-7nkrf797.js → location-tbnvg551.js} +24 -24
- package/dist/chunks/{git-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{git-bayqcesh.js → location-tgc1gxnk.js} +24 -24
- package/dist/chunks/{git-1njp4b6c.js → location-ts3vzd1n.js} +11 -11
- package/dist/chunks/{git-r9q1pb8v.js → location-ttkf10kh.js} +21 -21
- package/dist/chunks/{git-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{git-njww08sa.js → location-v40pwdea.js} +19 -19
- package/dist/chunks/{git-sxz6gkc3.js → location-v5dkyp31.js} +7 -7
- package/dist/chunks/{git-a1j8dc6z.js → location-vcjpcx03.js} +29 -29
- package/dist/chunks/{git-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{git-tgpa0z63.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{git-mgqxb6b1.js → location-vmwh049b.js} +6 -6
- package/dist/chunks/{git-00z3vp5f.js → location-vncycja5.js} +4 -4
- package/dist/chunks/{git-endx7msf.js → location-vnh2skne.js} +12 -12
- package/dist/chunks/{git-48m2d39a.js → location-vnn74pma.js} +11 -11
- package/dist/chunks/{git-8fwcj92t.js → location-vxtegm14.js} +8 -8
- package/dist/chunks/{git-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-bgxcxs0p.js → location-wbkyxrgf.js} +5 -5
- package/dist/chunks/{git-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{git-pzt9ey7q.js → location-wgrtt790.js} +36 -36
- package/dist/chunks/{git-ddqxtkhn.js → location-wnbvcgmq.js} +18 -18
- package/dist/chunks/{git-mqhtvztx.js → location-wvkrr4sa.js} +3 -3
- package/dist/chunks/{git-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-86gz9rn9.js → location-x4ft4gxn.js} +42 -42
- package/dist/chunks/{git-wwegwsad.js → location-x5p3q6jj.js} +27 -27
- package/dist/chunks/{git-bwt763qk.js → location-xbtv5mhj.js} +10 -10
- package/dist/chunks/{git-tg4h8n6c.js → location-xc9yqyqb.js} +5 -5
- package/dist/chunks/{git-dnftwyww.js → location-xrzwnsts.js} +43 -43
- package/dist/chunks/{git-ttjz52p2.js → location-xsskq6cm.js} +3 -3
- package/dist/chunks/{git-nscy7z1f.js → location-xtcpx0xj.js} +61 -61
- package/dist/chunks/{git-1hhj0vvf.js → location-xz6s1xa8.js} +22 -22
- package/dist/chunks/{git-ekh6p2eh.js → location-xzr5bprg.js} +7 -7
- package/dist/chunks/{git-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-bp02r99k.js → location-y35sf2j4.js} +4 -4
- package/dist/chunks/{git-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{git-acd4vkpt.js → location-ycjb11n5.js} +6 -6
- package/dist/chunks/{git-7hyt9mtw.js → location-ydamxwc3.js} +23 -23
- package/dist/chunks/{git-e0x13gky.js → location-ykn0ce9z.js} +34 -34
- package/dist/chunks/{git-re793hzx.js → location-ynhykprc.js} +11 -11
- package/dist/chunks/{git-xkdewt67.js → location-ynkdr5w5.js} +6 -6
- package/dist/chunks/{git-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{git-ge88nhgh.js → location-yvzbnmva.js} +17 -17
- package/dist/chunks/{git-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-qnmy9757.js → location-z1gcgxr5.js} +36 -36
- package/dist/chunks/{git-smfazwb0.js → location-z50dt07a.js} +13 -13
- package/dist/chunks/{git-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{git-9h1nnr9t.js → location-zagjgefr.js} +43 -43
- package/dist/chunks/{git-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-brr2q5yt.js → location-zfxxb779.js} +16 -16
- package/dist/chunks/{git-g9sspw56.js → location-zhhtqbvz.js} +44 -44
- package/dist/chunks/{git-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-63x5kykb.js → location-ztza8yfw.js} +8 -8
- package/dist/chunks/{git-rhw3s2gk.js → location-zwv3ctjf.js} +50 -50
- package/dist/chunks/{git-4qhq8vrx.js → location-zxebshr7.js} +7 -7
- package/dist/chunks/{git-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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 +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +102 -102
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +72 -72
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- 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 +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- 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 +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/git-6kdq0pjd.js +0 -4
- package/dist/chunks/git-8mgf2t6a.js +0 -26
- package/dist/chunks/git-ax8fkkcf.js +0 -247
- /package/dist/chunks/{git-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-0h0a48ec.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./location-4b260xn2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-5a8cmj9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-79etttnd.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-pvjjmvt0.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-ynkdr5w5.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,9 +44,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID9.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
49
|
+
const bus = yield* Service81;
|
|
50
50
|
const tokens = new Map;
|
|
51
51
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
52
|
const loaded = {};
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID9.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID9.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID9.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID9.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID9.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID9.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID9.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID9.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-b80j8sws.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service78;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-ekztwtwh.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-a3mksyy2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node67
|
|
7
|
+
} from "./location-zhhtqbvz.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service16,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node19
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service16 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service63;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer8 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service16.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node19 = makeLocationNode({
|
|
69
|
+
service: Service16,
|
|
70
|
+
layer: layer9,
|
|
71
|
+
deps: [node67, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service16, layer9, node19, exports_generate };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-4b260xn2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
Service72,
|
|
8
8
|
node76
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-5a8cmj9a.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-vcjpcx03.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event16,
|
|
35
|
+
ID: () => ID10,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service70,
|
|
44
|
+
node: () => node74
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
66
|
+
var ID10 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info25 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,20 +94,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID10,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service70 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
110
|
-
const bus = yield*
|
|
108
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service72;
|
|
110
|
+
const bus = yield* Service81;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
113
113
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info25.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
284
284
|
const persistence = yield* createCredential({
|
|
285
285
|
integrationID: attempt.integrationID,
|
|
286
286
|
label: attempt.label,
|
|
287
|
-
value:
|
|
287
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
288
288
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
289
289
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
290
290
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service70.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -452,7 +452,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
452
452
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
453
453
|
if (connection.type === "env") {
|
|
454
454
|
const key = process.env[connection.name];
|
|
455
|
-
return key ?
|
|
455
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
456
456
|
}
|
|
457
457
|
const credential = yield* credentials.get(connection.id);
|
|
458
458
|
if (!credential)
|
|
@@ -485,7 +485,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
485
485
|
yield* createCredential({
|
|
486
486
|
integrationID: input.integrationID,
|
|
487
487
|
label: input.label,
|
|
488
|
-
value:
|
|
488
|
+
value: Key3.make({
|
|
489
489
|
type: "key",
|
|
490
490
|
key: input.key,
|
|
491
491
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node74 = makeLocationNode({
|
|
583
|
+
service: Service70,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [node76,
|
|
585
|
+
deps: [node76, node85, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service70, node74, exports_integration, Event16 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
Service68
|
|
4
|
-
} from "./git-rq5m0cbv.js";
|
|
5
|
-
import {
|
|
2
|
+
ID15,
|
|
6
3
|
Service76
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./location-dsp1hxq9.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78
|
|
7
|
+
} from "./location-b80j8sws.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./location-0fws8hsh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service49,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mg7x2rv6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service25
|
|
17
|
+
} from "./location-7pxh4w28.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./location-cf88hb9r.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin44
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin44 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service50;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin46 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service78;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service49;
|
|
60
|
+
const sessions = yield* Service25;
|
|
61
|
+
const agents = yield* Service76;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin46 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin44, exports_command2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./location-nrgy2ypj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./location-s8h33rd2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input7,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin8,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name7,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name7 = "skill";
|
|
30
|
+
var Input7 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin8 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service38;
|
|
51
|
+
const permission = yield* Service73;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name7,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input7,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name7,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin21 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name7, Input7, Output5, description4, toModelOutput2, Plugin8, exports_skill };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-tbnvg551.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service52;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|