@opencode/core 0.0.0-dev-19309 → 0.0.0-dev-19312
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-83x6p9kd.js → instance-00mqm9kf.js} +1 -1
- package/dist/chunks/{catalog-509mfy7b.js → instance-01m43tcd.js} +6 -6
- package/dist/chunks/{catalog-hccqy9de.js → instance-02prr92s.js} +25 -25
- package/dist/chunks/{catalog-kmzz9pas.js → instance-0fh0h7pk.js} +22 -22
- package/dist/chunks/{catalog-0zgh7kk5.js → instance-0fkpnkf8.js} +60 -60
- package/dist/chunks/{catalog-wr9en1my.js → instance-0fmyca4z.js} +33 -33
- package/dist/chunks/{catalog-fcrkznn8.js → instance-0jwsre1p.js} +5 -5
- package/dist/chunks/{catalog-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-bxphq6yf.js → instance-0tdqy1rc.js} +35 -35
- package/dist/chunks/{catalog-m74w19w0.js → instance-0wyznna1.js} +167 -167
- package/dist/chunks/{catalog-bpggscz5.js → instance-0wzmrwkd.js} +15 -15
- package/dist/chunks/{catalog-cd3kn8g3.js → instance-15gnn6as.js} +11 -11
- package/dist/chunks/{catalog-4fq0az5r.js → instance-16aytt1n.js} +5 -5
- package/dist/chunks/{catalog-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-0hpxrkyb.js → instance-1dfhrqqs.js} +5 -5
- package/dist/chunks/{catalog-4rt9mjng.js → instance-1j6kaabx.js} +11 -11
- package/dist/chunks/{catalog-3518rj0x.js → instance-1q81et77.js} +17 -17
- package/dist/chunks/{catalog-te5wzfm2.js → instance-1rvhnqv5.js} +35 -35
- package/dist/chunks/{catalog-n37c4crj.js → instance-1tjg7tvh.js} +8 -8
- package/dist/chunks/{catalog-4as1skcx.js → instance-1vy6qrvb.js} +87 -87
- package/dist/chunks/instance-1x11rq2a.js +18 -0
- package/dist/chunks/{catalog-1ygqh575.js → instance-1ygqh575.js} +2 -2
- package/dist/chunks/{catalog-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-c3d70zs9.js → instance-2aw5j9c6.js} +13 -13
- package/dist/chunks/{catalog-v1sz7r3a.js → instance-2bb7w9kh.js} +16 -16
- package/dist/chunks/{catalog-1w9a9pv3.js → instance-2f04pwep.js} +3 -3
- package/dist/chunks/{catalog-mjncxbbh.js → instance-2y34zzjz.js} +6 -6
- package/dist/chunks/{catalog-rxjrk2nw.js → instance-3162azsb.js} +16 -16
- package/dist/chunks/{catalog-w7t7hmp4.js → instance-33dwjbkd.js} +11 -11
- package/dist/chunks/{catalog-fe83msa9.js → instance-3c0qrp0f.js} +10 -10
- package/dist/chunks/{catalog-v4v7wqz2.js → instance-3cwqxzyd.js} +27 -27
- package/dist/chunks/{catalog-wdg8v3k8.js → instance-3dfxe9v5.js} +32 -32
- package/dist/chunks/{catalog-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-vyrd71eq.js → instance-3pbjq009.js} +11 -11
- package/dist/chunks/{catalog-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-j22ne1jm.js → instance-3y6p9bpe.js} +35 -35
- package/dist/chunks/{catalog-gw93046e.js → instance-4000ta01.js} +12 -12
- package/dist/chunks/{catalog-t8mcaem5.js → instance-4066mr2m.js} +1 -1
- package/dist/chunks/{catalog-gg87hdr1.js → instance-498gcqgt.js} +85 -85
- package/dist/chunks/{catalog-ap7992nw.js → instance-4kmdsgf5.js} +12 -12
- package/dist/chunks/{catalog-sse12fwf.js → instance-4wjenyrf.js} +8 -8
- package/dist/chunks/{catalog-avf8efec.js → instance-50tjd5x0.js} +46 -46
- package/dist/chunks/{catalog-w17639j7.js → instance-53x3k2qp.js} +4 -4
- package/dist/chunks/{catalog-h9v53t8b.js → instance-58gx7bcb.js} +28 -28
- package/dist/chunks/{catalog-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-xycjtdwc.js → instance-5gadzevc.js} +2 -2
- package/dist/chunks/{catalog-6ck2t1rv.js → instance-5kptn8c0.js} +9 -9
- package/dist/chunks/{catalog-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-6kdk6nqh.js → instance-60z2cpgg.js} +3 -3
- package/dist/chunks/{catalog-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{catalog-hjyq8txy.js → instance-6bma3c50.js} +14 -14
- package/dist/chunks/{catalog-2402vzrj.js → instance-6h73sxmp.js} +5 -5
- package/dist/chunks/{catalog-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-w2f3tag7.js → instance-6p1mk903.js} +52 -52
- package/dist/chunks/{catalog-71q4at8m.js → instance-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-sgfkh1bp.js → instance-76myzc3f.js} +4 -4
- package/dist/chunks/{catalog-zxwpk2nb.js → instance-79r1wrqa.js} +1 -1
- package/dist/chunks/{catalog-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-xn5rvdk3.js → instance-7m5f9412.js} +8 -8
- package/dist/chunks/{catalog-styqsms2.js → instance-81k2kmnv.js} +17 -17
- package/dist/chunks/{catalog-v33xfvcj.js → instance-81swgkk7.js} +9 -9
- package/dist/chunks/{catalog-ea4szbf4.js → instance-85nckw6s.js} +9 -9
- package/dist/chunks/{catalog-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-b5x3zw73.js → instance-8f3y3fjc.js} +9 -9
- package/dist/chunks/{catalog-43ptgj31.js → instance-8jpcqb93.js} +7 -7
- package/dist/chunks/{catalog-8p4f9s12.js → instance-8p4f9s12.js} +2 -2
- package/dist/chunks/{catalog-ncmz7v5j.js → instance-8pngxq2x.js} +10 -10
- package/dist/chunks/{catalog-sv2dresp.js → instance-8qhww77c.js} +9 -9
- package/dist/chunks/{catalog-82a5wx02.js → instance-8ytfm0cx.js} +15 -15
- package/dist/chunks/{catalog-n4ejk7vt.js → instance-947c2fz4.js} +35 -35
- package/dist/chunks/{catalog-crn2g2j7.js → instance-9e5nbte5.js} +23 -23
- package/dist/chunks/{catalog-c8kn0e1j.js → instance-9jdakqgh.js} +12 -12
- package/dist/chunks/{catalog-0n9gyfew.js → instance-9kt49dv5.js} +4 -4
- package/dist/chunks/{catalog-ekxqnygj.js → instance-9zvjyx10.js} +23 -23
- package/dist/chunks/{catalog-a1bz86dw.js → instance-a1bz86dw.js} +3 -3
- package/dist/chunks/{catalog-s7sd9pj0.js → instance-a4cxjx0n.js} +20 -20
- package/dist/chunks/{catalog-hfe15vta.js → instance-a64ekrmv.js} +27 -27
- package/dist/chunks/{catalog-n71y3dbp.js → instance-a9r0cd7h.js} +11 -11
- package/dist/chunks/{catalog-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-vk7myt1t.js → instance-aead911t.js} +21 -21
- package/dist/chunks/{catalog-2j0cq4hw.js → instance-ah5t6eey.js} +11 -11
- package/dist/chunks/{catalog-277t2eea.js → instance-akjy133e.js} +17 -17
- package/dist/chunks/{catalog-gda9nas2.js → instance-avgac2hf.js} +15 -15
- package/dist/chunks/{catalog-fppsb3b5.js → instance-ax3qdz20.js} +36 -36
- package/dist/chunks/{catalog-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-dfe8djrf.js → instance-bct739vz.js} +4 -4
- package/dist/chunks/{catalog-6tt5evqq.js → instance-bha4atvq.js} +4 -4
- package/dist/chunks/{catalog-agqtpwbj.js → instance-bk92phqe.js} +5 -5
- package/dist/chunks/{catalog-3ypbmvbe.js → instance-bzk45x5e.js} +4 -4
- package/dist/chunks/{catalog-5nsrms9d.js → instance-c3kepfq8.js} +1 -1
- package/dist/chunks/instance-c6pebpj5.js +247 -0
- package/dist/chunks/{catalog-cfpkc3c9.js → instance-cfpkc3c9.js} +2 -2
- package/dist/chunks/{catalog-493f7437.js → instance-cgd1k2r0.js} +17 -17
- package/dist/chunks/{catalog-0pcfrhz7.js → instance-cq53x2q6.js} +9 -9
- package/dist/chunks/{catalog-trdmtmn1.js → instance-cr3arcjg.js} +33 -33
- package/dist/chunks/{catalog-n41t07j9.js → instance-d94csp47.js} +32 -32
- package/dist/chunks/{catalog-cpsw9aga.js → instance-dc76j9wz.js} +8 -8
- package/dist/chunks/{catalog-1wxb385z.js → instance-dcj77ap2.js} +1 -1
- package/dist/chunks/{catalog-g07620wm.js → instance-dd8myhb5.js} +22 -22
- package/dist/chunks/{catalog-3mfye48b.js → instance-dk87e9as.js} +20 -20
- package/dist/chunks/{catalog-1nqyn2md.js → instance-dqnm4g3a.js} +12 -12
- package/dist/chunks/{catalog-3n15d110.js → instance-dv0zdqte.js} +32 -32
- package/dist/chunks/{catalog-vzr1015d.js → instance-e0s0m8tm.js} +31 -31
- package/dist/chunks/{catalog-rkqame75.js → instance-e1kjazt8.js} +24 -24
- package/dist/chunks/{catalog-hjt4xg1x.js → instance-e82z9tr0.js} +7 -7
- package/dist/chunks/{catalog-k52252t7.js → instance-e9cy62py.js} +4 -4
- package/dist/chunks/{catalog-s8d7rejh.js → instance-eaj1djv9.js} +6 -6
- package/dist/chunks/{catalog-s3na88hc.js → instance-eeqcfs9e.js} +13 -13
- package/dist/chunks/{catalog-nfj734wy.js → instance-eh1hkw2t.js} +43 -43
- package/dist/chunks/{catalog-0evts91x.js → instance-ejt8n6vs.js} +18 -18
- package/dist/chunks/{catalog-t89hfesc.js → instance-eq4db09p.js} +9 -9
- package/dist/chunks/{catalog-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-vtss28jw.js → instance-ezw0c3qh.js} +7 -7
- package/dist/chunks/{catalog-1acjjqhc.js → instance-f2n192rq.js} +4 -4
- package/dist/chunks/{catalog-kk00bynn.js → instance-f3ngv102.js} +21 -21
- package/dist/chunks/{catalog-f828m53h.js → instance-f828m53h.js} +2 -2
- package/dist/chunks/{catalog-p17pfsmd.js → instance-f8j8gcy8.js} +20 -20
- package/dist/chunks/{catalog-j58tsep0.js → instance-fd5dxjst.js} +12 -12
- package/dist/chunks/{catalog-annfvqzd.js → instance-fdrxk5eh.js} +62 -62
- package/dist/chunks/{catalog-ghk9cxjs.js → instance-ff0htmxq.js} +6 -6
- package/dist/chunks/{catalog-wmhr3c7y.js → instance-fncmky5k.js} +7 -7
- package/dist/chunks/{catalog-3p5n9sjf.js → instance-ftqydj17.js} +10 -10
- package/dist/chunks/{catalog-xdh98823.js → instance-fw2hnj19.js} +17 -17
- package/dist/chunks/{catalog-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-hs0dft44.js → instance-fypqkx2y.js} +40 -40
- package/dist/chunks/{catalog-jfw7ranw.js → instance-fzz1ppzm.js} +4 -4
- package/dist/chunks/{catalog-t41sh3fy.js → instance-g4qa8rgv.js} +18 -18
- package/dist/chunks/{catalog-xrdn9kgh.js → instance-g88n7je5.js} +10 -10
- package/dist/chunks/{catalog-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-3tt1qkhr.js → instance-gebtr55s.js} +5 -5
- package/dist/chunks/{catalog-m2d0j7c0.js → instance-gsx0ryk4.js} +9 -9
- package/dist/chunks/{catalog-8f447577.js → instance-gzq8gx27.js} +19 -19
- package/dist/chunks/{catalog-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-jvgf59s5.js → instance-hfkm0xqc.js} +46 -46
- package/dist/chunks/{catalog-eks9y43h.js → instance-hgk2hpch.js} +13 -13
- package/dist/chunks/{catalog-181agvn4.js → instance-hjkq1yva.js} +13 -13
- package/dist/chunks/{catalog-dwgyz8t6.js → instance-hm0vq5pv.js} +5 -5
- package/dist/chunks/{catalog-21s79zm0.js → instance-hskvv487.js} +29 -29
- package/dist/chunks/{catalog-91brfrwq.js → instance-hwh1rkay.js} +1 -1
- package/dist/chunks/{catalog-qqtwvk4z.js → instance-j15mfg1p.js} +6 -6
- package/dist/chunks/{catalog-d3zdjdg4.js → instance-j2m4m1t4.js} +41 -41
- package/dist/chunks/{catalog-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-v9nb272c.js → instance-j5c3q8h5.js} +6 -6
- package/dist/chunks/{catalog-6mav0crw.js → instance-je42t0w9.js} +36 -36
- package/dist/chunks/{catalog-2twcyph9.js → instance-jj4bmggp.js} +7 -7
- package/dist/chunks/{catalog-dkr6v1jj.js → instance-jjk7qn2b.js} +6 -6
- package/dist/chunks/{catalog-qjq8d7da.js → instance-jq2qsjbc.js} +18 -18
- package/dist/chunks/{catalog-85eqaws9.js → instance-jq8ys055.js} +6 -6
- package/dist/chunks/{catalog-ddt2bs9e.js → instance-jvf3yq6v.js} +4 -4
- package/dist/chunks/{catalog-4ck6zdkc.js → instance-jx1r5ssp.js} +15 -15
- package/dist/chunks/{catalog-cavm9het.js → instance-jzqz1400.js} +20 -20
- package/dist/chunks/{catalog-sg6ndnsg.js → instance-k2z98nwc.js} +24 -24
- package/dist/chunks/{catalog-6ymtcdfp.js → instance-k5hc94bg.js} +8 -8
- package/dist/chunks/{catalog-jz7qjw6y.js → instance-k7d0894y.js} +9 -9
- package/dist/chunks/{catalog-kg06axw8.js → instance-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-gt0cxfk7.js → instance-kmv022h3.js} +1 -1
- package/dist/chunks/{catalog-qx9naz5h.js → instance-ktndeztc.js} +27 -27
- package/dist/chunks/{catalog-bfg6wmvt.js → instance-m12hp6p6.js} +6 -6
- package/dist/chunks/{catalog-2t8xysc7.js → instance-m51efdwf.js} +3 -3
- package/dist/chunks/{catalog-5mphm999.js → instance-m5m2byhr.js} +24 -24
- package/dist/chunks/{catalog-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-1bbkgx8g.js → instance-mhkvc446.js} +3 -3
- package/dist/chunks/{catalog-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-p6sy7vrx.js → instance-mscy8054.js} +11 -11
- package/dist/chunks/{catalog-7g3sek8k.js → instance-mvevne1d.js} +9 -9
- package/dist/chunks/{catalog-3mp8tw93.js → instance-n1wztqq6.js} +2 -2
- package/dist/chunks/{catalog-kqnty0aw.js → instance-n41t7tqk.js} +20 -20
- package/dist/chunks/{catalog-sx4z2wkx.js → instance-n4dpz9gx.js} +4 -4
- package/dist/chunks/{catalog-mp02gzc9.js → instance-nb6xeg3e.js} +23 -23
- package/dist/chunks/{catalog-887bxmqj.js → instance-nd0sb1nf.js} +9 -9
- package/dist/chunks/{catalog-9hxjxzzj.js → instance-nfv8fav6.js} +33 -33
- package/dist/chunks/{catalog-7nzmz6w9.js → instance-nq2fgdnn.js} +29 -29
- package/dist/chunks/{catalog-w834zwzr.js → instance-p0p3027a.js} +43 -43
- package/dist/chunks/{catalog-f20xgh69.js → instance-p0qtp96g.js} +24 -24
- package/dist/chunks/{catalog-sra9araw.js → instance-p44d8wdy.js} +5 -5
- package/dist/chunks/{catalog-yvz2amb9.js → instance-p4eg0sk5.js} +8 -8
- package/dist/chunks/{catalog-fq51289s.js → instance-p64wmhee.js} +26 -26
- package/dist/chunks/{catalog-a8j8hhs2.js → instance-p72z5xx6.js} +2 -2
- package/dist/chunks/{catalog-j935v87r.js → instance-paphc93g.js} +2 -2
- package/dist/chunks/{catalog-pygrm44j.js → instance-penyehcw.js} +24 -24
- package/dist/chunks/{catalog-bbjrxcfr.js → instance-pew7ynfp.js} +23 -23
- package/dist/chunks/{catalog-qgxradse.js → instance-pjbxazhx.js} +10 -10
- package/dist/chunks/{catalog-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-63ypb7gw.js → instance-pkvxpfqr.js} +24 -24
- package/dist/chunks/{catalog-5tfj1zwh.js → instance-pmar23ha.js} +9 -9
- package/dist/chunks/{catalog-rade8k7x.js → instance-q04dv65n.js} +6 -6
- package/dist/chunks/{catalog-ynj9sc9b.js → instance-q0pbtp0k.js} +11 -11
- package/dist/chunks/{catalog-c0gpyqcs.js → instance-q47s3gkn.js} +43 -43
- package/dist/chunks/{catalog-en74w496.js → instance-qcfsefxz.js} +5 -5
- package/dist/chunks/{catalog-g0mr4btt.js → instance-qfp8jhvv.js} +11 -11
- package/dist/chunks/{catalog-rpz3wezz.js → instance-qk6tq941.js} +4 -4
- package/dist/chunks/{catalog-ssd64hap.js → instance-qqrhxv6c.js} +24 -24
- package/dist/chunks/{catalog-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-pv83a8g9.js → instance-qy5as2cw.js} +5 -5
- package/dist/chunks/{catalog-ne6jr7py.js → instance-rb9420nd.js} +8 -8
- package/dist/chunks/{catalog-b3wkxfg9.js → instance-rfnzy394.js} +1 -1
- package/dist/chunks/{catalog-yvmq8qxx.js → instance-rh63tm4e.js} +14 -14
- package/dist/chunks/{catalog-4mkcvr19.js → instance-rz0qknjf.js} +5 -5
- package/dist/chunks/{catalog-c64pkv7q.js → instance-rzsfqk7r.js} +22 -22
- package/dist/chunks/{catalog-3yjx2qxr.js → instance-s11dp4cj.js} +44 -44
- package/dist/chunks/{catalog-z4rzbvzf.js → instance-s216njt5.js} +9 -9
- package/dist/chunks/{catalog-7sh2c558.js → instance-s3jy48p4.js} +280 -280
- package/dist/chunks/{catalog-k0nnq3t9.js → instance-s4anq1bw.js} +8 -8
- package/dist/chunks/{catalog-r441rk8t.js → instance-s9d0w252.js} +18 -18
- package/dist/chunks/{catalog-51mnv1qp.js → instance-sgmah1tz.js} +15 -15
- package/dist/chunks/{catalog-shh6fz4q.js → instance-shh6fz4q.js} +1 -1
- package/dist/chunks/{catalog-4zbwj09h.js → instance-smefw2pd.js} +11 -11
- package/dist/chunks/{catalog-bjfdh5sq.js → instance-stc7m7tv.js} +28 -28
- package/dist/chunks/{catalog-kcj2091p.js → instance-sy1rfask.js} +10 -10
- package/dist/chunks/{catalog-e34b6n40.js → instance-szm1m0zv.js} +21 -21
- package/dist/chunks/{catalog-3w2b2yj4.js → instance-t0fxg8b9.js} +5 -5
- package/dist/chunks/{catalog-19vf66h0.js → instance-t2fc4mz5.js} +4 -4
- package/dist/chunks/{catalog-c7ecgrk6.js → instance-t69nnh3p.js} +8 -8
- package/dist/chunks/{catalog-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-gv6a8nnw.js → instance-th5km1p3.js} +5 -5
- package/dist/chunks/{catalog-w6dsm74z.js → instance-ttjyywkc.js} +10 -10
- package/dist/chunks/{catalog-0e1sw8g7.js → instance-tvm9pjcv.js} +15 -15
- package/dist/chunks/{catalog-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-4xjg4q2t.js → instance-tvyjn9ew.js} +18 -18
- package/dist/chunks/{catalog-v01artfa.js → instance-v376vfgk.js} +12 -12
- package/dist/chunks/{catalog-86vv7gh8.js → instance-v3hh4rxq.js} +11 -11
- package/dist/chunks/{catalog-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-4h427kqb.js → instance-vg40sz7m.js} +51 -51
- package/dist/chunks/{catalog-n2w5zf4y.js → instance-vwkptsq1.js} +32 -32
- package/dist/chunks/{catalog-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-88sz8qcd.js → instance-w1k39n5e.js} +4 -4
- package/dist/chunks/{catalog-kxfy9v2j.js → instance-w1w0h0f3.js} +19 -19
- package/dist/chunks/{catalog-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-x36451fn.js → instance-wexgdxw3.js} +9 -9
- package/dist/chunks/{catalog-4sqgnae3.js → instance-wpk4n09p.js} +28 -28
- package/dist/chunks/{catalog-jt93vp5f.js → instance-wqzt12sf.js} +7 -7
- package/dist/chunks/{catalog-96qecsp7.js → instance-wt8d0ad1.js} +20 -20
- package/dist/chunks/{catalog-m5ehmq0h.js → instance-wtkjyqjf.js} +21 -21
- package/dist/chunks/{catalog-en89ywvk.js → instance-wyypj47g.js} +19 -19
- package/dist/chunks/{catalog-324g3shg.js → instance-x0p4cgaw.js} +9 -9
- package/dist/chunks/{catalog-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-dv1qgsyq.js → instance-x3et2xth.js} +8 -8
- package/dist/chunks/{catalog-x43y2vfs.js → instance-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-3m0hcevc.js → instance-x6xh22k9.js} +39 -39
- package/dist/chunks/instance-xa73t4nm.js +22 -0
- package/dist/chunks/{catalog-nh5sasdk.js → instance-xdec0jgj.js} +22 -22
- package/dist/chunks/{catalog-g85prm42.js → instance-xmsv29db.js} +8 -8
- package/dist/chunks/{catalog-8k4hkv5d.js → instance-xqrmy91b.js} +6 -6
- package/dist/chunks/{catalog-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-dpkg50ah.js → instance-y71avatq.js} +4 -4
- package/dist/chunks/{catalog-b5n790m1.js → instance-y86t833z.js} +22 -22
- package/dist/chunks/{catalog-9d82n428.js → instance-ydgpny73.js} +69 -69
- package/dist/chunks/{catalog-jv01nqvq.js → instance-yjptyezs.js} +5 -5
- package/dist/chunks/{catalog-gc7xqtvn.js → instance-yk2ak6d8.js} +6 -6
- package/dist/chunks/{catalog-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-s4enseaf.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-9yzgp4j1.js → instance-ytkdpvbf.js} +26 -26
- package/dist/chunks/{catalog-pdcqshfj.js → instance-ytp6sm1e.js} +29 -29
- package/dist/chunks/{catalog-n68ab1tc.js → instance-yxbx8b1t.js} +20 -20
- package/dist/chunks/{catalog-takea01j.js → instance-yz0abg76.js} +25 -25
- package/dist/chunks/{catalog-e3t7z67s.js → instance-z00pjy0h.js} +8 -8
- package/dist/chunks/{catalog-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-bv56xrks.js → instance-z1f4gy9p.js} +8 -8
- package/dist/chunks/{catalog-439dx3w9.js → instance-z5szsvcr.js} +18 -18
- package/dist/chunks/{catalog-29x78va6.js → instance-z63w68vq.js} +6 -6
- package/dist/chunks/{catalog-jhetwysa.js → instance-z7xj2rat.js} +3 -3
- package/dist/chunks/{catalog-mncc4vzv.js → instance-z8db85t7.js} +15 -15
- package/dist/chunks/instance-z926abd4.js +4 -0
- package/dist/chunks/{catalog-c9whyjqe.js → instance-za6kma0e.js} +15 -15
- package/dist/chunks/{catalog-jsckaant.js → instance-ze5ksjrg.js} +13 -13
- package/dist/chunks/{catalog-2336b01z.js → instance-ze5v0a14.js} +8 -8
- package/dist/chunks/{catalog-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-ezewvdhd.js → instance-zj91daq9.js} +11 -11
- package/dist/chunks/{catalog-cye7csfb.js → instance-zmbrasps.js} +14 -14
- package/dist/chunks/{catalog-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-x24zbaxc.js → instance-ztj0rm6a.js} +23 -23
- package/dist/chunks/{catalog-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -95
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- 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 +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +101 -101
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +114 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +99 -99
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/catalog-0kwcw7fy.js +0 -4
- package/dist/chunks/catalog-1ce0xttj.js +0 -247
- package/dist/chunks/catalog-4v7qdvcn.js +0 -18
- package/dist/chunks/catalog-atswkcm9.js +0 -22
- /package/dist/chunks/{catalog-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → instance-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-a64ekrmv.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-fdrxk5eh.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent = {};
|
|
@@ -100,13 +100,13 @@ var Plugin11 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin11 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-t69nnh3p.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service48
|
|
8
|
+
} from "./instance-hfkm0xqc.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin22
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin22 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service48;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
|
|
|
155
155
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export {
|
|
158
|
+
export { Plugin22, exports_provider };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service79,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node84
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service79.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node84 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node84, exports_git3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service29.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
336
|
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node33 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service29, makeLayer2, layer12, node33, exports_model_transport };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./instance-akjy133e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./instance-hfkm0xqc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./instance-s11dp4cj.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-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: () => Plugin26
|
|
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 Plugin26 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service58;
|
|
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 Plugin16 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin26, exports_worktree };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-m51efdwf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./instance-v376vfgk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./instance-ff0htmxq.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
MessageNotFoundError2,
|
|
19
19
|
MessageNotAssistantError2,
|
|
20
20
|
MessageIncompleteError2,
|
|
@@ -24,61 +24,61 @@ import {
|
|
|
24
24
|
CompactionConflictError2,
|
|
25
25
|
BusyError2,
|
|
26
26
|
InboxConflictError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-k7d0894y.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionEvent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-ec1grn59.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service73
|
|
33
|
+
} from "./instance-6bma3c50.js";
|
|
34
34
|
import {
|
|
35
35
|
Delivery2,
|
|
36
36
|
SyntheticPayload2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service44
|
|
38
|
+
} from "./instance-szm1m0zv.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service41
|
|
41
|
+
} from "./instance-fypqkx2y.js";
|
|
42
42
|
import {
|
|
43
43
|
prepare2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./instance-3162azsb.js";
|
|
45
45
|
import {
|
|
46
46
|
stage2,
|
|
47
47
|
clear2,
|
|
48
48
|
commit2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./instance-9e5nbte5.js";
|
|
50
50
|
import {
|
|
51
51
|
start2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./instance-mvevne1d.js";
|
|
53
53
|
import {
|
|
54
54
|
get4
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./instance-cq53x2q6.js";
|
|
56
56
|
import {
|
|
57
57
|
__export
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./instance-9rqn6x4v.js";
|
|
59
59
|
|
|
60
60
|
// src/session/session.ts
|
|
61
61
|
var exports_session2 = {};
|
|
62
62
|
__export(exports_session2, {
|
|
63
63
|
Session: () => exports_session2,
|
|
64
|
-
make: () =>
|
|
64
|
+
make: () => make12
|
|
65
65
|
});
|
|
66
66
|
import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
|
|
67
67
|
import { Event } from "@opencode/schema/event";
|
|
68
68
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
69
|
-
var
|
|
70
|
-
const bus = yield*
|
|
69
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
70
|
+
const bus = yield* Service78;
|
|
71
71
|
const database = yield* Service80;
|
|
72
|
-
const store = yield*
|
|
73
|
-
const instances = yield*
|
|
74
|
-
const execution = yield*
|
|
75
|
-
const admission = yield*
|
|
72
|
+
const store = yield* Service73;
|
|
73
|
+
const instances = yield* Service45;
|
|
74
|
+
const execution = yield* Service41;
|
|
75
|
+
const admission = yield* Service44;
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
77
77
|
const scope = yield* Scope.Scope;
|
|
78
78
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
79
79
|
const session = yield* store.get(sessionID);
|
|
80
80
|
if (!session)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ sessionID });
|
|
82
82
|
return session;
|
|
83
83
|
});
|
|
84
84
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -154,7 +154,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
154
154
|
});
|
|
155
155
|
if (existing)
|
|
156
156
|
return existing;
|
|
157
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
157
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
158
158
|
if (session.revert)
|
|
159
159
|
yield* commit2(bus, session);
|
|
160
160
|
return yield* admission.admit({
|
|
@@ -170,7 +170,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
170
170
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
171
171
|
const session = yield* get(sessionID);
|
|
172
172
|
const running = yield* Effect.gen(function* () {
|
|
173
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
173
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
174
174
|
text: `User shell command failed to start:
|
|
175
175
|
${input.command}
|
|
176
176
|
|
|
@@ -199,7 +199,7 @@ ${error.message}`,
|
|
|
199
199
|
});
|
|
200
200
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
201
201
|
const session = yield* get(sessionID);
|
|
202
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
202
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
|
|
203
203
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
204
204
|
sessionID,
|
|
205
205
|
id: skill.id,
|
|
@@ -256,13 +256,13 @@ ${error.message}`,
|
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
259
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service80, database), Effect.provideService(Service78, bus));
|
|
260
260
|
});
|
|
261
261
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
262
262
|
const session = yield* get(sessionID);
|
|
263
263
|
if (yield* execution.isActive(sessionID))
|
|
264
264
|
return yield* new BusyError2({ sessionID });
|
|
265
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
265
|
+
yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service78, bus));
|
|
266
266
|
return yield* execution.wake(sessionID);
|
|
267
267
|
});
|
|
268
268
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
|
|
|
348
348
|
return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make12, exports_session2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-m51efdwf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./instance-v376vfgk.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./instance-ff0htmxq.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service46
|
|
16
|
+
} from "./instance-e1kjazt8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-k7d0894y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service45;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service46;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service45;
|
|
78
|
+
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service46;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-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: () => Service55,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node59
|
|
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 Service55 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(Service55, 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(Service47, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service55.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 node59 = makeLocationNode({
|
|
143
|
+
service: Service55,
|
|
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, Service55, node59, exports_tool_output2 };
|