@opencode/core 0.0.0-dev-21164 → 0.0.0-dev-21167
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{state-gr68k0te.js → location-04p168fs.js} +46 -46
- package/dist/chunks/{state-zvt5dnpc.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{state-w4axh9wz.js → location-07770t2t.js} +4 -4
- package/dist/chunks/{state-54z0pcys.js → location-0ayascqm.js} +3 -3
- package/dist/chunks/{state-ngyhb3xw.js → location-0br3sbwn.js} +4 -4
- package/dist/chunks/{state-geenf2p7.js → location-0fhz1623.js} +23 -23
- package/dist/chunks/{state-w5y70ybv.js → location-0ghrdfc7.js} +16 -16
- package/dist/chunks/{state-hpdd1er4.js → location-0tpm4bjb.js} +32 -32
- package/dist/chunks/{state-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-6hjx5zpb.js → location-11dqjexa.js} +9 -9
- package/dist/chunks/{state-nmh3d9z7.js → location-1g4xzv17.js} +14 -14
- package/dist/chunks/{state-ptm6ehsf.js → location-1swd5j6x.js} +23 -23
- package/dist/chunks/{state-skqv3z06.js → location-2170x3g5.js} +9 -9
- package/dist/chunks/{state-r83h5v0b.js → location-2656ff51.js} +15 -15
- package/dist/chunks/{state-8ftngv0m.js → location-279651ef.js} +18 -18
- package/dist/chunks/{state-ka2dn2m1.js → location-2dqxsat8.js} +8 -8
- package/dist/chunks/{state-47jkzegy.js → location-2k9fjx65.js} +5 -5
- package/dist/chunks/{state-t8byfdwz.js → location-2pecxe0h.js} +321 -321
- package/dist/chunks/{state-6pj4aq9f.js → location-2r1q1mzk.js} +14 -14
- package/dist/chunks/{state-0b5g1ynf.js → location-2ryng5r3.js} +4 -4
- package/dist/chunks/{state-sgsbd493.js → location-2ym858dx.js} +9 -9
- package/dist/chunks/{state-h7s7r6s9.js → location-31xfzrxg.js} +5 -5
- package/dist/chunks/{state-4yqedry9.js → location-3357mp80.js} +18 -18
- package/dist/chunks/{state-p7b5znyc.js → location-35gpyver.js} +10 -10
- package/dist/chunks/{state-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-50b15zdf.js → location-3gf5j6sb.js} +11 -11
- package/dist/chunks/{state-p8jakte0.js → location-3gn0rhd5.js} +67 -67
- package/dist/chunks/{state-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
- package/dist/chunks/{state-jh1xj5qc.js → location-3kyydbkc.js} +15 -15
- package/dist/chunks/{state-0y567k9j.js → location-3s9mjem9.js} +11 -11
- package/dist/chunks/{state-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-cbpk9ydt.js → location-3zkbaef1.js} +37 -37
- package/dist/chunks/{state-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-h7tvrppv.js → location-49kmjwym.js} +18 -18
- package/dist/chunks/{state-2kzmk4xx.js → location-4bq5bgy2.js} +25 -25
- package/dist/chunks/{state-djhm8fct.js → location-4cyjj1kj.js} +1 -1
- package/dist/chunks/{state-5trgskkw.js → location-4dr1jy63.js} +24 -24
- package/dist/chunks/{state-0ys6pg51.js → location-4jdk9bya.js} +33 -33
- package/dist/chunks/{state-830wccwk.js → location-4mb9pp0y.js} +34 -34
- package/dist/chunks/{state-t2tm0scr.js → location-4r8naqcn.js} +9 -9
- package/dist/chunks/location-4v7qdvcn.js +18 -0
- package/dist/chunks/{state-68rj5w6w.js → location-508w5ebs.js} +16 -16
- package/dist/chunks/{state-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{state-1e7ww9bh.js → location-596mpw5j.js} +16 -16
- package/dist/chunks/{state-4z58m4b4.js → location-5dkn69vz.js} +4 -4
- package/dist/chunks/{state-x6r5yamz.js → location-5gcpkkgh.js} +4 -4
- package/dist/chunks/{state-c7h7h1sa.js → location-5hzva5en.js} +16 -16
- package/dist/chunks/{state-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-1p4qe8rf.js → location-5ppqnkm2.js} +8 -8
- package/dist/chunks/{state-924wa2tb.js → location-5srbszfv.js} +13 -13
- package/dist/chunks/{state-r9yctxmr.js → location-65mft1we.js} +4 -4
- package/dist/chunks/{state-9smfp2a8.js → location-6764vk3q.js} +35 -35
- package/dist/chunks/{state-6827pfxn.js → location-6827pfxn.js} +1 -1
- package/dist/chunks/{state-8sze2n9a.js → location-6pc27hjz.js} +2 -2
- package/dist/chunks/{state-yg9zenm6.js → location-6xadtkfd.js} +21 -21
- package/dist/chunks/{state-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{state-4xpgt2w9.js → location-6yz0wx8n.js} +5 -5
- package/dist/chunks/{state-pyjedrk0.js → location-72nqjsff.js} +12 -12
- package/dist/chunks/{state-e2kwjmz0.js → location-74e7m4fh.js} +23 -23
- package/dist/chunks/{state-tvx85zav.js → location-76wwsgby.js} +8 -8
- package/dist/chunks/{state-775gj3j1.js → location-775gj3j1.js} +2 -2
- package/dist/chunks/{state-g9k9gtcq.js → location-77q3x2ey.js} +11 -11
- package/dist/chunks/{state-2jxcp2qh.js → location-77s5kvpz.js} +23 -23
- package/dist/chunks/{state-vp6xanzc.js → location-79mg13ta.js} +30 -30
- package/dist/chunks/{state-vppcbm3y.js → location-7a08grbq.js} +10 -10
- package/dist/chunks/{state-skfgvw6a.js → location-7bbe0ka3.js} +30 -30
- package/dist/chunks/{state-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-9ye1n4d4.js → location-7h1ysmxt.js} +15 -15
- package/dist/chunks/{state-ztxkbmy1.js → location-7hnrkwye.js} +14 -14
- package/dist/chunks/{state-v63rdfcv.js → location-7mawf7qb.js} +6 -6
- package/dist/chunks/{state-fe1j0m2p.js → location-80rg9w16.js} +5 -5
- package/dist/chunks/{state-t9b24vtt.js → location-81rc8gm8.js} +15 -15
- package/dist/chunks/{state-w1eejvng.js → location-84txncab.js} +5 -5
- package/dist/chunks/{state-mb14aw74.js → location-85xxa1xb.js} +2 -2
- package/dist/chunks/{state-1nhqthzg.js → location-86bv6903.js} +6 -6
- package/dist/chunks/{state-z57ykapg.js → location-88q2kk7w.js} +12 -12
- package/dist/chunks/{state-9zs8zr4d.js → location-8erdrt3b.js} +20 -20
- package/dist/chunks/{state-ca1sdfxv.js → location-8jer7cp2.js} +26 -26
- package/dist/chunks/{state-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{state-acq56fsz.js → location-8r1bk9m8.js} +18 -18
- package/dist/chunks/{state-gh0jst0q.js → location-8rbs03yj.js} +7 -7
- package/dist/chunks/{state-amjr18r9.js → location-8rw554nj.js} +3 -3
- package/dist/chunks/{state-r3bk1756.js → location-8twfw7wm.js} +10 -10
- package/dist/chunks/{state-wt4renp3.js → location-8wmyvevz.js} +16 -16
- package/dist/chunks/{state-3f5qvfyk.js → location-8xd334rx.js} +33 -33
- package/dist/chunks/{state-91qna3x0.js → location-91qna3x0.js} +3 -3
- package/dist/chunks/{state-83n4xtav.js → location-946prdfx.js} +19 -19
- package/dist/chunks/{state-wxb0hg2e.js → location-95046942.js} +3 -3
- package/dist/chunks/{state-cdzn34jf.js → location-967benbv.js} +11 -11
- package/dist/chunks/{state-gzwn65aj.js → location-96pkh5sd.js} +12 -12
- package/dist/chunks/{state-mqmm1j72.js → location-980kq1k5.js} +1 -1
- package/dist/chunks/{state-5yzzbxa7.js → location-9hn6k4tm.js} +8 -8
- package/dist/chunks/{state-0jb86j0j.js → location-9n3bc4fq.js} +20 -20
- package/dist/chunks/{state-yht2bm2a.js → location-9tg3nv82.js} +31 -31
- package/dist/chunks/{state-9v4nxjff.js → location-9y8p4kwc.js} +14 -14
- package/dist/chunks/{state-byqfybbv.js → location-9ykzgad9.js} +10 -10
- package/dist/chunks/{state-36c3ee22.js → location-a7ysfpsw.js} +28 -28
- package/dist/chunks/{state-nanc2j11.js → location-a8y8kc78.js} +26 -26
- package/dist/chunks/{state-addxnjmp.js → location-addxnjmp.js} +1 -1
- package/dist/chunks/{state-3y0h35ga.js → location-af6x59c3.js} +16 -16
- package/dist/chunks/{state-kepm3fq6.js → location-agxtpttf.js} +15 -15
- package/dist/chunks/{state-rz015waj.js → location-aznyfhv6.js} +11 -11
- package/dist/chunks/{state-ejm2mja7.js → location-azwc7e5n.js} +17 -17
- package/dist/chunks/location-b84aqzgf.js +257 -0
- package/dist/chunks/{state-c2sed5cq.js → location-ba07h9gm.js} +3 -3
- package/dist/chunks/{state-52wgxwr3.js → location-bh8v5ww5.js} +15 -15
- package/dist/chunks/{state-bjx1sjef.js → location-bjx1sjef.js} +2 -2
- package/dist/chunks/{state-hrhze3cc.js → location-br3dfngf.js} +4 -4
- package/dist/chunks/{state-hqf9gdsc.js → location-br8m9pad.js} +83 -83
- package/dist/chunks/{state-1ep4rre3.js → location-bzeyqsqd.js} +4 -4
- package/dist/chunks/{state-rj3eygr5.js → location-c41wscbt.js} +2 -2
- package/dist/chunks/{state-djszqvmq.js → location-c765mh8b.js} +9 -9
- package/dist/chunks/{state-sa8ekw3f.js → location-c8ax2afj.js} +2 -2
- package/dist/chunks/{state-yfg8gsqz.js → location-c9phwppx.js} +15 -15
- package/dist/chunks/{state-x7qpwy5v.js → location-chy52nxf.js} +16 -16
- package/dist/chunks/{state-g9wmmzt4.js → location-d2326s1m.js} +25 -25
- package/dist/chunks/{state-bea3g4pw.js → location-d4xra4yg.js} +8 -8
- package/dist/chunks/{state-9h7zjkfp.js → location-d5wrgfzq.js} +3 -3
- package/dist/chunks/{state-tjedn1bk.js → location-d858xzj7.js} +4 -4
- package/dist/chunks/{state-1degfmvd.js → location-d8exgxg3.js} +18 -18
- package/dist/chunks/{state-fdradw2e.js → location-d9x1gjen.js} +87 -87
- package/dist/chunks/{state-4r80m7sf.js → location-djcsq056.js} +20 -20
- package/dist/chunks/{state-3jyr06yg.js → location-dmspabrr.js} +7 -7
- package/dist/chunks/{state-y71avatq.js → location-dpkg50ah.js} +4 -4
- package/dist/chunks/{state-xfkkasph.js → location-drwq78ky.js} +4 -4
- package/dist/chunks/{state-nq2ddahe.js → location-dsc0h7gk.js} +20 -20
- package/dist/chunks/{state-f6b8xx7n.js → location-dxq1tm2j.js} +7 -7
- package/dist/chunks/{state-e4qzknek.js → location-e304bmef.js} +11 -11
- package/dist/chunks/{state-ra5zedqg.js → location-e6tgbxcd.js} +28 -28
- package/dist/chunks/{state-r2z489rp.js → location-e80seqcp.js} +3 -3
- package/dist/chunks/{state-j3bjw6yh.js → location-ecd3m7kj.js} +11 -11
- package/dist/chunks/{state-eej6y6fw.js → location-eej6y6fw.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-dqfn4xgm.js → location-ej844vx3.js} +1 -1
- package/dist/chunks/{state-jbrpfam1.js → location-ek28ef31.js} +33 -33
- package/dist/chunks/{state-c1fqxshp.js → location-es1vcfrp.js} +3 -3
- package/dist/chunks/{state-2je2vwxy.js → location-evnsakp9.js} +18 -18
- package/dist/chunks/{state-7emf5024.js → location-ez5ayfgk.js} +11 -11
- package/dist/chunks/{state-4e3zx06r.js → location-f3m5b7dq.js} +18 -18
- package/dist/chunks/{state-anpb8jtk.js → location-f5rny02c.js} +25 -25
- package/dist/chunks/{state-sc62fwhg.js → location-f6w3bzx6.js} +2 -2
- package/dist/chunks/{state-sr8dhdek.js → location-f7d2f8sr.js} +34 -34
- package/dist/chunks/{state-kshw4apv.js → location-f7fbxzn5.js} +5 -5
- package/dist/chunks/{state-z63mj70r.js → location-f85jeg19.js} +9 -9
- package/dist/chunks/{state-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
- package/dist/chunks/{state-fcy631f0.js → location-fcy631f0.js} +1 -1
- package/dist/chunks/{state-sn3f2xcp.js → location-fexx2wnt.js} +4 -4
- package/dist/chunks/{state-tt8gc4fv.js → location-fn9t717r.js} +6 -6
- package/dist/chunks/{state-aatr6m39.js → location-g9z16n36.js} +9 -9
- package/dist/chunks/{state-nxwqj47z.js → location-gbgj9g7h.js} +12 -12
- package/dist/chunks/{state-cb3tvw3f.js → location-gbpyn874.js} +27 -27
- package/dist/chunks/{state-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-j5h5wtv3.js → location-gq1wrjh7.js} +8 -8
- package/dist/chunks/{state-pz18wrqx.js → location-gq9rs75s.js} +11 -11
- package/dist/chunks/{state-xm2cv5jq.js → location-gqqemsvr.js} +11 -11
- package/dist/chunks/{state-zsjyy8cs.js → location-gvtxftkn.js} +26 -26
- package/dist/chunks/{state-v03m1nmw.js → location-gws9cbsr.js} +11 -11
- package/dist/chunks/{state-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-d32520t0.js → location-h8j75c1p.js} +15 -15
- package/dist/chunks/{state-fdht6mpx.js → location-ha3n25mh.js} +10 -10
- package/dist/chunks/{state-w9683aa4.js → location-hewkcgwf.js} +15 -15
- package/dist/chunks/{state-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
- package/dist/chunks/{state-hyay7qq8.js → location-hsjvmpjh.js} +8 -8
- package/dist/chunks/{state-826pmkg6.js → location-hw91664y.js} +3 -3
- package/dist/chunks/{state-8vwdhsen.js → location-hw962j61.js} +21 -21
- package/dist/chunks/{state-zhxpdph0.js → location-j5zx779k.js} +142 -142
- package/dist/chunks/{state-46mv6j9f.js → location-jfw8sxf1.js} +4 -4
- package/dist/chunks/{state-gd0tnyjc.js → location-jhdf29st.js} +1 -1
- package/dist/chunks/{state-c926a9vq.js → location-k0rwae6a.js} +10 -10
- package/dist/chunks/{state-a8ffpsx1.js → location-k550d0f8.js} +29 -29
- package/dist/chunks/{state-m9cxx8a5.js → location-kdjm1ewm.js} +6 -6
- package/dist/chunks/{state-yd4bzqjj.js → location-kecqjjhm.js} +5 -5
- package/dist/chunks/{state-fxaymqdw.js → location-khmqacep.js} +4 -4
- package/dist/chunks/{state-kt95y7ck.js → location-kjbqd4k5.js} +6 -6
- package/dist/chunks/{state-5fec3t3w.js → location-kqv3x6rj.js} +4 -4
- package/dist/chunks/{state-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-93jtvh07.js → location-ma9xypmg.js} +7 -7
- package/dist/chunks/{state-rz6s0eqf.js → location-mas8jxpn.js} +11 -11
- package/dist/chunks/{state-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{state-g5gtgc56.js → location-mf02evs1.js} +21 -21
- package/dist/chunks/{state-9g63gfxm.js → location-mgcym914.js} +32 -32
- package/dist/chunks/{state-vwpcpzep.js → location-ms93yq6r.js} +8 -8
- package/dist/chunks/{state-b6khc3p6.js → location-n487pwzc.js} +15 -15
- package/dist/chunks/{state-944z6h65.js → location-n6pkkeec.js} +39 -39
- package/dist/chunks/{state-awbven8r.js → location-n7jd5fce.js} +10 -10
- package/dist/chunks/{state-y2yt4szk.js → location-ngts6ef0.js} +8 -8
- package/dist/chunks/{state-c5ggqzvz.js → location-nj7hqrdc.js} +5 -5
- package/dist/chunks/{state-g21r4nge.js → location-nrp9mwhy.js} +11 -11
- package/dist/chunks/{state-dn1vkgh6.js → location-nynfj6vr.js} +2 -2
- package/dist/chunks/{state-vv030mg9.js → location-p141jy73.js} +4 -4
- package/dist/chunks/{state-w8e3kjgk.js → location-p6xhd61c.js} +11 -11
- package/dist/chunks/{state-yk343m11.js → location-p76n1axe.js} +39 -39
- package/dist/chunks/{state-n53dqfr6.js → location-pesmq38c.js} +4 -4
- package/dist/chunks/{state-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{state-12rden0r.js → location-pt7wvqpt.js} +13 -13
- package/dist/chunks/{state-wn44tgv3.js → location-q0kdvkfz.js} +13 -13
- package/dist/chunks/{state-nrk5vjbf.js → location-q17z9dx8.js} +5 -5
- package/dist/chunks/{state-qb7tzan5.js → location-q229fd3c.js} +24 -24
- package/dist/chunks/{state-weqd0pg4.js → location-q2yp5mm4.js} +9 -9
- package/dist/chunks/{state-vvb3m2vh.js → location-qd7chy0n.js} +6 -6
- package/dist/chunks/{state-whahtmr1.js → location-qdy98gs8.js} +13 -13
- package/dist/chunks/{state-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{state-dhs04fwy.js → location-qz3gmm2p.js} +3 -3
- package/dist/chunks/{state-sy0ygxnp.js → location-r06fjp3p.js} +13 -13
- package/dist/chunks/{state-fm72x4ef.js → location-r1j6ejcm.js} +2 -2
- package/dist/chunks/{state-pdxm3yxv.js → location-r26zpbq3.js} +20 -20
- package/dist/chunks/{state-ghz6dcrw.js → location-r6kb5pcb.js} +11 -11
- package/dist/chunks/{state-fphjyfn7.js → location-r9q2q9h8.js} +3 -3
- package/dist/chunks/{state-v5dkyp31.js → location-ratrq7cm.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-t550f9t1.js → location-rhjbct0v.js} +4 -4
- package/dist/chunks/{state-6szz86ph.js → location-rnb0fp5b.js} +6 -6
- package/dist/chunks/{state-vnp7fp1s.js → location-s3hasvfa.js} +8 -8
- package/dist/chunks/{state-k4n40zz3.js → location-sf3h3gbp.js} +24 -24
- package/dist/chunks/{state-jangkfdc.js → location-sff9pyzt.js} +11 -11
- package/dist/chunks/{state-pr9wjwdp.js → location-sx6g28q1.js} +17 -17
- package/dist/chunks/{state-2a6rn6yr.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{state-syv4x271.js → location-syv4x271.js} +1 -1
- package/dist/chunks/{state-nezvftw4.js → location-syyme4qc.js} +2 -2
- package/dist/chunks/{state-asmz18sf.js → location-t1v93gsh.js} +22 -22
- package/dist/chunks/{state-mmfyj663.js → location-t2m0r48e.js} +6 -6
- package/dist/chunks/{state-w2h1ghwm.js → location-t3crqbkt.js} +6 -6
- package/dist/chunks/{state-tgjzfg6g.js → location-t6g1a1tj.js} +2 -2
- package/dist/chunks/{state-qgnwqvsz.js → location-t74mf4k5.js} +14 -14
- package/dist/chunks/{state-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{state-0a9v6p0f.js → location-tj4h5t6p.js} +3 -3
- package/dist/chunks/{state-rert0e01.js → location-tkb22qbm.js} +2 -2
- package/dist/chunks/{state-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
- package/dist/chunks/{state-m25y3kv4.js → location-tm4g9m88.js} +3 -3
- package/dist/chunks/{state-bgw4pfqr.js → location-tystnwaz.js} +11 -11
- package/dist/chunks/{state-tyytaxap.js → location-tyytaxap.js} +1 -1
- package/dist/chunks/{state-v210v162.js → location-v210v162.js} +2 -2
- package/dist/chunks/{state-7171kgjs.js → location-v5kskatz.js} +10 -10
- package/dist/chunks/{state-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
- package/dist/chunks/{state-r1cv1102.js → location-vd93shqe.js} +17 -17
- package/dist/chunks/{state-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{state-m1zv8vg2.js → location-vp03p32s.js} +13 -13
- package/dist/chunks/{state-f9d85sya.js → location-vtevn8b1.js} +50 -50
- package/dist/chunks/{state-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-04xdpyc7.js → location-w319agzg.js} +11 -11
- package/dist/chunks/{state-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{state-qxvxcxx4.js → location-wgkxnvdd.js} +42 -42
- package/dist/chunks/{state-06fwzbc7.js → location-ws642w3m.js} +24 -24
- package/dist/chunks/{state-c9t1dcyx.js → location-wvgy3s2v.js} +42 -42
- package/dist/chunks/{state-x91k2b7m.js → location-x4t79far.js} +3 -3
- package/dist/chunks/{state-dx79m8ve.js → location-x5mh70ph.js} +18 -18
- package/dist/chunks/{state-e3d48see.js → location-x6k905z3.js} +10 -10
- package/dist/chunks/{state-w2k3w8z1.js → location-xfkdt1e3.js} +50 -50
- package/dist/chunks/{state-14q6bv5p.js → location-xgsyd334.js} +25 -25
- package/dist/chunks/{state-d1c3kaqr.js → location-xkva1xr6.js} +19 -19
- package/dist/chunks/{state-vjttfn3j.js → location-xn39yem9.js} +14 -14
- package/dist/chunks/{state-tb1hhae9.js → location-xpakvqd9.js} +17 -17
- package/dist/chunks/{state-amqjr904.js → location-xsykp6z4.js} +13 -13
- package/dist/chunks/location-xzhrxm47.js +26 -0
- package/dist/chunks/{state-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-c46vpdfe.js → location-y4fre6jr.js} +32 -32
- package/dist/chunks/{state-kgen349b.js → location-y54hr7f3.js} +9 -9
- package/dist/chunks/{state-kmheh9sq.js → location-y729g6m6.js} +9 -9
- package/dist/chunks/{state-g686f6pq.js → location-y7nndgyc.js} +9 -9
- package/dist/chunks/{state-9s0s93fc.js → location-y9wpg32p.js} +7 -7
- package/dist/chunks/{state-yp2x3t23.js → location-yp2x3t23.js} +1 -1
- package/dist/chunks/{state-32c6d2g9.js → location-yqt3nf50.js} +18 -18
- package/dist/chunks/{state-1xxyjdwj.js → location-yrjdz1vx.js} +22 -22
- package/dist/chunks/{state-ewwfdr8f.js → location-yrq96tw7.js} +44 -44
- package/dist/chunks/{state-tep0381a.js → location-yvf15whc.js} +11 -11
- package/dist/chunks/{state-7wftzz1s.js → location-yy653qm8.js} +13 -13
- package/dist/chunks/{state-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-8nc6bgmq.js → location-z9yvgd5a.js} +32 -32
- package/dist/chunks/{state-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-74x5w3z1.js → location-zv1es41t.js} +6 -6
- package/dist/chunks/{state-zxq2ej10.js → location-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 +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- 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 +130 -130
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/state-by5v678g.js +0 -18
- package/dist/chunks/state-nxyky8fq.js +0 -26
- package/dist/chunks/state-v0yrtskr.js +0 -257
- /package/dist/chunks/{state-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e3qxr5gk.js → location-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-pyv0edze.js → location-pyv0edze.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-zv1es41t.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-65mft1we.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID15,
|
|
9
|
+
Event19,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./location-e6tgbxcd.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-evnsakp9.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service76
|
|
25
|
+
} from "./location-596mpw5j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID12
|
|
28
|
+
} from "./location-d2326s1m.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-t3crqbkt.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make7(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
@@ -73,8 +73,8 @@ function make4(endpoints = {
|
|
|
73
73
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service78;
|
|
77
|
+
const providers = yield* Service76;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -143,7 +143,7 @@ function make4(endpoints = {
|
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
145
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -273,7 +273,7 @@ function make4(endpoints = {
|
|
|
273
273
|
models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
279
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
@@ -312,7 +312,7 @@ function make4(endpoints = {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make7();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID12.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID12.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make7, AzurePlugin2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-ba07h9gm.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-86bv6903.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-2ryng5r3.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-5dkn69vz.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-syyme4qc.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
|
+
node: () => node85
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service81 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service82;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service81.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node85 = makeLocationNode({
|
|
91
|
+
service: Service81,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node86, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service81, node85, exports_formatter2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-yrq96tw7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node40
|
|
13
|
+
} from "./location-p76n1axe.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./location-k550d0f8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node30
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer14 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service37;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node30 = makeLocationNode({ service: Service27, layer: layer14, deps: [node40] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer14, node30, exports_instructions3 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-syyme4qc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-hw962j61.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service19,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-qdy98gs8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./location-77q3x2ey.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service59
|
|
17
|
+
} from "./location-yrq96tw7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service21,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-3kyydbkc.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin40,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin40 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
196
|
+
const access = yield* Service21;
|
|
197
|
+
const fileMutation = yield* Service19;
|
|
198
|
+
const environment = yield* Service71;
|
|
199
|
+
const formatter = yield* Service81;
|
|
200
200
|
const location = yield* Service82;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service59;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name4,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input4,
|
|
207
|
+
output: Output3,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin28 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name4, Input4, Output3, Plugin40, exports_edit };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service80,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer28,
|
|
15
|
+
node: () => node84,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service80 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service80.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node84 = makeGlobalNode({ service: Service80, layer: layer28, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service80, layer28, node84, statements2, decision2, exports_managed_policy };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-65mft1we.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node70
|
|
7
|
+
} from "./location-t1v93gsh.js";
|
|
8
8
|
import {
|
|
9
9
|
Service9,
|
|
10
10
|
node11
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-gbgj9g7h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./location-7a08grbq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./location-4v7qdvcn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node24,
|
|
20
20
|
ID3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-8wmyvevz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service3,
|
|
24
|
+
node4
|
|
25
|
+
} from "./location-9hn6k4tm.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-2pecxe0h.js";
|
|
31
31
|
import {
|
|
32
32
|
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-gws9cbsr.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
Service3,
|
|
38
|
-
node4
|
|
39
|
-
} from "./state-weqd0pg4.js";
|
|
40
|
-
import {
|
|
41
37
|
Service4,
|
|
42
38
|
node5
|
|
43
|
-
} from "./
|
|
39
|
+
} from "./location-q2yp5mm4.js";
|
|
40
|
+
import {
|
|
41
|
+
Service2,
|
|
42
|
+
node3
|
|
43
|
+
} from "./location-11dqjexa.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
140
|
+
const managed = yield* Service80;
|
|
141
|
+
const registry = yield* Service29;
|
|
142
|
+
const sdk = yield* Service4;
|
|
143
|
+
const instance = yield* Service3;
|
|
144
144
|
const sources = yield* Service9;
|
|
145
145
|
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service2;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node24,
|
|
224
|
+
node5,
|
|
224
225
|
node4,
|
|
225
|
-
node3,
|
|
226
226
|
node11,
|
|
227
|
-
|
|
227
|
+
node3,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node70,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options7,
|
|
15
|
+
Service: () => Service50,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options7 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service50 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service50.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured7(options) {
|
|
210
|
+
return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node52 = configured7();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options7, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node52, exports_select };
|