@opencode/core 0.0.0-dev-20022 → 0.0.0-dev-20024
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-sx1n432n.js → location-mutation-00z3vp5f.js} +4 -4
- package/dist/chunks/{pty-eaj1djv9.js → location-mutation-02nrjc1r.js} +4 -4
- package/dist/chunks/{pty-0hhen1xp.js → location-mutation-05j4n1ws.js} +18 -18
- package/dist/chunks/{pty-zqpv39rv.js → location-mutation-07ha980f.js} +9 -9
- package/dist/chunks/{pty-c5k9fkg4.js → location-mutation-0e212dhy.js} +3 -3
- package/dist/chunks/{pty-xrav937z.js → location-mutation-0hmy5ypz.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0msbkmgc.js → location-mutation-0rcbddbz.js} +5 -5
- package/dist/chunks/{pty-pzegqnfy.js → location-mutation-0yd4bm3n.js} +8 -8
- package/dist/chunks/{pty-tt8fbnq7.js → location-mutation-11aw4bp1.js} +29 -29
- package/dist/chunks/{pty-8d0p2m37.js → location-mutation-147kkz38.js} +6 -6
- package/dist/chunks/{pty-qbm6e03e.js → location-mutation-18fjsgbr.js} +16 -16
- package/dist/chunks/{pty-1acjjqhc.js → location-mutation-1acjjqhc.js} +1 -1
- package/dist/chunks/{pty-00nz894e.js → location-mutation-1d112cb4.js} +9 -9
- package/dist/chunks/{pty-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-dsc9f08d.js → location-mutation-1dcx1n9a.js} +35 -35
- package/dist/chunks/{pty-0m0tvs7x.js → location-mutation-1rmaqtrx.js} +4 -4
- package/dist/chunks/{pty-y1332vc0.js → location-mutation-1xykv8xw.js} +8 -8
- package/dist/chunks/{pty-1ygqh575.js → location-mutation-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{pty-8kyrbpf3.js → location-mutation-287swpq4.js} +44 -44
- package/dist/chunks/{pty-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-rph3zd4r.js → location-mutation-2d57kztd.js} +4 -4
- package/dist/chunks/{pty-0xxz59sm.js → location-mutation-2gp9g042.js} +17 -17
- package/dist/chunks/{pty-5rz2hsq0.js → location-mutation-2h7nr2dq.js} +7 -7
- package/dist/chunks/{pty-sdcgvf1x.js → location-mutation-2n6xcrtw.js} +11 -11
- package/dist/chunks/{pty-7w270t0f.js → location-mutation-2y3whdx8.js} +171 -171
- package/dist/chunks/{pty-bga77shd.js → location-mutation-2znrjh5s.js} +31 -31
- package/dist/chunks/{pty-dj9sq318.js → location-mutation-37s12vcn.js} +5 -5
- package/dist/chunks/{pty-2tfmgkzg.js → location-mutation-3c4e3q8d.js} +4 -4
- package/dist/chunks/{pty-0073hawd.js → location-mutation-3cawfvg9.js} +13 -13
- package/dist/chunks/{pty-2saetqtj.js → location-mutation-3emyecbb.js} +85 -85
- package/dist/chunks/{pty-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-wtzj1gsr.js → location-mutation-3k04zyzs.js} +9 -9
- package/dist/chunks/{pty-q581keqr.js → location-mutation-3m46hkaz.js} +2 -2
- package/dist/chunks/{pty-92nyndd7.js → location-mutation-3mmzvcvq.js} +22 -22
- package/dist/chunks/{pty-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-3zsf4n22.js → location-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-s6j1pmrh.js → location-mutation-415g09m0.js} +8 -8
- package/dist/chunks/{pty-12zx0m1n.js → location-mutation-41rytcpr.js} +8 -8
- package/dist/chunks/{pty-fxrkpyt4.js → location-mutation-43q23gcr.js} +6 -6
- package/dist/chunks/{pty-dg5bcj4q.js → location-mutation-4541pte3.js} +6 -6
- package/dist/chunks/{pty-s5aaq3x4.js → location-mutation-4a6h4wrp.js} +29 -29
- package/dist/chunks/{pty-97evzm9t.js → location-mutation-4j809b3d.js} +13 -13
- package/dist/chunks/{pty-7ktegkxn.js → location-mutation-4key4fq7.js} +4 -4
- package/dist/chunks/{pty-57ez7d0k.js → location-mutation-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-5c4hm403.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5ekn9679.js → location-mutation-5ekn9679.js} +1 -1
- package/dist/chunks/{pty-0yew5m2c.js → location-mutation-5jx0ywhf.js} +12 -12
- package/dist/chunks/{pty-1p7f10vm.js → location-mutation-5ntswbj3.js} +8 -8
- package/dist/chunks/{pty-1wvf8tm7.js → location-mutation-5qgdv5h0.js} +35 -35
- package/dist/chunks/{pty-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-axaeyqk5.js → location-mutation-5vdq9pgq.js} +25 -25
- package/dist/chunks/{pty-8yen0vmk.js → location-mutation-63x4799j.js} +13 -13
- package/dist/chunks/{pty-0jqtpwb9.js → location-mutation-65jmxcge.js} +17 -17
- package/dist/chunks/{pty-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{pty-2egezm5d.js → location-mutation-6a753ss8.js} +48 -48
- package/dist/chunks/{pty-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{pty-f8neaav3.js → location-mutation-6jm6bgjn.js} +15 -15
- package/dist/chunks/{pty-g083pv08.js → location-mutation-6m9azzzz.js} +36 -36
- package/dist/chunks/{pty-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-gq06jwkj.js → location-mutation-6v9me7yx.js} +24 -24
- package/dist/chunks/{pty-phas83vg.js → location-mutation-6zprjfx5.js} +31 -31
- package/dist/chunks/{pty-73tb2d7t.js → location-mutation-73tb2d7t.js} +1 -1
- package/dist/chunks/{pty-se4kmwxk.js → location-mutation-760hvg9h.js} +3 -3
- package/dist/chunks/{pty-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-zt18mrv4.js → location-mutation-7e2ke00k.js} +23 -23
- package/dist/chunks/{pty-04921szq.js → location-mutation-7errh0f2.js} +15 -15
- package/dist/chunks/{pty-h2r7bbkd.js → location-mutation-818pfwc9.js} +8 -8
- package/dist/chunks/{pty-awmg9ays.js → location-mutation-83dgf92e.js} +9 -9
- package/dist/chunks/{pty-7q0vyatq.js → location-mutation-86czshtb.js} +4 -4
- package/dist/chunks/{pty-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{pty-zrq8kphx.js → location-mutation-8ank75fn.js} +8 -8
- package/dist/chunks/{pty-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-egeb53tp.js → location-mutation-8f5p4pwe.js} +34 -34
- package/dist/chunks/{pty-cde1zna5.js → location-mutation-8fh4dspn.js} +24 -24
- package/dist/chunks/{pty-3jkw6mfp.js → location-mutation-8ga603cp.js} +10 -10
- package/dist/chunks/{pty-7aycs900.js → location-mutation-8pt1jyw7.js} +17 -17
- package/dist/chunks/{pty-ehr488c1.js → location-mutation-8r1zxxnv.js} +9 -9
- package/dist/chunks/{pty-zb34m256.js → location-mutation-8sd99ncp.js} +3 -3
- package/dist/chunks/{pty-xv60kj6n.js → location-mutation-8sfmeb4x.js} +5 -5
- package/dist/chunks/{pty-8wd5j64y.js → location-mutation-8w4b0w14.js} +14 -14
- package/dist/chunks/{pty-snpaajsm.js → location-mutation-965jek49.js} +7 -7
- package/dist/chunks/{pty-2v48e9j0.js → location-mutation-9m8se1t0.js} +13 -13
- package/dist/chunks/{pty-ktt0ngdq.js → location-mutation-9pajzaat.js} +13 -13
- package/dist/chunks/{pty-tnen7gxg.js → location-mutation-9pp8k1fj.js} +14 -14
- package/dist/chunks/{pty-3rp2m6fs.js → location-mutation-9tc9jvay.js} +83 -83
- package/dist/chunks/{pty-netwxqmf.js → location-mutation-9v8wx44b.js} +8 -8
- package/dist/chunks/{pty-ss96nb5e.js → location-mutation-a1r0sk56.js} +6 -6
- package/dist/chunks/{pty-fts96dv9.js → location-mutation-a3kw06th.js} +25 -25
- package/dist/chunks/{pty-awc8k5we.js → location-mutation-a8v3d86t.js} +11 -11
- package/dist/chunks/{pty-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-659e5h2p.js → location-mutation-ar5042nv.js} +20 -20
- package/dist/chunks/{pty-1m7ag7te.js → location-mutation-asscy6pk.js} +29 -29
- package/dist/chunks/{pty-xfbfr6ja.js → location-mutation-avzvtmgr.js} +30 -30
- package/dist/chunks/{pty-zdyh66ht.js → location-mutation-b5mcfzkp.js} +5 -5
- package/dist/chunks/{pty-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-rbwjahas.js → location-mutation-b7btgvj5.js} +4 -4
- package/dist/chunks/{pty-6qp9w1vx.js → location-mutation-b97j21th.js} +16 -16
- package/dist/chunks/{pty-92azg307.js → location-mutation-bgs9y14h.js} +5 -5
- package/dist/chunks/{pty-smza16da.js → location-mutation-bj3p2s8f.js} +35 -35
- package/dist/chunks/{pty-9pbg9mfa.js → location-mutation-bt0ey53w.js} +9 -9
- package/dist/chunks/{pty-8f3q2yke.js → location-mutation-c1df4dj7.js} +22 -22
- package/dist/chunks/{pty-m7477pm4.js → location-mutation-c2h7be1y.js} +9 -9
- package/dist/chunks/{pty-2sejkfem.js → location-mutation-c765mh8b.js} +9 -9
- package/dist/chunks/{pty-qb7rnsyw.js → location-mutation-c9kahmjr.js} +18 -18
- package/dist/chunks/{pty-wvtedn3t.js → location-mutation-cm78evcp.js} +4 -4
- package/dist/chunks/{pty-59xa7gwf.js → location-mutation-cn3vn15h.js} +19 -19
- package/dist/chunks/{pty-5mtzsd3b.js → location-mutation-cpj0znwe.js} +4 -4
- package/dist/chunks/{pty-rnxv7mtd.js → location-mutation-cpmmh3r9.js} +9 -9
- package/dist/chunks/{pty-xfdcv1z1.js → location-mutation-crtwvk10.js} +11 -11
- package/dist/chunks/{pty-54h147px.js → location-mutation-cxds2wxd.js} +18 -18
- package/dist/chunks/{pty-d5jh8j72.js → location-mutation-d4yhjfbe.js} +29 -29
- package/dist/chunks/{pty-f73rjn58.js → location-mutation-ddt2bs9e.js} +4 -4
- package/dist/chunks/{pty-dj2t23y0.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{pty-jy93wyqx.js → location-mutation-drrkymsn.js} +16 -16
- package/dist/chunks/{pty-qn4ba14w.js → location-mutation-e6hmchc5.js} +5 -5
- package/dist/chunks/{pty-v4jw97dc.js → location-mutation-ec87kc5z.js} +4 -4
- package/dist/chunks/{pty-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/location-mutation-emdvc7y7.js +503 -0
- package/dist/chunks/{pty-3pj6bshw.js → location-mutation-enrvee4b.js} +16 -16
- package/dist/chunks/{pty-xw5r7cj0.js → location-mutation-eqxdc8mp.js} +2 -2
- package/dist/chunks/{pty-erw5rpbs.js → location-mutation-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-rm94z0n9.js → location-mutation-etdfdz9n.js} +15 -15
- package/dist/chunks/{pty-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-346pdbfk.js → location-mutation-eztkbwah.js} +13 -13
- package/dist/chunks/{pty-86yg7tfg.js → location-mutation-f0h3qbzs.js} +5 -5
- package/dist/chunks/{pty-4g643n2g.js → location-mutation-f9pjpvtx.js} +57 -57
- package/dist/chunks/{pty-6sq4hjqm.js → location-mutation-fn652s59.js} +11 -11
- package/dist/chunks/{pty-3aakhrf3.js → location-mutation-frptvanx.js} +21 -21
- package/dist/chunks/{pty-9cxpqc5g.js → location-mutation-fxt475k0.js} +16 -16
- package/dist/chunks/{pty-yentpcn4.js → location-mutation-fy2r6802.js} +12 -12
- package/dist/chunks/{pty-2mn4zdxt.js → location-mutation-fzw6kvvp.js} +16 -16
- package/dist/chunks/{pty-jw80jp6b.js → location-mutation-g190xswt.js} +4 -4
- package/dist/chunks/{pty-yx5pzx7y.js → location-mutation-g2z23txw.js} +30 -30
- package/dist/chunks/location-mutation-gbadjzag.js +4 -0
- package/dist/chunks/{pty-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-g1eer3dm.js → location-mutation-gdpzykdj.js} +8 -8
- package/dist/chunks/{pty-ksjahays.js → location-mutation-gh02xaqr.js} +31 -31
- package/dist/chunks/{pty-97fmyryk.js → location-mutation-gmjjhz4f.js} +3 -3
- package/dist/chunks/{pty-xz01qsb9.js → location-mutation-gseev5jd.js} +6 -6
- package/dist/chunks/{pty-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-zj32sk49.js → location-mutation-gw3jpy4y.js} +16 -16
- package/dist/chunks/{pty-00832hy7.js → location-mutation-h04cqsq0.js} +8 -8
- package/dist/chunks/{pty-t8qq9kf4.js → location-mutation-h69yr78q.js} +16 -16
- package/dist/chunks/{pty-t2hpc9xa.js → location-mutation-h6syajn5.js} +3 -3
- package/dist/chunks/{pty-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-hdnk95c8.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-kajhh18t.js → location-mutation-he6wdzpy.js} +9 -9
- package/dist/chunks/{pty-drcaqnnk.js → location-mutation-hgyg00rt.js} +25 -25
- package/dist/chunks/{pty-qhkmyjn7.js → location-mutation-hnz1vd55.js} +7 -7
- package/dist/chunks/{pty-h57fftbf.js → location-mutation-hptm3x45.js} +48 -48
- package/dist/chunks/{pty-ve2cr55v.js → location-mutation-hsq7tvrb.js} +17 -17
- package/dist/chunks/{pty-jjhzpb55.js → location-mutation-j4g6bjqf.js} +6 -6
- package/dist/chunks/{pty-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-ct8v1tk1.js → location-mutation-j7sdw5nk.js} +5 -5
- package/dist/chunks/{pty-0zqn79kw.js → location-mutation-j8rzd9ap.js} +12 -12
- package/dist/chunks/{pty-fsvv4bbc.js → location-mutation-ja93bcmn.js} +5 -5
- package/dist/chunks/{pty-9kmbd9mt.js → location-mutation-jca4demv.js} +2 -2
- package/dist/chunks/{pty-ryyzgwk8.js → location-mutation-jkkh0dgx.js} +8 -8
- package/dist/chunks/{pty-ke2qywb5.js → location-mutation-jp1d2c53.js} +8 -8
- package/dist/chunks/{pty-0gnd4t8k.js → location-mutation-jqcqaqk1.js} +4 -4
- package/dist/chunks/{pty-mzrm7ehw.js → location-mutation-jqe8c22f.js} +43 -43
- package/dist/chunks/{pty-aqy70tp0.js → location-mutation-jt89ckk3.js} +9 -9
- package/dist/chunks/{pty-ba5vgn6q.js → location-mutation-jvr0a44c.js} +7 -7
- package/dist/chunks/{pty-rvxas66n.js → location-mutation-jvw73btf.js} +11 -11
- package/dist/chunks/{pty-3vj84w1g.js → location-mutation-jw9sfpm0.js} +3 -3
- package/dist/chunks/{pty-f99sh2kf.js → location-mutation-jxc4myrx.js} +44 -44
- package/dist/chunks/{pty-bvdvfsqm.js → location-mutation-k6y504h4.js} +24 -24
- package/dist/chunks/{pty-dg2cj1yd.js → location-mutation-k9d40v1y.js} +4 -4
- package/dist/chunks/{pty-3y23f4vy.js → location-mutation-kansrtmv.js} +21 -21
- package/dist/chunks/{pty-epch955d.js → location-mutation-kp86r9b3.js} +32 -32
- package/dist/chunks/{pty-st7m3259.js → location-mutation-krrzbazv.js} +6 -6
- package/dist/chunks/{pty-b8smpw7b.js → location-mutation-krscvss0.js} +8 -8
- package/dist/chunks/{pty-wzj8vn37.js → location-mutation-ks0b5fhh.js} +8 -8
- package/dist/chunks/{pty-98g0w5b8.js → location-mutation-kwyenn5c.js} +23 -23
- package/dist/chunks/{pty-m0jqrx5p.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-m3fdjcah.js → location-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-n5rcb3g0.js → location-mutation-m8ar47ek.js} +16 -16
- package/dist/chunks/{pty-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-44ke2mar.js → location-mutation-mmr7bq34.js} +8 -8
- package/dist/chunks/{pty-q2ezvbr5.js → location-mutation-mp1fmwr2.js} +5 -5
- package/dist/chunks/{pty-j8dv7h16.js → location-mutation-mwvyrfwc.js} +29 -29
- package/dist/chunks/{pty-05v741zn.js → location-mutation-mzeaa52x.js} +21 -21
- package/dist/chunks/{pty-s321g855.js → location-mutation-n03y2nvv.js} +25 -25
- package/dist/chunks/{pty-jx22f0nz.js → location-mutation-n0tvqc4h.js} +9 -9
- package/dist/chunks/{pty-zet2pf0s.js → location-mutation-nkf7ea5p.js} +47 -47
- package/dist/chunks/{pty-2980bn8j.js → location-mutation-nswc3ws5.js} +8 -8
- package/dist/chunks/{pty-k3c624dm.js → location-mutation-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-dq0v80fr.js → location-mutation-p1zpfjkz.js} +5 -5
- package/dist/chunks/location-mutation-p7p1ybb8.js +26 -0
- package/dist/chunks/{pty-954536qd.js → location-mutation-pa6qpeew.js} +10 -10
- package/dist/chunks/{pty-pa8pe2x7.js → location-mutation-pa8pe2x7.js} +1 -1
- package/dist/chunks/{pty-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{pty-nq7qbqzc.js → location-mutation-pnv527nz.js} +9 -9
- package/dist/chunks/{pty-hcexmw40.js → location-mutation-pw9v3g6d.js} +5 -5
- package/dist/chunks/{pty-621g1y7c.js → location-mutation-pxq2x33y.js} +24 -24
- package/dist/chunks/{pty-mf9m2v67.js → location-mutation-q3t37ft6.js} +3 -3
- package/dist/chunks/{pty-58qkwrp9.js → location-mutation-q7tj62n7.js} +28 -28
- package/dist/chunks/{pty-gdbk8ja4.js → location-mutation-qaa2yvb1.js} +23 -23
- package/dist/chunks/{pty-mf44wyvt.js → location-mutation-qdbakdjh.js} +5 -5
- package/dist/chunks/{pty-2k8khapm.js → location-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-ver4gz2z.js → location-mutation-qhq4a865.js} +9 -9
- package/dist/chunks/{pty-53p5tbhc.js → location-mutation-qhq71jc6.js} +32 -32
- package/dist/chunks/{pty-xfkkasph.js → location-mutation-qqeeq2t9.js} +7 -7
- package/dist/chunks/{pty-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-yv88yh0p.js → location-mutation-qt5asz00.js} +17 -17
- package/dist/chunks/{pty-8hcybcw4.js → location-mutation-qw39grzm.js} +4 -4
- package/dist/chunks/{pty-tza9tqr6.js → location-mutation-qxt041pa.js} +23 -23
- package/dist/chunks/{pty-d2vrte26.js → location-mutation-r23z5d8f.js} +4 -4
- package/dist/chunks/{pty-3jj8eh0k.js → location-mutation-r339gb8t.js} +5 -5
- package/dist/chunks/{pty-rkdax40c.js → location-mutation-r46pqq1s.js} +5 -5
- package/dist/chunks/{pty-27273vr0.js → location-mutation-r9vycjg2.js} +9 -9
- package/dist/chunks/{pty-mj9w7m3d.js → location-mutation-rc523c8n.js} +33 -33
- package/dist/chunks/{pty-rdw6cm16.js → location-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-gas3a14q.js → location-mutation-rjxwg6my.js} +26 -26
- package/dist/chunks/{pty-jwna9w0v.js → location-mutation-rkfnr0xp.js} +1 -1
- package/dist/chunks/{pty-mynkytfk.js → location-mutation-rqt3ht1f.js} +3 -3
- package/dist/chunks/{pty-46akpagb.js → location-mutation-rvsn1kwz.js} +27 -27
- package/dist/chunks/{pty-p4yd6ave.js → location-mutation-ryr2m08g.js} +4 -4
- package/dist/chunks/{pty-0f9afca0.js → location-mutation-s8zy8myc.js} +5 -5
- package/dist/chunks/{pty-3qkhrecg.js → location-mutation-s9s562vb.js} +17 -17
- package/dist/chunks/{pty-09c9b37t.js → location-mutation-sa96sbyt.js} +14 -14
- package/dist/chunks/{pty-2ge9317b.js → location-mutation-say5sfs8.js} +17 -17
- package/dist/chunks/{pty-37wxtrb2.js → location-mutation-sd4hb3jk.js} +47 -47
- package/dist/chunks/{pty-0xw899c0.js → location-mutation-sgtdr5xd.js} +5 -5
- package/dist/chunks/{pty-y1qgwz29.js → location-mutation-sj6hyns7.js} +34 -34
- package/dist/chunks/{pty-k53npxr2.js → location-mutation-sqy4ahhk.js} +1 -1
- package/dist/chunks/{pty-r9b74k7g.js → location-mutation-t1w7zdgx.js} +15 -15
- package/dist/chunks/{pty-2azrqq3g.js → location-mutation-t3zkw3za.js} +15 -15
- package/dist/chunks/{pty-3hwnxrrs.js → location-mutation-t7ph3h46.js} +11 -11
- package/dist/chunks/{pty-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{pty-qa3qhgw8.js → location-mutation-tkmwgdpd.js} +7 -7
- package/dist/chunks/{pty-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-277eer69.js → location-mutation-vbfgae2j.js} +4 -4
- package/dist/chunks/{pty-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-6ncdq8ek.js → location-mutation-ver2men6.js} +8 -8
- package/dist/chunks/location-mutation-vnkjks7b.js +18 -0
- package/dist/chunks/{pty-epbjbybc.js → location-mutation-vry9y5h5.js} +19 -19
- package/dist/chunks/{pty-vtxr0yy2.js → location-mutation-vtxr0yy2.js} +2 -2
- package/dist/chunks/{pty-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-n3pf2vtm.js → location-mutation-w8qbsc09.js} +8 -8
- package/dist/chunks/{pty-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{pty-xwcccng5.js → location-mutation-wgt0n93c.js} +35 -35
- package/dist/chunks/{pty-1xqbjk83.js → location-mutation-wz9pjx5y.js} +24 -24
- package/dist/chunks/{pty-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/location-mutation-xgef326k.js +252 -0
- package/dist/chunks/{pty-csk9s71t.js → location-mutation-xpk8r8b8.js} +18 -18
- package/dist/chunks/{pty-bd54m8y3.js → location-mutation-xpnq3dj5.js} +28 -28
- package/dist/chunks/{pty-x79swths.js → location-mutation-xsytrpqt.js} +6 -6
- package/dist/chunks/{pty-1813d5zh.js → location-mutation-xv8bhmcn.js} +10 -10
- package/dist/chunks/{pty-r504yxa7.js → location-mutation-xx9kgtw1.js} +24 -24
- package/dist/chunks/{pty-8fgcpw95.js → location-mutation-xyqjfxv0.js} +14 -14
- package/dist/chunks/{pty-ph20cxtq.js → location-mutation-y16p1w2y.js} +8 -8
- package/dist/chunks/{pty-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-0996nyz8.js → location-mutation-y56ehv6b.js} +9 -9
- package/dist/chunks/{pty-eg2tb1rm.js → location-mutation-y9vcbm1p.js} +11 -11
- package/dist/chunks/{pty-6d6xcght.js → location-mutation-ydgy0jv4.js} +6 -6
- package/dist/chunks/{pty-ksqmtdz9.js → location-mutation-ye6tmwz4.js} +9 -9
- package/dist/chunks/{pty-68rggvtd.js → location-mutation-yefjccnd.js} +27 -27
- package/dist/chunks/{pty-2sn7f2k5.js → location-mutation-yf8gt2v7.js} +18 -18
- package/dist/chunks/{pty-wd3qynhg.js → location-mutation-ygx1qhaf.js} +1 -1
- package/dist/chunks/{pty-fe8rbqv5.js → location-mutation-ypxn8na5.js} +3 -3
- package/dist/chunks/{pty-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-3aycrrq3.js → location-mutation-z06cc0jq.js} +37 -24
- package/dist/chunks/{pty-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-szq8ceg0.js → location-mutation-z58mz0mp.js} +25 -25
- package/dist/chunks/{pty-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-phtqmmnp.js → location-mutation-zbb1t9ts.js} +8 -8
- package/dist/chunks/{pty-9gea571p.js → location-mutation-zcqf6png.js} +6 -6
- package/dist/chunks/{pty-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-w7tz9xnv.js → location-mutation-zja6ntk0.js} +9 -9
- package/dist/chunks/{pty-x7qrp6ew.js → location-mutation-zkfs0tv5.js} +26 -26
- package/dist/chunks/{pty-d9bxkxqe.js → location-mutation-zq3deerb.js} +39 -39
- package/dist/chunks/{pty-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- 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 +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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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/compaction.js +130 -130
- 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 +1 -1
- package/dist/plugin/internal.js +331 -331
- 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 +4 -4
- 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 +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- 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 +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/pty-6kdq0pjd.js +0 -4
- package/dist/chunks/pty-739gz0q2.js +0 -252
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-s5qac7qv.js +0 -26
- package/dist/chunks/pty-t621a335.js +0 -503
- /package/dist/chunks/{pty-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → location-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID3,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-wz9pjx5y.js";
|
|
9
9
|
import {
|
|
10
10
|
Service51
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-sj6hyns7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin15 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID3.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID3.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-mutation-d4yhjfbe.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID8.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID8.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-760hvg9h.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-r23z5d8f.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-gmjjhz4f.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-5c4hm403.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-3c4e3q8d.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-mutation-k9d40v1y.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-9v8wx44b.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service72,
|
|
33
|
+
node75
|
|
34
|
+
} from "./location-mutation-sa96sbyt.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service14,
|
|
37
|
+
node16
|
|
38
|
+
} from "./location-mutation-xx9kgtw1.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service24,
|
|
44
|
+
node27
|
|
45
|
+
} from "./location-mutation-jvw73btf.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-mutation-kp86r9b3.js";
|
|
49
49
|
import {
|
|
50
50
|
make8
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-mutation-rqt3ht1f.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service8,
|
|
54
|
+
node10
|
|
55
|
+
} from "./location-mutation-3mmzvcvq.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service16,
|
|
58
|
+
node19
|
|
59
|
+
} from "./location-mutation-9tc9jvay.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./location-mutation-c9kahmjr.js";
|
|
65
65
|
import {
|
|
66
66
|
Service3,
|
|
67
67
|
isUntitled2,
|
|
68
68
|
node4
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-mutation-18fjsgbr.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
74
|
-
import {
|
|
75
|
-
node49
|
|
76
|
-
} from "./pty-zt18mrv4.js";
|
|
72
|
+
Service36
|
|
73
|
+
} from "./location-mutation-ddt2bs9e.js";
|
|
77
74
|
import {
|
|
78
75
|
node58
|
|
79
|
-
} from "./
|
|
76
|
+
} from "./location-mutation-7e2ke00k.js";
|
|
77
|
+
import {
|
|
78
|
+
node68
|
|
79
|
+
} from "./location-mutation-fy2r6802.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make3
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./location-mutation-qt5asz00.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service22
|
|
86
|
+
} from "./location-mutation-vnkjks7b.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node17
|
|
89
|
+
} from "./location-mutation-yf8gt2v7.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./location-mutation-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
@@ -105,15 +105,15 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service83;
|
|
110
|
-
const lifecycle = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
110
|
+
const lifecycle = yield* Service14;
|
|
111
|
+
const store = yield* Service72;
|
|
112
|
+
const context = yield* Service16;
|
|
113
|
+
const modelTransport = yield* Service24;
|
|
114
114
|
const db = (yield* Service84).db;
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
115
|
+
const compaction = yield* Service8;
|
|
116
|
+
const plugins = yield* Service22;
|
|
117
117
|
const title = yield* Service3;
|
|
118
118
|
const steps = yield* make3;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
@@ -361,23 +361,23 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service36.of({ drain });
|
|
365
365
|
}));
|
|
366
366
|
var node3 = makeLocationNode({
|
|
367
|
-
service:
|
|
367
|
+
service: Service36,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node87,
|
|
371
|
-
|
|
371
|
+
node16,
|
|
372
372
|
llmClient2,
|
|
373
|
-
node36,
|
|
374
|
-
node44,
|
|
375
|
-
node66,
|
|
376
|
-
node11,
|
|
377
373
|
node19,
|
|
374
|
+
node27,
|
|
375
|
+
node75,
|
|
376
|
+
node10,
|
|
377
|
+
node17,
|
|
378
378
|
node4,
|
|
379
|
-
node49,
|
|
380
379
|
node58,
|
|
380
|
+
node68,
|
|
381
381
|
node88
|
|
382
382
|
]
|
|
383
383
|
});
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-eqxdc8mp.js";
|
|
7
7
|
import {
|
|
8
8
|
Service51
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-sj6hyns7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service33
|
|
12
|
+
} from "./location-mutation-h69yr78q.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin30
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin30 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
33
|
const config = yield* Service51;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service33;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin44 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin30, exports_worktree };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-r23z5d8f.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./location-mutation-q7tj62n7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-n03y2nvv.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-cpj0znwe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service59
|
|
17
|
+
} from "./location-mutation-5ntswbj3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-mutation-d4yhjfbe.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ID4,
|
|
25
|
+
Input14,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-hgyg00rt.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID4
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
64
64
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
65
65
|
function oauth(http) {
|
|
66
66
|
return {
|
|
67
|
-
integrationID:
|
|
67
|
+
integrationID: ID9.make("opencode"),
|
|
68
68
|
method: {
|
|
69
69
|
id: methodID,
|
|
70
70
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
|
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
121
|
const bus = yield* Service83;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const managed = yield*
|
|
123
|
+
const managed = yield* Service59;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
125
125
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
126
126
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
|
|
|
153
153
|
providers.update(providerID, (provider) => {
|
|
154
154
|
if (source && source.provider !== provider)
|
|
155
155
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
156
|
-
provider.integrationID =
|
|
156
|
+
provider.integrationID = ID9.make("opencode");
|
|
157
157
|
if (item.canonical !== undefined)
|
|
158
158
|
provider.canonical = item.canonical;
|
|
159
159
|
if (item.name !== undefined)
|
|
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
|
|
|
223
223
|
sourceConnection: snapshot.connection
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
const item = providers.get(
|
|
226
|
+
const item = providers.get(ID8.opencode);
|
|
227
227
|
if (!item)
|
|
228
228
|
return;
|
|
229
229
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
const item = models.provider.get(
|
|
238
|
+
const item = models.provider.get(ID8.opencode);
|
|
239
239
|
if (!item)
|
|
240
240
|
return;
|
|
241
241
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
|
|
|
269
269
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
270
270
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
271
271
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
272
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
272
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
273
273
|
query: input.query,
|
|
274
274
|
providerID: descriptor.providerID
|
|
275
275
|
}));
|
|
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
|
|
|
291
291
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
292
292
|
});
|
|
293
293
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
294
|
-
yield* bus.subscribe(
|
|
294
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
295
295
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
296
296
|
})
|
|
297
297
|
});
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-760hvg9h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./location-mutation-zcqf6png.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-vnkjks7b.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-k9d40v1y.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-9v8wx44b.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-kp86r9b3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./location-mutation-9tc9jvay.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service39;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service16;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node68
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service65 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service65.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node68 = makeLocationNode({
|
|
143
|
+
service: Service65,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service65, node68, exports_tool_output2 };
|